unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mike Treseler <mike_treseler@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: Re: first copy & paste not working
Date: Fri, 02 May 2008 10:31:16 -0700	[thread overview]
Message-ID: <6811f5F2qmefcU1@mid.individual.net> (raw)
In-Reply-To: <87ej8lzdwv.fsf@DEBLAP1.BeNet>

Joe Bloggs wrote:
> 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)

I don't set these, but happen to have
t, nil, nil
as values right now.

> 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?

I don't have this problem, but every once in a while,
I will have the opposite problem where my center
mouse button will paste an old emacs kill instead
of the text I just marked in some other X-app.

My work around is to bring up gedit and mark
some text and center button it into emacs.
For some reason, this clears the problem, and
my X-mouse cut/paste into emacs will work again.

I am using 21.3.1, but will be upgrading
soon to whatever SUSE 10.1 has.

         -- Mike Treseler


  parent reply	other threads:[~2008-05-02 17:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02  1:35 first copy & paste not working Joe Bloggs
2008-05-02 14:09 ` Joel J. Adamson
2008-05-02 17:31 ` Mike Treseler [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6811f5F2qmefcU1@mid.individual.net \
    --to=mike_treseler@comcast.net \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).