From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: Is there an easier way to jump to the same word? Date: Sat, 13 Apr 2013 02:19:49 +0200 Message-ID: <871uaf5lju.fsf@bzg.ath.cx> References: <87mwt5wl0m.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365812400 19512 80.91.229.3 (13 Apr 2013 00:20:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2013 00:20:00 +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 Sat Apr 13 02:20:04 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 1UQoCJ-0003ew-Gh for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Apr 2013 02:20:03 +0200 Original-Received: from localhost ([::1]:51637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQoCJ-0003Xe-3h for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Apr 2013 20:20:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQoC7-0003XX-5F for help-gnu-emacs@gnu.org; Fri, 12 Apr 2013 20:19:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQoC6-00077C-Cp for help-gnu-emacs@gnu.org; Fri, 12 Apr 2013 20:19:51 -0400 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]:38513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQoC6-000772-2j for help-gnu-emacs@gnu.org; Fri, 12 Apr 2013 20:19:50 -0400 Original-Received: by mail-wg0-f46.google.com with SMTP id e11so994255wgh.25 for ; Fri, 12 Apr 2013 17:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=CInh0g7Rcpfzj9WdtJ8w+ecmTuRZlP1ob087PWxT5O4=; b=MGFg+rnAs8L2UqdLpkrdV6yD1qYMG0TCYVD4pWmbJ5ThCoJhm4OYGTZ8MnRAREhd9F s3DXpImMr4WDhD4vlLCor7WezbuVlkzS6YB34SButZggIGbwS9bNkoW3aj3DLNbmVEuV hNSUWxDiLrhXo3HBMIUmMfJ3ifk6GH0CwoxWURsJ5AKNhwjb1S0qelIqOT0/n66jynuY jrdpyVX/AkL3xXc60yW1CKsTBSZQe058w92wa8ZkX/3JKgzubR6srqAZumQ7TAyvFNkN qKgOemeH5hH4cKEfvnYyoJESBZU2AhLLQhOn5NVp9v68jwtqumLFX9NerDOhWsthsunP Lruw== X-Received: by 10.180.91.106 with SMTP id cd10mr858383wib.6.1365812389340; Fri, 12 Apr 2013 17:19:49 -0700 (PDT) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPS id dp5sm707905wib.1.2013.04.12.17.19.47 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 17:19:48 -0700 (PDT) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id DA6D91C2101E; Sat, 13 Apr 2013 02:19:49 +0200 (CEST) In-Reply-To: (Steven Degutis's message of "Thu, 11 Apr 2013 09:13:40 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.46 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:90139 Archived-At: Hi Steven, Steven Degutis writes: > Are these functions defining word boundaries? What are the \\< and \ > \> used for? Using (current-word) should probably be sufficient, no? (current-word t t) would better suits my own needs actually. > Also, I didn't realize this until after I tried Chris's solution, but > I also need it to highlight other occurrences of (current-word) in > the buffer. In that case, I think your first recipe (C-s C-w C-s) is the shortest solution. HTH, -- Bastien