From: Ergus <spacibba@aol.com>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Issue with rectangle mouse selection
Date: Thu, 28 Nov 2019 18:11:17 +0100 [thread overview]
Message-ID: <20191128171117.tgxqnqnjl4lttvwj@Ergus> (raw)
In-Reply-To: <4726417A-97DA-492B-8A56-1B08BF016CD1@acm.org>
On Thu, Nov 28, 2019 at 03:36:46PM +0100, Mattias Engdeg�rd wrote:
>> Terminal.app and Gnome Terminal are fine, but Xterm exhibits the behaviour you describe.
>
>XTerm does indeed not report mouse movements when modifiers are used, so there is little Emacs can do about it.
>This may be intended; the source (button.c) contains
>
> /*
> * We reserve shift modifier for cut/paste operations. In principle we
> * can pass through control and meta modifiers, but in practice, the
> * popup menu uses control, and the window manager is likely to use meta,
> * so those events are not delivered to SendMousePosition.
> */
>
>If this bothers you, perhaps you could ask the maintainer to reconsider; gnome-terminal manages, after all. (XTerm clearly needs more options. Just like Emacs.)
>
Oh that's a bad new as I actually use xterm because it is the most
compatible with everything else in emacs. I actually made a question in
the help mailing list before choosing xterm.
I made some tests and after reading the xterm documentation for mouse
tracking I can confirm that mouse movements with modifiers are not sent
at all with "\e[?1002h" (It is not sending any event, not just the
modifiers).
But they are actually sent with "\e[?1003h", so it is already supported
but just in a higher level (Any-event tracking) that emacs seems not to
enable..
So there is nothing to report to the xterm team in my opinion. Just that
we will need to make some changes in the xterm back-end if we want to
support these kinds of events.
next prev parent reply other threads:[~2019-11-28 17:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20191128100030.u5v5fto3vudkadnn.ref@Ergus>
2019-11-28 10:00 ` Issue with rectangle mouse selection Ergus
2019-11-28 11:09 ` Mattias Engdegård
2019-11-28 14:36 ` Mattias Engdegård
2019-11-28 16:10 ` Stefan Monnier
2019-11-28 16:19 ` Mattias Engdegård
2019-11-28 17:11 ` Ergus [this message]
2019-11-29 13:18 ` Mattias Engdegård
2019-11-29 14:39 ` Ergus
2019-11-30 11:08 ` Mattias Engdegård
2019-11-30 12:22 ` Eli Zaretskii
2019-11-30 14:51 ` Ergus
2019-11-30 15:01 ` Eli Zaretskii
2019-11-30 17:02 ` Ergus
2019-11-30 17:06 ` Mattias Engdegård
2019-11-30 21:28 ` Ergus
2019-11-30 21:47 ` Mattias Engdegård
2019-12-01 6:24 ` Ergus
2019-12-03 9:40 ` Ergus
2019-12-03 10:12 ` Mattias Engdegård
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=20191128171117.tgxqnqnjl4lttvwj@Ergus \
--to=spacibba@aol.com \
--cc=emacs-devel@gnu.org \
--cc=mattiase@acm.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.