[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: |
Stefan Monnier |
Subject: |
Re: address@hidden: grep-tree doesn't shell-quote-argument] |
Date: |
Wed, 19 Apr 2006 09:14:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> So what you suggest is that the current grep-tree should replace
>> grep-find/find-grep as the default interface, and the current
>> grep-find functionality should be selected if a prefix arg is
>> specified.
> This is somewhat radical and might surprise people.
Surprise is not bad. Confusing the user would be bad and making her do
something she didn't intend to do would be even worse, but I don't think
either of them applies here: the prompt should be sufficiently different
that she should immediately realize what's going on.
I think that what Kim suggests (rename grep-find to grep-find-command,
grep-tree to grep-find-template, and introduce a new grep-find which calls
either of the two depending on nilness of current-arg-prefix) is the way
to go. Much better than introducing a complex configuration and prefix-arg
protocol to choose what to do when.
Stefan
- Re: address@hidden: grep-tree doesn't shell-quote-argument], (continued)
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Eric Hanchrow, 2006/04/18
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Lennart Borgman, 2006/04/18
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Romain Francoise, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Eli Zaretskii, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument],
Stefan Monnier <=
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Stefan Monnier, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kevin Rodgers, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Bill Wohler, 2006/04/19