--- Begin Message ---
Subject: |
23.0.60; grep -w & grep-highlight-matches |
Date: |
Fri, 25 Jul 2008 07:17:36 -0700 |
After I add '-w' to the grep arguments, next-error in *grep* can't
open the file, apparently because some sort of terminal code is
prepended to the filename (e.g. [00m/Users/gwp/.emacs). Oddly
enough, next-error works the first time it is called, but not
subsequently.
George Pigman
Executive Officer for the Humanities
Professor of English
208 Dabney Hall
Caltech 101-40
Pasadena, CA 91125
626-395-3601 (phone)
626-795-1664 (fax)
In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, GTK+ Version 2.12.4)
of 2008-07-25 on aeneas
Windowing system distributor `The X.Org Foundation', version
11.0.10300000
configured using `configure '--with-gif=no''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: en_US
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-1-unix
default-enable-multibyte-characters: t
Major mode: Grep
Minor modes in effect:
tooltip-mode: t
tool-bar-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
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <escape>
x g r e p <return> <left> <left> <left> <left> w C-e
s e t q SPC ~ / . e m a c s <return> <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-2> <down-mouse-1>
<mouse-1> <help-echo> <down-mouse-1> <mouse-2> <help-echo>
<down-mouse-1> <mouse-2> <help-echo> <escape> x r e
p o r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Grep finished (matches found)
Mark set
Quit
Mark set [2 times]
Quit
call-interactively: Beginning of buffer
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#607: 23.0.60; grep -w & grep-highlight-matches |
Date: |
Sat, 09 Jul 2011 22:24:07 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
This report is being closed because it relates to what is now an old
pretest of Emacs 23.1, and the problem could not be reproduced.
If you still see the problem with the latest release, 23.3, please reply
with as much detail as you can and the report can be re-opened.
Chong Yidong wrote:
> I can't reproduce this. Here's what I tried:
>
> emacs -q
> M-x grep RET
> DEL DEL w article ~/*
> [minibuffer contains `grep -nH -w article ~/*']
> RET
> C-x `
> C-x `
> C-x `
>
> Each of these calls to next-error correctly send me to subsequent
> occurrences of the word "article" in files in my home directory.
>
> Could you provide a more detailed recipe to demonstrate the problem?
--- End Message ---