[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first copy & paste not working

From: Mike Treseler
Subject: Re: first copy & paste not working
Date: Fri, 02 May 2008 10:31:16 -0700
User-agent: Thunderbird (X11/20060911)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]