GNU bug report logs - #23590
25.0.94; Errors in default lgrep command

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Sat, 21 May 2016 00:12:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 25.0.94

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: John Mastro <john.b.mastro <at> gmail.com>
Cc: 23590 <at> debbugs.gnu.org
Subject: bug#23590: 25.0.94; Errors in default lgrep command
Date: Sat, 23 Jul 2016 11:11:36 -0600
John Mastro <john.b.mastro <at> gmail.com> writes:

> (with-eval-after-load 'grep
>   (grep-apply-setting
>    'grep-template
>    "setopt null_glob; grep <X> <C> -n -e <R> <F>"))


> GNU Grep has an option (-d ACTION or --directories=ACTION) that can be
> used to skip over directories (with "skip" as the ACTION), but it's not
> in POSIX so I doubt we can use it in Emacs. If you know it will be
> available on your system(s), you could add it to your `grep-template'
> using the same technique as above.

Thanks, these workarounds work exactly as you said. It does seem that
outside of setting null_glob somewhere, there isn't a way to get zsh to
behave correctly.




This bug report was last modified 4 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.