From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13152: 24.2.90; [REGRESSION] dired-get-marked-files changed Date: Fri, 14 Dec 2012 02:46:43 +0200 Organization: JURTA Message-ID: <87obhxbgdw.fsf@mail.jurta.org> References: <87fw3bpqir.fsf@mail.jurta.org> <8738zasw5w.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355447118 23197 80.91.229.3 (14 Dec 2012 01:05:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2012 01:05:18 +0000 (UTC) Cc: 13152@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 02:05:29 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 1TjJiS-0004he-Vp for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2012 02:05:29 +0100 Original-Received: from localhost ([::1]:47875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjJiF-0004Ea-Ug for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 20:05:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjJiB-0004AJ-Mu for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 20:05:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjJi8-0004YX-LL for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 20:05:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjJi8-0004XL-IW for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 20:05:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TjJj0-0004X9-H7 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 20:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Dec 2012 01:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13152 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13152-submit@debbugs.gnu.org id=B13152.135544714917395 (code B ref 13152); Fri, 14 Dec 2012 01:06:02 +0000 Original-Received: (at 13152) by debbugs.gnu.org; 14 Dec 2012 01:05:49 +0000 Original-Received: from localhost ([127.0.0.1]:41524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjJim-0004WW-Re for submit@debbugs.gnu.org; Thu, 13 Dec 2012 20:05:49 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:54055 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjJij-0004W8-8v for 13152@debbugs.gnu.org; Thu, 13 Dec 2012 20:05:47 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 41B33451E1EF; Thu, 13 Dec 2012 17:04:49 -0800 (PST) In-Reply-To: (Leo's message of "Thu, 13 Dec 2012 09:20:31 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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.x 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:68485 Archived-At: >> Regarding changing the current buffer in `dired-mark-pop-up' >> where an expression is evaluated, I have doubts because >> it might broke code that relies on the fact that the >> selected window and the current buffer should be " *Marked Files*" >> as it was in all older versions. > > Note in previous versions dired-mark-pop-up throws an error in that > buffer so I am pretty sure no code will expect COMMAND to be eval'd in > " *Marked Files*". The doubt raises the fact that evaluating the expression after selecting " *Marked Files*" was intentionally coded this way in `dired-mark-pop-up': (with-selected-window window (unwind-protect (apply function args) (when (window-live-p window) (quit-restore-window window 'kill)))) I guess the reason was to allow quit-restore-window to kill the " *Marked Files*" buffer after the minibuffer (that reads a command) is displayed and exited in `(apply function args)'.