From: LEE Sau Dan <danlee@informatik.uni-freiburg.de>
Subject: Re: emacs doesn't use the X clipboard
Date: 13 Jan 2004 13:06:58 +0100 [thread overview]
Message-ID: <m3n08sdpct.fsf@mika.informatik.uni-freiburg.de> (raw)
In-Reply-To: 87fzekv3xc.fsf@newsguy.com
>>>>> "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
next prev parent reply other threads:[~2004-01-13 12:06 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
2004-01-13 6:48 ` Eli Zaretskii
[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 [this message]
2004-01-13 18:35 ` Carsten Weinberg
2004-01-14 6:37 ` Eli Zaretskii
2004-01-14 7:59 ` Micha Feigin
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
[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=m3n08sdpct.fsf@mika.informatik.uni-freiburg.de \
--to=danlee@informatik.uni-freiburg.de \
/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).