From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Egmont Koblinger Newsgroups: gmane.emacs.bugs Subject: bug#10642: xt-mouse: Support extended coordinates Date: Mon, 6 Aug 2012 22:38:27 +0200 Message-ID: References: <87obni8hwk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d042c6c4d86f88b04c69edeb7 X-Trace: dough.gmane.org 1344285619 5741 80.91.229.3 (6 Aug 2012 20:40:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 20:40:19 +0000 (UTC) Cc: 10642@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 22:40:19 2012 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 1SyU62-0001EW-Eo for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 22:40:14 +0200 Original-Received: from localhost ([::1]:57995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyU61-0007ci-PY for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 16:40:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyU5x-0007aw-P8 for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 16:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyU5w-0002vQ-K7 for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 16:40:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyU5w-0002ur-Gd for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 16:40:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SyUDa-000858-Gh for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Egmont Koblinger Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Aug 2012 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10642 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10642-submit@debbugs.gnu.org id=B10642.134428602630998 (code B ref 10642); Mon, 06 Aug 2012 20:48:02 +0000 Original-Received: (at 10642) by debbugs.gnu.org; 6 Aug 2012 20:47:06 +0000 Original-Received: from localhost ([127.0.0.1]:38102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyUCf-00083v-LL for submit@debbugs.gnu.org; Mon, 06 Aug 2012 16:47:06 -0400 Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:53431) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyUCc-00083d-Rn for 10642@debbugs.gnu.org; Mon, 06 Aug 2012 16:47:03 -0400 Original-Received: by lbbgg6 with SMTP id gg6so631641lbb.3 for <10642@debbugs.gnu.org>; Mon, 06 Aug 2012 13:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8H1iO4Zq0MWI8TPZlRWh7jvCuAosxJs69B+Igt0Dd+o=; b=UgLW5gz6ngpAYfahmsLP09GRILfKzX93qSDai7eGcrbjiA3ElekLM9s+wC1axHdqz7 6xFhGuuytiCaUkaDcGt+tSIrGyLU4GZ3JY4P3dSxip/pui11DQ1YSEOvqpj/HU0euzoE Ey073YeNxp7lOE6otEz1PA7cYcaxYQoTcMg8ughkSC6/sgXLrhyAvdibkXHLlVxcWDCq 0JNf+RBBTAsWZMFKGIPRIkkwWbNCbOac6zqLF53+z5pniEqld8YoDPD2AFnCG9PL1TqC F7QWxaNifMCuQTSAtayNsuGPlOHCzivHWqrcpj5phWz3gkdLOGeXXS28IOYnF2xSSZ5e phpA== Original-Received: by 10.152.132.233 with SMTP id ox9mr11924934lab.25.1344285547362; Mon, 06 Aug 2012 13:39:07 -0700 (PDT) Original-Received: by 10.114.22.1 with HTTP; Mon, 6 Aug 2012 13:38:27 -0700 (PDT) In-Reply-To: <87obni8hwk.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62883 Archived-At: --f46d042c6c4d86f88b04c69edeb7 Content-Type: text/plain; charset=UTF-8 Thanks very much, Chong! Just for the record, I've implemented the 1006 support to Gnome-Terminal and Konsole; I hope they will accept my patches and this 1006 extension will become quite mainstream across terminal emulators. https://bugzilla.gnome.org/show_bug.cgi?id=681329 https://bugs.kde.org/show_bug.cgi?id=304686 thanks, egmont On Sat, Jul 14, 2012 at 5:46 PM, Chong Yidong wrote: > Egmont Koblinger writes: > > > When running in terminal, Emacs only supports mouse clicks up to > > column or row 223, due to a limitation in the original mouse protocol. > > However, there is an extension (well, unfortunately, there are a > > couple of extensions) to overcome this limit. > > > > This request is hereby for emacs to implement one of them, so that > > mouse click works on arbitrary coordinates. > > Thanks; the detailed information in your report was very useful. I've > implemented the 1006 protocol handling, and committed it to trunk. > > The code assumes that if the terminal does not support 1006 mode, > sending the \e[?1006h sequence is a no-op, and mouse click events are > received using the old protocol. We look for both \e[M and \e[< events > and handle them. This seems to work on XTerms supporting 1006 mode > (tested with xterm-281) as well as older ttys (tested with xterm-271 and > xfce4-terminal 0.4.8). > --f46d042c6c4d86f88b04c69edeb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks very much, Chong!

Just for the record, I've implemented t= he 1006 support to Gnome-Terminal and Konsole; I hope they will accept my p= atches and this 1006 extension will become quite mainstream across terminal= emulators.

https:/= /bugzilla.gnome.org/show_bug.cgi?id=3D681329
https://bugs.kde.org/show_bug.cgi?id=3D3= 04686

thanks,
egmont


--f46d042c6c4d86f88b04c69edeb7--