pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make Emacs perl-mode indent more like perltidy.
Date: Sun, 13 Jan 2019 19:33:59 +0000
Message-ID: <E1gilWB-0007AE-64@gemulon.postgresql.org> (raw)

Make Emacs perl-mode indent more like perltidy.

This especially helps braces that surround code blocks.  Back-patch to
v11, where commit 56fb890ace8ac0ca955ae0803c580c2074f876f6 first
appeared; before that, settings were even more distant from perltidy.

Reviewed by Andrew Dunstan.

Discussion: https://postgr.es/m/20190103055355.GB267595@gust.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0f514dd78f673080511f9fa7749e6e312a1ddd9b

Modified Files
--------------
.dir-locals.el                  | 2 +-
src/tools/editors/emacs.samples | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)



view thread (2+ messages)

Message-ID: <E1gilWB-0007AE-64@gemulon.postgresql.org>
Permalink:  ../E1gilWB-0007AE-64@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gilWB-0007AE-64@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Make Emacs perl-mode indent more like perltidy.
  In-Reply-To: <E1gilWB-0007AE-64@gemulon.postgresql.org>
  References: <E1gilWB-0007AE-64@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox