[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: |
Eli Zaretskii |
Subject: |
Re: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el |
Date: |
Sun, 08 Mar 2015 17:53:43 +0200 |
> From: Thien-Thi Nguyen <address@hidden>
> Date: Sun, 08 Mar 2015 09:10:41 +0100
>
> () 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.
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.