summaryrefslogtreecommitdiff
path: root/.dir-locals.el
Commit message (Collapse)AuthorAgeFilesLines
* editors: only extend line width to 119 for C and XML filesLennart Poettering2016-02-101-3/+12
| | | | | | | | | | | | For all other files leave the line width at 79 as before. This is a good idea since we generally don't want text files such as catalog files, unit files or README/NEWS files to be line-broken at 119 since they are regularly browsed on text terminals. While we are at it, also add a couple of comments to the various files. (Note that .editorconfig doesn't carry line-width information, simply because the specification doesn't know the concept.)
* emacs: also configure nxml parameters in .dir-locals.elLennart Poettering2016-01-251-1/+2
| | | | We configure the parameters we use for the docbook XML.
* editors: specify fill columnLennart Poettering2016-01-111-2/+8
| | | | | | | Let's be a bit more precise with the editor configuration and specify a higher fill column of 119. This isn't as emacs' default of 70, but also not particularly high on today's screens. While we are at it, also set a couple of other emacs C coding style variables.
* Keep emacs configuration in one configuration file.Zbigniew Jędrzejewski-Szmek2011-03-081-0/+7
On 07.03.2011 19:04, Lennart Poettering wrote: > > Oh, I had assumed that .vimrc trick would allow project-wide vim > modelines without having to edit each and every single file. > > Currently, every file does contain an emacs modeline at the top. It > would be fair I guess to add a vim modeline to all those files too, even > though it's not necessarily pretty. Hi, maybe it makes sense to go in the opposite direction: add .dir-locals.el in the top directory. The settings are actually identical in all .[ch] files.