Emre Sevinc <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 914-784-7646 _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs