unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Opening a Dired buffer with an arbitrary list of files.
Date: Fri, 19 May 2006 09:45:02 -0600	[thread overview]
Message-ID: <e4kp78$mnc$1@sea.gmane.org> (raw)
In-Reply-To: <68816b4c0605190734r52b29978w7d41ef5393e43246@mail.gmail.com>

Alder Green wrote:
> Is there a way open a Dired buffer containing an arbitrary list of files?
> 
> I can have those files listed in a plain text file, or maybe provided
> as list return value of an elisp function. But I'm wondering how I can
> pass that list to be opened as a Dired buffer, and what format should
> it take.

Only if all the files are in the same directory:

,----[ C-h f dired RET ]
| dired is an interactive compiled Lisp function in `dired.el'.
| It is bound to C-x d, <menu-bar> <file> <dired>.
| (dired dirname &optional switches)
|
| "Edit" directory dirname--delete, rename, print, etc. some files in it.
| Optional second argument switches specifies the `ls' options used.
| (Interactively, use a prefix argument to be able to specify switches.)
| Dired displays a list of files in dirname (which may also have
| shell wildcards appended to select certain files).  If dirname is a cons,
| its first element is taken as the directory name and the rest as an 
explicit
| list of files to make directory entries for.
| You can move around in it with the usual commands.
| You can flag files for deletion with d and then
| delete them by typing x.
| Type h after entering Dired for more info.
|
| If dirname is already in a dired buffer, that buffer is used without 
refresh.
|
| [back]
`----

-- 
Kevin

  reply	other threads:[~2006-05-19 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-19 14:34 Opening a Dired buffer with an arbitrary list of files Alder Green
2006-05-19 15:45 ` Kevin Rodgers [this message]
2006-05-21 12:10 ` Ehud Karni
     [not found] ` <mailman.2068.1148053935.9609.help-gnu-emacs@gnu.org>
2006-05-22  6:42   ` Mathias Dahl
2006-05-22 13:48     ` Miles Bader
     [not found]     ` <mailman.2161.1148305715.9609.help-gnu-emacs@gnu.org>
2006-05-23 15:01       ` Mathias Dahl

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='e4kp78$mnc$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
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).