From unknown Sat Aug 16 13:03:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4550 <4550@debbugs.gnu.org> To: bug#4550 <4550@debbugs.gnu.org> Subject: Status: 23.1; give users a choice for quitting backtrace buffer Reply-To: bug#4550 <4550@debbugs.gnu.org> Date: Sat, 16 Aug 2025 20:03:58 +0000 retitle 4550 23.1; give users a choice for quitting backtrace buffer reassign 4550 emacs submitter 4550 "Drew Adams" severity 4550 minor thanks From drew.adams@oracle.com Thu Sep 24 10:01:09 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2009 17:01:10 +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.4 required=4.0 tests=AWL,FOURLA autolearn=no 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.14.3/8.14.3/Debian-5) with ESMTP id n8OH18D9021514 for ; Thu, 24 Sep 2009 10:01:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqrgq-0005DJ-6M for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 13:01:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqrgl-0005B7-PD for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 13:01:07 -0400 Received: from [199.232.76.173] (port=49593 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqrgl-0005B2-GP for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 13:01:03 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:46101 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mqrgk-0002N7-Lm for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 13:01:02 -0400 Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8OH1qHP012527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Sep 2009 17:01:53 GMT Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8OH1Mgq000987 for ; Thu, 24 Sep 2009 17:01:23 GMT Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 24 Sep 2009 10:00:55 -0700 From: "Drew Adams" To: Subject: 23.1; give users a choice for quitting backtrace buffer Date: Thu, 24 Sep 2009 10:00:57 -0700 Message-ID: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Aco9OJWZ/tbasBwjRAmvewYYLsGTkQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4ABBA5C8.004F:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) emacs -Q This change in debug.el is not good: Revision 1.107 - (view) (download) (annotate) - [select for diffs] Fri Apr 18 01:29:23 2008 UTC (17 months, 1 week ago) by monnier Branch: MAIN CVS Tags: font-backend-base Branch point for: font-backend Changes since 1.106: +4 -3 lines Diff to previous 1.106 (debug): Revert to bury-buffer since quit-window is not better anyway. In my case, this change means that the debugger frame is iconified each time, and this includes some times when the debugger is still active, which makes it impossible to access/use. (*) The point is that `bury-buffer' is unacceptable for my use - it is practically impossible for me to use the debugger in Emacs 23. I can live with no action at all (which keeps the *Backtrace* frame around) or with `quit-window' in place of `bury-buffer'. I cannot live with `bury-buffer'. So I redefine `debug', just to change that one silly function call. The solution is to call a function that is the value of a user option: `debugger-quit-function'. I don't care what the default value is - make it `bury-buffer' if you want. The user option's value should have :type `function' or, better, a `choice' between nil and `function', where nil would mean do nothing. If the :type is just `function' a user can of course use function `ignore' to do nothing, but that is not so obvious for some users, so in that case, please call that out in the doc string. The code would then do this, in place of calling (bury-buffer): ;; If the option can have value nil: (when debugger-quit-function (funcall debugger-quit-function)) ;; If the option value can only be a function: (funcall debugger-quit-function) I would then customize the option to `quit-window' (or nil or `ignore'). --- (*) No, I'm not going to try to figure out what's happening in those cases where it is iconified when still active; it's hard enough using the debugger when broken like this, without trying to debug the debugger. In case it helps, I will say however that I don't remember seeing that when `bury-buffer' was used briefly during Emacs 22 development - back then it was iconified only when empty (finished), IIRC. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 10:13:24 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 14:13:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh0Bk-0002Wn-HN for submit@debbugs.gnu.org; Wed, 13 Jul 2011 10:13:24 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh0Bb-0002W9-Cd for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 10:13:15 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh0BM-00017Q-Li; Wed, 13 Jul 2011 16:12:56 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: 23.1; give users a choice for quitting backtrace buffer In-Reply-To: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> (Drew Adams's message of "Thu, 24 Sep 2009 10:00:57 -0700") Date: Wed, 13 Jul 2011 15:54:41 +0200 Message-ID: References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Talking Heads's _Fear Of Music_: "Mind" X-Hashcash: 1:23:110713:4550@debbugs.gnu.org::7eRD5YIo5oLL+Ndt:00000000000000000000000000000000000000000S1xB X-Hashcash: 1:23:110713:drew.adams@oracle.com::QktGeJTc2vpeTwU+:0000000000000000000000000000000000000000xs2u MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qh0BM-00017Q-Li X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311171176.78536@oskb4toAk7U8I0FNDl+jkQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) "Drew Adams" writes: > In my case, this change means that the debugger frame is iconified > each time, and this includes some times when the debugger is still > active, which makes it impossible to access/use. (*) > > The point is that `bury-buffer' is unacceptable for my use - it is > practically impossible for me to use the debugger in Emacs 23. I can > live with no action at all (which keeps the *Backtrace* frame around) > or with `quit-window' in place of `bury-buffer'. I cannot live with > `bury-buffer'. So I redefine `debug', just to change that one silly > function call. That sounds annoying. Do you have a recipe for how to reproduce this bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 11:30:02 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 15:30:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1Ny-0007rv-Gp for submit@debbugs.gnu.org; Wed, 13 Jul 2011 11:30:02 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1Nw-0007rT-Vc for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 11:30:01 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6DFTrdX022547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jul 2011 15:29:55 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6DFTqcm002444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2011 15:29:53 GMT Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6DFTlgj018145; Wed, 13 Jul 2011 10:29:47 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Jul 2011 08:29:47 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> Subject: RE: 23.1; give users a choice for quitting backtrace buffer Date: Wed, 13 Jul 2011 08:29:47 -0700 Message-ID: <825B657045DB476BBA95A6950E999BED@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxBZwGHvP2QNwX+QPyWL+/GgUVgGgACjqBg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A020202.4E1DB9F3.00D1:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (----) > That sounds annoying. Do you have a recipe for how to reproduce this > bug? We've been through it all before. Stefan understands the problem. I provided a clean, simple solution: Add a user option that defines the behavior. Make the default value of the option be whatever you want, including `bury-buffer' (which causes the annoyance for me). From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 11:38:02 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 15:38:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1Ve-0000SY-Eq for submit@debbugs.gnu.org; Wed, 13 Jul 2011 11:38:02 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1VZ-0000SH-0Y for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 11:37:57 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh1TE-0004em-Vu; Wed, 13 Jul 2011 17:35:29 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: 23.1; give users a choice for quitting backtrace buffer In-Reply-To: <825B657045DB476BBA95A6950E999BED@us.oracle.com> (Drew Adams's message of "Wed, 13 Jul 2011 08:29:47 -0700") Date: Wed, 13 Jul 2011 17:35:25 +0200 Message-ID: References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVUP3BUOGaviD6neiVd Q2yupVHLag5oSF+dJh+gDRCZTi3FXAwOUMR6AAACXUlEQVQ4jW2Uz4/SUBDHH8vGTfZEg6uJp02R asoFaVwNXDAxehZtD3hj45hsL25wJdmrWfOkNwxJCRfDZgl5va3SLX3/nDOvPyy6Xyil82HmO1P6 HpvdrjmbCN1cjaUIVpx/54lmPp+zHxaqbaW6zL5wNnV0Xa/jq4dnfeCCboA+sDw2bVjCsgKZKQpE EMtjj01MG/U+B7G6RDA17beW/ZhH3PM4fo5te4GAE6hZ9nMpOb45ZfT8JKNPTXSoiCCnuN737UYO Ahljpy0zkJE/xikINIRYiSCqnZY07bwdSJrQQ49JR/VyqTHS/TZduUDtKvD1CUYrrKSV2xJQx3N2 oXxr6vesVGGLpQLo0ZEg42YSx2PPVIATkHJRYZl2RVqKQPwsj1fYzrIAmkkZpT0jN4erLivIQvDB Vxm1tApTw1RDgKdYqiHlw6wlgqy6zMCvZhZTKhsJ6BSnoGMfQV153DSL3qyMpeqYceReH7I8pQjk 9c+tjJ0viceROzjMg5REo5OHASfNLUClbMoA+Mc8TD0AHm2BISQe2HVrC7QIKA93/anQ724jzXBc Gb8rdrvMAIRwVgBtyAHAx7+T7HcItPwEwDAHi1CBNANOkn9dY1WyVqUuHEEPs1CzlB6YYQbWxhmu lB6I2kgbCTO8ooXj4BwI3mgHPXBbpt0fhrBOAJYyzk61gz64rhvSY5uDqaO90O6+Blxl0uNR+Psl glcJIIEbRZ6MJBDo3qF75ajNAMCT3jcews1o9Ll7L5v8PxGwbhOCSR3NdGqlR2fcNmzaPHy2mW1w gWxmMym3tqU/5YJxzFjaHycAAAAASUVORK5CYII= X-Now-Playing: Talking Heads's _Speaking in Tongues_: "I Get Wild-Wild Gravity" X-Hashcash: 1:23:110713:4550@debbugs.gnu.org::a8zQ2CUlf4Akykvo:00000000000000000000000000000000000000000IUcb X-Hashcash: 1:23:110713:drew.adams@oracle.com::D/S6aRiFKqXAQKNL:0000000000000000000000000000000000000000bl5s MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qh1TE-0004em-Vu X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311176131.90656@HpywZpdwEE6JZzAe2L1IQQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) "Drew Adams" writes: > We've been through it all before. > Stefan understands the problem. > > I provided a clean, simple solution: Add a user option that defines the > behavior. Make the default value of the option be whatever you want, including > `bury-buffer' (which causes the annoyance for me). `q' is bound to `top-level' if I say `(debug)'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 11:52:40 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 15:52:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1js-0001eF-1x for submit@debbugs.gnu.org; Wed, 13 Jul 2011 11:52:40 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1jp-0001e3-Ti for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 11:52:38 -0400 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6DFqT2k013995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jul 2011 15:52:31 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6DFqStj012322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2011 15:52:29 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6DFqNUb006039; Wed, 13 Jul 2011 10:52:23 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Jul 2011 08:52:22 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com><825B657045DB476BBA95A6950E999BED@us.oracle.com> Subject: RE: 23.1; give users a choice for quitting backtrace buffer Date: Wed, 13 Jul 2011 08:52:23 -0700 Message-ID: <165BDBF47B014B7E87FC616140611417@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxBctaj3PGF91dvT42cx5JNYz9zygAAdAmg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090204.4E1DBF40.0009:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (----) > `q' is bound to `top-level' if I say `(debug)'. So what? It was in Emacs 22 also (and Emacs 21 and 20...). The behavior is not the same. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 12:23:54 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 16:23:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh2E5-0003Dq-FF for submit@debbugs.gnu.org; Wed, 13 Jul 2011 12:23:54 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh2E1-0003DZ-K1 for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 12:23:52 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh2Dp-00009a-2U; Wed, 13 Jul 2011 18:23:37 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: 23.1; give users a choice for quitting backtrace buffer In-Reply-To: <165BDBF47B014B7E87FC616140611417@us.oracle.com> (Drew Adams's message of "Wed, 13 Jul 2011 08:52:23 -0700") Date: Wed, 13 Jul 2011 18:21:16 +0200 Message-ID: References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUeDxJDJCasqbQFAwZn VFmHfdPkAAACV0lEQVQ4jVWUgZXjIAxEhXEBYKuAmFAAXigAEfVf040gye7x4ofhIwGjcaha20WV VTXiUT+nKM6BxnfDOKrE4Cn917K+O6U0vsM5Zc/4gOdt4wSc54utRaosr3OBllkxywCJrjFiCHpY FhaNc4MxlB4uc4y9pXwkjUKWMegOUD1O+ygjHxexVM5NHDuhUL1LsVfd0rlrqLI1T6QvQnN8dE8/ 6VREyMbVSXzRujB0aHoO0urbRYNlATXgYogu1tqecahOoAmnIWdLAvozHMF5ANYswS0ZCWM3e7xA 8kAtxRUx1bfI/9W1WVabfwMVXlXhJB8wIKAOfa/ndLFKqADQM9cf/WTK2c5iALJLace3gllFPFTJ Q0MvbZsFylmS39R5RDw4x1D2DTsNRSmkNhdqIboq/eAwbAXNwt3ME6nALpDt0AO5wTqf5imXi92d 7uNFkmTHvMJp2PmqDdoF/PbO+fDeqYkccEFd9Qj7VUeKPnKNLDYxFpCAQqXeHdM0bJJg3oVsKIPq Gfwe1GyYLgCTTQoumE8qtagJI+Zunt02lWKBC5f0yInYBaZYlsga4V5ZvuDX95T2kcWXBcL4A5CK F9BcscW0+hhWwUevpRno1BgYC7aDnrc+IPOeNjPLvoPHfjelV70zJG25DJGo93Xk2GnvAPU4q4N8 xTx1P0k2iXwacGe9yaGaR4/3o8IZ+NitHqhAgXkjSiCl43s5LgaAyU/a5f0HcNpC7vo2cdiu9Tkg d6Tl6miSrdXQOZ7vyDDVHTK9zxpCXZXjQPXTimX/juofgKjwC/4B3eGbGthq5EQAAAAASUVORK5C YII= X-Now-Playing: Talking Heads's _The Name Of This Band Is Talking Heads (Disc 1: 1977-1979)_: "The Book I Read" X-Hashcash: 1:23:110713:4550@debbugs.gnu.org::/zDW32uR27QwFxqf:000000000000000000000000000000000000000000zr2 X-Hashcash: 1:23:110713:drew.adams@oracle.com::jDpMcFS9ixar5nP+:0000000000000000000000000000000000000000IkRJ MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qh2Dp-00009a-2U X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311179017.41355@KCbyGLz2yCGq4JY9Uk1fig X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) "Drew Adams" writes: >> `q' is bound to `top-level' if I say `(debug)'. > > So what? It was in Emacs 22 also (and Emacs 21 and 20...). > The behavior is not the same. It means that I'm unable to reproduce the behaviour you're describing. If you're still not willing to give a recipe for reproducing this error, I have no other choice than to close it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 12:53:30 2011 Received: (at 4550) by debbugs.gnu.org; 13 Jul 2011 16:53:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh2gk-0004qx-8I for submit@debbugs.gnu.org; Wed, 13 Jul 2011 12:53:30 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh2gi-0004qj-5P for 4550@debbugs.gnu.org; Wed, 13 Jul 2011 12:53:29 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6DGrKfH021950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jul 2011 16:53:22 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6DGrJIF001770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2011 16:53:20 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6DGrEWd023756; Wed, 13 Jul 2011 11:53:14 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Jul 2011 09:53:13 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com><825B657045DB476BBA95A6950E999BED@us.oracle.com><165BDBF47B014B7E87FC616140611417@us.oracle.com> Subject: RE: 23.1; give users a choice for quitting backtrace buffer Date: Wed, 13 Jul 2011 09:53:14 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxBeUFXf1Oz+nY6RZGQPgR18xMumAAAtJUw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4E1DCD82.0050:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 4550 Cc: 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (----) > >> `q' is bound to `top-level' if I say `(debug)'. > > > > So what? It was in Emacs 22 also (and Emacs 21 and 20...). > > The behavior is not the same. > > It means that I'm unable to reproduce the behaviour you're describing. > If you're still not willing to give a recipe for reproducing > this error, I have no other choice than to close it. 1. Download these two files and put them in your load-path: http://www.emacswiki.org/emacs/download/hexrgb.el http://www.emacswiki.org/emacs/download/oneonone.el 2. Start Emacs: runemacs.exe -Q --debug-init -l "hexrgb.el" -l "oneonone.el" -f "1on1-emacs" 3. Make *Backtrace* be a special-display buffer: M-: (setq special-display-regexps '("[ ]?[*][^*]+[*]")) 4: Enter the debugger for `describe-mode': M-x debug-on-entry RET describe-mode RET C-h m 5: You are now in the debugger. Hit `q' to exit. The *Backtrace* frame gets iconified. I want the frame to either remain or be deleted, not iconified. I want users to be able to specify the behavior they prefer. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 21:44:26 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 01:44:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiGPC-0001mo-Au for submit@debbugs.gnu.org; Sat, 16 Jul 2011 21:44:26 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiGPA-0001mY-PO for 4550@debbugs.gnu.org; Sat, 16 Jul 2011 21:44:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkEGAA0+Ik5MCqt8/2dsb2JhbABSLadIeIh8wHiGPASfJ4Qw X-IronPort-AV: E=Sophos;i="4.67,215,1309752000"; d="scan'208";a="126220301" Received: from 76-10-171-124.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Jul 2011 21:44:19 -0400 Received: by ceviche.home (Postfix, from userid 20848) id DE45C660D5; Sat, 16 Jul 2011 21:44:18 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer In-Reply-To: (Drew Adams's message of "Wed, 13 Jul 2011 09:53:14 -0700") Date: Sat, 16 Jul 2011 13:41:40 -0400 Message-ID: References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -1.6 (-) > I want the frame to either remain or be deleted, not iconified. > I want users to be able to specify the behavior they prefer. Why don't you provide a patch for bury-buffer that adds the needed hook? That would be easier than repeating your desire for such a feature. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 05:39:53 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 09:39:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiNpJ-0004GC-8r for submit@debbugs.gnu.org; Sun, 17 Jul 2011 05:39:53 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QiNpH-0004G1-ET for 4550@debbugs.gnu.org; Sun, 17 Jul 2011 05:39:52 -0400 Received: (qmail invoked by alias); 17 Jul 2011 09:39:45 -0000 Received: from 62-47-46-64.adsl.highway.telekom.at (EHLO [62.47.46.64]) [62.47.46.64] by mail.gmx.net (mp065) with SMTP; 17 Jul 2011 11:39:45 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18XQEws9FMXxCo2/OahoYG3FxvtO32Mmvsrm9/ibN RAIS7T+GPRSsVE Message-ID: <4E22ADDC.9060105@gmx.at> Date: Sun, 17 Jul 2011 11:39:40 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com><825B657045DB476BBA95A6950E999BED@us.oracle.com><165BDBF47B014B7E87FC616140611417@us.oracle.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) > I want the frame to either remain or be deleted, not iconified. > I want users to be able to specify the behavior they prefer. We can add a buffer display specifier which tells a priori what to do with the window/frame/buffer when the window is no more needed. For that I'd need a list of specification concepts for - what to do with the window (delete it or keep it), - what to do with the frame (iconfiy, delete, keep it, make it invisible), - what to do with the buffer (kill it, bury it), with an optional function that could be called for each of these. If a consensus can be reached, this could be easily done. The calling application would propose the default behavior via an argument and the user could override it. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 06:23:08 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 10:23:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiOVA-0005Ej-1B for submit@debbugs.gnu.org; Sun, 17 Jul 2011 06:23:08 -0400 Received: from mail-fx0-f42.google.com ([209.85.161.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiOV8-0005EH-Dz for 4550@debbugs.gnu.org; Sun, 17 Jul 2011 06:23:07 -0400 Received: by fxe23 with SMTP id 23so5787509fxe.29 for <4550@debbugs.gnu.org>; Sun, 17 Jul 2011 03:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=NFloMP1WXiZhNIMJcL7YlYCyGYCi5rqjcLV1L23XTtw=; b=HYb+KW2WjIBpsHN8W34n4tJXU3sQGw1nR3N3ksrRaFPDJy7i7Z/vEzeplKGDeUvNFY feIAy7wNFlUY3u+IRLjKhT2OYG15qkHYBiHKJ+gq3HZT8K57S4DL6JWN411ZQmA3Iwqf 8pNswjsK0ha+7ux1nl1tSkQENKxMcRLr75FmQ= Received: by 10.223.158.130 with SMTP id f2mr3182568fax.61.1310898180561; Sun, 17 Jul 2011 03:23:00 -0700 (PDT) Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id e10sm2099171fak.18.2011.07.17.03.22.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jul 2011 03:22:59 -0700 (PDT) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: martin rudalics Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer In-Reply-To: <4E22ADDC.9060105@gmx.at> (martin rudalics's message of "Sun, 17 Jul 2011 11:39:40 +0200") References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> <4E22ADDC.9060105@gmx.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Date: Sun, 17 Jul 2011 12:18:34 +0200 Message-ID: <8762n1dxc5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -3.6 (---) martin rudalics writes: >> I want the frame to either remain or be deleted, not iconified. >> I want users to be able to specify the behavior they prefer. > > We can add a buffer display specifier which tells a priori what to do > with the window/frame/buffer when the window is no more needed. For > that I'd need a list of specification concepts for > > - what to do with the window (delete it or keep it), > > - what to do with the frame (iconfiy, delete, keep it, make it > invisible), > > - what to do with the buffer (kill it, bury it), > > with an optional function that could be called for each of these. > > If a consensus can be reached, this could be easily done. The calling > application would propose the default behavior via an argument and the > user could override it. I think this would be great (with the options you listed). IMO the possibility to customize the window quit/"undisplay" action is as important as with the display action. I assume this customization would be respected by `quit-window'? =C5=A0t=C4=9Bp=C3=A1n From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 08:06:54 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 12:06:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiQ7a-0008UT-07 for submit@debbugs.gnu.org; Sun, 17 Jul 2011 08:06:54 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QiQ7X-0008UH-66 for 4550@debbugs.gnu.org; Sun, 17 Jul 2011 08:06:52 -0400 Received: (qmail invoked by alias); 17 Jul 2011 12:06:44 -0000 Received: from 62-47-46-64.adsl.highway.telekom.at (EHLO [62.47.46.64]) [62.47.46.64] by mail.gmx.net (mp055) with SMTP; 17 Jul 2011 14:06:44 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+je0pUQyOjL+VH/22Wd5sBG5nsEekBt2cEKFZof4 bWr/ArHLfZx8JS Message-ID: <4E22D04F.4030008@gmx.at> Date: Sun, 17 Jul 2011 14:06:39 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> <4E22ADDC.9060105@gmx.at> <8762n1dxc5.fsf@gmail.com> In-Reply-To: <8762n1dxc5.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) > I assume this customization would > be respected by `quit-window'? Conceptually, it would be respected by `switch-to-prev-buffer', `replace-buffer-in-windows' and `quit-restore-window' (the buffer killing aspect would be probably only handled by the latter). IIUC `quit-window' has a long history of its own and I'm not sure whether people would like it to change behavior. But the desired behavior would be stored in the `quit-restore' window parameter, so any function could use that. The default behavior would be the one used by `quit-restore-window' now. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 08:26:32 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 12:26:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiQQZ-0001KC-Pn for submit@debbugs.gnu.org; Sun, 17 Jul 2011 08:26:32 -0400 Received: from mail-fx0-f42.google.com ([209.85.161.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiQQX-0001Jx-VL for 4550@debbugs.gnu.org; Sun, 17 Jul 2011 08:26:30 -0400 Received: by fxe23 with SMTP id 23so5880857fxe.29 for <4550@debbugs.gnu.org>; Sun, 17 Jul 2011 05:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=x7esLTfWRklc8cN+UVfMI15Ej07Z8QmqHRvnuKfuj30=; b=oncFnul+OlSTNq0Xj9YWDocgtNpbJlxCrLglvIDhMGJQ7bLP3hS7osgrJoWkHs97Ve qObb/c21QpUYqhg4Zdf6I7pWKg8NDzKIOYQZ32ovq4xmUNYH84yqMGNpz1m206HCPA1k NNx7eMthOm+9E961Sn3lo1MI1zTaKzPop1J1I= Received: by 10.204.152.205 with SMTP id h13mr1517033bkw.314.1310905583751; Sun, 17 Jul 2011 05:26:23 -0700 (PDT) Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id s16sm1973612fah.0.2011.07.17.05.26.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jul 2011 05:26:22 -0700 (PDT) Date: Sun, 17 Jul 2011 14:21:58 +0200 From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: martin rudalics Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer Message-ID: <20110717122157.GA2112@headley> References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> <4E22ADDC.9060105@gmx.at> <8762n1dxc5.fsf@gmail.com> <4E22D04F.4030008@gmx.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E22D04F.4030008@gmx.at> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -3.6 (---) On Sun, Jul 17, 2011 at 02:06:39PM +0200, martin rudalics wrote: > > I assume this customization would > > be respected by `quit-window'? > > Conceptually, it would be respected by `switch-to-prev-buffer', > `replace-buffer-in-windows' and `quit-restore-window' (the buffer > killing aspect would be probably only handled by the latter). IIUC > `quit-window' has a long history of its own and I'm not sure whether > people would like it to change behavior. Yeah, but AIUI one of the points of the recent buffer display reform is to provide a unified customization interface, so I think it would be a shame to still leave cases which the user has to handle outside of it (which in this case would be particularly ugly, as `quit-window' doesn't seem to provide any means to hook into what it does other than the prefix argument). Perhaps `quit-window' could check if a relevant specification exists, and default to the current behaviour if none is found? Štěpán From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 09:00:50 2011 Received: (at 4550) by debbugs.gnu.org; 17 Jul 2011 13:00:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiQxl-000280-Mu for submit@debbugs.gnu.org; Sun, 17 Jul 2011 09:00:49 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QiQxj-00027o-M1 for 4550@debbugs.gnu.org; Sun, 17 Jul 2011 09:00:48 -0400 Received: (qmail invoked by alias); 17 Jul 2011 13:00:40 -0000 Received: from 62-47-46-64.adsl.highway.telekom.at (EHLO [62.47.46.64]) [62.47.46.64] by mail.gmx.net (mp005) with SMTP; 17 Jul 2011 15:00:40 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18IFbg/N4MIZU5aQWtHaqKVjdMgoQwM1cdwvDLnmY 36nnXqj6UIVAFo Message-ID: <4E22DCF4.1000105@gmx.at> Date: Sun, 17 Jul 2011 15:00:36 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> <4E22ADDC.9060105@gmx.at> <8762n1dxc5.fsf@gmail.com> <4E22D04F.4030008@gmx.at> <20110717122157.GA2112@headley> In-Reply-To: <20110717122157.GA2112@headley> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) > Yeah, but AIUI one of the points of the recent buffer display reform is > to provide a unified customization interface, so I think it would be a > shame to still leave cases which the user has to handle outside of it > (which in this case would be particularly ugly, as `quit-window' doesn't > seem to provide any means to hook into what it does other than the > prefix argument). The "buffer display reform" doesn't cover the case where a window is obtained "manually", for example, by C-x 2. `quit-restore-window' does hanlde that and `quit-window' too, both in their own ways. > Perhaps `quit-window' could check if a relevant specification exists, > and default to the current behaviour if none is found? Perhaps. `bury-buffer' is another function that could do that. I once thought of making `quit-restore-window' the only function to "quit" a window but meanwhile I had to recognize that people have developed very strict conceptions about how a window shall be quit. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 09:49:46 2011 Received: (at 4550) by debbugs.gnu.org; 18 Jul 2011 13:49:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QioCg-0003f6-Kl for submit@debbugs.gnu.org; Mon, 18 Jul 2011 09:49:46 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QioCe-0003et-GO for 4550@debbugs.gnu.org; Mon, 18 Jul 2011 09:49:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAHc4JE5MCqt8/2dsb2JhbABUp3N4iHzCCYY8BJ8nhDA X-IronPort-AV: E=Sophos;i="4.67,222,1309752000"; d="scan'208";a="126490472" Received: from 76-10-171-124.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Jul 2011 09:45:20 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 484536660D; Mon, 18 Jul 2011 09:45:20 -0400 (EDT) From: Stefan Monnier To: martin rudalics Subject: Re: bug#4550: 23.1; give users a choice for quitting backtrace buffer Message-ID: References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <825B657045DB476BBA95A6950E999BED@us.oracle.com> <165BDBF47B014B7E87FC616140611417@us.oracle.com> <4E22ADDC.9060105@gmx.at> Date: Mon, 18 Jul 2011 09:45:20 -0400 In-Reply-To: <4E22ADDC.9060105@gmx.at> (martin rudalics's message of "Sun, 17 Jul 2011 11:39:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 4550 Cc: 'Lars Magne Ingebrigtsen' , 4550@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.1 (--) >> I want the frame to either remain or be deleted, not iconified. >> I want users to be able to specify the behavior they prefer. > We can add a buffer display specifier which tells a priori what to do > with the window/frame/buffer when the window is no more needed. For > that I'd need a list of specification concepts for > - what to do with the window (delete it or keep it), > - what to do with the frame (iconfiy, delete, keep it, make it > invisible), > - what to do with the buffer (kill it, bury it), > with an optional function that could be called for each of these. Sounds way overkill to me. All Drew needs AFAIK is a bury-buffer-function that lets him change the iconify-frame default to something else. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 02:58:34 2012 Received: (at 4550) by debbugs.gnu.org; 8 Oct 2012 06:58:34 +0000 Received: from localhost ([127.0.0.1]:60676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL7IP-0003bi-Ua for submit@debbugs.gnu.org; Mon, 08 Oct 2012 02:58:34 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:46567) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TL7IO-0003bW-NH for 4550@debbugs.gnu.org; Mon, 08 Oct 2012 02:58:33 -0400 Received: (qmail invoked by alias); 08 Oct 2012 06:58:00 -0000 Received: from 62-47-54-233.adsl.highway.telekom.at (EHLO [62.47.54.233]) [62.47.54.233] by mail.gmx.net (mp024) with SMTP; 08 Oct 2012 08:58:00 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/ASAdJtynA6IyAAl4piqRUrSyHmXkSp17lKmDhpM +3BI6rk9kmUAVr Message-ID: <50706C5C.8040107@gmx.at> Date: Sat, 06 Oct 2012 19:37:32 +0200 From: martin rudalics MIME-Version: 1.0 To: 4550@debbugs.gnu.org Subject: Re: Bug#4550: 23.1; give users a choice for quitting backtrace buffer Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > (debug): Revert to bury-buffer since quit-window is not better anyway. > > In my case, this change means that the debugger frame is iconified > each time, and this includes some times when the debugger is still > active, which makes it impossible to access/use. (*) [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.22 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 1.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 4550 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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > (debug): Revert to bury-buffer since quit-window is not better anyway. > > In my case, this change means that the debugger frame is iconified > each time, and this includes some times when the debugger is still > active, which makes it impossible to access/use. (*) [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.22 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 1.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] > (debug): Revert to bury-buffer since quit-window is not better anyway. > > In my case, this change means that the debugger frame is iconified > each time, and this includes some times when the debugger is still > active, which makes it impossible to access/use. (*) Is this still an issue? martin From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 09:29:25 2012 Received: (at 4550) by debbugs.gnu.org; 8 Oct 2012 13:29:25 +0000 Received: from localhost ([127.0.0.1]:32918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLDOe-0006il-UR for submit@debbugs.gnu.org; Mon, 08 Oct 2012 09:29:25 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:44096) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLDOc-0006iZ-2R for 4550@debbugs.gnu.org; Mon, 08 Oct 2012 09:29:23 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q98DSlMp010010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Oct 2012 13:28:48 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q98DSkZP026174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Oct 2012 13:28:47 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q98DSkrD001286; Mon, 8 Oct 2012 08:28:46 -0500 Received: from dradamslap1 (/10.159.64.145) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 08 Oct 2012 06:28:46 -0700 From: "Drew Adams" To: "'martin rudalics'" , <4550@debbugs.gnu.org> References: <14B7537C475C4C52A56B596DCFF588BA@us.oracle.com> <50706C5C.8040107@gmx.at> Subject: RE: bug#4550: 23.1; give users a choice for quitting backtrace buffer Date: Mon, 8 Oct 2012 06:28:30 -0700 Message-ID: <77FCFE1EF2864EA09E4BFE008567FAF0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <50706C5C.8040107@gmx.at> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac2lIllXQLFjAEmcSz6DtoKLZXyznwAMdbhw X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 4550 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: -6.3 (------) > > (debug): Revert to bury-buffer since quit-window is not > > better anyway. > > > > In my case, this change means that the debugger frame is iconified > > each time, and this includes some times when the debugger is still > > active, which makes it impossible to access/use. (*) > > Is this still an issue? No, I believe so it is fixed now. Thx. I will close it. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 09:29:56 2012 Received: (at control) by debbugs.gnu.org; 8 Oct 2012 13:29:57 +0000 Received: from localhost ([127.0.0.1]:32921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLDPA-0006jT-Bo for submit@debbugs.gnu.org; Mon, 08 Oct 2012 09:29:56 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:44402) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLDP9-0006jG-3K for control@debbugs.gnu.org; Mon, 08 Oct 2012 09:29:55 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q98DTKx2010698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 8 Oct 2012 13:29:21 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q98DTKgj003480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 8 Oct 2012 13:29:20 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q98DTJpp023108 for ; Mon, 8 Oct 2012 08:29:19 -0500 Received: from dradamslap1 (/10.159.64.145) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 08 Oct 2012 06:29:19 -0700 From: "Drew Adams" To: Subject: bug #4550: close Date: Mon, 8 Oct 2012 06:29:05 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac2lWOMprEqca8qORmmnctZw5yVcxQ== X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control 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: -6.3 (------) close 4550 thanks From unknown Sat Aug 16 13:03:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Nov 2012 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator