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 09:10:38 -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> 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 1333728689 5195 80.91.229.3 (6 Apr 2012 16:11:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2012 16:11:29 +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 18:11:28 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 1SGBl2-0006QS-50 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 18:11:28 +0200 Original-Received: from localhost ([::1]:39778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBl1-00084n-AG for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 12:11:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBkz-00084U-2L for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 12:11:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGBkx-0007Yj-8B for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 12:11:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBkx-0007Ye-4u for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 12:11:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SGBla-00064T-0P for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 12:12: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 16:12:01 +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.133372868723296 (code B ref 7533); Fri, 06 Apr 2012 16:12:01 +0000 Original-Received: (at 7533) by debbugs.gnu.org; 6 Apr 2012 16:11:27 +0000 Original-Received: from localhost ([127.0.0.1]:42771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGBl1-00063h-GC for submit@debbugs.gnu.org; Fri, 06 Apr 2012 12:11:27 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:28858) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGBky-00063Y-Kb for 7533@debbugs.gnu.org; Fri, 06 Apr 2012 12:11:26 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q36GAhUq030736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Apr 2012 16:10:44 GMT Original-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 q36GAg0I028775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Apr 2012 16:10:42 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q36GAgEm008002; Fri, 6 Apr 2012 11:10:42 -0500 Original-Received: from dradamslap1 (/10.159.49.156) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Apr 2012 09:10:41 -0700 X-Mailer: Microsoft Office Outlook 11 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: <4F7F0FF8.7090401@gmx.at> Thread-Index: Ac0UDInwWqvxegEDSW6RbERnip7rqAAAK2zQ X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-CT-RefId: str=0001.0A090201.4F7F1584.006F,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:58559 Archived-At: > >> Have you set `frame-auto-hide-function' to `delete-frame'? > > > > In my own setup, yes. No doubt that is why I don't have a > > problem with it. > > So it worked without my patch? Sorry. I forgot that my setup includes the fix I proposed, as well as `delete-frame' as the value of `frame-auto-hide-function'. Without my fix and without your patch, just having `delete-frame' as the value of `frame-auto-hide-function' was not adequate. Same behavior as `iconify-frame'. Without my fix and with your patch, even having `iconify-frame' as the value of `frame-auto-hide-function' was adequate. So I probably have some other code that takes care of the iconify/delete thing somewhere. In sum, your patch (or mine), plus `delete-frame' as the value of `frame-auto-hide-function', is adequate. Without one of those patches, no value of `frame-auto-hide-function' makes a difference. 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'. 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. 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).