From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: Pasting X selection fails Date: Thu, 26 Dec 2002 02:50:21 -0500 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <86znqufzpi.fsf@kronstadt.homeunix.net> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040889196 23034 80.91.224.249 (26 Dec 2002 07:53:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2002 07:53:16 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18RSpO-0005zO-00 for ; Thu, 26 Dec 2002 08:53:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18RSp7-0002Zt-07 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 26 Dec 2002 02:52:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18RSok-0002TX-00 for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2002 02:52:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18RSoR-0001vz-00 for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2002 02:52:20 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18RSmh-0000fh-00 for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2002 02:50:27 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18RSmb-0002CR-00; Thu, 26 Dec 2002 02:50:21 -0500 Original-To: itz@speakeasy.org In-reply-to: <86znqufzpi.fsf@kronstadt.homeunix.net> (message from Ian Zimmerman on 24 Dec 2002 21:13:29 -0800) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4102 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4102 Sometimes when I select a piece of text in another program (xterm or tkman or mozilla are examples, but it seems it can happen with any program) I am unable to paste the selection into emacs. Instead, doing the "yank" command in emacs always pastes emacs' last "kill". When I do "Alt-: (x-get-selection-internal 'PRIMARY 'STRING)" the result is also emacs' last kill, even though I just selected something in xterm a second before that. Can you provide a test case for reproducing this? Alternatively, can you debug what happens inside Fx_get_selection_internal in the C code? What Xlib calls does it do, and what answers do they get?