emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dired-noselect.


From: Matt Hodges
Subject: dired-noselect.
Date: Thu, 25 Sep 2003 20:11:33 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

I have some code that uses dired-noselect to list a set of files from
different directories in a single dired buffer. In 21.3, the
following:

(display-buffer
 (dired-noselect '("/" "/usr/bin/top" "/etc/issue")))

displays a buffer containing:

----------------------------------------------------------------------
  /:
  -rwxr-xr-x    1 root     root        63960 Sep 15 00:59 /usr/bin/top
  -rw-r--r--    1 root     root           38 Jul 17  2002 /etc/issue
----------------------------------------------------------------------

With the CVS development version, the same code leads to an error:

----------------------------------------------------------------------
Debugger entered--Lisp error: (wrong-type-argument stringp ("/" "/usr/bin/top" 
"/etc/issue"))
  expand-file-name(("/" "/usr/bin/top" "/etc/issue"))
  dired-mode(("/" "/usr/bin/top" "/etc/issue") "-al")
  dired-internal-noselect(("/" "/usr/bin/top" "/etc/issue") nil)
  dired-noselect(("/" "/usr/bin/top" "/etc/issue"))
  (display-buffer (dired-noselect (quote ...)))
  eval((display-buffer (dired-noselect (quote ...))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp)
----------------------------------------------------------------------

Should I be using something else? Basically, I want a buffer that
contains a list of files that can be easily navigated, with the files
being easy to visit (i.e., single keystrokes).

Thanks.

Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]