Re: updated emacs configuration

From: Noah Misch <noah(at)leadboat(dot)com>
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-23 20:03:09
Message-ID: 20130623200309.GA827387@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2013-06-23 20:08:13 Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Previous Message Andrew Dunstan 2013-06-23 19:43:46 Re: updated emacs configuration