From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: npostavs@users.sourceforge.net
Cc: 27112@debbugs.gnu.org
Subject: bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop
Date: Tue, 30 May 2017 19:02:03 -0400 [thread overview]
Message-ID: <0908e61a-6aab-13f9-5938-a6c02ff7f1ea@live.com> (raw)
In-Reply-To: <871sr63ry0.fsf@users.sourceforge.net>
[-- Attachment #1.1: Type: text/plain, Size: 568 bytes --]
On 2017-05-30 18:23, npostavs@users.sourceforge.net wrote:
> 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?
Sure thing:
emacs -Q --eval '(setq comment-continue " ")' --eval '(save-excursion (insert ";; AAA\n"))' --eval '(comment-line 1)'
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2017-05-30 23:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-28 6:27 bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop Clément Pit--Claudel
2017-05-30 22:23 ` npostavs
2017-05-30 23:02 ` Clément Pit--Claudel [this message]
2017-06-02 3:18 ` npostavs
2017-06-10 2:15 ` npostavs
2017-07-03 15:36 ` npostavs
2017-07-03 15:41 ` Clément Pit--Claudel
2017-07-05 0:08 ` npostavs
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=0908e61a-6aab-13f9-5938-a6c02ff7f1ea@live.com \
--to=clement.pitclaudel@live.com \
--cc=27112@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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).