all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Jeff Clough'" <jeff@chaosphere.com>,
	"'GNU Emacs List'" <help-gnu-emacs@gnu.org>
Subject: RE: Emacs kill/copy under X versus under Windows
Date: Mon, 31 Aug 2009 08:05:23 -0700	[thread overview]
Message-ID: <9B4787B37DF44A0DB1D65DEDED351948@us.oracle.com> (raw)
In-Reply-To: <4A9AAEB9.2000809@chaosphere.com>

> Running 22.3 on both Windows and X, I notice a difference in 
> how Emacs interacts with the clipboard.
> 
> Under Windows...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.
...
> So we have different behavior between ports...

Yes, it is by design (a feature, not a bug).

> Is there some way to make Emacs on Windows behave itself and 
> ignore the clipboard unless told otherwise, just like under X?

C-h v  x-select-enable-clipboard

,----
| x-select-enable-clipboard's value is 
| t
| 
| Documentation:
| Non-nil means cutting and pasting uses the clipboard.
| This is in addition to the primary selection.
| 
| Defined in `term/w32-win'.
`----

This is non-nil on Windows because many users thought it was nutty that
out-of-the-box Emacs didn't work with other apps wrt copy/paste. You prefer that
it not do that, so set it to nil.





  reply	other threads:[~2009-08-31 15:05 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 [this message]
2009-08-31 16:28   ` Jeff Clough
2009-08-31 16:28 ` Eli Zaretskii
     [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=9B4787B37DF44A0DB1D65DEDED351948@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jeff@chaosphere.com \
    /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.