unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Degutis <sbdegutis@gmail.com>
To: Le Wang <l26wang@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:06:55 -0500	[thread overview]
Message-ID: <CACeWA3jJ4-oqf4Ac=VUzviz4jUwp5TrAfm+WCLM9r5tSLzuuFA@mail.gmail.com> (raw)
In-Reply-To: <CAM=K+iqA0jHyGFAqZ3Npb70rQzq9pxQDc_6ZUz6-o8YrB5-s8Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

This is my favorite solution so far. The only problem with it is that it
doesn't play nicely with hl-line-mode, so when my current line has a
special background, highlight-symbol's background is overridden. This
wasn't the case with isearch-mode. Do you think this would be hard to fix?

-Steven


On Thu, Apr 11, 2013 at 2:35 AM, Le Wang <l26wang@gmail.com> wrote:

> I use highlight symbols to highlight same symbols, and jump between them.
>  It chooses rainbow colors automatically and makes it much easier to follow
> some key variables through a block of code.
>
> My fork https://github.com/lewang/highlight-symbol.el allows you to use
> arbitrary region as a "symbol".
>
>
> On Thu, Apr 11, 2013 at 10:24 AM, Steven Degutis <sbdegutis@gmail.com>wrote:
>
>> 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.
>>
>> Is there a better way to do this?
>>
>> -Steven
>>
>
>
>
> --
> Le
>

[-- Attachment #2: Type: text/html, Size: 2155 bytes --]

  parent reply	other threads:[~2013-04-11 14:06 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 [this message]
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
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='CACeWA3jJ4-oqf4Ac=VUzviz4jUwp5TrAfm+WCLM9r5tSLzuuFA@mail.gmail.com' \
    --to=sbdegutis@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=l26wang@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).