bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27112: Setting comment-continue to " " causes uncomment-region-defau


From: npostavs
Subject: bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop
Date: Tue, 30 May 2017 18:23:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

Clément Pit--Claudel <clement.pitclaudel@live.com> writes:

> 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-;).

Can you give a full recipe?

> 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.

I would consider uncomment-region-default broken regardless: even if
setting comment-continue to " " is a user error, the result should be to
throw an error, not infloop.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]