From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#13152: 24.2.90; [REGRESSION] dired-get-marked-files changed Date: Wed, 12 Dec 2012 10:23:26 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355279074 25964 80.91.229.3 (12 Dec 2012 02:24:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2012 02:24:34 +0000 (UTC) To: 13152@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 03:24:47 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 1Tic03-00051h-L2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 03:24:43 +0100 Original-Received: from localhost ([::1]:56455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tibzq-0000rR-UQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 21:24:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tibzj-0000rB-Dv for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:24:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tibze-0006Ue-7n for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:24:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tibze-0006UD-4a for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:24:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tic0L-0007lR-Ty for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Dec 2012 02:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13152 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135527907829814 (code B ref -1); Wed, 12 Dec 2012 02:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2012 02:24:38 +0000 Original-Received: from localhost ([127.0.0.1]:37856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tibzx-0007ko-DH for submit@debbugs.gnu.org; Tue, 11 Dec 2012 21:24:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32786) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tibzv-0007kh-9t for submit@debbugs.gnu.org; Tue, 11 Dec 2012 21:24:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TibzA-0006MN-R4 for submit@debbugs.gnu.org; Tue, 11 Dec 2012 21:23:51 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:37780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TibzA-0006MI-Nt for submit@debbugs.gnu.org; Tue, 11 Dec 2012 21:23:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tibz5-0000o8-SW for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:23:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tibz1-0006KW-U3 for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:23:43 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:60333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tibz1-0006KQ-ON for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 21:23:39 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id xa7so108427pbc.0 for ; Tue, 11 Dec 2012 18:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=pQECmSq8+HnD5WK6UhYXTeXPhzSrKCWc9KxT1wzy6Aw=; b=li6IW8QhHiBX3Y7rHdPdWfWiVFvzwLD0Tsdn+F1KOAfORh8TPaLXzt+6aabrlqMvsy 3b1V3Eq3c/WKCmKxUUV8Gmn+zFBo/0X0cWYsWvw7ONeet1hTdMkPHo1eUPjw5AlibqD8 QPWg+S6Hx7v01FUGba7nAuSMbBNNGo9oF4DGL+ZSsbJqN0cyUoS5mDY5gIfk/jsdqGSY qjexwAJcVJDR1YTgSeAdJix38l6wc2rlZH+yA4cRWumqoeaZDkAHtajSElj5kutSEJJg l/TNs5hQUKmIZnVmhqMs/N2apchD20oRYiKjJ6VGEUBm+vRblqODuLBP+S1SVhZVlkEy Fvmw== Original-Received: by 10.66.76.41 with SMTP id h9mr1254736paw.1.1355279018622; Tue, 11 Dec 2012 18:23:38 -0800 (PST) Original-Received: from localhost ([119.255.41.67]) by mx.google.com with ESMTPS id c2sm9278773pay.34.2012.12.11.18.23.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 18:23:37 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:68358 Archived-At: 1. Eval (progn (require 'dired-x) (setq dired-guess-shell-alist-user '(("." (let ((files (dired-get-marked-files t current-prefix-arg))) (message "%S" (current-buffer)) (dired-guess-default files)))))) 2. In a dired buffer, run `!' (dired-do-shell-command) twice first without marking any file then with some files marked You should get an error when files are marked. You'll notice in the second run, the current-buffer has changed to ' *Marked Files*'. Note in previous versions of Emacs, dired-get-marked-files throws an error when run in a non-dired buffer, but in 24.2.90 it returns '(nil). Leo