Re: updated emacs configuration
От | Noah Misch |
---|---|
Тема | Re: updated emacs configuration |
Дата | |
Msg-id | 20140612181810.GD686905@tornado.leadboat.com обсуждение исходный текст |
Ответ на | Re: updated emacs configuration (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Tue, Jun 10, 2014 at 10:36:07AM -0400, Tom Lane wrote: > Noah Misch <noah@leadboat.com> writes: > > On Mon, Jun 09, 2014 at 09:04:02PM -0400, Peter Eisentraut wrote: > >> I'd consider just getting rid of the > >> > >> (c-file-style . "bsd") > >> > >> setting in .dir-locals.el and put the actual interesting settings from > >> the style in there. > >> > >> Another alternative is to change emacs.samples to use > >> hack-local-variables-hook instead, as described here: > >> http://www.emacswiki.org/emacs/LocalVariables > > > Those are reasonable alternatives. The ultimate effect looks similar for all > > three options, to the extent that I don't see a basis for forming a strong > > preference. Do you have a recommendation? > > The more Ludd^H^H^Hcautious among us run with > (setq enable-local-variables nil) > and would rather not see the configuration recommendations overcomplicated > due to an attempt to play nice with directory-local settings we're ignoring > anyway. So I'd vote for Peter's first option, ie, kluge up .dir-locals.el > not the configuration code. Seeing the two votes cast and only cosmetic differences between the options, I'll just stick with my original -v1. Thanks. -- Noah Misch EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: