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: LEE Sau Dan
Subject: Re: emacs doesn't use the X clipboard
Date: 13 Jan 2004 13:06:58 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "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.


-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee


reply via email to

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