all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pasting primary X selection into Emacs
@ 2006-05-03 16:00 mandar.mitra
  2006-05-03 15:43 ` Nikos E Apostolakis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mandar.mitra @ 2006-05-03 16:00 UTC (permalink / raw)


I would like to use C-y or <middle button> to yank the primary X
selection in Emacs.

C-y and middle button both work as expected after a kill (since the
kill updates the primary selection), but if I use the mouse to create a
new primary selection after that, and then do a C-y, I still get the
last killed text, instead of the new primary selection.

Is there some way to yank whichever is more recent: the last killed
text or the primary selection?

Thanks for any pointers,
Mandar.

ps 1: I've looked at some of the discussion on cutting and pasting
between Emacs and X11 apps, but
haven't found the answer to this particular question.

ps 2: I had posted this on comp.emacs, but got no suggestions, so I'm
trying here. I should have crossposted at the outset. Sorry.

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

end of thread, other threads:[~2006-05-04  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-03 16:00 pasting primary X selection into Emacs mandar.mitra
2006-05-03 15:43 ` Nikos E Apostolakis
2006-05-03 16:44 ` Michaël Cadilhac
     [not found] ` <mailman.1328.1146689439.9609.help-gnu-emacs@gnu.org>
2006-05-04  7:51   ` mandar.mitra
2006-05-04  4:38     ` Nikos E Apostolakis

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.