From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#36269: 26.2; mouse-drag-and-drop-region conflicts with mouse-avoidance Date: Tue, 18 Jun 2019 10:19:32 +0200 Message-ID: <14a40893-f061-bf4c-e981-c29b62370659@gmx.at> References: <5d07fc0d.1c69fb81.32f34.0ce1@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="67337"; mail-complaints-to="usenet@blaine.gmane.org" To: Scott Otterson , 36269@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 18 10:20:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hd9Lw-000HNg-LL for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2019 10:20:28 +0200 Original-Received: from localhost ([::1]:54670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hd9Ls-0000k1-1q for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2019 04:20:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37887) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hd9LY-0000jb-8y for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 04:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hd9LX-0005G9-BB for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 04:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58401) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hd9LX-0005G1-6r for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 04:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hd9LX-0002FK-0b for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 04:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2019 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36269 X-GNU-PR-Package: emacs Original-Received: via spool by 36269-submit@debbugs.gnu.org id=B36269.15608459818594 (code B ref 36269); Tue, 18 Jun 2019 08:20:02 +0000 Original-Received: (at 36269) by debbugs.gnu.org; 18 Jun 2019 08:19:41 +0000 Original-Received: from localhost ([127.0.0.1]:43711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hd9LB-0002EY-I1 for submit@debbugs.gnu.org; Tue, 18 Jun 2019 04:19:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:60321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hd9L9-0002E2-Tk for 36269@debbugs.gnu.org; Tue, 18 Jun 2019 04:19:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560845974; bh=YJhRV5AgdvemqpAajXTSlPAI2PlyLM2IOdh/KuG6+xU=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=cZHDlA0cgr7S07p8g0mKXeLvE73DEcYZDiUiEJ+hCGNq0QEZ31Wsn7UAYAOTRHSC3 7+xirw702HubWWx2cLe5uQGZN4cdtM2C/pdG2k6R59uXFlQctZtYWrkIiXHiNLFJjd 8zllh9zdp/Jp1NFZo7zmSPQiEinbgHiQxi1sBLsQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.226]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lwnem-1ieswf3yXY-016NUj; Tue, 18 Jun 2019 10:19:34 +0200 In-Reply-To: <5d07fc0d.1c69fb81.32f34.0ce1@mx.google.com> Content-Language: de-DE X-Provags-ID: V03:K1:ch/nBwEOZvcMpAlSrJPdRtPF5/yM6sdB3wyyr945XMTaIRA+sE7 FWW4jfF0IWAGpoHVYnLaoBwmEdvRb6+Ot2njZqyRWAfGn+lF7zMvfXsa+ODamlx6nuExz3E bXSdixmrCR2j1QnCzSvxfe58aHUi92fvSCj8mvDTzXeXjT2959iOkz5LgHAi4ovGTJYh8t6 wAgenbcn6FDn2FI09LWBQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:A2yKMFzLYa8=:tfI55Rq1EQoYy4rp4yr3Ok A7VzXU+mB0HTow7OHZ7o4gqLvy3RFudHpRPuziR5OUq2iNddFCsFcJR++6K6/TxxCmIVRzIfC A8jIv+k/4riA2P+z0hWt0QbzSN9HVIdOJqFNR2fMynfpvtmdiOzhfa+JPWDcCVjmDZp4AO4Qr x84MGZS3FbTgXLX5D17SfqvBLo39wKISrsaRIBX4f/2BHnXsAjKvKnByJbp19OvaNQANh4dj9 RvEMn9hqae1UVLSHgOHTC/R9mQonEDct7Ea9RzUm8QxtPSr7Hx1xCExGZWISUhpz5Xf+Yujdc lk+DVksqSl4x8ON13A0XOWdnxlR/OQqqCsA8Vi2r3VZxcnR32aWHyPaYXdfW0lz8c33sYthvD o1c6amwtxswy0vHBXwqr2/AMuerXTxetwLFw/JElowBH8YDvCicIJSkDPWztq6eqCkZxYt/YY 4pVSt5eJv4yeMiH3rUSayDsfao7PZacErCOESPZ8O8P21igyNp6B+S6+S8kxdE0xmMO1j/q2U RNCDcvXQmNNV77uIUAluFcQNihNht38D09aidzsP4ZFFIryzBJB08hAHEn3AcB7cxr2rpttpg 8FH6HB7fwMWE1s9w5j5Yy2kIXpV2yv4U4sv2e2WtNxGYu1BYvkTvIz6lRFpzgYEDDPt47M9nf 5r8x7zx/J4CNu8rVEB8+RtpT6FIN9Le1BmC0SVaihhpcLQPkJz0dPd7LdVFAfigYpdlJgbXnj hxKZ3Oie1N8H13FpCrGF+tw1Vcqng5NujPkqe7vyRPFurFQ6dtLHbLGDWTJ7tcQ4RR48ojtU X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160758 Archived-At: > If mouse-avoidance is turned on, the new mouse-drag-and-drop-region > functionality is unusable; the dragging operation puts the mouse > pointer over the cursor, and then the mouse pointer moves randomly > in order to avoid it. It's somewhat surprising that nobody noted this so far. > I'd suggest that, mouse-avoidance be turned off while a mouse-drag > region is in progress, and that it be restored to its original state when the dragging operation is done. Could you write (and test) a patch in this regard? At the end of 'mouse-drag-and-drop-region' there are a "Clean up" and a "Restore old states" part where restoring the old 'mouse-avoidance-mode' could be added. Thank you, martin