From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: S Boucher Newsgroups: gmane.emacs.bugs Subject: bug#6114: 23.1; grep-read-files does incorrect wildcard match Date: Wed, 5 May 2010 12:22:23 -0700 (PDT) Message-ID: <741057.58002.qm@web56807.mail.re3.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273109151 3956 80.91.229.12 (6 May 2010 01:25:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 01:25:51 +0000 (UTC) To: 6114@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 06 03:25:50 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9pqX-0005d9-59 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 May 2010 03:25:49 +0200 Original-Received: from localhost ([127.0.0.1]:38191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9pkx-0004gc-0n for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 May 2010 21:20:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9ki3-0002bk-R2 for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:56:44 -0400 Original-Received: from [140.186.70.92] (port=53670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9ki2-0002Wj-6B for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:56:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9khU-0001Xr-NA for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:56:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38329) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9khU-0001Xm-LV for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:56:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O9kTp-0007hb-KE; Wed, 05 May 2010 15:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: S Boucher Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2010 19:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6114 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.127308847829590 (code B ref -1); Wed, 05 May 2010 19:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 May 2010 19:41:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9kT6-0007hC-4N for submit@debbugs.gnu.org; Wed, 05 May 2010 15:41:16 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9kOw-0007e3-FD for submit@debbugs.gnu.org; Wed, 05 May 2010 15:36:59 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:42461) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O9kOr-0001XL-Hv for submit@debbugs.gnu.org; Wed, 05 May 2010 15:36:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9kAu-00020Y-Br for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:22:28 -0400 Original-Received: from [140.186.70.92] (port=48280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9kAs-0001yk-Vt for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:22:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9kAr-0004Sx-7Q for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:22:26 -0400 Original-Received: from web56807.mail.re3.yahoo.com ([66.196.97.81]:36162) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O9kAr-0004So-3a for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:22:25 -0400 Original-Received: (qmail 58693 invoked by uid 60001); 5 May 2010 19:22:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1273087343; bh=PqjtJD3gyI/I5tNnO4kIu2IYFeE29odxy7khgUZF1Eg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=l1MyG4Cufx3ezE8IOuGW/Fr1sIpCohr0nSQdGy1xjgvxstQUgALU1elOeJ3UrtlrjM06zif1Rve1qmUB8LLJAbFPaOYyeO/A/UfWAJDLTFYifKfhlhtd+O6A1JH1ISTthBpRnGuj3i/6Gj7nEG/tEQ9g4hRL/Ycu10xoP/ieSiw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=3KLd1v9FMT8/uYCI3vab78S+spNG3yedNizLZpuIwhnO6USvUDeKB6p3TLwcA3hBnvw9z+mMGEpN2K3RPsXwYAEm+DO3SXrKRY6tIGLb2zXEO3KxP98t0nqwJ2E5j7SBML+4FbeNYD0X74GD5FPT08x0dMi1uylr1NrPCojq/wI=; X-YMail-OSG: QaxDZ9AVM1l55.XgGn9MFHA8BNMYsErwT9b6CebaLXkpveG 433uD_AOcSVWNfK0NJu6.y3t4OkUKGbcsoOYaCka8DKY4dtrAYWCf8RZuQ43 XKLUlCGjlkHFs63L8Tvj0aDzF6.wHocde5q.YM1vPKbGn5AJZ6meXHSQ6kS0 a8MAshsp0_k_JXhbVw7S6.gL9FoeElBbik2e7XEyAfS4Uq9YzpsdQIVmtA8i gSTtOrDx_W0YLe7gT1j9wxhfF2i7oGfSwwrYW5zqmx_gETvPxOL8nNP3FDah gwZl3EQChDztvFJJvuinohDXD4CqaDPyY2sbT5Fq.CxBQNKGCw9_K.3.y1Hu YqQ-- Original-Received: from [209.5.112.166] by web56807.mail.re3.yahoo.com via HTTP; Wed, 05 May 2010 12:22:23 PDT X-Mailer: YahooMailClassic/10.1.11 YahooMailWebService/0.8.103.269680 X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 05 May 2010 15:41:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 May 2010 15:42:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 05 May 2010 21:19:33 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36723 Archived-At: This bug is for (defun grep-read-files (regexp) in file grep.el. In grep-read-files, there's a call to (wildcard-to-regexp (cdr alias)) with the assumption that (cdr alias) is a single pattern. However, the variable grep-files-aliases actually can have multiple patterns for each alias. So, the multi-pattern aliases, such as for "cc", cannot correctly match: (defcustom grep-files-aliases '(("asm" . "*.[sS]") ("c" . "*.c") ("cc" . "*.cc *.cxx *.cpp *.C *.CC *.c++") ... etc... In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-11-24 on stephbuntu Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--prefix=/ws/EMACS/soft'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_CA.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t dynamic-completion-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-p Recent messages: Quit Back to top level. Mark set Searched 1 buffer; 6 matches for `grep-files-aliases' [2 times] uncompressing custom.el.gz...done [2 times] Composing main Info directory...done Found `bugs' in Index. (2 total; use `,' for next) Making completion list... [2 times] Quit Making completion list...