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

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

Enabling c-subword-mode in grep-mode causes regexp matching problems


From: Jared Finder
Subject: Enabling c-subword-mode in grep-mode causes regexp matching problems
Date: Tue, 20 Jun 2006 11:41:05 -0700

Steps to reproduce:

1. Start up Emacs with emacs -Q.
2. Add (c-subword-mode 1) to grep-mode hook with:
   (add-hook 'grep-mode-hook (lambda () (c-subword-mode 1)))
3. M-x rgrep RET for anything.

Result:
The line "Grep/lw started at Tue Jun 20 11:28:29" causes a false match.

Expected result:
No false matches.

  -- 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: Help/lw Minor modes in effect: 
global-balanced-mode: t   balanced-mode: t   hrule-mode: t   cua-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   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   view-mode: t Recent input: c SPC e l e <tab> f <tab> l <tab> <backspace>
<backspace>  <tab> C-g C-h v c SPC e l <tab> <backspace> <backspace>  <backspace> <C-backspace>
<C-backspace> <return> <left>  <left> <down> <down> <down> <down> <down> <down> <down>  <down>
<down> <down> <down> <down> <down> <down> <down>  <down> <down> <down> <down> <up> <up> <up> <up>
<up>  <up> <up> <up> <down> <up> <end> <M-left> <M-left>  <M-up> <M-up> <down> <apps> <up> <return>
<down> <down>  <down> <down> <down> <down> <down> C-x o C-x b b u  g C-g <apps> r e p o r t SPC e m
a c s SPC b u <tab>  <return> Recent messages: Type C-x 1 to remove help window.   mouse-1: major
mode, mouse-2: major mode help, mouse-3: toggle minor modes mouse-2: minor mode help, mouse-3:
toggle minor modes mouse-1, RET: find function's definition mouse-2: minor mode help, mouse-3:
toggle minor modes Quit [2 times] Global-C-Subword mode disabled Making completion list... Quit
Global-C-Subword mode enabled Quit


reply via email to

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