From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Three strikes them out Date: Sat, 31 May 2008 17:33:33 +0200 Message-ID: References: <48403C07.5080404@gmail.com> <484113E8.1040008@gmail.com> <4841177E.8020708@gmx.at> <484118F0.2050805@gmail.com> <48412778.7030302@gmx.at> <48413D82.9080304@gmail.com> <48415454.9050607@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212248377 10302 80.91.229.12 (31 May 2008 15:39:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2008 15:39:37 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , Stefan Monnier , Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 31 17:40:17 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K2TBl-00081W-1Z for ged-emacs-devel@m.gmane.org; Sat, 31 May 2008 17:40:13 +0200 Original-Received: from localhost ([127.0.0.1]:48121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2TAz-0003ji-90 for ged-emacs-devel@m.gmane.org; Sat, 31 May 2008 11:39:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2TA1-0003Bm-FV for emacs-devel@gnu.org; Sat, 31 May 2008 11:38:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2T9z-0003B5-QW for emacs-devel@gnu.org; Sat, 31 May 2008 11:38:25 -0400 Original-Received: from [199.232.76.173] (port=43996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2T9z-0003B1-Ji for emacs-devel@gnu.org; Sat, 31 May 2008 11:38:23 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:51616 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2T9z-0000Ma-CO for emacs-devel@gnu.org; Sat, 31 May 2008 11:38:23 -0400 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m4VFcF6w017845; Sat, 31 May 2008 17:38:16 +0200 In-Reply-To: <48415454.9050607@gmx.at> (martin rudalics's message of "Sat, 31 May 2008 15:36:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98141 Archived-At: martin rudalics writes: > > Stop what? All idle timers? That's hardly possible if the timer fires > before you finished typing that key sequence. If, on the other hand, > you manage earlier keyboard events get through you will stop all timers > whenever you mishappen to type C-g repeatedly. > > If there's a bug fix the bug. If the bug is caused by a function run by > a timer make the delay larger or run the function manually to find the > bug. In general any function run by a timer must be safe - that is exit > quickly wrt real time and never cause any reentrancy. I agree with Lennart that Emacs should provide more facilities to get out of awkward situations. Sure, fix the bug, but how is any given Emacs user affected by some Emacs bug somewhere supposed to do that? Lennarts "c-g repeatedly" maybe wasnt the best example. Surely this doesnt exclude the possibility of adding some other helpful feature? I, for example, would like a facility to attach GDB on a keystroke, and some nice(r) gdb macros to examine why emacs is ill. But thats me. -- Joakim Verona