From: Steven Degutis <sbdegutis@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Is there an easier way to jump to the same word?
Date: Thu, 11 Apr 2013 09:08:48 -0500 [thread overview]
Message-ID: <CACeWA3hX6P+8H_1sSUvdUJ_uW=xc=OiyfP+FeXkHD0eeqM091A@mail.gmail.com> (raw)
In-Reply-To: <87eheh89pj.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
First of all those keys are stolen by paredit.
Second of all the UI for this seems like overkill compared to
highlight-symbol.el. It doesn't need its own window, it just should
highlight matches in the current window and allow me to jump between them
easily. But knowing emacs, there's probably some variable to disable
opening a new window with the search results.
And finally, it doesn't seem to highlight the matches in the buffer.
-Steven
On Thu, Apr 11, 2013 at 8:42 AM, Jambunathan K <kjambunathan@gmail.com>wrote:
> 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
>
[-- Attachment #2: Type: text/html, Size: 1946 bytes --]
next prev parent reply other threads:[~2013-04-11 14:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 2:24 Is there an easier way to jump to the same word? Steven Degutis
2013-04-11 7:11 ` Andreas Röhler
2013-04-11 7:35 ` Le Wang
2013-04-11 13:39 ` Jambunathan K
2013-04-11 14:09 ` Steven Degutis
2013-04-11 14:06 ` Steven Degutis
2013-04-11 8:04 ` Bastien
2013-04-11 14:13 ` Steven Degutis
2013-04-13 0:19 ` Bastien
2013-04-13 0:22 ` Steven Degutis
2013-04-11 13:42 ` Jambunathan K
2013-04-11 14:08 ` Steven Degutis [this message]
2013-04-11 17:06 ` Jambunathan K
[not found] <mailman.23929.1365647063.855.help-gnu-emacs@gnu.org>
2013-04-11 7:43 ` Chris F.A. Johnson
2013-04-11 7:57 ` Damien Wyart
2013-04-11 8:22 ` Chris F.A. Johnson
2013-04-11 14:05 ` Steven Degutis
[not found] ` <878v4omosz.fsf@casenave-pere.fr>
2013-04-12 5:50 ` Renaud Casenave-Péré
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACeWA3hX6P+8H_1sSUvdUJ_uW=xc=OiyfP+FeXkHD0eeqM091A@mail.gmail.com' \
--to=sbdegutis@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).