On Wed, Apr 27, 2011 at 12:48:21PM +0200, Vladimir Pantelic wrote: > Andrea Crotti wrote: >> Luca Barbato<[email protected]> writes: >>> >>> Would be safer (as in absolutely safe) provide .el and .vimrc in a >>> separate dir, so people could opt in. >> >> Sure, but it can't be done in the same way. >> The dir-local variables are a great thing but not so easy to move >> somewhere else and be used anyway, some other more complicated tricks >> should be used to get the same nice behaviour. > > $>mv tools/.dir-locals.el . > > is that hard?
Not hard, but pointless, because it defeats the purpose of this endeavor, which is making emacs behave correctly out-of-the-box. The operative word here is "out-of-the-box". We do have a coding style, but far too often during reviews we have to point that style out to people, especially newcomers. This is because a) the style is underdocumented and b) it is too easy to mess up. I will address a) once I'm done with the spring cleanup. Luckily Andrea has stepped up and contributed towards fixing b). Let's not make getting contributions accepted harder than it already is, this is going in the right direction. If the emacs defaults have to be set manually, then we will have to keep telling people "Oh, you should have put that file from tools/ in the top-level directory, now please redo your patch.", but we don't want that, we want them to get it right from the start. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
