all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Egmont Koblinger <egmont@gmail.com>
To: Chong Yidong <cyd@gnu.org>
Cc: 10642@debbugs.gnu.org
Subject: bug#10642: xt-mouse: Support extended coordinates
Date: Mon, 6 Aug 2012 22:38:27 +0200	[thread overview]
Message-ID: <CAGWcZkKDjW479fLBWrZecaD6jB1j5tGQL_eR4RvpWmpUQir05w@mail.gmail.com> (raw)
In-Reply-To: <87obni8hwk.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

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 <cyd@gnu.org> wrote:

> Egmont Koblinger <egmont@gmail.com> 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).
>

[-- Attachment #2: Type: text/html, Size: 1906 bytes --]

      reply	other threads:[~2012-08-06 20:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29 16:27 bug#10642: xt-mouse: Support extended coordinates Egmont Koblinger
2012-07-14 15:46 ` Chong Yidong
2012-08-06 20:38   ` Egmont Koblinger [this message]

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=CAGWcZkKDjW479fLBWrZecaD6jB1j5tGQL_eR4RvpWmpUQir05w@mail.gmail.com \
    --to=egmont@gmail.com \
    --cc=10642@debbugs.gnu.org \
    --cc=cyd@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.