all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: automatic search/search and replace for a marked string
Date: Sat, 22 Aug 2009 16:27:01 +0200	[thread overview]
Message-ID: <87k50vx6tm.fsf@galatea.local> (raw)
In-Reply-To: 61780ed3-2c6b-4233-8f05-3ec082689bb8@s15g2000yqs.googlegroups.com

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__


  parent reply	other threads:[~2009-08-22 14:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22 11:07 automatic search/search and replace for a marked string lichtkind
2009-08-22 13:58 ` Xah Lee
2009-08-22 14:27 ` Pascal J. Bourguignon [this message]
2009-08-22 15:12   ` Andy Stewart
2009-08-22 15:14   ` Eric Abrahamsen
     [not found]   ` <mailman.5145.1250957330.2239.help-gnu-emacs@gnu.org>
2009-08-22 17:07     ` lichtkind
2009-08-23 22:05 ` A.Politz
  -- strict thread matches above, loose matches on Subject: below --
2009-08-23 10:16 Kada Situ
2009-08-23 16:41 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k50vx6tm.fsf@galatea.local \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.