From: Christoph Scholtes <cschol2112@googlemail.com>
To: 10728@debbugs.gnu.org
Subject: bug#10728: lgrep fails with certain entries in grep-files-aliases
Date: Sat, 04 Feb 2012 13:40:21 -0700 [thread overview]
Message-ID: <4F2D97B5.8090401@gmail.com> (raw)
The documentation of grep-files-aliases says:
*Alist for the FILES argument to `lgrep' and `rgrep'.
Certain aliases in that list do not work with lgrep.
For example, `cc' works fine with rgrep, but fails with lgrep with the
following recipe:
emacs -Q
M-x lgrep
Search for: main
in files: cc
In directory: ~/devel/emacs/trunk/src/
Result:
-*- mode: grep; default-directory: "~/devel/emacs/trunk/src/" -*-
Grep started at Sat Feb 4 13:37:18
grep --exclude=.\#\* --exclude=\*.o --exclude=\*\~ --exclude=\*.bin
--exclude=\*.lbin --exclude=\*.so --exclude=\*.a --exclude=\*.ln
--exclude=\*.blg --exclude=\*.bbl --exclude=\*.elc --exclude=\*.lof
--exclude=\*.glo --exclude=\*.idx --exclude=\*.lot --exclude=\*.fmt
--exclude=\*.tfm --exclude=\*.class --exclude=\*.fas --exclude=\*.lib
--exclude=\*.mem --exclude=\*.x86f --exclude=\*.sparcf --exclude=\*.dfsl
--exclude=\*.pfsl --exclude=\*.d64fsl --exclude=\*.p64fsl
--exclude=\*.lx64fsl --exclude=\*.lx32fsl --exclude=\*.dx64fsl
--exclude=\*.dx32fsl --exclude=\*.fx64fsl --exclude=\*.fx32fsl
--exclude=\*.sx64fsl --exclude=\*.sx32fsl --exclude=\*.wx64fsl
--exclude=\*.wx32fsl --exclude=\*.fasl --exclude=\*.ufsl
--exclude=\*.fsl --exclude=\*.dxl --exclude=\*.lo --exclude=\*.la
--exclude=\*.gmo --exclude=\*.mo --exclude=\*.toc --exclude=\*.aux
--exclude=\*.cp --exclude=\*.fn --exclude=\*.ky --exclude=\*.pg
--exclude=\*.tp --exclude=\*.vr --exclude=\*.cps --exclude=\*.fns
--exclude=\*.kys --exclude=\*.pgs --exclude=\*.tps --exclude=\*.vrs
--exclude=\*.pyc --exclude=\*.pyo -i -nH -e main *.cc *.cxx *.cpp *.C
*.CC *.c++
grep: *.cc: No such file or directory
grep: *.cxx: No such file or directory
grep: *.cpp: No such file or directory
grep: *.C: No such file or directory
grep: *.CC: No such file or directory
grep: *.c++: No such file or directory
Grep exited abnormally with code 2 at Sat Feb 4 13:37:18
This is Emacs trunk (r107094) on Debian Testing.
next reply other threads:[~2012-02-04 20:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-04 20:40 Christoph Scholtes [this message]
2012-02-04 21:08 ` bug#10728: lgrep fails with certain entries in grep-files-aliases Eli Zaretskii
2012-02-04 21:50 ` Christoph Scholtes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F2D97B5.8090401@gmail.com \
--to=cschol2112@googlemail.com \
--cc=10728@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.