|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] Re: vimrc snippet
Hello Wing,
Zhang, Xing Z wrote: [Tue Sep 18 2007, 10:09:08PM EDT]
> Hi Aron:
> Adding script in .vimrc is convenient to us, but
> how to the future contributors who have no configures
> in their .vimrc?
> Could we use mode-line? For example:
>
> /* vim: set tabstop=4 shiftwidth=4 expandtab: */
>
> We can add stuff liking above in every .c/.h files so that people
> need not bother of .vimrc configures.
It would be fine with me to add vim modelines, but I don't know how
xen-devel would feel about that. At the same time as adding vim
modelines, it would be good to add equivalent emacs lines. You'd
probably want to settle on a consistent expandtab vs. noexpandtab, and
fix up the indentation in files. This starts to sound like quite
a project... I don't know how worthwhile it would really be.
I guess my personal opinion is that it's easier for now to just point
out inconsistent spacing when people submit patches. If it seems like
it would help somebody, we can point at the vimrc recipes in the
mailing list archives.
Aron
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|