From: PT <spamfilteraccount@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Adding clipboard content to the kill ring automatically (Windows)
Date: Sun, 13 Sep 2009 16:59:40 +0000 (UTC) [thread overview]
Message-ID: <loom.20090913T185053-845@post.gmane.org> (raw)
I use Emacs on Windows, but this issue probably applies to other OSes as well.
Suppose I want to copy some text to emacs from an other
program. I have x-select-enable-clipboard enabled, so this is no
problem, I copy some text in an other application and then
paste (yank) it into emacs.
However, usually when I'm getting to the paste part it occurs to
me I need to do some editing (which includes some killing)
beforehand, so I do it first, but then clipboard content is not
accessible anymore from emacs, because the kill commands have
modified the kill ring and paste uses that text instead of
clipboard contents.
Is there a way to add newly copied (from other apps) clipboard
text automatically to the kill ring, so it can be yanked from it
even if I do some killings first in emacs? I thought of using and
timer to do it, but it's kind of brute force. Is there a better
way?
next reply other threads:[~2009-09-13 16:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-13 16:59 PT [this message]
2009-09-13 17:23 ` Adding clipboard content to the kill ring automatically (Windows) Eli Zaretskii
2009-09-13 17:48 ` PT
2009-09-13 18:33 ` Andreas Politz
2009-09-13 19:27 ` PT
2009-09-13 23:01 ` Jeff Clough
2009-09-14 4:48 ` PT
2009-09-14 6:05 ` PT
[not found] ` <mailman.6633.1252908378.2239.help-gnu-emacs@gnu.org>
2009-09-23 16:29 ` bigfaceworm
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=loom.20090913T185053-845@post.gmane.org \
--to=spamfilteraccount@gmail.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.
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).