all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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:16:49 +0200	[thread overview]
Message-ID: <20040114071649.GD475@luna.mooo.com> (raw)
In-Reply-To: <m3n08sdpct.fsf@mika.informatik.uni-freiburg.de>

On Tue, Jan 13, 2004 at 01:06:58PM +0100, LEE Sau Dan wrote:
> >>>>> "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.
> 

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
> 

  parent reply	other threads:[~2004-01-14  7:16 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
2004-01-14 13:33               ` Eli Zaretskii
2004-01-14  7:16           ` Micha Feigin [this message]
     [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

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

  git send-email \
    --in-reply-to=20040114071649.GD475@luna.mooo.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.