[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el
From: |
Thien-Thi Nguyen |
Subject: |
Re: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el |
Date: |
Sun, 08 Mar 2015 09:10:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
() Jackson Hamilton <address@hidden>
() Sat, 7 Mar 2015 16:49:59 -0800
But sgml-basic-offset defaults to 2, not 3, so it doesn't
make much sense that the attribute is indented by 3 spaces.
Another way to look at it is that the attribute name is indented
2 spaces with respect to the element name, so things are working
as designed.
Maybe a better approach would be to introduce a variable that
controls the ‘1+’ such that indentation-wrt-element-name (status
quo) remains as is doesn't ruffle the feathers of long-time
users, yet indentation-wrt-element-angle-brace is available for
those (including yourself) who prefer it.
In this way, we can avoid another post in N years saying that
lack of ‘1+’ "doesn't make much sense", its accompanying patch,
and some of the circular discussion that would ensue.
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
signature.asc
Description: PGP signature