[systemd-devel] [PATCH] Keep emacs configuration in one configuration file.
zbyszek at in.waw.pl
Mon Mar 7 11:12:29 PST 2011
On 07.03.2011 20:00, Lennart Poettering wrote:
> On Mon, 07.03.11 19:23, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
>> 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.
>> 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.
> Ah fantastic. I didn't know this existed. I merged this now.
> Hmm, but this doesn't really seem to work here. Does it work for you?
I seems to work. I set basic-offset to 11 and indeed, that's what I
got in the buffer. I don't think this value could come from anywhere
AFAICT .dir-locals.el were introduced in emacs 23.1
> Is something like this available in VI, too?
More information about the systemd-devel