[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info inconsistency about "Shell Commands in Dired"
From: |
Kim F. Storm |
Subject: |
Re: info inconsistency about "Shell Commands in Dired" |
Date: |
27 Aug 2004 09:21:06 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> writes:
> IMHO, we should remove the feature all-together -- or just keep it
> as is and give a better example in the manual, e.g
>
> mv ? newname.c
>
> as well as warnings for things that does not work, e.g.
>
> mv ? ?-old
>
> Sorry, I do not understand this text. Precisely what is the feature
> you propose to remove? How would ? behave in dired-do-shell-command
> after your proposed change?
Sorry! My proposal (as presented) didn't make sense in the
dired-do-shell-command context.
Here is a revised proposal:
I propose that to insert the current buffer or file name (see later)
in a prompt, you must enter M-?.
For a normal minibuffer prompt, e.g. M-x shell, this simply inserts
the buffer file name as proposed in my last fix.
For a command to be used with dired-do-shell-command, M-? inserts
a special marker -- e.g. a `?' character with a dedicated text
property, e.g. '(expand t). Then dired-do-shell-command shall look
for characters with that property and do the replacement on those.
We should probably keep the meaning of ? surrounded by spaces for
backwards compatibility (and ease of use). And then fix the
documentation to say what works and what doesn't work.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: info inconsistency about "Shell Commands in Dired", (continued)
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/27
- Re: info inconsistency about "Shell Commands in Dired", David Kastrup, 2004/08/27
- Re: info inconsistency about "Shell Commands in Dired", Luc Teirlinck, 2004/08/27
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/28
- Re: info inconsistency about "Shell Commands in Dired", Juri Linkov, 2004/08/29
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/30
- Re: info inconsistency about "Shell Commands in Dired", Luc Teirlinck, 2004/08/25
- Re: info inconsistency about "Shell Commands in Dired", Kim F. Storm, 2004/08/26
- Re: info inconsistency about "Shell Commands in Dired", Luc Teirlinck, 2004/08/26
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/26
- Re: info inconsistency about "Shell Commands in Dired",
Kim F. Storm <=
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/27
- Re: info inconsistency about "Shell Commands in Dired", Richard Stallman, 2004/08/22