all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Bloggs <who@cares.invalid>
To: help-gnu-emacs@gnu.org
Subject: first copy & paste not working
Date: Fri, 02 May 2008 02:35:12 +0100	[thread overview]
Message-ID: <87ej8lzdwv.fsf@DEBLAP1.BeNet> (raw)

I have the following lines my .emacs file for supporting cut & paste between applications:

(mouse-sel-mode 1)
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

However, after starting emacs, the first cut/copy from within emacs is not recognized. In other words, the first time I do a yank, it pastes whatever I last copied outside emacs, even if I just did a cut/copy within emacs. I can only yank my emacs text if I repeat the emacs cut/copy, othewise it just keeps yanking the external text.
Can anyone help?


             reply	other threads:[~2008-05-02  1:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02  1:35 Joe Bloggs [this message]
2008-05-02 14:09 ` first copy & paste not working Joel J. Adamson
2008-05-02 17:31 ` Mike Treseler
2008-05-02 21:44   ` Peter Dyballa
     [not found] ` <mailman.11085.1209737396.18990.help-gnu-emacs@gnu.org>
2008-05-02 18:45   ` Joe Bloggs
2008-05-05 14:06     ` Joel J. Adamson
     [not found]     ` <mailman.11202.1209996421.18990.help-gnu-emacs@gnu.org>
2008-05-05 14:27       ` Rupert Swarbrick
2008-05-05 17:09         ` Joel J. Adamson
     [not found]         ` <mailman.11208.1210007351.18990.help-gnu-emacs@gnu.org>
2008-05-05 17:18           ` Rupert Swarbrick
2008-05-06 12:42             ` Joe Bloggs
2008-05-07  5:15               ` Kevin Rodgers

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=87ej8lzdwv.fsf@DEBLAP1.BeNet \
    --to=who@cares.invalid \
    --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.