From: Alex <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28658@debbugs.gnu.org
Subject: bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position
Date: Thu, 05 Oct 2017 18:03:31 -0600 [thread overview]
Message-ID: <877ew9xhv0.fsf@gmail.com> (raw)
In-Reply-To: <83y3opx3xe.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Oct 2017 13:52:13 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> P.S. Why is the error prefixed by `xterm-mouse-translate-1' instead of
>> `xterm-mouse-event'?
>
> Can you show the full backtrace?
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
xterm-mouse-event(1006)
xterm-mouse-translate-1(1006)
xterm-mouse-translate-extended(nil)
So the backtrace acknowledges xterm-mouse-event is the culprit, but
without `debug-on-error' set the error message blames
xterm-mouse-translate-1.
If I don't use the bytecode versions of the procedures, though, then the
error message becomes:
setq: Wrong type argument: number-or-marker-p, nil
which is better, but I believe it should message:
1+: Wrong type argument: number-or-marker-p, nil
Which is what the debugger shows if I don't use the bytecode versions:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
1+(nil)
(setq click-count (1+ click-count))
...
xterm-mouse-event(1006)
(let* ((event (xterm-mouse-event extension)) (ev-command (nth 0 event)) (ev-data (nth 1 event)) (ev-where (nth 1 ev-$
(save-excursion (let* ((event (xterm-mouse-event extension)) (ev-command (nth 0 event)) (ev-data (nth 1 event)) (ev-$
xterm-mouse-translate-1(1006)
xterm-mouse-translate-extended(nil)
next prev parent reply other threads:[~2017-10-06 0:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-30 22:06 bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position Alex
2017-10-01 3:56 ` Alex
2017-10-01 8:23 ` martin rudalics
2017-10-01 18:30 ` Alex
2017-10-05 10:52 ` Eli Zaretskii
2017-10-05 10:52 ` Eli Zaretskii
2017-10-06 0:03 ` Alex [this message]
2017-10-06 7:44 ` Eli Zaretskii
2017-10-09 2:37 ` Alex
2017-10-09 7:11 ` Eli Zaretskii
2017-10-05 10:36 ` Eli Zaretskii
2017-10-06 0:14 ` Alex
2017-10-06 7:14 ` Eli Zaretskii
2017-10-07 21:57 ` Alex
2017-10-08 7:42 ` Eli Zaretskii
2017-10-08 23:44 ` Alex
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=877ew9xhv0.fsf@gmail.com \
--to=agrambot@gmail.com \
--cc=28658@debbugs.gnu.org \
--cc=eliz@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.