Subject: bug#17378: 24.3.1: xterm-mouse-event: Wrong type argument: wholenump, -6

From: Eli Zaretskii <[email-masked]>
Date: Mon, 05 May 2014 21:43:20 +0300

> From: Stefan Monnier <[email-masked]>
> Date: Mon, 05 May 2014 14:20:56 -0400
> Cc: [email-masked]
> 
> > Debugger entered--Lisp error: (wrong-type-argument wholenump -6)
> [..full backtrace..]
> 
> Thanks.  So this seems to be a different bug from the last one: not only
> the error signaled is different, but the backtrace is fairly different
> as well.

This was the original error reported by the OP, see the Subject line.

I wonder how come xterm-mouse--read-event-sequence-1000 returns a
negative X coordinate of the mouse click.