GNU bug report logs -
#5127
Indentation of top level tags when no single top level tag
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5127 in the body.
You can then email your comments to 5127 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#5127
; Package
emacs
.
(Fri, 04 Dec 2009 23:25:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 04 Dec 2009 23:25:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Sometimes a user is working with part of a code and still want to do
indentation. In cases like this
<head>
</head>
<body>
the body tag will currently be intended to column 0 by sgml-indent-line.
The attached patch handles this particular case specially to avoid
that. Since I do not want to change the return values from
sgml-geet-context (which is where this situation best can be detected)
I have transferred the extra information in a global variable
sgml-get-context-last-close instead.
This is against a checkout from 2009-12-04.
[indent-outermost.patch (text/x-diff, attachment)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#5127
; Package
emacs
.
(Sat, 05 Dec 2009 05:10:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 05 Dec 2009 05:10:07 GMT)
Full text and
rfc822 format available.
Message #10 received at 5127 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Sometimes a user is working with part of a code and still want to do
> indentation. In cases like this
> <head>
> </head>
> <body>
> the body tag will currently be intended to column 0 by sgml-indent-line.
What's wrong with that? Or do you mean it shoujld be indented to the
same level as the preceding <head>?
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#5127
; Package
emacs
.
(Sat, 05 Dec 2009 09:55:08 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 05 Dec 2009 09:55:09 GMT)
Full text and
rfc822 format available.
Message #15 received at 5127 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, Dec 5, 2009 at 6:04 AM, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>> Sometimes a user is working with part of a code and still want to do
>> indentation. In cases like this
>
>> <head>
>> </head>
>> <body>
>
>> the body tag will currently be intended to column 0 by sgml-indent-line.
>
> What's wrong with that? Or do you mean it shoujld be indented to the
> same level as the preceding <head>?
Yes.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5127
; Package
emacs
.
(Tue, 25 Aug 2020 13:48:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 5127 <at> debbugs.gnu.org (full text, mbox):
Lennart Borgman <lennart.borgman <at> gmail.com> writes:
> Sometimes a user is working with part of a code and still want to do
> indentation. In cases like this
>
> <head>
> </head>
> <body>
>
> the body tag will currently be intended to column 0 by sgml-indent-line.
I put the example into a file called foo.sgml and hit TAB on the <body>
in Emacs 28, and the <body> didn't move, so I'm guessing this has been
fixed in the decade since this was reported?
So I'm closing this bug report. If you're still seeing the problem,
send a mail to the debbugs address and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
5127 <at> debbugs.gnu.org and Lennart Borgman <lennart.borgman <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Aug 2020 13:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 23 Sep 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.