GNU bug report logs - #36227
26.1; sgml-mode indents as comment inside of -- text blocks

Previous Next

Package: emacs;

Reported by: Akkana Peck <akkana <at> shallowsky.com>

Date: Sat, 15 Jun 2019 18:03:01 UTC

Severity: minor

Tags: confirmed, fixed

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 36227 <at> debbugs.gnu.org, Akkana Peck <akkana <at> shallowsky.com>
Subject: bug#36227: 26.1; sgml-mode indents as comment inside of -- text blocks
Date: Mon, 01 Feb 2021 10:42:52 +0100
Noam Postavsky <npostavs <at> gmail.com> writes:

> So I think there should be a sgml-mode specific
> comment-line-break-function, which checks whether it's in a comment or
> not (presumably using syntax-ppss).

I've now done this in Emacs 28, and it seems to work correctly in the
scenario described.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.