unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* i-search related
@ 2004-11-18 12:09 Dhruva Krishnamurthy
  2004-11-19  1:55 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Dhruva Krishnamurthy @ 2004-11-18 12:09 UTC (permalink / raw)


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?

with best regards,
dhruva

-- 
Proud FSF member: #1935
http://schemer.fateback.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: i-search related
  2004-11-18 12:09 i-search related Dhruva Krishnamurthy
@ 2004-11-19  1:55 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2004-11-19  1:55 UTC (permalink / raw)
  Cc: emacs-devel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-19  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 12:09 i-search related Dhruva Krishnamurthy
2004-11-19  1:55 ` Juri Linkov

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).