From: Dan Bensen <randomgeek@cyberspace.net>
Subject: Re: Ctrl-Y is pasting from the clipboard
Date: Thu, 21 Dec 2006 23:26:14 -0600 [thread overview]
Message-ID: <emfq2p$2rj$1@wildfire.prairienet.org> (raw)
In-Reply-To: <pco1wmwmcyy.fsf@shuttle.math.ntnu.no>
> | I can copy text from Firefox or a pdf file and paste it into emacs
> | with either Ctrl-y or Ctrl-x c y. I thought the emacs kill ring was
> | different from the X clipboard.
Harald Hanche-Olsen wrote:
> window) you will find that yank calls current-kill to get what it is
> yanking, and current-kill in its turn will funcall
> interprogram-paste-function, which is a variable that typically (on X)
> has the value x-cut-buffer-or-selection-value. And that function is
> described as follows in x-win.el:
> ;;; Return the value of the current X selection.
> In summary, if you set interprogram-paste-function to nil then I think
> you have completely severed the connection between the kill ring and
> the X selection, and then you will always have to make a conscious
> choice between the two. But that seems to be what you want.
Just to be clear, I don't particularly care. I'm mostly just wondering
why the behavior mysteriously changed. But your answer sounds like they
should have been the same all along. They weren't. At first, Ctrl-y
wasn't copying from X. That's the whole reason I started using the
other functions in the first place. It sounds like maybe something
changed interprogram-paste-function.
--
Dan
www.prairienet.org/~dsb
next prev parent reply other threads:[~2006-12-22 5:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 18:16 Ctrl-Y is pasting from the clipboard Dan Bensen
2006-12-18 18:51 ` Harald Hanche-Olsen
2006-12-19 5:52 ` Dan Bensen
2006-12-19 9:50 ` Harald Hanche-Olsen
2006-12-22 5:26 ` Dan Bensen [this message]
2006-12-19 11:16 ` Johan Bockgård
2006-12-22 5:37 ` Dan Bensen
2006-12-22 13:00 ` Dieter Wilhelm
[not found] ` <mailman.2217.1166792441.2155.help-gnu-emacs@gnu.org>
2006-12-22 14:46 ` Dan Bensen
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='emfq2p$2rj$1@wildfire.prairienet.org' \
--to=randomgeek@cyberspace.net \
/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.