From: Juri Linkov <juri@jurta.org>
To: emacs-devel@gnu.org
Subject: Re: mwheel scroll horizontally
Date: Tue, 05 Oct 2010 00:32:57 +0100 [thread overview]
Message-ID: <87ocb9edxe.fsf@mail.jurta.org> (raw)
In-Reply-To: <87hbh1fu7n.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 04 Oct 2010 23:50:52 +0100")
A related patch. While scrolling using the mouse with modifiers pressed,
the mouse pointer jumps off the frame (in mouse-avoidance-mode).
This patch adds these modifiers to ignore while using the mouse:
=== modified file 'lisp/avoid.el'
--- lisp/avoid.el 2010-01-13 08:35:10 +0000
+++ lisp/avoid.el 2010-10-04 23:28:49 +0000
@@ -294,7 +294,13 @@ (defun mouse-avoidance-ignore-p ()
(memq 'double modifiers)
(memq 'triple modifiers)
(memq 'drag modifiers)
- (memq 'down modifiers)))))))
+ (memq 'down modifiers)
+ (memq 'meta modifiers)
+ (memq 'control modifiers)
+ (memq 'shift modifiers)
+ (memq 'hyper modifiers)
+ (memq 'super modifiers)
+ (memq 'alt modifiers)))))))
(defun mouse-avoidance-banish ()
(if (not (mouse-avoidance-ignore-p))
next prev parent reply other threads:[~2010-10-04 23:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 22:50 mwheel scroll horizontally Juri Linkov
2010-10-04 23:21 ` Drew Adams
2010-10-04 23:39 ` Juri Linkov
2010-10-05 0:01 ` Drew Adams
2010-10-05 4:29 ` Stephen J. Turnbull
2010-10-04 23:32 ` Juri Linkov [this message]
2010-10-07 9:18 ` Stefan Monnier
2010-10-07 22:05 ` Juri Linkov
2010-10-08 10:58 ` Jason Rumney
2010-10-08 23:56 ` Stefan Monnier
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=87ocb9edxe.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@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.