all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs kill/copy under X versus under Windows
Date: Mon, 31 Aug 2009 16:33:03 -0400	[thread overview]
Message-ID: <82ljkzbu68.fsf@alum.mit.edu> (raw)
In-Reply-To: mailman.5696.1251714880.2239.help-gnu-emacs@gnu.org

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


       reply	other threads:[~2009-08-31 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5696.1251714880.2239.help-gnu-emacs@gnu.org>
2009-08-31 20:33 ` John A Pershing Jr [this message]
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

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=82ljkzbu68.fsf@alum.mit.edu \
    --to=pershing@alum.mit.edu \
    --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.