all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'suvayu ali'" <fatkasuvayu+linux@gmail.com>,
	"'Harry Putnam'" <reader@newsguy.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Too much pita to paste into incremental regex search
Date: Sun, 22 Jan 2012 21:58:34 -0800	[thread overview]
Message-ID: <AF56C886A53F45348D6319E8464CDCF2@us.oracle.com> (raw)
In-Reply-To: <CAMXnza0dsE74H=3hjAhG8M5439meMo+OYU4wSCaAuPBAksEQNg@mail.gmail.com>

 
> > 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	other threads:[~2012-01-23  5:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 23:07 Too much pita to paste into incremental regex search Harry Putnam
2012-01-23  4:36 ` suvayu ali
2012-01-23  5:58   ` Drew Adams [this message]
2012-01-23  6:22 ` Eli Zaretskii
2012-01-23  6:43   ` Drew Adams
2012-01-23  6:59     ` Eli Zaretskii
2012-01-23 14:44       ` Drew Adams
2012-01-23 17:01         ` Eli Zaretskii
2012-01-23 18:06           ` Drew Adams
2012-01-23 20:40             ` Eli Zaretskii
2012-01-27  6:06   ` Harry Putnam

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=AF56C886A53F45348D6319E8464CDCF2@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=reader@newsguy.com \
    /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.