Re: updated emacs configuration - Mailing list pgsql-hackers

From Noah Misch
Subject Re: updated emacs configuration
Date
Msg-id 20130623200309.GA827387@tornado.leadboat.com
Whole thread Raw
In response to updated emacs configuration  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: updated emacs configuration  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Thu, Jun 13, 2013 at 09:27:07PM -0400, Peter Eisentraut wrote:
> I think the suggested emacs configuration snippets in
> src/tools/editors/emacs.samples no longer represent current best
> practices.  I have come up with some newer things that I'd like to
> propose for review.

> ((c-mode . ((c-basic-offset . 4)
>             (fill-column . 79)

I don't know whether you'd consider it to fall within the scope of this
update, but 78 is the fill-column setting that matches pgindent.

>  (sgml-mode . ((fill-column . 79)
>                (indent-tabs-mode . nil))))

SGML fill-column practice has varied widely.  I estimate 72 is more the norm,
though I personally favor longer lines like we use in source code comments.

-- 
Noah Misch
EnterpriseDB                                 http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: updated emacs configuration
Next
From: Fabien COELHO
Date:
Subject: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)