unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Micha Feigin <michf@post.tau.ac.il>
Subject: Re: emacs doesn't use the X clipboard
Date: Wed, 14 Jan 2004 09:59:24 +0200	[thread overview]
Message-ID: <20040114075924.GA5251@pc-math-vis1> (raw)
In-Reply-To: <uu12zox21.fsf@elta.co.il>

On Wed, Jan 14, 2004 at 08:37:26AM +0200, Eli Zaretskii wrote:
> > From: LEE Sau Dan <danlee@informatik.uni-freiburg.de>
> > 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

  reply	other threads:[~2004-01-14  7:59 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11  0:26 emacs doesn't use the X clipboard Micha Feigin
2004-01-11  5:46 ` Eli Zaretskii
     [not found] ` <mailman.387.1073803639.928.help-gnu-emacs@gnu.org>
2004-01-12 17:59   ` LEE Sau Dan
2004-01-13  0:18     ` Carsten Weinberg
     [not found]     ` <mailman.495.1073964322.928.help-gnu-emacs@gnu.org>
2004-01-13  5:00       ` Ian Zimmerman
2004-01-13 12:06         ` LEE Sau Dan
2004-01-13 18:35           ` Carsten Weinberg
2004-01-14  6:37           ` Eli Zaretskii
2004-01-14  7:59             ` Micha Feigin [this message]
2004-01-14 13:33               ` Eli Zaretskii
2004-01-14  7:16           ` Micha Feigin
     [not found]           ` <mailman.606.1074062176.928.help-gnu-emacs@gnu.org>
2004-01-14 21:40             ` LEE Sau Dan
2004-01-17 18:41               ` Eli Zaretskii
     [not found]           ` <mailman.665.1074118187.928.help-gnu-emacs@gnu.org>
2004-01-15 12:49             ` Kester Clegg
2004-01-22 21:29               ` Jeff
2004-01-13 11:23       ` Jens Schmidt
2004-01-13 12:22         ` LEE Sau Dan
2004-01-15 12:51           ` Kester Clegg
2004-01-15 21:44             ` LEE Sau Dan
2004-01-18 23:54               ` Ian Zimmerman
2004-01-15 16:26           ` Jens Schmidt
2004-01-13 14:38         ` Tim McNamara
2004-01-13 22:19           ` LEE Sau Dan
2004-01-13  6:48     ` Eli Zaretskii
     [not found]     ` <mailman.510.1073976607.928.help-gnu-emacs@gnu.org>
2004-01-13 12:28       ` LEE Sau Dan
2004-01-13 15:50         ` Maurizio Loreti
2004-01-13 18:13           ` Gian Uberto Lauri
2004-01-13 22:14           ` LEE Sau Dan
     [not found]           ` <mailman.545.1074017499.928.help-gnu-emacs@gnu.org>
2004-01-15 12:54             ` Kester Clegg
2004-01-15 21:56               ` LEE Sau Dan
2004-01-13 17:19         ` Eli Zaretskii
     [not found]         ` <mailman.542.1074014317.928.help-gnu-emacs@gnu.org>
2004-01-14 21:34           ` LEE Sau Dan
     [not found] <mailman.381.1073784888.928.help-gnu-emacs@gnu.org>
2004-01-11 13:02 ` Henrik Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040114075924.GA5251@pc-math-vis1 \
    --to=michf@post.tau.ac.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).