From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.devel Subject: Feature request: dired-open-marked-files Date: Sun, 15 Mar 2009 01:26:08 +0000 (GMT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1237080408 23551 80.91.229.12 (15 Mar 2009 01:26:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2009 01:26:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 15 02:28:05 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lif92-0000iJ-GI for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2009 02:28:04 +0100 Original-Received: from localhost ([127.0.0.1]:51643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lif7g-000378-0e for ged-emacs-devel@m.gmane.org; Sat, 14 Mar 2009 21:26:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lif7a-00036u-GZ for emacs-devel@gnu.org; Sat, 14 Mar 2009 21:26:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lif7Z-00036g-SB for emacs-devel@gnu.org; Sat, 14 Mar 2009 21:26:34 -0400 Original-Received: from [199.232.76.173] (port=35270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lif7Z-00036d-MP for emacs-devel@gnu.org; Sat, 14 Mar 2009 21:26:33 -0400 Original-Received: from batfish.pepperfish.net ([87.237.62.180]:40924 helo=flounder.pepperfish.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lif7Z-0000Uy-8j for emacs-devel@gnu.org; Sat, 14 Mar 2009 21:26:33 -0400 Original-Received: from [213.165.225.94] (helo=[192.168.0.5]) by flounder.pepperfish.net with esmtpsa (Exim 4.68 #1 (Debian)) id 1Lif7M-0007Qu-Gw for ; Sun, 15 Mar 2009 01:26:20 +0000 X-X-Sender: vivek@localhost X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109626 Archived-At: This request came up recently in #emacs and I'm told it has come up before: There didn't seem to be a canned way to do this, so I came up with: (defun dired-open-marked-files () (interactive) (let ((distinguish-one-marked nil)) (mapc 'find-file (dired-map-over-marks (dired-get-file-for-visit) current-prefix-arg)))) I haven't looked into this in any great detail, so there may be a better or more obvious way to do it, but I thought the functionality at least would make a handy addition to dired.