From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.help Subject: Re: Is there an easier way to jump to the same word? Date: Thu, 11 Apr 2013 15:35:59 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7beb95c08332ea04da10d632 X-Trace: ger.gmane.org 1365665774 8727 80.91.229.3 (11 Apr 2013 07:36:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2013 07:36:14 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Steven Degutis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 11 09:36:18 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQC3M-0002Cn-Tj for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 09:36:17 +0200 Original-Received: from localhost ([::1]:47070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQC3M-0003QP-F7 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 03:36:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQC38-0003PI-SO for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQC37-00048H-Fz for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:36:02 -0400 Original-Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:64053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQC37-000487-8w for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:36:01 -0400 Original-Received: by mail-we0-f175.google.com with SMTP id t11so998440wey.20 for ; Thu, 11 Apr 2013 00:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=5LdNmFMtWIq5Ccad5Q8LkdJN9t4wtdXzkMbzAAn7ff4=; b=LBwzIVm2BwtslujmgNTa0trGnosd/AID0EwpmZUy5h1Y1KLK9B+7yvSAXY7TE6QBgF AWfgz/l0AXqXlFk1C2G+/LESvI1b4GtG93eKJ62McVOUJwsxnZYlFSJXANKaWzX08+9v e6n9L+aI5mwCq+1ikRCJrA2p0FCpW43qouKWzNCjc6NEHrUSzU1S/4SinDjwnOMq727A UiGN21GCFFKOAXI077wU5r2MbY+U/0q16cPWhl6HchojvaSBMkS6lFSs6agyCRsgND8e 8GZFMBvL2SLbm+KplGC4e5cFOEfGcSVvRAf2rH7wlhn2B1pObRcjIMeOy6y8miB6NkKp cExg== X-Received: by 10.194.82.34 with SMTP id f2mr6452330wjy.25.1365665760094; Thu, 11 Apr 2013 00:36:00 -0700 (PDT) Original-Received: by 10.217.116.8 with HTTP; Thu, 11 Apr 2013 00:35:59 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90077 Archived-At: --047d7beb95c08332ea04da10d632 Content-Type: text/plain; charset=ISO-8859-1 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 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 --047d7beb95c08332ea04da10d632 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I use highlight symbols to highlight same symbols, and jum= p between them. =A0It chooses rainbow colors automatically and makes it muc= h easier to follow some key variables through a block of code.

My fork=A0https://github.com/lewang/highlight-symbol.el allows you to use arb= itrary 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 occurren= ce 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 bu= nch of times, and finally C-s to jump around to other instances of it.

Is there a better way to do this?

-Steven



--
Le
--047d7beb95c08332ea04da10d632--