all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Yank from system clipboard?
Date: Thu, 5 Aug 2010 08:49:58 -0700 (PDT)	[thread overview]
Message-ID: <0c1d5208-b4c8-429f-a21b-2d01aa6ed3c1@d17g2000yqb.googlegroups.com> (raw)
In-Reply-To: i3ejlj$1vf$1@news.onet.pl

On Aug 5, 3:00 pm, Marc Mientki <mien...@nonet.com> wrote:
> I have probably not understand the task. What you want to do? Mark
> something outside of Emacs, copy (CTRL-C) and yank (paste) it in
> Emacs buffer? But what means "non-interactively yank".

I want to select text outside of Emacs and then, by means of Emacs
client, I want to tell Emacs to grab it and insert it into a buffer.
Since it's throw-away text, I don't want to mess with files, so I have
thought the clipboard would do. However, selected text could also be
empty, that is, the clipboard will be empty. And here I'm stuck,
because whenever the clipboard is empty, (clipboard-yank) yanks the
last kill. (current-kill 0) does not change this (at least here: Emacs
23.1.1 + Windows XP).

Wait! I've thought about a workaround: telling Emacs beforehand
whether the clipboard is empty or not.

However, I'm still curious about why Emacs doesn't allow me to access
the system clipboard directly.

Thanks for your attention.


  reply	other threads:[~2010-08-05 15:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 10:25 Yank from system clipboard? Elena
2010-08-05 11:18 ` Marc Mientki
2010-08-05 11:36   ` Elena
2010-08-05 15:00     ` Marc Mientki
2010-08-05 15:49       ` Elena [this message]
2010-08-05 13:15 ` Elena

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=0c1d5208-b4c8-429f-a21b-2d01aa6ed3c1@d17g2000yqb.googlegroups.com \
    --to=egarrulo@gmail.com \
    --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.