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: Jackson Hamilton
Subject: bug#20161: Fwd: Requesting review for change to lisp/textmodes/sgml-mode.el
Date: Sun, 22 Mar 2015 08:39:22 -0700

Okay, created a defcustom for it. Patch is attached.

On Sun, Mar 22, 2015 at 7:03 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 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

Attachment: 0001-Have-sgml-attribute-offset-control-SGML-attribute-in.patch
Description: Text Data


reply via email to

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