From: Le Wang <l26wang@gmail.com>
To: 9541@debbugs.gnu.org
Subject: bug#9541: Acknowledgement (mouse-1 inside scroll-margin causes undesirable region activation)
Date: Sun, 18 Sep 2011 19:31:27 +0800 [thread overview]
Message-ID: <CAM=K+ioo44quc__GYVom61MYfZJWMsNVve5yR-1YjsxBMEE0OA@mail.gmail.com> (raw)
In-Reply-To: <handler.9541.B.131633755619433.ack@debbugs.gnu.org>
Here is my work-around. I don't fully understand the ramifications of
doing this, but so far it seems work.
(defun le::mouse-drag-region (event)
"mouse-drag-region but clickable in scroll-margin"
(interactive "e")
(let ((scroll-margin 0))
(mouse-drag-region event)))
(global-set-key [(down-mouse-1)] 'le::mouse-drag-region)
--
Le
next prev parent reply other threads:[~2011-09-18 11:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-18 9:14 bug#9541: mouse-1 inside scroll-margin causes undesirable region activation Le Wang
[not found] ` <handler.9541.B.131633755619433.ack@debbugs.gnu.org>
2011-09-18 11:31 ` Le Wang [this message]
2011-09-19 18:34 ` Stefan Monnier
2011-09-23 20:52 ` Johan Bockgård
2011-09-24 18:38 ` Chong Yidong
2011-10-02 10:03 ` New mouse click behavior (was: bug#9541: mouse-1 inside scroll-margin causes undesirable region activation) Johan Bockgård
2011-10-02 12:14 ` New mouse click behavior martin rudalics
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='CAM=K+ioo44quc__GYVom61MYfZJWMsNVve5yR-1YjsxBMEE0OA@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=9541@debbugs.gnu.org \
/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.