all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5260: 23.1.90; zrgrep grep-files-aliases
@ 2009-12-23 11:12 jidanni
  2009-12-28 10:42 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2009-12-23 11:12 UTC (permalink / raw)
  To: emacs-pretest-bug

Regarding

    (defun zrgrep (regexp &optional files dir confirm grep-find-template)
      "Recursively grep for REGEXP in gzipped FILES in tree rooted at DIR.
    Like `rgrep' but uses `zgrep' for `grep-program', sets the default
    file name to `*.gz', and sets `grep-highlight-matches' to `always'."

I object. The default should be ALL, not *.gz, as at least I want to
comb all files, compressed or not... (the main bonus of zgrep(1)).

      (interactive
       (let ((grep-program "zgrep")
             (grep-find-template nil)  ; output of `grep-compute-defaults'
             (grep-find-command nil)
             (grep-host-defaults-alist nil)
             (grep-files-aliases '(("*.gz" . "*.gz") ; for `grep-read-files'
                                   ("all" . "* .*"))))

all should be ALL as it is more clear... and in fact just plain * .* is
even clearer.  Anyway, ALL should be at front. And there should be a
variable so one can customize about what should be in front...






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

end of thread, other threads:[~2010-01-31 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 11:12 bug#5260: 23.1.90; zrgrep grep-files-aliases jidanni
2009-12-28 10:42 ` Juri Linkov
2010-01-31 21:51   ` Juri Linkov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.