From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10728: lgrep fails with certain entries in grep-files-aliases Date: Sat, 04 Feb 2012 23:08:33 +0200 Message-ID: <83vcnmcnn2.fsf@gnu.org> References: <4F2D97B5.8090401@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1328389768 25629 80.91.229.3 (4 Feb 2012 21:09:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 21:09:28 +0000 (UTC) Cc: 10728@debbugs.gnu.org To: Christoph Scholtes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 22:09:26 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtmrN-0007A4-F4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 22:09:25 +0100 Original-Received: from localhost ([::1]:47740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmrM-0001S7-Ug for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 16:09:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmrK-0001S2-RQ for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 16:09:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtmrJ-00081n-NB for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 16:09:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmrJ-00081j-Le for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 16:09:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rtmrx-0002jq-TU for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 16:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2012 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10728-submit@debbugs.gnu.org id=B10728.132838976410470 (code B ref 10728); Sat, 04 Feb 2012 21:10:01 +0000 Original-Received: (at 10728) by debbugs.gnu.org; 4 Feb 2012 21:09:24 +0000 Original-Received: from localhost ([127.0.0.1]:54648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtmrL-0002io-Mj for submit@debbugs.gnu.org; Sat, 04 Feb 2012 16:09:24 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:53742) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtmrI-0002iX-6T for 10728@debbugs.gnu.org; Sat, 04 Feb 2012 16:09:21 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LYV00G00ZXURG00@a-mtaout22.012.net.il> for 10728@debbugs.gnu.org; Sat, 04 Feb 2012 23:08:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.218.68]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYW00G2U028AU80@a-mtaout22.012.net.il>; Sat, 04 Feb 2012 23:08:33 +0200 (IST) In-reply-to: <4F2D97B5.8090401@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56496 Archived-At: > Date: Sat, 04 Feb 2012 13:40:21 -0700 > From: Christoph Scholtes > > 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 Why do you think this is a "failure"? There indeed are no files matching these widlcards in the Emacs's src directory.