unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Josh <josh@foxtail.org>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>, 14553@debbugs.gnu.org
Subject: bug#14553: 24.3.50; C-g doesn't break inf-loop
Date: Wed, 03 Jul 2013 07:13:49 -0400	[thread overview]
Message-ID: <51D4076D.402@cornell.edu> (raw)
In-Reply-To: <CANdFEAGiRUUt6_DCK-pSKivNYoxR3cggbwQU+v47WiKe4SYCzQ@mail.gmail.com>

On 7/2/2013 7:17 PM, Josh wrote:
> On Tue, Jul 2, 2013 at 1:12 PM, Ken Brown <kbrown@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





  parent reply	other threads:[~2013-07-03 11:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04  6:10 bug#14553: 24.3.50; C-g doesn't break inf-loop Katsumi Yamaoka
2013-07-02 20:12 ` Ken Brown
2013-07-02 23:17   ` Josh
2013-07-03  0:34     ` Katsumi Yamaoka
2013-07-03 11:13     ` Ken Brown [this message]
2014-03-23  6:27 ` Daniel Colascione
2019-09-30 15:44 ` Stefan Kangas
2019-10-01  0:01 ` Katsumi Yamaoka
2019-10-01  0:59   ` Stefan Kangas
2024-01-10 11:14     ` bug#14553: [cygwin] C-g doesn't interrupt (while t) Stefan Kangas
2024-01-10 16:31       ` Ken Brown
2024-01-10 17:09         ` Stefan Kangas
2024-01-11  5:29 ` Katsumi Yamaoka

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=51D4076D.402@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=14553@debbugs.gnu.org \
    --cc=josh@foxtail.org \
    --cc=yamaoka@jpl.org \
    /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).