From unknown Sun Jun 22 03:56:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2914: a signal to just slap emacs' face, not kill it Reply-To: jidanni@jidanni.org, 2914@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Apr 2009 03:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2914 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123907549724115 (code B ref -1); Tue, 07 Apr 2009 03:45:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Apr 2009 03:38:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n373cESv024109 for ; Mon, 6 Apr 2009 20:38:15 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lr28b-0004cW-UN for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lr28W-0004cJ-Ha for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:12 -0400 Received: from [199.232.76.173] (port=50511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lr28W-0004cG-CM for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:08 -0400 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66]:45264 helo=homiemail-a6.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lr28W-00081v-0j for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:08 -0400 Received: from jidanni.org (122-127-35-247.dynamic.hinet.net [122.127.35.247]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 653311557F for ; Mon, 6 Apr 2009 20:38:06 -0700 (PDT) To: bug-gnu-emacs@gnu.org From: jidanni@jidanni.org Date: Tue, 07 Apr 2009 11:38:04 +0800 Message-ID: <87ws9x5e1v.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Recently I made emacs so busy that I could get a C-g in edgewise, and I had to wait a few minutes for it to finish what it was doing. I could just from the shell do killall -s HUP emacs but that would just kill it, without giving me a chance to save my files, etc. So maybe there should be a way to send it a signal to just slap its face a little, to get its attention, but not actually kill it. Perhaps just to do what a C-g would have done, if it had got thru. (It's besides the point, but I was using http://test.wikipedia.org/wiki/Special:Allmessages?uselang=zh-tw and C-g nor C-c C-k could break thru.) From cyd@stupidchicken.com Mon Apr 6 21:14:00 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Apr 2009 04:14:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n374Dwwm002200 for ; Mon, 6 Apr 2009 21:13:59 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7537457E18A; Tue, 7 Apr 2009 00:15:38 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 2914 wishlist Date: Tue, 07 Apr 2009 00:15:38 -0400 Message-ID: <87zletf6ad.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 2914 wishlist thanks From unknown Sun Jun 22 03:56:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2914: a signal to just slap emacs' face, not kill it Reply-To: Stefan Monnier , 2914@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Apr 2009 14:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2914 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2914-submit@emacsbugs.donarmstrong.com id=B2914.123911320814218 (code B ref 2914); Tue, 07 Apr 2009 14:15:07 +0000 Received: (at 2914) by emacsbugs.donarmstrong.com; 7 Apr 2009 14:06:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37E6jhw014199 for <2914@emacsbugs.donarmstrong.com>; Tue, 7 Apr 2009 07:06:46 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAOP62klMCqib/2dsb2JhbACBUs0Pg30GhQ4 X-IronPort-AV: E=Sophos;i="4.39,337,1235970000"; d="scan'208";a="36705895" Received: from 76-10-168-155.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.155]) by ironport2-out.teksavvy.com with ESMTP; 07 Apr 2009 10:06:40 -0400 Received: by ceviche.home (Postfix, from userid 20848) id B7D2270A2F; Tue, 7 Apr 2009 10:06:39 -0400 (EDT) From: Stefan Monnier To: jidanni@jidanni.org Cc: 2914@debbugs.gnu.org Message-ID: References: <87ws9x5e1v.fsf@jidanni.org> Date: Tue, 07 Apr 2009 10:06:39 -0400 In-Reply-To: <87ws9x5e1v.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 07 Apr 2009 11:38:04 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Recently I made emacs so busy that I could get a C-g in edgewise, and I > had to wait a few minutes for it to finish what it was doing. That's clearly undesirable, tho I do know that it happens in various cases. In many cases it can be fixed pretty easily, tho. > (It's besides the point, but I was using > http://test.wikipedia.org/wiki/Special:Allmessages?uselang=zh-tw and > C-g nor C-c C-k could break thru.) So if you provide a testcase, or at least explain what it is you were doing with that URL, maybe we can actually fix the problem. Stefan PS: One common situation where C-g is unresponsive is when the redisplay is too slow (e.g. navigating in a vvveeerrrryyy long line). In such a case, iconifying the frame displaying the "offending" buffer may get you back in business (provided you have another frame or the emacs-server open). From unknown Sun Jun 22 03:56:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2914: a signal to just slap emacs' face, not kill it Reply-To: jidanni@jidanni.org, 2914@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Apr 2009 01:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2914 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2914-submit@emacsbugs.donarmstrong.com id=B2914.123915426512554 (code B ref 2914); Wed, 08 Apr 2009 01:40:04 +0000 Received: (at 2914) by emacsbugs.donarmstrong.com; 8 Apr 2009 01:31:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from homiemail-a6.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n381V2G1012548 for <2914@emacsbugs.donarmstrong.com>; Tue, 7 Apr 2009 18:31:03 -0700 Received: from jidanni.org (122-127-32-101.dynamic.hinet.net [122.127.32.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 893B5155E2; Tue, 7 Apr 2009 18:30:59 -0700 (PDT) To: monnier@iro.umontreal.ca Cc: 2914@debbugs.gnu.org References: From: jidanni@jidanni.org Date: Wed, 08 Apr 2009 09:30:55 +0800 Message-ID: <878wmclynk.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Monnier writes: > What were you doing? I'm sorry. I was using the w3m add on package's (w3m "http://test.wikipedia.org/wiki/Special:Allmessages?uselang=zh-tw") and apparently had given it too many other keystokes so that C-g and C-c C-k wouldn't get thru, or it was too busy rendering or something to "listen to any phone calls". Anyway, that's all besides the point. I'm thinking that maybe emacs could catch USR1 or USR2 signals, and interpret them as C-g's, when the real C-g's just aren't getting thru. But that is probably a bug in the first place. Anyway, to test, just do something that makes emacs too busy to hear the C-g's or maybe you typed a lot of other things that it hasn't read yet before it can read your C-g's... From unknown Sun Jun 22 03:56:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jidanni@jidanni.org Subject: bug#2914: closed (Re: bug#2914: a signal to just slap emacs' face, not kill it) Message-ID: References: <7b62ez5wn2.fsf@fencepost.gnu.org> <87ws9x5e1v.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 2914 X-Gnu-PR-Package: emacs Reply-To: 2914@debbugs.gnu.org Date: Wed, 22 Feb 2012 04:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1329884462-16059-1" This is a multi-part message in MIME format... ------------=_1329884462-16059-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #2914: a signal to just slap emacs' face, not kill it which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 2914@debbugs.gnu.org. --=20 2914: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2914 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1329884462-16059-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2914-done) by debbugs.gnu.org; 22 Feb 2012 04:20:34 +0000 Received: from localhost ([127.0.0.1]:49774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S03gu-0004AC-MR for submit@debbugs.gnu.org; Tue, 21 Feb 2012 23:20:33 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:57250 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S03gs-0004A5-Od for 2914-done@debbugs.gnu.org; Tue, 21 Feb 2012 23:20:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S03eb-0005uN-It; Tue, 21 Feb 2012 23:18:09 -0500 From: Glenn Morris To: 2914-done@debbugs.gnu.org Subject: Re: bug#2914: a signal to just slap emacs' face, not kill it References: <87ws9x5e1v.fsf@jidanni.org> X-Spook: security munitions tempest unclassified red noise anthrax X-Ran: 2s[.5XBbTaMxQ[9B5u/.)szCx@8|oCiT{oOPd#z0J;gKqbTZa[HiPl2@M>smWAg[G\D|4@ X-Hue: blue X-Attribution: GM Date: Tue, 21 Feb 2012 23:18:09 -0500 In-Reply-To: (Stefan Monnier's message of "Tue, 07 Apr 2009 10:06:39 -0400") Message-ID: <7b62ez5wn2.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 2914-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Version: 24.1 SIGUSR2 should now cause Emacs to stop and enter the debugger. C-h v debug-on-event ------------=_1329884462-16059-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 7 Apr 2009 03:38:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n373cESv024109 for ; Mon, 6 Apr 2009 20:38:15 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lr28b-0004cW-UN for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lr28W-0004cJ-Ha for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:12 -0400 Received: from [199.232.76.173] (port=50511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lr28W-0004cG-CM for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:08 -0400 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66]:45264 helo=homiemail-a6.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lr28W-00081v-0j for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2009 23:38:08 -0400 Received: from jidanni.org (122-127-35-247.dynamic.hinet.net [122.127.35.247]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 653311557F for ; Mon, 6 Apr 2009 20:38:06 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: a signal to just slap emacs' face, not kill it From: jidanni@jidanni.org Date: Tue, 07 Apr 2009 11:38:04 +0800 Message-ID: <87ws9x5e1v.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Recently I made emacs so busy that I could get a C-g in edgewise, and I had to wait a few minutes for it to finish what it was doing. I could just from the shell do killall -s HUP emacs but that would just kill it, without giving me a chance to save my files, etc. So maybe there should be a way to send it a signal to just slap its face a little, to get its attention, but not actually kill it. Perhaps just to do what a C-g would have done, if it had got thru. (It's besides the point, but I was using http://test.wikipedia.org/wiki/Special:Allmessages?uselang=zh-tw and C-g nor C-c C-k could break thru.) ------------=_1329884462-16059-1--