From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#17776: 24.3; bug? regression: xterm-mouse-mode does not work any more with rxvt-unicode Date: Sat, 14 Jun 2014 10:49:04 +0200 Message-ID: <871turzxj3.fsf@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402735828 10881 80.91.229.3 (14 Jun 2014 08:50:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2014 08:50:28 +0000 (UTC) To: 17776@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 10:50:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvjfI-0003YR-NA for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 10:50:20 +0200 Original-Received: from localhost ([::1]:34623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvjfH-00009l-UL for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 04:50:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvjf8-00008i-Oq for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:50:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wvjf2-0005Vd-0f for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:50:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvjf1-0005VM-Tm for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wvjf1-0004E6-8o for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jun 2014 08:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17776 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140273578016206 (code B ref -1); Sat, 14 Jun 2014 08:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2014 08:49:40 +0000 Original-Received: from localhost ([127.0.0.1]:47182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvjed-0004DI-Qf for submit@debbugs.gnu.org; Sat, 14 Jun 2014 04:49:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvjeZ-0004D2-LT for submit@debbugs.gnu.org; Sat, 14 Jun 2014 04:49:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvjeN-0005NA-EP for submit@debbugs.gnu.org; Sat, 14 Jun 2014 04:49:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvjeN-0005Mv-Bf for submit@debbugs.gnu.org; Sat, 14 Jun 2014 04:49:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvjeH-0008Qg-D2 for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:49:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvjeB-0005LY-Fc for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:49:17 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:55118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvjeB-0005KJ-6D for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 04:49:11 -0400 Original-Received: from boo.workgroup ([87.185.178.113]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MC4y8-1X4ZLm09b6-008qgm for ; Sat, 14 Jun 2014 10:49:06 +0200 Original-Received: from grfz by boo.workgroup with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Wvje4-0001qb-Kr for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 10:49:04 +0200 X-Provags-ID: V03:K0:b+dae1tAd8Fp6DXT/HWt0R90CzzggxkZENWfkkUQ0H3gzFVHNLb TP+KeEcCDksYlxNKDrLqtfA2NGPMWxXOQIsOABysLK+xCCWKiEOfiGXusxhsuvVoXKxxSo1 t2nfnAR2c+MYbtjFyl8+yyMrBwvIrP7HdJ5nzgQa9pgDgoq6+0uGQfkkLPE7YOoP1v5HOYC 109/bsWIZiS/HI1/FruGw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90368 Archived-At: xterm-mouse-mode used to work under rxvt-unicode but does not any more. I'm not sure who ist to blame (emacs or rxvt-unicode). How to reproduce: start emacs like so: urxvt -e emacs-snapshot -Q -nw --eval '(progn (xterm-mouse-mode 1)(switch-to-buffer "*Messages*")(toggle-debug-on-error))' then klick in the one window. You'll see a backtrace etc. I see: - in *Messages* Entering debugger... [ is undefined M is undefined # is undefined @ is undefined - backtrace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) intern(nil) xterm-mouse--read-event-sequence-1000() xterm-mouse-event(nil) xterm-mouse-translate-1() xterm-mouse-translate(nil) This happens with rxvt-unicode (urxvt) v9.20 - released: 2014-04-26 options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm I git-bisected this: da26b804bfee2a137e999bb03c736bf85dd3bf5a is the first bad commit commit da26b804bfee2a137e999bb03c736bf85dd3bf5a Author: Stefan Monnier Date: Wed May 7 21:46:15 2014 -0400 * lisp/xt-mouse.el: Drop spurious/oddly shaped events. (xterm-mouse--read-event-sequence-1000): Return nil if something looks fishy. (xterm-mouse-event): Propagate it. (xterm-mouse-translate-1): Handle it. :040000 040000 bfe3c645c9b390c2bca2aa5b114ec10594142782 42a69b7988a9f3bc90a86a26401b5036ac41f876 M lisp HTH, thanks for your attention, Gregor In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-05-16 on babin, modified by Debian System Description: Debian GNU/Linux testing (jessie) Configured using: `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: de_DE.utf8 value of $LC_CTYPE: de_DE.utf8 value of $LC_MESSAGES: POSIX value of $LC_MONETARY: de_DE.utf8 value of $LC_NUMERIC: de_DE.utf8 value of $LC_TIME: de_DE.utf8 value of $LANG: de_DE.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x r e p o r t - e m a TAB RET Recent messages: ("emacs24") Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs)