From: Thien-Thi Nguyen <ttn@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el
Date: Sun, 08 Mar 2015 09:10:41 +0100 [thread overview]
Message-ID: <87a8zn7vum.fsf@zigzag.favinet> (raw)
In-Reply-To: <CAGiE8Axav2Y+VM5WUdKQ0HB_QLdBxenhSAoBAyLTKq6-PfRLEA@mail.gmail.com> (Jackson Hamilton's message of "Sat, 7 Mar 2015 16:49:59 -0800")
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
() Jackson Hamilton <jackson@jacksonrayhamilton.com>
() 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2015-03-08 8:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 10:35 Requesting review for change to lisp/textmodes/sgml-mode.el Jackson Hamilton
2015-03-08 0:49 ` Fwd: " Jackson Hamilton
2015-03-08 8:10 ` Thien-Thi Nguyen [this message]
2015-03-08 15:53 ` Eli Zaretskii
2015-03-10 0:07 ` Robin Templeton
2015-03-10 1:32 ` Stefan Monnier
2015-03-21 20:20 ` bug#20161: " Jackson Hamilton
2015-03-22 14:03 ` Stefan Monnier
2015-03-22 15:39 ` Jackson Hamilton
2015-03-23 2:02 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8zn7vum.fsf@zigzag.favinet \
--to=ttn@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.