From: | Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: updated emacs configuration |
Date: | 2013-06-26 08:51:07 |
Message-ID: | m2ehbp2r2c.fsf@2ndQuadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> 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.
With the .dir-locals.el in place, the first one should be using 4-space
tabs too, right?
>> - 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?
Well a friend of mine pointed that out to me one day, and he's an Emacs
and Gnus commiter. The thing is that you're not guaranteed that the same
lambda source code will evaluate to the same object each time, and that
would prevent you to remove-hook.
> $ git clone git://git.postgresql.org/git/postgresql.git
> Cloning into 'postgresql'...
I can reproduce that here. I don't know why I have those postgres dirs
then, and I'm pretty confused about my round of testing now.
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2013-06-26 08:51:56 | Re: FILTER for aggregates [was Re: Department of Redundancy Department: makeNode(FuncCall) division] |
Previous Message | Atri Sharma | 2013-06-26 08:49:07 | Re: Kudos for Reviewers -- straw poll |