From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-and-drop-region Date: Mon, 27 Nov 2017 17:59:25 +0200 Message-ID: <83tvxf67c2.fsf@gnu.org> References: <5A0ABD41.5040402@gmx.at> <20171116.092825.1408561780440493246.tak.kunihiro@gmail.com> <5A0D562D.1010803@gmx.at> <20171120.222937.949251858246319152.tak.kunihiro@gmail.com> <5A13F0CA.2030605@gmx.at> <5A1432B0.8080700@gmx.at> <5A1534B4.6030203@gmx.at> <5A167CEC.5070400@gmx.at> <838texaser.fsf@gnu.org> <5A17E010.4090309@gmx.at> <83k1yg9gpz.fsf@gnu.org> <5A17E938.2020308@gmx.at> <83d147aiz2.fsf@gnu.org> <5A1A9672.5000403@gmx.at> <83fu916nnb.fsf@gnu.org> <5A1BD16C.6000404@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511798395 13288 195.159.176.226 (27 Nov 2017 15:59:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 15:59:55 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 27 16:59:50 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJLou-0002jW-3p for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2017 16:59:44 +0100 Original-Received: from localhost ([::1]:33407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJLp1-0001xP-IS for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2017 10:59:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJLoq-0001wE-Vk for emacs-devel@gnu.org; Mon, 27 Nov 2017 10:59:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJLol-0000Yw-Dr for emacs-devel@gnu.org; Mon, 27 Nov 2017 10:59:41 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJLol-0000Ye-AM; Mon, 27 Nov 2017 10:59:35 -0500 Original-Received: from [176.228.60.248] (port=2082 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eJLok-00019l-Mz; Mon, 27 Nov 2017 10:59:35 -0500 In-reply-to: <5A1BD16C.6000404@gmx.at> (message from martin rudalics on Mon, 27 Nov 2017 09:48:44 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:220485 Archived-At: > Date: Mon, 27 Nov 2017 09:48:44 +0100 > From: martin rudalics > CC: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > That's what I meant. Now `mouse-drag-track' does two essential things: > It sets `track-mouse' to non-nil so mouse movement creates input events > and it uses a transient keymap to process them. However, an application > that wants to look into an event and postpone it via "unreading" it, is > still able to do so, right? So the only difference to using the > `track-mouse' macro is that the transient keymap approach obfuscates the > underlying event reading mechanism and thus does not overtly invite the > application to unread events. Is that interpretation correct? I think so, but I'm not an expert on this stuff.