From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Issue with rectangle mouse selection Date: Thu, 28 Nov 2019 18:11:17 +0100 Message-ID: <20191128171117.tgxqnqnjl4lttvwj@Ergus> References: <20191128100030.u5v5fto3vudkadnn.ref@Ergus> <20191128100030.u5v5fto3vudkadnn@Ergus> <4726417A-97DA-492B-8A56-1B08BF016CD1@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="139649"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 28 20:07:42 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iaP8g-000aCI-44 for ged-emacs-devel@m.gmane.org; Thu, 28 Nov 2019 20:07:42 +0100 Original-Received: from localhost ([::1]:52480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaP8e-0001aV-Aq for ged-emacs-devel@m.gmane.org; Thu, 28 Nov 2019 14:07:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55123) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaNKm-0006Sf-Qa for emacs-devel@gnu.org; Thu, 28 Nov 2019 12:12:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaNKd-0005rJ-NK for emacs-devel@gnu.org; Thu, 28 Nov 2019 12:11:57 -0500 Original-Received: from sonic304-9.consmr.mail.bf2.yahoo.com ([74.6.128.32]:43124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaNKT-0005io-Ox for emacs-devel@gnu.org; Thu, 28 Nov 2019 12:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1574961098; bh=DsfSQe6COiSywVJZRnXmDY7/S7RRILIvtWkwwLU2mqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=WxUlR3KluBPHflciHYYkbvB7r5pSVEBm2WfGAP8nfTUpOWhKRmLN/0UjxkIy4rS8E85+/sg2vIZpsEAR6/N+UiTURAA6UkFaGfZpWnKnmfVi0J2Y/LgLzFfbd6U4oW0FodKwOi/WePRJ74rsqugDbyEhOZVw2UaUTeSGWlNCzOMMJS89jtq7zH7NKRj3b2eot77G+Vn0tNT5dQr/+1kwdiNDv4e8RPiYuWiduFlKinA0Ho+WfiwBZpvtgmSuIRHFW9a53YY/jNtYiBFDs+rhdt+4FwrAA0q/by+aG08LxeY4vG0aJ2snJSsoJFx3YMiHggEhD7us323ksxX4do4UrA== X-YMail-OSG: YPgXAfsVM1l4XwZUIK6ee.FW5XV9DdcJs3cD5PLntmIHJQrelQ8VYvFPn0jVegI _8f5CAbIGXT_6.jqtES5sie1qgbxn_ufTrHkv3YCVXAzCze1SYucqpCN3ZWyH9ZCuj1nSsQSB7fa LFD2d6G2ZGfcH_rj_cEjRiqVBS4RkCGorPjKWEAF_n1Ma4FeU7xP1Dy8mlTIOhJtP5Ocjjz_tI0a 2mx5FZ1Cp6K2rjwyyZar5yRDMtadBhRpn1mPnImDdwaXKiRx7KJgipaXDu00RCuhpRzAhmuV0faL g1BdE1RHanPSfFiXFo_Y5zYJ.D67tpYV9mDZ5.HTKmJkO3JrhU7VqC.MxI8OG9nmFAjx0cDCv1Qf FYR7YvdgxsSemxmG_RYq3MON.g_0HPbepdPv2TE9XAJhJsGg11E4uOizYRji_iVp73oyf.hnatT8 m.gWzsulzV3Bug2_8AoQ_0lk8FLTcyX_TPs7FYHm07aGhQDULFb9JG25o6huOIAX1mFsPpzn0Pn9 Q7i6gS0rhCB0RU.xo8QFQHnlDRRNp4yoWkySlrM49GzGIyR.CQHYLkETvlcMCU0EczgBPmyfrrpq sDAsZZWdTvkZgHFwn2vZG4yCJyQ0tCrpAJ8goqfg.BjoCbjbuIWb0KNp.lJ2VByereOe1sk3OeC5 BilsLT134F07H2X0Hj3uu0YiChuMpKNlAnZUDSmkws7SMVuhAA8WIXFGlckl_nj5ZaXPrmUqadJV iye0Expmq3mfWJ7c5xaL8vlngjW0lqF_U1aVk7gm65nYkjmbOUrRNzF89twf3MNOrg9xzsNCXHAk frokYIVlpWjffNiZT6S6umuDSiStHv6.71s2uOVQ8d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Thu, 28 Nov 2019 17:11:38 +0000 Original-Received: by smtp413.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 83c75f8e184a8fe8acc9077809d17d11; Thu, 28 Nov 2019 17:11:35 +0000 (UTC) Content-Disposition: inline In-Reply-To: <4726417A-97DA-492B-8A56-1B08BF016CD1@acm.org> X-Mailer: WebService/1.1.14728 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.6.128.32 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242842 Archived-At: 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.