emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alias autodetection in grep-read-files is broken


From: Jared Finder
Subject: Alias autodetection in grep-read-files is broken
Date: Wed, 16 May 2007 19:12:57 -0700

I have added a cons to grep-file-aliases so that it's value is now:
(("el" . "*.el")
 ("ch" . "*.[ch]")
 ("c" . "*.c")
 ("h" . "*.h")
 ("asm" . "*.[sS]")
 ("m" . "[Mm]akefile*")
 ("l" . "[Cc]hange[Ll]og*")
 ("c++" . "*.[ch] *.[ch]pp"))

Notice that the C++ line has two aliases in it.  This gets expanded by wildcard-to-regexp into
"address@hidden] address@hidden'".  It should get expanded into
"\\`\\(?:address@hidden|address@hidden)\\'".

Please fix this.

  -- MJF

In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)  of 2006-06-04 on TPAD X server distributor
`Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags  -O2
-march=i686 -mtune=i686 -ffast-math -IC:/gnuwin32/include_emacs -IC:/gnuwin32/lib -IC:/gnuwin32/src
--ldflags  -s ' 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: ENU   locale-coding-system: cp1252 
default-enable-multibyte-characters: t Major mode: Emacs-Lisp/lw Minor modes in effect: 
eldoc-mode: t   global-balanced-mode: t   balanced-mode: t   hrule-mode: t   c-subword-mode: t 
global-reveal-mode: t   reveal-mode: t   global-hi-lock-mode: t   hi-lock-mode: t   recentf-mode: t 
show-paren-mode: t   global-c-subword-mode: t   shell-dirtrack-mode: t   cua-mode: t 
encoded-kbd-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   blink-cursor-mode: t 
unify-8859-on-encoding-mode: t   utf-translate-cjk-mode: t   auto-compression-mode: t 
column-number-mode: t   line-number-mode: t   transient-mark-mode: t Recent input: <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up>  <down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <prior> <up> <down> <down> <down>  <down> <down> <down> <down> <down> <down>
<down> <down>  <down> <down> <up> <up> <up> <up> <up> <up> <up> <up>  <up> <up> <up> <up> <up>
<down> <right> <M-right> <M-right>  <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-bug>  <help-echo> <select-window> <help-echo> g r e
p - <backspace>  <backspace> <backspace> <backspace> <backspace> C-x  C-g <escape> <escape> <escape>
<help-echo> <help-echo>  <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>  <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo>  <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar>  <help-menu> <report-emacs-bug> Recent messages: Display version number, copyright info,
and basic help Lisp packages distributed separately for use in Emacs How to get latest versions of
Emacs Show the Emacs license (GPL) How to get latest versions of Emacs Lisp packages distributed
separately for use in Emacs Display version number, copyright info, and basic help Find packages and
features by keyword Full documentation of Emacs features Send e-mail to Emacs maintainers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]