help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to produce the effect of * and # of VIM in Emacs?


From: kgold
Subject: Re: How to produce the effect of * and # of VIM in Emacs?
Date: 27 Jul 2005 20:17:58 GMT

Emre Sevinc <emres@bilgi.edu.tr> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]