all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: middle mouse paste into isearch minibuffer
Date: Fri, 11 Nov 2011 08:12:27 -0600	[thread overview]
Message-ID: <87k476wxx0.fsf@newsguy.com> (raw)
In-Reply-To: 5ED7E2FFE3584BFAA1828716412CB7BF@us.oracle.com

"Drew Adams" <drew.adams@oracle.com> writes:

> Try this, Perry: 
>
> (defun isearch-mouse-2 (click)
>  "..."
>  (interactive "e")
>  (isearch-yank-x-selection)
>  (deactivate-mark t))

What is supposed to happen there?

Maybe I'm not understanding what Perry is trying to do.  As I
understood it, P would like to paste what ever is in highlighted
buffer on middle mouse, into C-s.

You mean while holding C-s with left hand right?  And you also assume
running emacs in X right?

After evaluating Drews code... if I hold down C-s and try to press
middle mouse... I see (in minibuffer) `C-mouse-down-2-' and a "text
properties" dialog box pops up with the first 4 items greyed out.  The
first active item says "Special properties"  and nothing is pasted
whatsoever.  I am in an elisp document if that matters. 

I don't mean to butt in here where a conversation that is actually
over my head is going on, but I too would like to be able to paste to
isearch with mid mouse as Perry describes.

Perry, I've long thought it should be easier to do what you describe,
but lacked the ability to explain the case as elegantly as you have.

So I'm trying to ride on your coattails and get a functionality I've
also hankered for.




  parent reply	other threads:[~2011-11-11 14:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  5:38 middle mouse paste into isearch minibuffer Perry Wagle
2011-10-25 10:33 ` XeCycle
2011-10-26  4:36   ` Perry Wagle
2011-10-26  5:23     ` XeCycle
2011-10-26  5:34       ` Perry Wagle
2011-11-10  4:09         ` Perry Wagle
2011-11-10 20:53           ` Drew Adams
2011-11-10 21:21             ` Perry Wagle
2011-11-11 14:12             ` Harry Putnam [this message]
2011-11-11 14:40               ` Drew Adams
2011-11-11 15:28                 ` Harry Putnam
2011-11-11 15:36                   ` Harry Putnam
2011-11-11 15:34                 ` Harry Putnam
2011-11-11 15:48                   ` Drew Adams
2011-11-12  1:22                 ` Drew Adams
     [not found] <mailman.1010.1319521101.15868.help-gnu-emacs@gnu.org>
2011-10-25 13:52 ` Stefan Monnier

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=87k476wxx0.fsf@newsguy.com \
    --to=reader@newsguy.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.