GNU bug report logs - #31905
detection of edge of highlighted text by mouse-drag-and-drop-region

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Date: Tue, 19 Jun 2018 23:50:01 UTC

Severity: normal

Tags: fixed

Fixed in version 26.2

Done: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 31905 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Cc: 31905 <at> debbugs.gnu.org
Subject: Re: detection of edge of highlighted text by
 mouse-drag-and-drop-region
Date: Wed, 20 Jun 2018 09:42:47 +0200
> I found bug on `mouse-drag-and-drop-region'.  The
> `mouse-drag-and-drop-region' does not recognize the beginning and the
> end of highlighted text as pre existing region.
>
> 1: emacs -Q
> 2: (setq mouse-drag-and-drop-region 'meta)
> 2: Select text on a buffer and have a region. Let's assume `This buffer' is highlighted.
> 3: Drag and drop the text onto the first character of the region, that is `T'.
> 4: Then the text `This buffer' would be disappeared.

Indeed.

> I attach a patch to fix the bug.  This patch is relative to 26.1.50.

I verified that it corrects the behavior and applied it to the release
branch.  Please countercheck and close the bug if everything is right.

Thank you, martin




This bug report was last modified 6 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.