GNU bug report logs -
#14553
[cygwin] C-g doesn't interrupt (while t)
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Tue, 4 Jun 2013 07:07:02 UTC
Severity: normal
Found in version 24.3.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14553 in the body.
You can then email your comments to 14553 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Tue, 04 Jun 2013 07:07:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 04 Jun 2013 07:07:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Start Emacs with the -Q option.
Eval the form: (while t)
Then I get unable to break it. So is Emacs 24.3. This may happen
only on Cygwin, though. It makes me hard to debug a code suspected
to have an infinite loop.
In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars)
of 2013-06-04 on localhost
Bzr revision: 112842 michael.albinus <at> gmx.de-20130603193806-1f2pilg1t709mqyg
Windowing system distributor `The Cygwin/X Project', version 11.0.11401000
Configured using:
`configure --verbose --with-x-toolkit=lucid --without-imagemagick
--without-dbus --without-gconf --without-gsettings'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Tue, 02 Jul 2013 20:14:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14553 <at> debbugs.gnu.org (full text, mbox):
On 6/4/2013 2:10 AM, Katsumi Yamaoka wrote:
> Hi,
>
> Start Emacs with the -Q option.
> Eval the form: (while t)
>
> Then I get unable to break it. So is Emacs 24.3. This may happen
> only on Cygwin, though. It makes me hard to debug a code suspected
> to have an infinite loop.
I can confirm that this happens on Cygwin but not on GNU/Linux. This
may just reflect the fact that Cygwin doesn't have SIGIO. Maybe someone
who understands how Emacs handles keyboard input can weigh in on this
and suggest a workaround.
Ken
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Tue, 02 Jul 2013 23:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 14553 <at> debbugs.gnu.org (full text, mbox):
On Tue, Jul 2, 2013 at 1:12 PM, Ken Brown <kbrown <at> cornell.edu> wrote:
> On 6/4/2013 2:10 AM, Katsumi Yamaoka wrote:
>>
>> Hi,
>>
>> Start Emacs with the -Q option.
>> Eval the form: (while t)
>>
>> Then I get unable to break it. So is Emacs 24.3. This may happen
>> only on Cygwin, though. It makes me hard to debug a code suspected
>> to have an infinite loop.
> I can confirm that this happens on Cygwin but not on GNU/Linux. This may
> just reflect the fact that Cygwin doesn't have SIGIO. Maybe someone who
> understands how Emacs handles keyboard input can weigh in on this and
> suggest a workaround.
FWIW, I am able to successfully interrupt that loop via C-g on my
Cygwin system, which was configured with the --with-w32 flag and built
from yesterday's trunk.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Wed, 03 Jul 2013 00:36:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 14553 <at> debbugs.gnu.org (full text, mbox):
Josh wrote:
>> On 6/4/2013 2:10 AM, Katsumi Yamaoka wrote:
>>> Start Emacs with the -Q option.
>>> Eval the form: (while t)
>>>
>>> Then I get unable to break it.
[...]
> FWIW, I am able to successfully interrupt that loop via C-g on my
> Cygwin system, which was configured with the --with-w32 flag and built
> from yesterday's trunk.
Oh, it works! Thanks. So, Emacs links some essential one only
when --with-w32, doesn't it? I don't know what it is, but I hope
Cygwin Emacs uses it no matter what GUI is chosen. My configure
options are:
--verbose --with-x-toolkit=lucid --without-imagemagick --without-dbus
--without-gconf --without-gsettings'
;; I tried --with-w32, and found it uses funny key bindings (by
;; default?) --- there's no C-h key, M-x isn't M-x, etc. For not
;; only it but also the font settings and so forth, it seems to
;; take time to make it usable as before.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Wed, 03 Jul 2013 11:15:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 14553 <at> debbugs.gnu.org (full text, mbox):
On 7/2/2013 7:17 PM, Josh wrote:
> On Tue, Jul 2, 2013 at 1:12 PM, Ken Brown <kbrown <at> cornell.edu> wrote:
>> On 6/4/2013 2:10 AM, Katsumi Yamaoka wrote:
>>>
>>> Hi,
>>>
>>> Start Emacs with the -Q option.
>>> Eval the form: (while t)
>>>
>>> Then I get unable to break it. So is Emacs 24.3. This may happen
>>> only on Cygwin, though. It makes me hard to debug a code suspected
>>> to have an infinite loop.
>
>> I can confirm that this happens on Cygwin but not on GNU/Linux. This may
>> just reflect the fact that Cygwin doesn't have SIGIO. Maybe someone who
>> understands how Emacs handles keyboard input can weigh in on this and
>> suggest a workaround.
>
> FWIW, I am able to successfully interrupt that loop via C-g on my
> Cygwin system, which was configured with the --with-w32 flag and built
> from yesterday's trunk.
And this also works with the X11 build if Emacs is run in the Cygwin
terminal (mintty). So it appears that the problem only occurs when
Emacs is running under X11. I don't know anything about how keyboard
input works under X11, so I'm not sure where to go from here.
Ken
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Sun, 23 Mar 2014 06:28:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 14553 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sounds like a problem with signal delivery. Have you reported it to the
cygwin mailing list?
[signature.asc (application/pgp-signature, attachment)]
Severity set to 'normal' from 'important'
Request was from
Stefan Monnier <monnier <at> iro.umontreal.ca>
to
control <at> debbugs.gnu.org
.
(Sat, 09 Aug 2014 17:11:02 GMT)
Full text and
rfc822 format available.
Changed bug title to '[cygwin] C-g doesn't interrupt (while t)' from '24.3.50; C-g doesn't break inf-loop'
Request was from
npostavs <at> users.sourceforge.net
to
control <at> debbugs.gnu.org
.
(Thu, 22 Jun 2017 02:22:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Mon, 30 Sep 2019 15:45:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 14553 <at> debbugs.gnu.org (full text, mbox):
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> Hi,
>
> Start Emacs with the -Q option.
> Eval the form: (while t)
>
> Then I get unable to break it. So is Emacs 24.3. This may happen
> only on Cygwin, though. It makes me hard to debug a code suspected
> to have an infinite loop.
That was six years ago. Are you still seeing this on a modern version
of Emacs?
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Tue, 01 Oct 2019 00:02:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 14553 <at> debbugs.gnu.org (full text, mbox):
On Mon, 30 Sep 2019 17:44:01 +0200, Stefan Kangas wrote:
> Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
>> Start Emacs with the -Q option.
>> Eval the form: (while t)
>> Then I get unable to break it. So is Emacs 24.3. This may happen
>> only on Cygwin, though. It makes me hard to debug a code suspected
>> to have an infinite loop.
> That was six years ago. Are you still seeing this on a modern version
> of Emacs?
C-g still doesn't break (while t) on Emacs 27.0.50 of today, and
also on 26.3.50, 26.1, 25.1 rebuilt recently. I got used to it,
so I'm not so troubled. ;-) Thanks for following this up.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Tue, 01 Oct 2019 01:01:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 14553 <at> debbugs.gnu.org (full text, mbox):
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> > That was six years ago. Are you still seeing this on a modern version
> > of Emacs?
>
> C-g still doesn't break (while t) on Emacs 27.0.50 of today, and
> also on 26.3.50, 26.1, 25.1 rebuilt recently. I got used to it,
> so I'm not so troubled. ;-) Thanks for following this up.
Thanks for reporting back.
Daniel Colascione suggested that there might be a problem with signal
delivery on Cygwin, and to report it to their mailing list:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14553#20
Perhaps that might be worth doing if you haven't already.
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Wed, 10 Jan 2024 11:15:01 GMT)
Full text and
rfc822 format available.
Message #36 received at 14553 <at> debbugs.gnu.org (full text, mbox):
Daniel Colascione <dancol <at> dancol.org> writes:
> Sounds like a problem with signal delivery. Have you reported it to the
> cygwin mailing list?
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
>
>> > That was six years ago. Are you still seeing this on a modern version
>> > of Emacs?
>>
>> C-g still doesn't break (while t) on Emacs 27.0.50 of today, and
>> also on 26.3.50, 26.1, 25.1 rebuilt recently. I got used to it,
>> so I'm not so troubled. ;-) Thanks for following this up.
>
> Thanks for reporting back.
>
> Daniel Colascione suggested that there might be a problem with signal
> delivery on Cygwin, and to report it to their mailing list:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14553#20
>
> Perhaps that might be worth doing if you haven't already.
Coming back to this four years later, it sounds like this might be a bug
in Cygwin. Is that correct?
If yes, should we really keep this bug open on our end?
Reply sent
to
Ken Brown <kbrown <at> cornell.edu>
:
You have taken responsibility.
(Wed, 10 Jan 2024 16:32:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
bug acknowledged by developer.
(Wed, 10 Jan 2024 16:32:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 14553-done <at> debbugs.gnu.org (full text, mbox):
On 1/10/2024 6:14 AM, Stefan Kangas wrote:
> Daniel Colascione <dancol <at> dancol.org> writes:
>
>> Sounds like a problem with signal delivery. Have you reported it to the
>> cygwin mailing list?
>
> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
>>
>>>> That was six years ago. Are you still seeing this on a modern version
>>>> of Emacs?
>>>
>>> C-g still doesn't break (while t) on Emacs 27.0.50 of today, and
>>> also on 26.3.50, 26.1, 25.1 rebuilt recently. I got used to it,
>>> so I'm not so troubled. ;-) Thanks for following this up.
>>
>> Thanks for reporting back.
>>
>> Daniel Colascione suggested that there might be a problem with signal
>> delivery on Cygwin, and to report it to their mailing list:
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14553#20
>>
>> Perhaps that might be worth doing if you haven't already.
>
> Coming back to this four years later, it sounds like this might be a bug
> in Cygwin. Is that correct?
Not sure.
> If yes, should we really keep this bug open on our end?
I think it should be closed, and I'm doing it with this email.
Ken
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Wed, 10 Jan 2024 17:10:02 GMT)
Full text and
rfc822 format available.
Message #44 received at 14553-done <at> debbugs.gnu.org (full text, mbox):
Ken Brown <kbrown <at> cornell.edu> writes:
> I think it should be closed, and I'm doing it with this email.
Thank you.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14553
; Package
emacs
.
(Thu, 11 Jan 2024 07:25:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 14553 <at> debbugs.gnu.org (full text, mbox):
On Wed, 10 Jan 2024 09:09:46 -0800, Stefan Kangas wrote:
> Ken Brown <kbrown <at> cornell.edu> writes:
>> I think it should be closed, and I'm doing it with this email.
> Thank you.
Oh, I confirmed that I can break `(while t)' by C-g on Emacs 29.1
and up. That's great! Thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 08 Feb 2024 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.