From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7533: 24.0.50; `dired-mark-pop-up': delete frame afterwards if `pop-up-frames' Date: Fri, 6 Apr 2012 10:08:48 -0700 Message-ID: References: <90E09641E9264B37932D2315E5E7E2EA@us.oracle.com><4CF7EDED.5090500@gmx.at><44FB8E26FD824BB18AE8A367F560C091@us.oracle.com><4CF8A7B2.5080306@gmx.at> <6119F1CF7E7141E28FA3CDF62C165B19@us.oracle.com> <4F7EF782.6020103@gmx.at> <4F7F0386.6030909@gmx.at> <7F573FD9970448A282AF763F35489AA3@us.oracle.com> <4F7F0FF8.7090401@gmx.at> <4F7F203F.90101@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333732182 2845 80.91.229.3 (6 Apr 2012 17:09:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2012 17:09:42 +0000 (UTC) Cc: 7533@debbugs.gnu.org To: "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 06 19:09:40 2012 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 1SGCfD-0001pF-LC for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 19:09:31 +0200 Original-Received: from localhost ([::1]:43544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGCfC-0003An-Lr for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 13:09:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGCf8-00031T-Ie for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 13:09:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGCf5-0004Xi-EK for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 13:09:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGCf5-0004VE-BC for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 13:09:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SGCfi-0007Q7-9o for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 13:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Apr 2012 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7533-submit@debbugs.gnu.org id=B7533.133373218128488 (code B ref 7533); Fri, 06 Apr 2012 17:10:02 +0000 Original-Received: (at 7533) by debbugs.gnu.org; 6 Apr 2012 17:09:41 +0000 Original-Received: from localhost ([127.0.0.1]:42794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGCfM-0007PQ-VR for submit@debbugs.gnu.org; Fri, 06 Apr 2012 13:09:41 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:51997) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGCfJ-0007PI-SW for 7533@debbugs.gnu.org; Fri, 06 Apr 2012 13:09:39 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q36H8rE9002268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Apr 2012 17:08:54 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q36H8q9d009013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Apr 2012 17:08:53 GMT Original-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 q36H8q77000793; Fri, 6 Apr 2012 12:08:52 -0500 Original-Received: from dradamslap1 (/10.159.49.156) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Apr 2012 10:08:52 -0700 X-Mailer: Microsoft Office Outlook 11 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: <4F7F203F.90101@gmx.at> Thread-Index: Ac0UFj2qaRw7C3nMROWxAJlDHizgWQAAM7FA X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4F7F2329.0065,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58564 Archived-At: > > For emacs -Q: > > > > Without my fix and with your patch the frame is iconified, > > without changing `frame-auto-hide-function'. > > > > Without my fix and with your patch the frame is deleted, if > > `frame-auto-hide-function' is `delete-frame'. > > That's what this option has been meant for. Yes, in the general case. It is a general user option. IMO, it does not apply here, that is, it should not govern the behavior here. > > I can't judge what it should default to because I hardly ever > > use multiple frames and never use `dired'. We've been around the default-value barn several times already. Stefan wants iconifying as the default. I'm happy if users can at least customize it to get deletion. > > My point was that users should not have to customize this > > option just to fix this regression. It is reasonable for > > a user to prefer iconifying for frames that s?he wants to > > keep, but still, naturally, want this frame to be deleted, as > > it has no reason for being anymore. > > We can consider adding a third value for `frame-auto-hide-function'. I think that's blowing things out of proportion. There is no need for a user option for this. A user option is for general behavior. Unless, that is, you can characterize such behavior as a general class that is recognizable. But I thought that was the problem: no "dialog" thingy exists. IMO, the proper fix here is specific to this command. And to any others that we run into that pop up a frame only temporarily, for the duration of some well defined (recognizable) user interaction. > > If you were not averse to binding a user option for a > > local use, perhaps you could just bind `frame-auto-hide-function' > > to `delete-frame' for the duration of the command. That should > > DTRT, and such a temporary binding should not bother > > anyone (IMHO). > > If we decide that deleting the frame is the correct solution in this > particular case, the most simple option is to call `quit-window' with > both arguments t, thus killing the buffer as well. Sounds good to me, IIUC. Does anyone claim that deleting the frame (& window & buffer) is not the correct solution in this situation?