Re: updated emacs configuration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: updated emacs configuration
Date
Msg-id 1372215877.5936.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: updated emacs configuration  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: updated emacs configuration
List pgsql-hackers
On Fri, 2013-06-21 at 11:20 +0200, Dimitri Fontaine wrote:
> I've tested that on a new git clone and with the `emacs -q` command so
> as not to load any of my local setup. While the indentation seemed ok,
> the placement of the comments seems way off:
> 
> Compare what you see using those commands:
> 
>     emacs -q src/backend/commands/extension.c
>     emacs -q -l ../emacs.samples src/backend/commands/extension.c

Well, the first one uses 8-space tabs, the second 4-space tabs, so they
look completely different.  I'm not sure what you are trying to point
out.

> A couple of notes about your emacs.sample file:
> 
>   - Name the lambda used in the hook for easier removing / reference

Interesting, I had never thought of that.  I don't see that used in
Emacs source code or core packages, however.  Do you have a reference
that this is recommended practice?

>   - A fresh git clone will create a directory named postgres, so I did
>     change your /postgresql/ regex to /postgres/ in my attached version

Huh?

$ git clone git://git.postgresql.org/git/postgresql.git
Cloning into 'postgresql'...





pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [RFC] Minmax indexes
Next
From: Peter Eisentraut
Date:
Subject: Re: updated emacs configuration