all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* list-directory not ffap aware
@ 2004-06-27 20:00 Dan Jacobson
  2004-06-28 19:59 ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2004-06-27 20:00 UTC (permalink / raw)


dired is ffap aware, but not list-directory.
I.e., when I type C-x C-d, what is under the cursor is not taken into
account when prompting in the minibuffer.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: list-directory not ffap aware
  2004-06-27 20:00 list-directory not ffap aware Dan Jacobson
@ 2004-06-28 19:59 ` Kevin Rodgers
  2004-06-30 21:41   ` Dan Jacobson
       [not found]   ` <mailman.2880.1088639762.1953.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-06-28 19:59 UTC (permalink / raw)


Dan Jacobson wrote:
 > dired is ffap aware, but not list-directory.
 > I.e., when I type C-x C-d, what is under the cursor is not taken into
 > account when prompting in the minibuffer.

How can that be?  dired's interactive spec just calls
dired-read-dir-and-switches, which calls read-file-name like this:

(read-file-name prompt nil default-directory nil)

which is exactly like list-directory's interactive spec.  So how could
ffap affect one call to read-file-name but not the other?

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: list-directory not ffap aware
  2004-06-28 19:59 ` Kevin Rodgers
@ 2004-06-30 21:41   ` Dan Jacobson
       [not found]   ` <mailman.2880.1088639762.1953.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2004-06-30 21:41 UTC (permalink / raw)


>> dired is ffap aware, but not list-directory.
>> I.e., when I type C-x C-d, what is under the cursor is not taken into
>> account when prompting in the minibuffer.

K> How can that be?

Say start dired. With the cursor over a filename, try C-x d C-g
and C-x C-d C-g. Noting what one was prompted with before hitting C-g.

Maybe it's because I use dired-aux in
http://jidanni.org/comp/emacs.txt.gz , which see.
emacs-version's value is "21.3.1"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: list-directory not ffap aware
       [not found]   ` <mailman.2880.1088639762.1953.bug-gnu-emacs@gnu.org>
@ 2004-07-01 15:13     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-07-01 15:13 UTC (permalink / raw)


Dan Jacobson wrote:
 >>>dired is ffap aware, but not list-directory.
 >>>I.e., when I type C-x C-d, what is under the cursor is not taken into
 >>>account when prompting in the minibuffer.
 >
 > K> How can that be?
 >
 > Say start dired. With the cursor over a filename, try C-x d C-g
 > and C-x C-d C-g. Noting what one was prompted with before hitting C-g.
 >
 > Maybe it's because I use dired-aux in
 > http://jidanni.org/comp/emacs.txt.gz , which see.
 > emacs-version's value is "21.3.1"

No, it's simply that calling ffap-bindings rebinds `C-x d' to
dired-at-point but does not rebind `C-x C-d' (because ffap.el doesn't
define a list-directory-at-point command).

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-01 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-27 20:00 list-directory not ffap aware Dan Jacobson
2004-06-28 19:59 ` Kevin Rodgers
2004-06-30 21:41   ` Dan Jacobson
     [not found]   ` <mailman.2880.1088639762.1953.bug-gnu-emacs@gnu.org>
2004-07-01 15:13     ` Kevin Rodgers

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.