Linux Archive

Linux Archive (
-   Debian User (
-   -   emacs: searching only for a variable (

"H.S." 07-10-2008 01:37 AM

emacs: searching only for a variable

If I search for a text in emacs (CTRL+s), it matches all occurrences of
the search text. For example, I am trying to search a variable "i" in a
large block of code. How do I tell emacs to hit only that variable and
not for every 'i' that may occur in the file? I have tried regexp search
(SHIFT+CTRL+s for '[^a-z]i[^a-z$]'). It sort of works but perhaps there
is a shorter and faster way.


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

All times are GMT. The time now is 05:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.