From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: LEE Sau Dan Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't use the X clipboard Date: 13 Jan 2004 13:06:58 +0100 Organization: Rechenzentrum der Universitaet Freiburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040111002614.GM6119@luna.mooo.com> <87fzekv3xc.fsf@newsguy.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-7 X-Trace: sea.gmane.org 1074011036 3634 80.91.224.253 (13 Jan 2004 16:23:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2004 16:23:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 17:23:46 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgRKS-0005nX-00 for ; Tue, 13 Jan 2004 17:23:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AgQmD-0005N8-KS for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2004 10:48:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-freiburg.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: savona.informatik.uni-freiburg.de User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:120045 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15990 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15990 >>>>> "Ian" == Ian Zimmerman 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 +Z05biGVm-(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee