all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: how to get subsequent text copies to emacs kill ring?
Date: Thu, 16 May 2013 20:22:04 -0400	[thread overview]
Message-ID: <jwvobcabgq5.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 2D114A341A214863AF76E9C5CC2D145B@us.oracle.com

> 6. To change the subject a bit, I find that what annoys me the most is not an
> inability to access multiple external clipboard items from Emacs, but an
> inability to access the latest external clipboard item after I have copied
> something else (from Emacs) onto the kill ring.  IOW, if you want to yank the
> externally copied text then you must do so immediately.

FWIW, I use a local patch which does just that (i.e. when you kill
something, Emacs first checks if there's something on the external
clipboard, and if there is, it adds it to the kill-ring just before the
thing you kill).

The main downside is that copying the content of the clipboard from some
external application can occasionally take a while, so the code needs to
be careful to timeout sufficiently quickly, and even so, the small delay
can occasionally be annoying.


        Stefan




  reply	other threads:[~2013-05-17  0:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 14:59 how to get subsequent text copies to emacs kill ring? Paul K
2013-05-16 15:05 ` Peter Dyballa
     [not found] ` <mailman.25922.1368716751.855.help-gnu-emacs@gnu.org>
2013-05-16 19:18   ` Michael Heerdegen
2013-05-16 20:16     ` Drew Adams
2013-05-17  0:22       ` Stefan Monnier [this message]
2013-05-17  1:38         ` Samuel Wales
2013-05-17  5:00           ` Drew Adams
     [not found]     ` <mailman.25948.1368735385.855.help-gnu-emacs@gnu.org>
2013-05-16 23:06       ` Joost Kremers

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=jwvobcabgq5.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.