From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpkotta Newsgroups: gmane.emacs.help Subject: Re: search for identifier at point Date: Fri, 20 Aug 2010 07:37:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5457dcd2-2a11-4c19-b562-1f7f7cb2db98@m17g2000prl.googlegroups.com> <362efdb9-59e2-4e4b-8875-59c0e7f34c7c@a4g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291859842 10884 80.91.229.12 (9 Dec 2010 01:57:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:57:22 +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 Dec 09 02:57:18 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQVl0-000714-03 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:57:18 +0100 Original-Received: from localhost ([127.0.0.1]:43295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQVkz-00011M-De for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:57:17 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!x21g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 64.122.85.37 Original-X-Trace: posting.google.com 1282315060 19006 127.0.0.1 (20 Aug 2010 14:37:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 20 Aug 2010 14:37:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x21g2000yqa.googlegroups.com; posting-host=64.122.85.37; posting-account=EwI0QQoAAADdqmqX_mVfawBNtwyks2YE User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.61,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:180862 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76427 Archived-At: On Aug 19, 10:26=A0am, Stefan Monnier wrote: > > But I may not be at beginning of identifier > > In fact mostly when browsing the file one most likely reached there > > with a C-s and so point is somewhere halfway inside the identifier > > You can hit C-M-b before C-s C-w, so you jump to the beginning of > the identifier. > > =A0 =A0 =A0 =A0 Stefan I have extended thing-opt.el (http://www.emacswiki.org/emacs/ ThingAtPointOptional) to add things to the isearch string. I want to extend it to replace-regexp too, but I haven't gotten to it. Here's what I have so far: http://pastebin.com/R3jeLwuU. Using this, you would start isearch with C-s, then hit M-@ to start selecting things.