bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20161: Fwd: Requesting review for change to lisp/textmodes/sgml-mode


From: Stefan Monnier
Subject: bug#20161: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el
Date: Sun, 22 Mar 2015 10:03:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> He could break the attribute onto a new line and it would be indented like
> so:

> <element
>    attribute="value">

> But sgml-basic-offset defaults to 2, not 3, so it doesn't make much sense
> that
> the attribute is indented by 3 spaces.

As is clear from the code you're changing the "1+" is quite deliberate,
which shows some people prefer it that way.

So as discussed, this indentation step should have its own custom var.
You can make it default to the behavior you prefer if you want.

Other than that, the patch looks OK.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]