emacs-devel
[Top][All Lists]
Advanced

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

Re: info inconsistency about "Shell Commands in Dired"


From: Luc Teirlinck
Subject: Re: info inconsistency about "Shell Commands in Dired"
Date: Sun, 22 Aug 2004 14:46:34 -0500 (CDT)

Your environment variable suggestion is not as easy as it appears.

First of all, we can not leave things up to the shell.  We have to
scan for ${DIRED} or $DIRED ourselves first, because we need to know
whether it occurs to see whether we have to run the shell command
just once or once for each file.

Now trouble starts.

Emacs will expand the * in:

'  *  '

Does the $DIRED in the following count or not? That is, does it get
expanded and does it cause the command to run just once?

'${DIRED}'

Since it is a substitute for * it should "count", but since it is a
quoted environment variable it should not count.

Sincerely,

Luc.






reply via email to

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