[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with isearch
From: |
Kevin Rodgers |
Subject: |
Re: Help with isearch |
Date: |
Mon, 04 Oct 2004 10:15:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Ziv.Peer@ecitele.com wrote:
> I'm working with Emacs version 21.1, loading specman-mode.el.
> I'm using lots of underscore in my coding (e.g: word1_word2_word3). When
> I'm searching with "C-s C-w", the whole string is being highlighted,
> including the underscore characters (A single C-s C-w will highlight
> "word1_word2_word3").
> When working in VHDL mode, C-s C-w will highlight the text untill the next
> underscore (first C-w will highlight "word1", the second C-w will highlight
> "word1_word2", etc.).
> I would like to have the VHDL mode behaviour when working at specman mode.
> Is it possible, and if so then what should I set in order to get this
> behaviour?
Just a guess, not having specman-mode.el installed:
(add-hook 'specman-mode-hook
(lambda ()
(modify-syntax-entry ?_ "_"))) ; awas "w"?
--
Kevin Rodgers