Commit Graph

7 Commits (master)

Author SHA1 Message Date
Sébastien Villemot 54e72a4d35
Emacs default settings for editing C and C++: indent at 100 columns
For consistency with the clang-format settings.

[skip ci]
2023-11-28 18:10:38 +01:00
Sébastien Villemot 26f0fb1104
Fix indentation in Makefiles with Emacs 26
It looks like in Emacs 26, the semantics of .dir-locals.el has changed:
overriding the default value of indent-tabs-mode in makefile-mode no longer
work. Therefore we no longer set a default value and rather set the variable on
a per-mode basis.

By the way, remove the setting for fill-column.
2019-04-05 15:10:21 +02:00
Sébastien Villemot 0f08486a12
Update emacs directory-local variables
- fix C mode
- add C++ mode
- add Octave mode
2019-02-19 18:53:43 +01:00
Houtan Bastani 5d2ac18e75 emacs config: force tabs with length equal 2 spaces in c-mode 2016-08-25 15:33:41 +02:00
Stéphane Adjemian (Charybdis) a4dc9a2423 Adddd missing closing parenthesis. 2015-10-12 15:43:08 +02:00
Stéphane Adjemian (Karaba) bc1243f501 Removed config for matlab files in .dir-locals.el (for emacs users). 2014-10-13 12:52:51 +02:00
Sébastien Villemot c24ae80ae2 Add per-directory local Emacs variables.
The idea is to enforce the coding style for Emacs users.
2014-04-01 17:33:01 +02:00