GNU bug report logs - #30937
In `comment-region', C-g doesn't work.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sun, 25 Mar 2018 14:49:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 30937 <at> debbugs.gnu.org
Subject: Re: bug#30937: In `comment-region', C-g doesn't work.
Date: Sat, 31 Mar 2018 10:21:05 -0400
Alan Mackenzie <acm <at> muc.de> writes:

> Hello, Eli.
>
> On Sun, Mar 25, 2018 at 18:32:10 +0300, Eli Zaretskii wrote:
>> > Date: Sun, 25 Mar 2018 14:28:55 +0000
>> > From: Alan Mackenzie <acm <at> muc.de>
>
>> > emacs-26.0.91 -Q
>> > C-x C-f Any largish file.c
>> > C-x h                 ; mark buffer.
>> > C-c C-c               ; comment-region.
>
>> > This is the sort of thing that can happen by accident.  Depending on the
>> > size of the file.c and the speed of your machine, you've now got a long,
>> > long wait.  C-g doesn't work.  This is a bug.
>
>> C-g does work for me just fine in the above recipe.  Maybe it's
>> platform dependent, and the problem happens only on X?
>
> Yes, I've just tried it on X.  It works there (except it leaves point in
> a suboptimal position: the starting point.  It should really leave point
> after the last newly commented line when the quit happened).  It works
> on emacs -nw, with the same proviso.
>
> It doesn't work at all on a Linux tty.  Sorry I didn't try X before
> reporting the bug.

I'm not able to reproduce this on a Linux tty (I assume that means the
virtual terminal you get when pressing Ctrl+Alt+F1).





This bug report was last modified 5 years and 201 days ago.

Previous Next


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