unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Insert at point (mouse copy/yank)
@ 2004-10-09 17:50 Harry Putnam
  2004-10-09 18:14 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Putnam @ 2004-10-09 17:50 UTC (permalink / raw)


I've been digging thru C-h b for this command but I guess it doesn't
have a binding.

I used to have something in .emacs that caused a yanked piece of text
from a mouse copy in other documents to be inserted at emacs point
rather than where ever the pointer happens to be.  

That is, mouse scrape something in a different source, then hovering
mouse over document in emacs buffer and pressing mouse 2 to insert it.
Currently it gets inserted where ever the mouse is hovering.
I want it to insert at the emacs cursor.

Found this with M-x apropos <mouse.*yank><RET>
I'm not sure if this is related because it is set to t

  mouse-yank-at-point's value is t
  *If non-nil, mouse yank commands yank at point instead of at click.
  You can customize this variable.
  Defined in `mouse'.

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

* RE: Insert at point (mouse copy/yank)
  2004-10-09 17:50 Insert at point (mouse copy/yank) Harry Putnam
@ 2004-10-09 18:14 ` Drew Adams
  2004-10-09 19:55   ` Harry Putnam
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2004-10-09 18:14 UTC (permalink / raw)


mouse-yank-at-point non-nil should do what you want. Perhaps your Emacs has
a bug.

Try loading mouse.el (not mouse.elc), then M-x debug-on-entry
mouse-yank-at-click, then see what goes wrong (follow the code in mouse.el).

-----Original Message-----
From: Harry Putnam
I used to have something in .emacs that caused a yanked piece of text
from a mouse copy in other documents to be inserted at emacs point
rather than where ever the pointer happens to be.

Found this with M-x apropos <mouse.*yank><RET>
I'm not sure if this is related because it is set to t

  mouse-yank-at-point's value is t
  *If non-nil, mouse yank commands yank at point instead of at click.
  You can customize this variable.
  Defined in `mouse'.

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

* Re: Insert at point (mouse copy/yank)
  2004-10-09 18:14 ` Drew Adams
@ 2004-10-09 19:55   ` Harry Putnam
  0 siblings, 0 replies; 3+ messages in thread
From: Harry Putnam @ 2004-10-09 19:55 UTC (permalink / raw)


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

> mouse-yank-at-point non-nil should do what you want. Perhaps your Emacs has
> a bug.
>
> Try loading mouse.el (not mouse.elc), then M-x debug-on-entry
> mouse-yank-at-click, then see what goes wrong (follow the code in mouse.el).

Thanks Drew, it turned out to be operator idiocy.  I was clicking on
the buffer with mouse 1 then using mouse 2, which of course put the
emacs cursor where the mouse click1 hit and therefore the paste too.

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09 17:50 Insert at point (mouse copy/yank) Harry Putnam
2004-10-09 18:14 ` Drew Adams
2004-10-09 19:55   ` Harry Putnam

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