GNU bug report logs - #55716
29.0.50; latex-mode overrides my `comment-style` choice

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 29 May 2022 21:59:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 55716 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 55716 <at> debbugs.gnu.org
Subject: Re: bug#55716: 29.0.50; latex-mode overrides my `comment-style` choice
Date: Mon, 30 May 2022 20:24:33 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> The commit message doesn't explain why it changes `comment-style`.
> Was that an oversight?

Yes, sort of.  The change is wrong, and should be fixed a different way,
I think.

The problem is that if you have this:

---
foo

bar
---

and comments out the blank line in the middle with `M-x comment-region',
you get

---
foo
          %%
bar
---

Which doesn't seem right, so I assumed that `indent' didn't work for
latex-mode.  But that's probably a bug in the `indent' version instead,
because `indent' should work in general.

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




This bug report was last modified 3 years and 70 days ago.

Previous Next


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