Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: updated emacs configuration
Дата
Msg-id 9051.1372019860@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: updated emacs configuration  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> The idea is a very good one in principle, but my short experiment with 
> the provided .dir-locals.el didn't give me BSD style brace indentation. 
> It works if we can do those "unsafe" things, but then we surely don't 
> want to have a user prompted to accept the settings each time. If 
> .dir-locals.el won't do what we need on its own, it seems to me hardly 
> worth having.

I'm un-thrilled with this as well, though for a slightly different
reason: we have a policy that the PG sources should be tool agnostic,
and in fact removed file-local emacs settings awhile back because of
that.  Even though I use emacs, I would much rather keep such settings
in my personal library.  (TBH, I keep enable-local-variables turned off,
and would thus get no benefit from the proposed file anyhow.)

Another thing I'm not too happy about is that the proposed patch
summarily discards the information we had about how to work with older
emacs versions.  I'm not sure it will actually break anybody's setup,
but that would depend on whether .dir-locals.el was added before or
after the last round of rewriting of c-mode.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: updated emacs configuration
Следующее
От: Andres Freund
Дата:
Сообщение: Re: changeset generation v5-01 - Patches & git tree