[systemd-devel] [PATCH] Keep emacs configuration in one configuration file.

Lennart Poettering lennart at poettering.net
Mon Mar 7 11:00:33 PST 2011


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.
> 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.

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?

Is something like this available in VI, too?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list