unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 36227@debbugs.gnu.org, Akkana Peck <akkana@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	[thread overview]
Message-ID: <878s88p1ib.fsf@gnus.org> (raw)
In-Reply-To: <87sgsaxuvy.fsf@gmail.com> (Noam Postavsky's message of "Sat, 15 Jun 2019 19:59:29 -0400")

Noam Postavsky <npostavs@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





      reply	other threads:[~2021-02-01  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-15 18:02 bug#36227: 26.1; sgml-mode indents as comment inside of -- text blocks Akkana Peck
2019-06-15 23:59 ` Noam Postavsky
2021-02-01  9:42   ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s88p1ib.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=36227@debbugs.gnu.org \
    --cc=akkana@shallowsky.com \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).