On Thu, 19 Jun 2003, Johan Bockgård wrote:
Kevin Rodgers <ihs_4664@yahoo.com> writes:
Even better would be *.foo, where foo is the extension of the visited file.
And that's what C-u M-x grep already does.
Not really.
,----[ C-h f grep RET ]
| [...]
| A prefix argument says to default the argument based upon the current
| tag the cursor is over, substituting it into the last grep command
| in the grep command history (or into `grep-command'
| if that history list is empty).
`----
Dan's request deals with the filename, not with the pattern.