all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <grfz@gmx.de>
To: 17776@debbugs.gnu.org
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	[thread overview]
Message-ID: <871turzxj3.fsf@boo.workgroup> (raw)

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 <monnier@iro.umontreal.ca>
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)





             reply	other threads:[~2014-06-14  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14  8:49 Gregor Zattler [this message]
2014-06-14 21:28 ` bug#17776: 24.3; bug? regression: xterm-mouse-mode does not work any more with rxvt-unicode Stefan Monnier
2014-06-14 23:37   ` Gregor Zattler
2014-06-15  2:27     ` Stefan Monnier
2014-06-18 22:03       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871turzxj3.fsf@boo.workgroup \
    --to=grfz@gmx.de \
    --cc=17776@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.