From: mandar.mitra@gmail.com
Subject: pasting primary X selection into Emacs
Date: 3 May 2006 09:00:47 -0700 [thread overview]
Message-ID: <1146672047.141419.152910@j73g2000cwa.googlegroups.com> (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.
next reply other threads:[~2006-05-03 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 16:00 mandar.mitra [this message]
2006-05-03 15:43 ` pasting primary X selection into Emacs 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1146672047.141419.152910@j73g2000cwa.googlegroups.com \
--to=mandar.mitra@gmail.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.
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).