From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Is there an easier way to jump to the same word? Date: Thu, 11 Apr 2013 19:12:48 +0530 Message-ID: <87eheh89pj.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365687798 20907 80.91.229.3 (11 Apr 2013 13:43:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2013 13:43:18 +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 15:43:22 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 1UQHmc-00033N-BI for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 15:43:22 +0200 Original-Received: from localhost ([::1]:40870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQHmc-00085P-0v for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 09:43:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQHmM-0007xv-2w for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 09:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQHmH-0000Fm-3l for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 09:43:06 -0400 Original-Received: from mail-da0-x231.google.com ([2607:f8b0:400e:c00::231]:57450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQHmG-0000F7-UN for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 09:43:01 -0400 Original-Received: by mail-da0-f49.google.com with SMTP id t11so682108daj.8 for ; Thu, 11 Apr 2013 06:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=iVRt9zrwF+2HxuL4tlsCT2p25cDhcK0oy2/2P6d0vas=; b=ZtkBrCyKWitS1So63w+RNUsKlCyvffr1kwE273otAzFn70M2pDPzcTxS34bu5Qngzo LBpL1HAOsm7+3mWdUR6iQvwVAI3nLVo97H1QbfBiwTrnkhkQo8Q4Q/mQvRCpUeD7BBtz odjKi38FJUaAOl1pUgk5hzMAvPtlQXvim/bQyqYVit5QjiwmMjeAxEgah2QzewIx/R1C sNAAOqoW/X0s9g9ejjGeFw0cLd5fFWxqY+WB96hzc+U89WRd9YMb6rfJUGpXG5NI/e8t YxpUuYy1r1vaamhQH4L3YVwTicaC+pof6C6ahWBSJm3/cLC2CkR7j/T5IIble2Q8RMiQ FsPg== X-Received: by 10.68.198.69 with SMTP id ja5mr9116819pbc.183.1365687778906; Thu, 11 Apr 2013 06:42:58 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.175.35]) by mx.google.com with ESMTPS id b3sm4323327pbw.4.2013.04.11.06.42.56 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 11 Apr 2013 06:42:58 -0700 (PDT) In-Reply-To: (Steven Degutis's message of "Wed, 10 Apr 2013 21:24:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c00::231 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:90096 Archived-At: Steven Degutis 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