From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: PRIMARY selection doesn't work Date: Sat, 20 Apr 2002 09:27:24 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204181643.MAA27361@sbcs.cs.sunysb.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019309444 9541 127.0.0.1 (20 Apr 2002 13:30:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 20 Apr 2002 13:30:44 +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 16yuwu-0002Tm-00 for ; Sat, 20 Apr 2002 15:30:44 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yvGl-0006rk-00 for ; Sat, 20 Apr 2002 15:51:15 +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 16yuwT-0006ZB-00; Sat, 20 Apr 2002 09:30:17 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 3.34 #1 (Debian)) id 16yutg-0006PC-00; Sat, 20 Apr 2002 09:27:24 -0400 Original-To: kifer@cs.sunysb.edu In-Reply-To: <200204181643.MAA27361@sbcs.cs.sunysb.edu> (kifer@cs.sunysb.edu) 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:2837 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2837 > From: kifer@cs.sunysb.edu (Michael Kifer) > Date: Thu, 18 Apr 2002 12:43:48 -0400 > > 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. Weird... Do you see any change in behavior if you change the value of selection-coding-system? For example, what happens if you type "C-x RET x latin-1 RET" and then mark a region of pure ASCII characters and type "M-w"--can you paste that text into other applications? Please also try with "C-x RET x compound-text RET".