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:59:24 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040114075924.GA5251@pc-math-vis1> 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 1074067266 19494 80.91.224.253 (14 Jan 2004 08:01:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2004 08:01:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 09:01: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 1AgfxW-0002uA-00 for ; Wed, 14 Jan 2004 09:01: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 1Agfx1-0004JT-80 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2004 03:00:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgfwR-0004JN-Nj for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 02:59:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Agfvv-0004Ek-4d for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 02:59:54 -0500 Original-Received: from [132.66.16.11] (helo=post.tau.ac.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Agfvu-0004E8-Hv for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 02:59:22 -0500 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by post.tau.ac.il (Postfix) with ESMTP id 16C3447DEB for ; Wed, 14 Jan 2004 09:59:20 +0200 (IST) Original-Received: from post.tau.ac.il (localhost.localdomain [127.0.0.1]) by localhost.localdomain (VaMailArmor-2.0.1.16) id 11353-26D0CE06; Wed, 14 Jan 2004 09:59:20 +0200 Original-Received: from pc-math-vis1 (pc-math-vis1.tau.ac.il [132.66.40.166]) by post.tau.ac.il (Postfix) with ESMTP id 031FB47DF1 for ; Wed, 14 Jan 2004 09:59:20 +0200 (IST) Original-Received: from micha by pc-math-vis1 with local (Exim 4.30) id 1Agfvx-0001Mt-0t for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 09:59:25 +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.30; 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:16020 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16020 On Wed, Jan 14, 2004 at 08:37:26AM +0200, Eli Zaretskii wrote: > > From: LEE Sau Dan > > Newsgroups: gnu.emacs.help > > Date: 13 Jan 2004 13:06:58 +0100 > > > > 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? > > You can get help debugging Emacs on emacs-devel list. The file > etc/DEBUG, which is a part of the distribution, should get you > started. > > The code in Emacs that deals with X selections is in xselect.c. > > > (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!) > Off topic, but you want something confusing, trying running gdb inside gdb while its debugging gcc. BTW IIRC it was compiling gdb at the time ;-) > I've done that many times. IMHO, there's no confusion because one > Emacs is in the GUD mode, which has some special features in its > display. > > > I'm not sure if ltrace can show the Xlib calls, though. > > I doubt that. And debugging with ltrace or similar tools is not a > very efficient method, anyway, compared to stepping with GDB thru the > source code. IMHO, ltrace is for the software to which you don't have > the sources. > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs