[PATCH] Set sgml-basic-offset to 1 in .dir-locals.el

Started by Dagfinn Ilmari Mannsåkeralmost 10 years ago3 messageshackers
Jump to latest

This keeps the indentation consistent when editing the documentation
using Emacs.

Attachments:

0001-Set-sgml-basic-offset-to-1-in-.dir-locals.el.patchtext/x-diffDownload+2-2
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Dagfinn Ilmari Mannsåker (#1)
Re: [PATCH] Set sgml-basic-offset to 1 in .dir-locals.el

On 7/6/16 4:52 AM, Dagfinn Ilmari Manns�ker wrote:

This keeps the indentation consistent when editing the documentation
using Emacs.

Unfortunately, sgml-basic-offset is not a "safe" variable, so if we put
it into .dir-locals.el, then users will always be bothered with a
warning about that.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

In reply to: Peter Eisentraut (#2)
Re: [PATCH] Set sgml-basic-offset to 1 in .dir-locals.el

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:

On 7/6/16 4:52 AM, Dagfinn Ilmari Mannsåker wrote:

This keeps the indentation consistent when editing the documentation
using Emacs.

Unfortunately, sgml-basic-offset is not a "safe" variable, so if we put
it into .dir-locals.el, then users will always be bothered with a
warning about that.

Ah, I see I've added it to safe-local-variables in my .emacs. I must
have done that a while back (as evidenced by the date in the patch) and
forgotten about it. Oh well, never mind.

--
- Twitter seems more influential [than blogs] in the 'gets reported in
the mainstream press' sense at least. - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
to a mainstream media article. - Calle Dybedahl

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers