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

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

RE: Too much pita to paste into incremental regex search


From: Drew Adams
Subject: RE: Too much pita to paste into incremental regex search
Date: Sun, 22 Jan 2012 21:58:34 -0800

 
> > difficult to impossible to copy/paste to the prompt.
> > As soon as you move the mouse, the prompt disappears.
> >
> > There must be some handier way to do that?
> 
> M-e <edit the regex with regular commands>

That's good advice - #1.

Here are some other answers that might also help:

2. Use `M-y' (`C-y' in Emacs 24) to yank the last kill into the search string.

3. Use Isearch+, which has option `isearchp-mouse-2-flag' (default = `t'): 

 Non-nil means clicking `mouse-2' during Isearch yanks the selection.
 In that case, you can select text with the mouse, then hit `C-s' to
 search for it.

 If the value is nil, yank only if the `mouse-2' click is in the echo
 area.  If not in the echo area, invoke whatever `mouse-2' is bound to
 outside of Isearch.

4. Isearch+ also lets you hit `C-M-y' to yank the secondary selection into the
search string.




reply via email to

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