From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Is there an easier way to jump to the same word? Date: Thu, 11 Apr 2013 09:11:05 +0200 Message-ID: <51666209.10407@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365664184 25587 80.91.229.3 (11 Apr 2013 07:09:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2013 07:09:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 11 09:09:48 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 1UQBdj-000568-FM for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 09:09:47 +0200 Original-Received: from localhost ([::1]:43961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBdi-0005RT-St for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 03:09:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBdW-0005R0-4R for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:09:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQBdS-0003je-JF for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:09:34 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:65239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBdS-0003jA-AV for help-gnu-emacs@gnu.org; Thu, 11 Apr 2013 03:09:30 -0400 Original-Received: from [192.168.178.21] (brln-4db9cae2.pool.mediaWays.net [77.185.202.226]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MBNBZ-1UGWz70mMH-00AN3L; Thu, 11 Apr 2013 09:09:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: X-Provags-ID: V02:K0:K7vpY/E38Pv8k6f9Ku0mdtgkjezqeR0Ym2UixBYNq1k LIZhwhkVYmXtUmE4Y9jezfwVmZoNDeE37eGKfVxIpvjDTlLnf2 8MEz0X6abmywi0JfvWzFXuY2K+7yoE+IjJiWYCK5+cFZSxhm2i xARaZokIPTwjzuWIoDxGDOHrONFeL+GLXBhT2cKWNuQfOcyLEX rRA7aC8x0QrpZPEtSyO8/bT1julqlawWyzMy3pu0i83SVlsUMK aJtQTChGY8Jj/O88gisWQ8pCHt6S6E41jLhdOCLHuHvD0wKloz +VBEe+De8z5dIzuinc5r4OkF+w5aMXEv1ZvppOyWbHIeExiaWK yJDIrIon4ZQs35KL7NGkGAd8N9D9kO4GbOYui+39I X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.186 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:90076 Archived-At: Am 11.04.2013 04:24, schrieb Steven Degutis: > 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 > Made a ar-name-atpt for this, which picks just the identifiers. Behind identifiers is a defcustom ar-name-chars-atpt "a-zA-Z_;-" Once in kill-ring, start search C-s and yank it back for search M-y Source: thing-at-point-utils.el https://launchpad.net/s-x-emacs-werkstatt/trunk/1.3/+download/S-X-Emacs-Werkstatt-1.3.tar.gz