help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs doesn't use the X clipboard


From: Micha Feigin
Subject: Re: emacs doesn't use the X clipboard
Date: Wed, 14 Jan 2004 09:16:49 +0200
User-agent: Mutt/1.5.5.1+cvs20040105i

On Tue, Jan 13, 2004 at 01:06:58PM +0100, LEE Sau Dan wrote:
> >>>>> "Ian" == Ian Zimmerman <bayard@newsguy.com> writes:
> 
>     Carsten> Well, Lee you are right. I just experienced a lot of
>     Carsten> trouble copying text from gtk2-emacs to
>     Carsten> gtk2-mozilla-firebird and vice versa. Either via X
>     Carsten> selection or CUA-like key strokes. Sometimes it works,
>     Carsten> sometimes not.
> 
>     Ian> This has been discussed here at least twice before :-(
> 
>     Ian> I reported it to RMS, and he said "use gdb on Emacs".  Which
>     Ian> I won't, because recompiling Emacs on my laptop takes more
>     Ian> than an hour.
> 
> But how  would that help, if you're  not a C programmer  or you're not
> familiar with  Xlib, so that  you have no  idea of where to  put break
> points?
> 
> (BTW, it'd be  fun to run gdb under  Emacs, debugging another instance
> of Emacs.  I  hope one wouldn't be confused by  the two Emacses.  (-fg
> and -bg suddenly becomes invaluable!)
> 
> 
>     Ian> Maybe someone with more resources can follow this path and
>     Ian> finally get this fixed?
> 
> How about an  'ltrace'?  At least, it doesn't  require recompiling the
> binary.  I'm not sure if ltrace can show the Xlib calls, though.
> 
> 
>     Carsten> a good idea making emacs compatible to the gtk2 toolkit,
>     Carsten> and the gnome desktop environment.
> 
>     Ian> I don't get the connection here (how it would solve the
>     Ian> problem), and anyway if you mean make gtk2 (and _especially_
>     Ian> gnome) a dependency of Emacs, I am most definitely against.
> 
> Me  too.   But  Carsten  means  to make  Emacs's  cut&paste  mechanism
> *compatible* with  gtk2, kdelib,  etc.  (These libraries  emulates the
> "clipboard" paradigm on  top of X selections, providing  some (but not
> completely)  interoperability  with  clients  that only  understand  X
> selections.   I   don't  like  it  either.)    This  involves  setting
> interacting with the "CLIPBOARD" selection.  No need to use gtk2, etc.
> You can do that in Xlib.
> 

Someone suggested at the beginning of the thread to use
(setq x-select-enable-clipboard t)
>From the little testing I've done (haven't had to do much yet) it seems
to have solved the problem. Could other people seeing the same problem
try this and see if it helps ?
It could be that this is somehow set as a default behavior either
site-wide or at compile time ?

> 
> -- 
> Lee Sau Dan                     ?Z05biGVm-(Big5)                    
> ?{@nJX6X?}(HZ) 
> 
> E-mail: danlee@informatik.uni-freiburg.de
> Home page: http://www.informatik.uni-freiburg.de/?danlee
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 




reply via email to

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