From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: How to produce the effect of * and # of VIM in Emacs? Date: 27 Jul 2005 20:17:58 GMT Organization: IBM T.J. Watson Research Center Message-ID: <42e7ebf6_3@news1.prserv.net> References: <87ack8uxj0.fsf@ileriseviye.org> <3kpmgfFvjmpuU1@individual.net> <873bq0cg3i.fsf@ileriseviye.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1122494916 8698 80.91.229.2 (27 Jul 2005 20:08:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2005 20:08:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 22:08:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DxsBw-00022I-Oc for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 22:07:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxsEM-00021W-3P for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 16:10:18 -0400 X-Newsreader: xrn 9.02 Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: 27 Jul 2005 20:17:58 GMT, yktgi01e0-s5.watson.ibm.com Original-Lines: 18 Original-X-Complaints-To: abuse@prserv.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!alpha.watson.ibm.com!kgold Original-Xref: shelby.stanford.edu gnu.emacs.help:132710 Original-To: help-gnu-emacs@gnu.org 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:28234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28234 Emre Sevinc writes: > > > > Search forward and backward for the word under the cursor > > > > You can make a macro from this sequence and bind it to a key > > I tried that by pressing C-x ( and then pressing M-b C-s C-w > and then C-x ) and Emacs said that a macro is defined, then I > came to the middle of the word pressed C-x e to execute the > macro but the cursor just stayed there, nothing happened. > Any ideas why that doesn't work? Is it related to I-search's > being interactive and interfering with the macro creation process? You need one more C-s. C-w says search for the word, and the second C-s says to get the next match. -- Ken Goldman kgold@watson.ibm.com 914-784-7646