all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PT <spamfilteraccount@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Adding clipboard content to the kill ring	automatically	(Windows)
Date: Sun, 13 Sep 2009 19:27:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090913T212040-920@post.gmane.org> (raw)
In-Reply-To: 878wgi3daj.fsf@fh-trier.de

Andreas Politz <politza <at> fh-trier.de> writes:

> I use something like the following, when I need to grab a couple of
> links in some browser. I don't know know, if that works on w32 

No, I don't have x-lost-selection-functions here, but it gave me
an idea to check if kill ring has a hook which is called before
the kill ring is modified. I haven't found such a hook, which is
a pity, because it could be used to push clipboard contents to
the kill ring first if something (a kill) wants to add to the ring.

Without a hook the usual kill commands (C-k, etc.) can be advised
to check the clipboard first and push its text to the ring if
necessary, before they perform their own killing. This may be a
more intelligent approach than running a timer.






  reply	other threads:[~2009-09-13 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-13 16:59 Adding clipboard content to the kill ring automatically (Windows) PT
2009-09-13 17:23 ` Eli Zaretskii
2009-09-13 17:48   ` PT
2009-09-13 18:33     ` Andreas Politz
2009-09-13 19:27       ` PT [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090913T212040-920@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.
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.