From: martin rudalics <rudalics@gmx.at>
To: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: 31905@debbugs.gnu.org
Subject: bug#31905: detection of edge of highlighted text by mouse-drag-and-drop-region
Date: Wed, 20 Jun 2018 09:42:47 +0200 [thread overview]
Message-ID: <5B2A0577.3050202@gmx.at> (raw)
In-Reply-To: <20180620.082541.1223268284350863328.tkk@misasa.okayama-u.ac.jp>
> 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
next prev parent reply other threads:[~2018-06-20 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 23:25 bug#31905: detection of edge of highlighted text by mouse-drag-and-drop-region Tak Kunihiro
2018-06-20 7:42 ` martin rudalics [this message]
2018-06-20 23:17 ` bug#31905: " Tak Kunihiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5B2A0577.3050202@gmx.at \
--to=rudalics@gmx.at \
--cc=31905@debbugs.gnu.org \
--cc=tkk@misasa.okayama-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.