all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@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 17:53:43 +0200	[thread overview]
Message-ID: <83fv9flc3c.fsf@gnu.org> (raw)
In-Reply-To: <87a8zn7vum.fsf@zigzag.favinet>

> From: Thien-Thi Nguyen <ttn@gnu.org>
> Date: Sun, 08 Mar 2015 09:10:41 +0100
> 
> () 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.

I completely agree: the indentation of the attribute seems to have
nothing to do with sgml-basic-offset.  It's a separate feature.

> 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.

Indeed, that would be a better change.

Thanks.




  reply	other threads:[~2015-03-08 15:53 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
2015-03-08 15:53     ` Eli Zaretskii [this message]
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=83fv9flc3c.fsf@gnu.org \
    --to=eliz@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.