From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: `q' in debugger with a dedicated *Backtrace* window Date: Sun, 18 Mar 2007 00:42:30 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174203835 24392 80.91.229.12 (18 Mar 2007 07:43:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2007 07:43:55 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 18 08:43:48 2007 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 1HSq3N-0007xN-S4 for ged-emacs-devel@m.gmane.org; Sun, 18 Mar 2007 08:43:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSq4h-0003I2-JL for ged-emacs-devel@m.gmane.org; Sun, 18 Mar 2007 02:45:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HSq42-00030f-Lm for emacs-devel@gnu.org; Sun, 18 Mar 2007 03:44:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HSq40-0002zk-B6 for emacs-devel@gnu.org; Sun, 18 Mar 2007 03:44:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSq40-0002zg-6o for emacs-devel@gnu.org; Sun, 18 Mar 2007 02:44:24 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HSq2f-0001PN-Pl for emacs-devel@gnu.org; Sun, 18 Mar 2007 03:43:02 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l2I7gscf004156 for ; Sun, 18 Mar 2007 01:42:55 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l2I7CYvN004036 for ; Sun, 18 Mar 2007 01:42:54 -0600 Original-Received: from 141.144.73.0 by acsmt350.oracle.com with ESMTP id 2540865551174203760; Sun, 18 Mar 2007 00:42:40 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: 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:68047 Archived-At: > > quit-window is a pain You snipped this part: "but it is a lot less of a pain than flashing, iconifying, or burying" > That's what I told you when you kept begging for it. quit-window is much better than bury-buffer, for my own use. I said from the beginning, however, that the Emacs 20/21 behavior was fine with me - I can delete the frame when I'm done with it. I found automatic iconifying (from bury-buffer) annoying; you found leaving the frame present (as in Emacs 20/21) annoying. quit-window is one middle way. But why not add a user option, as both you and I proposed more than once? That is, use (funcall debugger-quit-function) in place of (bury-buffer) or (quit-window) or (do-nothing). Different users are bound to have different uses of the debugger and different preferences for its interaction. An option would provide the necessary flexibility. And yes, you can call the option "debugger-for-drew-adams" if that makes you feel better. I know I won't be the only one who uses it, and I don't mind taking credit for it ;-). If we can't have an option, then please leave the code as is - quit-window is a lot better than the alternatives I've seen since Emacs 21. Antinews humor from my email on 2005-06-10: > The Emacs 20 behavior was an improvement over the current > behavior: no flickering/flashing, no iconifying, no premature > exiting of debugging > - you can add that to the Antinews on my behalf ;-).