From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Micha Feigin Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't use the X clipboard Date: Wed, 14 Jan 2004 09:16:49 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040114071649.GD475@luna.mooo.com> 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=us-ascii X-Trace: sea.gmane.org 1074121028 23802 80.91.224.253 (14 Jan 2004 22:57:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2004 22:57:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 23:57:02 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 1Agtwc-0000CZ-00 for ; Wed, 14 Jan 2004 23:57:02 +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 1AgtDb-0003sp-52 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2004 17:10:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgtCq-0003ql-Ch for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 17:09:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AgqOC-0007I8-SZ for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 14:09:48 -0500 Original-Received: from [132.66.16.11] (helo=post.tau.ac.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AgqG8-0005TS-KZ for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 14:00:56 -0500 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by post.tau.ac.il (Postfix) with ESMTP id ADD9D47F1B for ; Wed, 14 Jan 2004 21:00:54 +0200 (IST) Original-Received: from post.tau.ac.il (localhost.localdomain [127.0.0.1]) by localhost.localdomain (VaMailArmor-2.0.1.16) id 27566-4F31A647; Wed, 14 Jan 2004 21:00:54 +0200 Original-Received: from litshi.luna.local (bzq-218-79-194.red.bezeqint.net [81.218.79.194]) by post.tau.ac.il (Postfix) with ESMTP id 510D347F1B for ; Wed, 14 Jan 2004 21:00:54 +0200 (IST) Original-Received: from micha by litshi.luna.local with local (Exim 4.30) id 1AgfH4-0002WW-Cc for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 09:17:10 +0200 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.23.0.2; VDF: 6.23.0.31; host: localhost) 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:16043 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16043 On Tue, Jan 13, 2004 at 01:06:58PM +0100, LEE Sau Dan wrote: > >>>>> "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. > 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 >