From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-and-drop-region Date: Mon, 27 Nov 2017 09:48:44 +0100 Message-ID: <5A1BD16C.6000404@gmx.at> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1511772611 18522 195.159.176.226 (27 Nov 2017 08:50:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 08:50:11 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 27 09:50:01 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 1eJF6u-0003eF-OT for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2017 09:49:52 +0100 Original-Received: from localhost ([::1]:59752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJF72-0005gD-5M for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2017 03:50:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJF6L-0005eX-0A for emacs-devel@gnu.org; Mon, 27 Nov 2017 03:49:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJF6H-00087G-Tb for emacs-devel@gnu.org; Mon, 27 Nov 2017 03:49:17 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:57509) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJF6F-000852-Uh; Mon, 27 Nov 2017 03:49:12 -0500 Original-Received: from [192.168.1.100] ([46.125.250.81]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M4jbN-1f43Ke0EAv-00ywI7; Mon, 27 Nov 2017 09:49:05 +0100 In-Reply-To: <83fu916nnb.fsf@gnu.org> X-Provags-ID: V03:K0:f+6gDgc9+KFSogHVs8MKGdKR14aCliG9eLtyAiY6RAdxGjZsgol rqGCcoEOGFOWL+T8R/Ad3VB2q1+Ipgb7w7X17bRm6NDCHRQTJ1M2z016HuUERrY5JmN2/PV MvouRPeP4j4qeTa+f5+jdqCLPpxyu3bhFLfCJBsweS0kvy8xxAiFxsnIYX76eQrAOgadVyQ 7oYCtKEW0DfTGUVxEEenA== X-UI-Out-Filterresults: notjunk:1;V01:K0:xa5ZC2yPxwI=:zf6T/6PG7SZRjRvfk2WaNU /D1TeInhK7HFj3yFDkUGtp/91iPNNru/FD+MGl4kcuz25EEs3vNpfM01ehwHLmard8TJzQGra JX/eJwcpiEIv9gGUChn/Ro+jFRMkYefVcIOQixKD03xf+mXZDEvvu/7wjM+yBPH5b8s7UvaHE Jmj6A7Q/o6AaqvlipNa6iY8hURdMJxx6CcQuc4tvE18bUS3Ld+V/+mhMdLtDzlSpWRA6I4PdF QcmoST4RgEuO4+E+3MlPAyIFdjCSXM8GmTObOzqgrPnUxtqkGYhurOJWbbdKNFc9mYx98VTfO 8cENhsiiNS0qachJRZI8BpeSlw2nk88IqnObStJ5nwwjXZ4z5wl6t8wF2o32K9YgGzH+Q6THy R9X+vbmbgvjg7rOSbjL0iWw8L3YcJJAhYz41JvzocdiMQjdovDVK55xAwsHfUMb7053uMK5bw IZ8GR08nvRmlOCYzCDkp9bOeLLSUh6xFQ65mcyqnoKXgwMTMXGP1WR6g1387/YrAHg4/0tlk7 vF7l8is/DzWIP/X4YOWxzGfGWDtAvTTvHKCX9fe+5jCrYCwz1AxbooCmx/3aCrFYJFKarAcBV I43H9zs7UlUPt541jNWHUUTIitPg//BXkbIJEf4O6c+Wk3Mx3LvnJdVudCibZ9bBHePP1RDPo ld89a0kkC94I1bBFfomjMH6WMwH/IdM6bD3dHAx9HvAFqVETvU/K0e7eZ5W0GtYoGNSzXMUXJ nEvJb0K13/HMiI8zFqzYV3c9whMvZHp557PjES6SFQTymAHWg2MNvNdEpZcGtI3O3L74CYne X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:220477 Archived-At: >> Which can only process or ignore but never postpone events? > > Which is not different from keyboard input, and therefore doesn't need > special handling or consideration, AFAIU. 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? martin