Re: Coding style for emacs

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, Gregory Stark <gsstark(at)mit(dot)edu>, Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Coding style for emacs
Date: 2006-09-02 17:59:45
Message-ID: 20060902175945.GJ84229@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Wed, Aug 30, 2006 at 09:48:01PM -0400, Alvaro Herrera wrote:
> 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

Has anyone considered adding vi/vim options to the files themselves?
Granted, not a trivial task, but it would ensure anyone using vim would
have the correct settings. I don't know if emacs has the same ability
(I've seen the "Hey emacs, this is a C file" stuff...)
--
Jim C. Nasby, Database Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-02 18:17:18 pgsql: Change FETCH/MOVE to use int8.
Previous Message Bruce Momjian 2006-09-02 17:45:46 Re: [HACKERS] Custom variable class segmentation

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-09-02 18:17:18 pgsql: Change FETCH/MOVE to use int8.
Previous Message Bruce Momjian 2006-09-02 17:45:46 Re: [HACKERS] Custom variable class segmentation