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

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

Re: automatic search/search and replace for a marked string


From: Pascal J. Bourguignon
Subject: Re: automatic search/search and replace for a marked string
Date: Sat, 22 Aug 2009 16:27:01 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

lichtkind <lichtkind3@web.de> writes:

> Hello,
>
> I have marked a string. Now I want to search for this string in the
> whole text. I know that I can search with C-R or C-S. and type in the
> searchstring. I'm looking for a way, that the marked string is
> automatic the searchstring. This should also work for the other
> search/ search and replace types.

M-w C-s M-y

You would normally paste (yank) with C-y, but strangely in the C-s
minibuffer, you have to use M-y.

-- 
__Pascal Bourguignon__


reply via email to

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