From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs kill/copy under X versus under Windows
Date: Mon, 31 Aug 2009 19:28:13 +0300 [thread overview]
Message-ID: <83k50k9cde.fsf@gnu.org> (raw)
In-Reply-To: <4A9AAEB9.2000809@chaosphere.com>
> Date: Sun, 30 Aug 2009 12:54:17 -0400
> From: Jeff Clough <jeff@chaosphere.com>
>
> Under X, killing and yanking text with the "normal" commands (such as
> kill-line) only diddles the kill ring and doesn't touch the clipboard
> selection. Copying text in another application does not affect what you
> get when doing C-y in Emacs. C-y doesn't care about your clipboard
> selection at all and neither does C-k, etc. When you *do* care about
> such things, there are specific commands (like "Copy" from the menu)
> that let you do things.
>
> Under Windows, this isn't true at all. Whatever you last killed goes
> straight to the clipboard, and whatever you last copied in another
> application gets dumped into your buffer with a yank.
As Drew pointed out, this is a feature. Unlike X, which has primary
and secondary selection in addition the the clipboard, Windows has
only the clipboard. So on Windows Emacs uses the clipboard as the
primary selection would be used on X (well, almost, because the
semantics of the clipboard and the primary selection are different).
next prev parent reply other threads:[~2009-08-31 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-30 16:54 Emacs kill/copy under X versus under Windows Jeff Clough
2009-08-31 15:05 ` Drew Adams
2009-08-31 16:28 ` Jeff Clough
2009-08-31 16:28 ` Eli Zaretskii [this message]
[not found] <mailman.5696.1251714880.2239.help-gnu-emacs@gnu.org>
2009-08-31 20:33 ` John A Pershing Jr
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=83k50k9cde.fsf@gnu.org \
--to=eliz@gnu.org \
--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.