From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#14553: 24.3.50; C-g doesn't break inf-loop Date: Wed, 03 Jul 2013 07:13:49 -0400 Message-ID: <51D4076D.402@cornell.edu> References: <51D33439.9030403@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372850110 15427 80.91.229.3 (3 Jul 2013 11:15:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 11:15:10 +0000 (UTC) Cc: Katsumi Yamaoka , 14553@debbugs.gnu.org To: Josh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 03 13:15:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UuL1g-0007bh-0V for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 13:15:08 +0200 Original-Received: from localhost ([::1]:53895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuL1f-00027l-Hs for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 07:15:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuL1c-00026a-PN for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 07:15:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuL1b-0000yU-In for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 07:15:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuL1b-0000vd-5W for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 07:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UuL1Z-0005Kj-Sk for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 07:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2013 11:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14553-submit@debbugs.gnu.org id=B14553.137285004520334 (code B ref 14553); Wed, 03 Jul 2013 11:15:01 +0000 Original-Received: (at 14553) by debbugs.gnu.org; 3 Jul 2013 11:14:05 +0000 Original-Received: from localhost ([127.0.0.1]:53989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuL0e-0005Hu-HQ for submit@debbugs.gnu.org; Wed, 03 Jul 2013 07:14:05 -0400 Original-Received: from limerock02.mail.cornell.edu ([128.84.12.100]:36565) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuL0c-0005HD-Eb for 14553@debbugs.gnu.org; Wed, 03 Jul 2013 07:14:02 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r63BDuWD014394; Wed, 3 Jul 2013 07:13:57 -0400 Original-Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r63BDttk027611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Jul 2013 07:13:56 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75847 Archived-At: On 7/2/2013 7:17 PM, Josh wrote: > On Tue, Jul 2, 2013 at 1:12 PM, Ken Brown 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