From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17776: 24.3; bug? regression: xterm-mouse-mode does not work any more with rxvt-unicode Date: Wed, 18 Jun 2014 18:03:31 -0400 Message-ID: References: <871turzxj3.fsf@boo.workgroup> <20140614233724.GA3488@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403129069 10252 80.91.229.3 (18 Jun 2014 22:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2014 22:04:29 +0000 (UTC) To: 17776-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 19 00:04:22 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 1WxNxt-0003dx-Qe for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jun 2014 00:04:22 +0200 Original-Received: from localhost ([::1]:60935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxNxt-0000t8-EN for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 18:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxNxj-0000rg-Lu for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 18:04:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxNxb-0005mc-1O for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 18:04:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxNxa-0005mW-VI for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 18:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WxNxa-0007ic-MU for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 18:04:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Jun 2014 22:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 17776 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 17776@debbugs.gnu.org, monnier@iro.umontreal.ca, grfz@gmx.de Original-Received: via spool by 17776-done@debbugs.gnu.org id=D17776.140312902029632 (code D ref 17776); Wed, 18 Jun 2014 22:04:02 +0000 Original-Received: (at 17776-done) by debbugs.gnu.org; 18 Jun 2014 22:03:40 +0000 Original-Received: from localhost ([127.0.0.1]:52207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxNxE-0007hr-91 for submit@debbugs.gnu.org; Wed, 18 Jun 2014 18:03:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33510) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxNxB-0007he-L9 for 17776-done@debbugs.gnu.org; Wed, 18 Jun 2014 18:03:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWKAsLNBIUGA2IKAjSGRePARaEIgSpGYFqgXGBWyE X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWKAsLNBIUGA2IKAjSGRePARaEIgSpGYFqgXGBWyE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="67838730" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Jun 2014 18:03:31 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5DBED6608C; Wed, 18 Jun 2014 18:03:31 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sat, 14 Jun 2014 22:27:05 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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:90527 Archived-At: > Great, thanks, so yes I can reproduce the problem here. > It looks like rxvt-unicode uses yet some other escape sequences for > mouse clicks which are not documented (but somehow worked) in the code. No, it was just a dump error on my part in the last change. I installed the patch below which fixes it. Sorry, and thanks for reporting it. Stefan --- lisp/xt-mouse.el 2014-05-08 01:46:15 +0000 +++ lisp/xt-mouse.el 2014-06-18 21:58:58 +0000 @@ -76,7 +76,7 @@ (is-down (string-match "down" (symbol-name (car down))))) ;; Retrieve the expected preface for the up-event. - (unless is-down + (when is-down (unless (cond ((null extension) (and (eq (read-event) ?\e) (eq (read-event) ?\[)