[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27112: Setting comment-continue to " " causes uncomment-region-defau
From: |
Clément Pit--Claudel |
Subject: |
bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop |
Date: |
Sun, 28 May 2017 02:27:39 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
Hi all,
Setting comment-continue to " " breaks the logic of uncomment-region-default,
causing it to get into an infinite loop (repeatedly matching an empty string at
the same location).
uncomment-region-default is used by comment-line (C-x C-;).
Setting comment-continue to " " could be a mistake, in which case this bug is
a request to document the limitation :) Or it may be a valid value, in which
case uncomment-region-default is broken.
The original context was comments like in a major mode that I'm writing, for
which setting comment-continue to " " seem(s/ed) reasonable.
/* AAA
BBB
CCC */
Cheers,
Clément.
signature.asc
Description: OpenPGP digital signature
- bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop,
Clément Pit--Claudel <=