[Top][All Lists]

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

Re: address@hidden: grep-tree doesn't shell-quote-argument]

From: David Kastrup
Subject: Re: address@hidden: grep-tree doesn't shell-quote-argument]
Date: Wed, 19 Apr 2006 17:03:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

address@hidden (Kim F. Storm) writes:

> David Kastrup <address@hidden> writes:
>> Strike the complexity.  Use of a prefix arg to make it possible to
>> post-edit the command is, IMO, a good idea.  
> It is a _nice_ idea, but I'm not sure it is a _good_ idea.
> Using the prefix arg for this purpose takes away the simple way to
> select the "old behaviour" shortcut (which Eli suggested as the way
> to go).

Well, you'd have to press RET a few more times then: filling in empty
arguments will more or less land you with the old behavior.

> One thing we could (should?) do is to enter the final command from
> non-C-u usage into the grep-find-history, so it would be easily
> accessible (for tweaking) on a subsequent use of C-u M-x grep-find
> in case the first run didn't give the desired results.

But if you _know_ in advance that the first run is not going to give
you the desired results, having to start it nevertheless for the sake
of being able to edit it afterwards seems pretty backward.

I think the idea of entering the final command into the history is
dandy in itself, but having to execute the command as a precursor of
being allowed to edit it...  Well...

>> Quite often one wants to start a command that is almost, but not
>> quite, like the default recipe.
> So tweak the grep-find-command-template instead...

I don't find that having to redefine an Elisp command for a one-shot
application is the most convenient user interface.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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