Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: updated emacs configuration
Дата
Msg-id 51C75661.8020502@dunslane.net
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: updated emacs configuration
Список pgsql-hackers
On 06/23/2013 03:43 PM, Andrew Dunstan wrote:
>
>
>
> 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.


However, it does work if you add this at the beginning of the c-mode list:
    (c-file-style . "bsd")


cheers

andrew




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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: updated emacs configuration