Re: Coding style for emacs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Coding style for emacs
Дата
Msg-id 20060831014801.GJ22618@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Coding style for emacs  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Coding style for emacs
Список pgsql-hackers
Andrew Dunstan wrote:

> Looking at this further, I am wondering if it would not be better to put 
> sample .emacs and .vimrc files in the source (in, say, src.tools).

What does people use in .vimrc?  Mine has simply this:

:  set cinoptions=(0
:  set tabstop=4
:  set shiftwidth=4

wrapped in a 

:if match(getcwd(), "/home/alvherre/Code/CVS/pgsql") == 0 ...
:endif

of course.

I find it to be all I need to get the style Postgres uses.  (On the
other hand, default cinoptions may be different on other versions of
Vim)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Performance testing of COPY (SELECT)
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Is this getting through?