From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.bugs Subject: Pasting X selection fails Date: 24 Dec 2002 21:13:29 -0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86znqufzpi.fsf@kronstadt.homeunix.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040793239 12298 80.91.224.249 (25 Dec 2002 05:13:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Dec 2002 05:13:59 +0000 (UTC) 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 18R3rh-0003CC-00 for ; Wed, 25 Dec 2002 06:13:57 +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 18R3rW-0002c8-06 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 25 Dec 2002 00:13:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18R3rP-0002aF-00 for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2002 00:13:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18R3rL-0002Wh-00 for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2002 00:13:38 -0500 Original-Received: from mail16.speakeasy.net ([216.254.0.216] helo=mail.speakeasy.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18R3rL-0002Q0-00 for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2002 00:13:35 -0500 Original-Received: (qmail 25178 invoked from network); 25 Dec 2002 05:13:46 -0000 Original-Received: from unknown (HELO kronstadt.homeunix.net) ([64.81.49.223]) (envelope-sender )encrypted SMTP for ; 25 Dec 2002 05:13:46 -0000 Original-Received: from itz by kronstadt.homeunix.net with local (Exim 3.35 #1 (Debian)) id 18R3rF-0003Fk-00 for ; Tue, 24 Dec 2002 21:13:29 -0800 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 81 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:4101 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4101 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit) of 2002-12-17 on kronstadt, modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-toolkit-scroll-bars --without-gif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 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. What is interesting is that when I do C-w (killing the yanked kill again) and then reselect the text in the other X program, it works. Some environment data that might be useful: - emacs is compiled with Athena toolkit - XFree86 4.1.0 - sawfish 1.0.1.20020116 - no desktop environment This happens in Emacs 20.7 as well: see http://bugs.debian.org/157227 for my original report. Recent input: C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-h i m e m a c s n n C-u M-> M-> C-r z i m m e r C-r C-r C-x o M-> M-< C-x o h q q M-x r e p o r t Recent messages: Fetching headers for gnu.emacs.help...done Scoring...done Mark set [2 times] Mark saved where search started Mark set [2 times] Loading browse-url...done Saving /home/itz/.newsrc.eld... Wrote /home/itz/.newsrc.eld Saving /home/itz/.newsrc.eld...done Loading emacsbug...done -- Ian Zimmerman, Oakland, California, U.S.A. if (sizeof(signed) > sizeof(unsigned) + 4) { delete this; } GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087