From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't use the X clipboard Date: 13 Jan 2004 08:48:03 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040111002614.GM6119@luna.mooo.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073976819 29935 80.91.224.253 (13 Jan 2004 06:53:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2004 06:53:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 07:53:36 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 1AgIQh-0004xw-00 for ; Tue, 13 Jan 2004 07:53:36 +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 1AgINx-0008He-M8 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2004 01:50:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgINF-0008FL-4W for help-gnu-emacs@gnu.org; Tue, 13 Jan 2004 01:50:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AgIMa-00086l-LL for help-gnu-emacs@gnu.org; Tue, 13 Jan 2004 01:49:54 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AgIJg-0007Nv-T3 for help-gnu-emacs@gnu.org; Tue, 13 Jan 2004 01:46:21 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from LEE Sau Dan on 12 Jan 2004 18:59:26 +0100) 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:15972 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15972 > From: LEE Sau Dan > Newsgroups: gnu.emacs.help > Date: 12 Jan 2004 18:59:26 +0100 > > Select text > in xterm, and C-y in Emacs (or middle-click) while seeing the text > still highlighted in xterm. Emacs pastes from the king-ring, not the > selection. With the text still highlighted in xterm, middle-click on > other apps and they all get the highlighted text from the xterm. > > Worse yet, this behaviour is quite random (to me). Sometimes, C-y > does paste from a selection (form whatever other X-clients). > Sometimes, it just pastes from the kill-ring, as if there were not > selections at all. I still haven't figured out the rules of when > Emacs behaves one way and when the other. So, to me it's "random". Someone needs to debug this. I don't think I've ever seen that on any of the machines I work on. The only issue that comes to mind is that of non-ASCII characters in the X selection: perhaps some of the other applications encode selected text in a way that Emacs doesn't understand/support, or use some X selection type that Emacs didn't support (or still doesn't; you didn't say which version you are using). In any case, if this randomness is the kind of problems the OP was dealing with (I kinda understood that in the OP's case, Emacs _never_ took text from the X selection), the proper place to report and discuss it is on gnu.emacs.bug or emacs-pretest-bug@gnu.org (the latter for the CVS versions), not here.