From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jens.Schmidt27@epost.de (Jens Schmidt) Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't use the X clipboard Date: 13 Jan 2004 03:23:42 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <958686cf.0401130323.64afc317@posting.google.com> References: <20040111002614.GM6119@luna.mooo.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1073994812 30130 80.91.224.253 (13 Jan 2004 11:53:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2004 11:53:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 12:53:28 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 1AgN6u-0002sr-00 for ; Tue, 13 Jan 2004 12:53:28 +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 1AgMth-0008Gh-0p for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2004 06:39:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!postnews2.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 217.163.5.253 Original-X-Trace: posting.google.com 1073993023 8446 127.0.0.1 (13 Jan 2004 11:23:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 13 Jan 2004 11:23:43 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:120037 Original-To: help-gnu-emacs@gnu.org 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:15980 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15980 Carsten Weinberg writes: > > I do understand how the X selection mechanism works. I've even > > programmed it in C/Xlib. That does not stop Emacs from misbehaving, > > though. > > Well, Lee you are right. Same problems on my side: Mostly working on VNC-based X servers, a paste into Emacs sometimes works, sometimes not. I have isolated the problems a little bit, though. Here is the exact scenario and my findings: One Emacs is 21.1.1 NT Emacs, the other is 21.1.1 on Solaris running in a VNC session on NT. Window manager of the VNC session is fvwm2. Both Emacsen started with --no-init-file --no-site-file. The third window around is an xterm also running in the VNC session (most conveniently with a running cat > /dev/null). All text pasted around is ASCII only. 1. Paste from Solaris Emacs into NT Emacs or xterm always works fine. 2. Pasting between NT Emacs and xterm always works fine in both directions. 3. After a select in Solaris Emacs and a paste into NT Emacs, a paste into Solaris Emacs (regardless whether from xterm or NT Emacs) does not work any more. 4. After a select in Solaris Emacs, paste into xterm, immediate new select in xterm and paste back into Solaris Emacs, a paste into Solaris Emacs (regardless whether from xterm or NT Emacs) works again. 5. Setting `x-select-enable-clipboard' to t in Solaris Emacs disables the workaround under 4. Hope that helps. Would be interesting to know if the work-around works for the other posters, too. Then this could be almost called a bug report, I guess.