help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there an easier way to jump to the same word?


From: Jambunathan K
Subject: Re: Is there an easier way to jump to the same word?
Date: Thu, 11 Apr 2013 19:12:48 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Steven Degutis <sbdegutis@gmail.com> writes:

> Often times I find that I want to jump to another occurrence of the
> word-under-point, almost always variables or functions. I end up going
> to the beginning of the word with M-b, doing isearch-forward with C-s,
> adding all the words until the full word is the search term with C-w a
> bunch of times, and finally C-s to jump around to other instances of
> it.

If you are using Emacs from bzr, configure the variable below to run
occur for symbol at point.

        C-h v occur-read-regexp-defaults-function


Then jump around with

M-s o
M-g M-n
M-g M-n
M-g M-p

or look at occur before and jump directly to the needed location.

>
> Is there a better way to do this?
>
> -Steven



reply via email to

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