From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kifer@cs.sunysb.edu (Michael Kifer) Newsgroups: gmane.emacs.devel Subject: Re: PRIMARY selection doesn't work Date: Thu, 18 Apr 2002 12:43:48 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200204181643.MAA27361@sbcs.cs.sunysb.edu> References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019148596 11153 127.0.0.1 (18 Apr 2002 16:49:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2002 16:49:56 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16yF6a-0002tm-00 for ; Thu, 18 Apr 2002 18:49:56 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yFPq-0005oo-00 for ; Thu, 18 Apr 2002 19:09:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yF51-00027R-00; Thu, 18 Apr 2002 12:48:19 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yF4Y-00024i-00 for ; Thu, 18 Apr 2002 12:47:50 -0400 Original-Received: from sbkifer (sbkifer [130.245.1.35]) by sbcs.cs.sunysb.edu (8.9.3/8.9.3) with SMTP id MAA27361; Thu, 18 Apr 2002 12:43:47 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: "Eli Zaretskii" of Thu, 18 Apr 2002 09:48:43 +0300 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2741 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2741 >>>>> "EZ" == Eli Zaretskii writes: EZ> On Fri, 12 Apr 2002, Michael Kifer wrote: >> > Please tell what happens when you try both calling >> > x-get-selection-internal and pasting into xterm. Do you get garbage >> > or nothing at all? >> >> Nothing gets pasted. >> >> > Also, can you recall when was the previous time you resynced with the >> > CVS? (I'm trying to figure out what changes could have caused this.) >> >> I think about 2-3 weeks ago. EZ> I cannot spot any change in the logs that could affect this. I'm EZ> probably missing something. Unfortunately, I also don't have access to a EZ> system with both X and the CVS version of Emacs. EZ> Does this still happen with the current CVS? If it does, could you EZ> please see what does (x-selection-exists-p 'PRIMARY) return? Yes, it does. (x-selection-exists-p 'PRIMARY) returns t and (x-get-selection-internal 'PRIMARY 'STRING) returns the text of the primary selection. However, nothing gets pasted. EZ> Also, does EZ> x_handle_selection_request (defined on xselect.c) get called when you EZ> paste into another X application, and if so, could you step with a debugger EZ> through it and see what happens inside x_handle_selection_request and its EZ> subroutines that prevents pasting from working? The above function gets called, but unfortunately I am not familiar with this code and with the internals of X. When I step through this function I occasionally get a coredump in random places or it hangs in 2616 c = kbd_buffer_get_event (&kb, used_mouse_menu); in keyboard.c Otherwise -- nothing suspicious :-) If I just let it continue without stepping then it doesn't hang or coredump, but doesn't paste either. mk