From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.bugs Subject: bug#10728: lgrep fails with certain entries in grep-files-aliases Date: Sat, 04 Feb 2012 13:40:21 -0700 Message-ID: <4F2D97B5.8090401@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328388091 14345 80.91.229.3 (4 Feb 2012 20:41:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 20:41:31 +0000 (UTC) To: 10728@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 21:41:30 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 1RtmQM-0002FS-6S for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 21:41:30 +0100 Original-Received: from localhost ([::1]:51858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmQJ-0005tN-Dp for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 15:41:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmQG-0005qm-Hw for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:41:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtmQE-00035z-OM for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:41:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmQE-00035s-Kz for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:41:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RtmQs-00025M-Hm for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Scholtes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2012 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13283880817960 (code B ref -1); Sat, 04 Feb 2012 20:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2012 20:41:21 +0000 Original-Received: from localhost ([127.0.0.1]:54626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtmQB-00024K-RE for submit@debbugs.gnu.org; Sat, 04 Feb 2012 15:41:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54611) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtmQ9-000248-H6 for submit@debbugs.gnu.org; Sat, 04 Feb 2012 15:41:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtmPP-0002x7-Bs for submit@debbugs.gnu.org; Sat, 04 Feb 2012 15:40:32 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:49997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmPP-0002x1-AD for submit@debbugs.gnu.org; Sat, 04 Feb 2012 15:40:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmPO-0005ly-0P for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:40:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtmPJ-0002wT-0n for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:40:29 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:37115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmPI-0002vK-Sp for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 15:40:24 -0500 Original-Received: by iagz16 with SMTP id z16so8403822iag.0 for ; Sat, 04 Feb 2012 12:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=b3GRaze+8wDNbY+xE7th2u2VsmxD0SZFr+Hh516/Z/Q=; b=qzNETcjOfeWVe9dtVZuKkNLfm8QN1p0ZjrU/z+mrUIZpIzKAEWfIXviEqyMauLVHKY XkvYwY9CQ4g+b48faz3Jzucc91xfcVBGZW1JpY4xe3tvsdxGWEMgSa7YOcH899UHvJuP QpCIg+X8026bdiYS1RpU1649pfJ2v/E53iCM4= Original-Received: by 10.42.151.195 with SMTP id f3mr11483256icw.19.1328388023232; Sat, 04 Feb 2012 12:40:23 -0800 (PST) Original-Received: from [192.168.1.2] (71-212-144-226.hlrn.qwest.net. [71.212.144.226]) by mx.google.com with ESMTPS id ak10sm13710926igc.6.2012.02.04.12.40.21 (version=SSLv3 cipher=OTHER); Sat, 04 Feb 2012 12:40:22 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:56494 Archived-At: 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.