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 08:34:56 -0700 Message-ID: <7F573FD9970448A282AF763F35489AA3@us.oracle.com> 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> 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 1333728711 5422 80.91.229.3 (6 Apr 2012 16:11:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2012 16:11:51 +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:49 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 1SGBlL-0006QS-1D for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 18:11:47 +0200 Original-Received: from localhost ([::1]:50326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBDF-0004Zo-MK for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 11:36:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBDB-0004ZV-6U for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 11:36:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGBD5-0006oH-Aw for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 11:36:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGBD5-0006oD-7I for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 11:36:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SGBDh-0005Gj-Kp for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 11:37:01 -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 15:37: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.133372656520188 (code B ref 7533); Fri, 06 Apr 2012 15:37:01 +0000 Original-Received: (at 7533) by debbugs.gnu.org; 6 Apr 2012 15:36:05 +0000 Original-Received: from localhost ([127.0.0.1]:42714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGBCm-0005F9-70 for submit@debbugs.gnu.org; Fri, 06 Apr 2012 11:36:04 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:39827) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGBCR-0005Eq-4t for 7533@debbugs.gnu.org; Fri, 06 Apr 2012 11:35:54 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q36FZ1ae031315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Apr 2012 15:35:02 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q36FZ0XF018568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Apr 2012 15:35:00 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q36FZ0Vg015798; Fri, 6 Apr 2012 10:35:00 -0500 Original-Received: from dradamslap1 (/10.159.49.156) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Apr 2012 08:34:59 -0700 X-Mailer: Microsoft Office Outlook 11 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: <4F7F0386.6030909@gmx.at> Thread-Index: Ac0UBR2+FN5JvXdoT7eorFFO+974DgABCJ4g X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090208.4F7F0D26.00EB,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:58560 Archived-At: > It was disabled by `dired-pop-to-buffer'. Already fixed in my patch. I see. > >> Would the attached patch fix it? > > > > For my own complete setup, yes. But that's no doubt > > because I take other measures elsewhere. > > > > For the recipe I gave, however (see above), no. The > > separate `*Deletions*' frame popped up just becomes > > iconified. It is still available as a frame (and > > as a buffer). It is still in the list of frames, and > > it is thus shown in the MS Windows task bar. > > 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. But that's not a reason that users with just the two settings I mentioned should see this problem. Whatever the cause (and various user configs can lead to this), if the buffer is displayed in a separate frame there is _no_ reason, ever, to keep this frame (or its window or its buffer). Occam says delete it - don't just "hide" it. This is part of the logic of this particular user interaction. And yes, I realize that there is no general definition of such a "dialog" interaction in Emacs (yet). But in handling this particular interaction it is clear to the code and its designers that the frame+window+buffer have no further use. Knowing that, the code should DTRT. Iconifying here makes no sense, even if a user might choose iconifying in general as his preference for `frame-auto-hide-function'. That option is about hiding a frame. There is no reason to hide this frame. There is no reason to keep this frame (or its window or buffer). That's the point. It is not about `frame-auto-hide-function', which is a user preference about hiding frames. It is about the logic of this particular user interaction and the raison d'etre for this buffer/window/frame. When they no longer have any reason for existing they should be deleted - regardless of the value of `frame-auto-hide-function'. > The current handling of `special-display-regexps' seems to > override the way Emacs 22 behaved in this regard. It is good in general that `special-display-regexps' be respected.