unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5282: Defaults for grep interface
@ 2009-12-29  6:22 Jon Strait
  2021-06-03  9:24 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Strait @ 2009-12-29  6:22 UTC (permalink / raw)
  To: bug-gnu-emacs

Many things here are inconsistent in the grep interface. 

The interactive lgrep and rgrep commands have a default using the basic 
RE format, while the grep command's default uses an extended RE format. 

The lgrep command's doc string says that given two 'C-u' prefixes, you 
can edit and directly run 'grep-command', (shouldn't this really be 
'grep-template' ?)  This didn't seem to really work at all, but if it 
did, how would it be different than using the interactive 'grep' directly?

The default grep-find-template (for rgrep) doesn't use the  required <D> 
place holder at all, and then rgrep changes into the 'base directory' 
before running the command in the context of the current directory, per 
the default grep-find-template.

GNU Emacs 23.1.1








^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-03  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29  6:22 bug#5282: Defaults for grep interface Jon Strait
2021-06-03  9:24 ` Lars Ingebrigtsen
     [not found]   ` <04CA3DE6-9333-4F9D-B16B-D3446C5ABD88@gmail.com>
2021-06-03  9:41     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).