[systemd-devel] [PATCH] add org.freedesktop.DBus.Properies.Set method

Lennart Poettering lennart at poettering.net
Mon Mar 7 10:04:48 PST 2011


On Mon, 07.03.11 20:32, Andrey Borzenkov (arvidjaar at gmail.com) wrote:

> 
> On Mon, Mar 7, 2011 at 7:08 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > On Mon, 07.03.11 13:56, Andrey Borzenkov (arvidjaar at gmail.com) wrote:
> >
> >> On Mon, Mar 7, 2011 at 4:17 AM, Lennart Poettering
> >> <lennart at poettering.net> wrote:
> >> > Next time, please do not use tabs!
> >> >
> >>
> >> Well, this is what vim does by default. What about attached patch
> >> then?
> >
> > Seems incomplete, as it doesnt actually include the .vimrc file?
> >
> 
> I did not intend to force my personal vim style on anyone, just make
> it sure people can add custom .vimrc with whatever settings are deemed
> appropriate.

Ah, I see. I'll merge it then.

> > If you fix that I'll merge it. (Even though emacs is definitely the
> > better editor ;-))
> >
> 
> Adding .vimrc is not enough, people also should allow per-directory
> .vimrc usage which is outside of systemd control (yet :) ) Alternative
> would be to add modelines to every file. Not that hard for existing
> ones if you promise to put them in any new file :)

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.

Hmm, or maybe we should just ask people to use something like this:

http://www.vim.org/scripts/script.php?script_id=3381

Would be fantastic if this was enabled by VIM by default...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list