unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vivek Dasmohapatra <vivek@etla.org>
To: emacs-devel@gnu.org
Subject: Feature request: dired-open-marked-files
Date: Sun, 15 Mar 2009 01:26:08 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0903150120380.7868@localhost> (raw)

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.





             reply	other threads:[~2009-03-15  1:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15  1:26 Vivek Dasmohapatra [this message]
2009-03-15  6:39 ` Feature request: dired-open-marked-files Drew Adams
2009-03-15  6:44   ` Miles Bader
2009-03-15  7:03     ` Drew Adams
2009-03-15  7:15       ` Miles Bader
2009-03-15  7:47         ` Drew Adams
2009-03-15 11:25           ` Leo
2009-03-16  9:42       ` Richard M Stallman
2009-03-15 15:08   ` Vivek Dasmohapatra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0903150120380.7868@localhost \
    --to=vivek@etla.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).