From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dioni ....." Subject: Bug: mouse-drag-and-drop-region doesn't work in org-mode buffers when org-mouse is enabled [9.2.3 (9.2.3-elpa @ ~/.emacs.d/elpa/org-20190402/)] Date: Thu, 4 Apr 2019 15:28:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM0PR08MB38125C7F8E66C68403F57F28D4500AM0PR08MB3812eurp_" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hC4IV-0007T1-Uq for emacs-orgmode@gnu.org; Thu, 04 Apr 2019 11:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hC4IU-0003Ly-8i for emacs-orgmode@gnu.org; Thu, 04 Apr 2019 11:28:59 -0400 Received: from mail-oln040092067105.outbound.protection.outlook.com ([40.92.67.105]:63214 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hC4IT-0003E2-NP for emacs-orgmode@gnu.org; Thu, 04 Apr 2019 11:28:58 -0400 Content-Language: el-GR List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --_000_AM0PR08MB38125C7F8E66C68403F57F28D4500AM0PR08MB3812eurp_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable I enabled mouse-drag-and-drop-region recently and noticed shortly thereafte= r that it didn't work in org-mode buffers, that is, while I expected to be = able to select text and drag it with the mouse elsewhere in the buffer, as = normally happens when mouse-drag-and-drop-region is enabled, instead it onl= y sets a mark, as if that setting wasn't enabled. mouse-drag-and-drop-regio= n works fine in buffers with other modes. I also have org-mouse enabled so = I decided to temporarily disable it to see if that was related, and indeed,= when I don't enable org-mouse in my config, mouse-drag-and-drop-region wor= ks fine in org buffers too. This occurs both with the builtin in emacs 26.1= (the version I use) org version (9.1.9), and with the latest org version a= vailable from the dedicated org-mode repository[1] (9.2.3 - 20190402 as of = this message). Interestingly enough, when I attempt to drag some text with = the mouse from a buffer where this works (e.g. *scratch*) to an org-mode bu= ffer, this works fine - it's only dragging text from one part of the org bu= ffer to another that doesn't work. I attach a minimal emacs init file that = can used to reproduce the bug[2], as well as a test org file to see the bug= in action[3]. Thanks in advance for your understanding. Emacs version used: 26.1 org mode versions used: 9.1.9 and 9.2.3 - 20190402 Host OSes this was tested on: Linux Mint MATE 18.3 and Windows 7 Expected behavior: while in an org-mode file, be able to drag part of the t= ext with the mouse to elsewhere in the buffer Actual behavior: sets a mark instead [1] https://orgmode.org/elpa/ [2] https://gitlab.com/snippets/1843173 [3] https://gitlab.com/snippets/1843174 Emacs : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2018-05-29 Package: Org mode version 9.2.3 (9.2.3-elpa @ ~/.emacs.d/elpa/org-20190402/= ) --_000_AM0PR08MB38125C7F8E66C68403F57F28D4500AM0PR08MB3812eurp_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable
I enabled mouse-drag-and-drop-region recently and noticed shortly the= reafter that it didn't work in org-mode buffers, that is, while I expected = to be able to select text and drag it with the mouse elsewhere in the buffe= r, as normally happens when mouse-drag-and-drop-region is enabled, instead it only sets a mark, as if that setting wasn't enabled= . mouse-drag-and-drop-region works fine in buffers with other modes. I also= have org-mouse enabled so I decided to temporarily disable it to see if th= at was related, and indeed, when I don't enable org-mouse in my config, mouse-drag-and-drop-region works fi= ne in org buffers too. This occurs both with the builtin in emacs 26.1 (the= version I use) org version (9.1.9), and with the latest org version availa= ble from the dedicated org-mode repository[1] (9.2.3 - 20190402 as of this message). Interestingly enough,= when I attempt to drag some text with the mouse from a buffer where this w= orks (e.g. *scratch*) to an org-mode buffer, this works fine - it's only dr= agging text from one part of the org buffer to another that doesn't work. I attach a minimal emacs init fil= e that can used to reproduce the bug[2], as well as a test org file to see = the bug in action[3]. Thanks in advance for your understanding.

Emacs version used: 26.1
org mode versions used: 9.1.9 and 9.2.3 - 20190402
Host OSes this was tested on: Linux Mint MATE 18.3 and Windows 7
Expected behavior: while in an org-mode file, be able to drag part of = the text with the mouse to elsewhere in the buffer
Actual behavior: sets a mark instead

[1] https://orgmode.org/elpa/
[2] https://gitlab.com/snippets/1843173
[3] https://gitlab.com/snippets/1843174

Emacs  : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ V= ersion 3.18.9)
 of 2018-05-29
Package: Org mode version 9.2.3 (9.2.3-elpa @ ~/.emacs.d/elpa/org-201= 90402/)
--_000_AM0PR08MB38125C7F8E66C68403F57F28D4500AM0PR08MB3812eurp_--