[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs kill/copy under X versus under Windows
From: |
John A Pershing Jr |
Subject: |
Re: Emacs kill/copy under X versus under Windows |
Date: |
Mon, 31 Aug 2009 16:33:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
Jeff Clough <jeff@chaosphere.com> writes:
> 1. Type a line of text in Emacs and do a kill-line on it. 2. Copy a
> different line of text from some other application. 3. Do a (car
> kill-ring) in emacs. See it display the text you typed from step #1.
> 4. Do a C-y in emacs, this dumps in the text from step #2. 5. Do (car
> kill-ring) again and see that the text from #2 has magically been added
> to the kill ring.
The reason for this is that Emacs doesn't check the Windoze clipboard
until you run the 'yank' function (actually, the function named by
'interprogram-paste-function', but that's a low-level detail), so the
kill ring won't show the contents of the clipboard until you actually
yank it into the buffer.
-jp