[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55716: 29.0.50; latex-mode overrides my `comment-style` choice
From: |
Lars Ingebrigtsen |
Subject: |
bug#55716: 29.0.50; latex-mode overrides my `comment-style` choice |
Date: |
Mon, 30 May 2022 20:24:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@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