unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: i-search related
Date: Fri, 19 Nov 2004 03:55:19 +0200	[thread overview]
Message-ID: <87r7mqcztp.fsf@jurta.org> (raw)
In-Reply-To: <68c73b1a041118040931fbedd@mail.gmail.com> (Dhruva Krishnamurthy's message of "Thu, 18 Nov 2004 17:39:54 +0530")

Dhruva Krishnamurthy <dhruva.krishnamurthy@gmail.com> writes:
> Hello,
>  I am using emacs from CVS on XP compiled using MSVC 6.0. 
> - I invoke isearch "C-s".
> - I type some string and it gets into mini-buffer (the focus is in
> minibuffer) and things work fine
> - I copy some string to clipboard
> - Invoke isearch "C-s"
> - I then try to paste the copied string, I would expect it to get
> copied into mini-buffer (at isearch prompt). Instead, the string gets
> copied at the cursor location in the buffer.
>
> Is this behavior intentional or a bug?

M-y is what you need.  It adds the last killed text into the search string.

C-y (which normally inserts the killed text) in isearch mode adds the
rest of the line into the search string.

I suspect that you use some other keybinding to paste the copied text
like <S-insert>.  I think it's better not to rebind it in isearch mode
to paste the text into the search string, because this key is more
useful to finish isearch mode and insert the copied text to the place
where the search was stopped.  This way not rebinding <S-insert> and
<S-delete> in isearch mode makes it possible to use them to perform the
same operations as rebound in isearch mode C-w and C-y normally do.

-- 
Juri Linkov
http://www.jurta.org/emacs/

      reply	other threads:[~2004-11-19  1:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18 12:09 i-search related Dhruva Krishnamurthy
2004-11-19  1:55 ` Juri Linkov [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r7mqcztp.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).