From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position Date: Fri, 06 Oct 2017 10:44:22 +0300 Message-ID: <831smgwwix.fsf@gnu.org> References: <87r2unyh79.fsf@gmail.com> <87zi9bwmet.fsf@gmail.com> <83y3opx3xe.fsf@gnu.org> <877ew9xhv0.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507275920 24612 195.159.176.226 (6 Oct 2017 07:45:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2017 07:45:20 +0000 (UTC) Cc: 28658@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 06 09:45:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0NJl-0005F3-J6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Oct 2017 09:45:09 +0200 Original-Received: from localhost ([::1]:43423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0NJt-0005zk-1T for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Oct 2017 03:45:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0NJh-0005v2-WC for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2017 03:45:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0NJe-0000Ao-Tg for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2017 03:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0NJe-0000Ai-Q0 for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2017 03:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0NJe-0004WW-Gp for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2017 03:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Oct 2017 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28658 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28658-submit@debbugs.gnu.org id=B28658.150727588317343 (code B ref 28658); Fri, 06 Oct 2017 07:45:02 +0000 Original-Received: (at 28658) by debbugs.gnu.org; 6 Oct 2017 07:44:43 +0000 Original-Received: from localhost ([127.0.0.1]:52094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0NJL-0004Ve-6u for submit@debbugs.gnu.org; Fri, 06 Oct 2017 03:44:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0NJI-0004VO-W7 for 28658@debbugs.gnu.org; Fri, 06 Oct 2017 03:44:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0NJA-0008PK-KP for 28658@debbugs.gnu.org; Fri, 06 Oct 2017 03:44:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0NJA-0008PF-GO; Fri, 06 Oct 2017 03:44:32 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4466 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0NJ9-0007bT-8e; Fri, 06 Oct 2017 03:44:31 -0400 In-reply-to: <877ew9xhv0.fsf@gmail.com> (message from Alex on Thu, 05 Oct 2017 18:03:31 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:137998 Archived-At: > From: Alex > Cc: 28658@debbugs.gnu.org > Date: Thu, 05 Oct 2017 18:03:31 -0600 > > Eli Zaretskii 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 So this is something related to the byte compiler, I presume. Did you look at the byte code?