[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enabling c-subword-mode in grep-mode causes regexp matching problems
From: |
Kim F. Storm |
Subject: |
Re: Enabling c-subword-mode in grep-mode causes regexp matching problems |
Date: |
Tue, 20 Jun 2006 23:58:06 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Jared Finder" <address@hidden> writes:
> 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)))
Why do you want to do that?
I'm not saying that it doesn't make sense to do so -- I just don't get it.
> 3. M-x rgrep RET for anything.
>
> Result:
> The line "Grep/lw started at Tue Jun 20 11:28:29" causes a false match.
>
I see that too.
> Expected result:
> No false matches.
Since I don't understand the combination of grep-mode and c-subword-mode,
I'm not sure what to expect!
--
Kim F. Storm <address@hidden> http://www.cua.dk