From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: mwheel scroll horizontally Date: Tue, 05 Oct 2010 00:32:57 +0100 Organization: JURTA Message-ID: <87ocb9edxe.fsf@mail.jurta.org> References: <87hbh1fu7n.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286236840 26659 80.91.229.12 (5 Oct 2010 00:00:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2010 00:00:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 05 02:00:39 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P2uxN-0000pO-I4 for ged-emacs-devel@m.gmane.org; Tue, 05 Oct 2010 02:00:33 +0200 Original-Received: from localhost ([127.0.0.1]:49729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2uxM-0002J3-Vk for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2010 20:00:33 -0400 Original-Received: from [140.186.70.92] (port=34108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2uip-0006F3-6q for emacs-devel@gnu.org; Mon, 04 Oct 2010 19:45:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2ufC-0004Qm-6X for emacs-devel@gnu.org; Mon, 04 Oct 2010 19:41:47 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:35738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2ufC-0004QP-2W for emacs-devel@gnu.org; Mon, 04 Oct 2010 19:41:46 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 997DE6E804A for ; Mon, 4 Oct 2010 16:41:44 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 8DD11451C036 for ; Mon, 4 Oct 2010 16:41:43 -0700 (PDT) In-Reply-To: <87hbh1fu7n.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 04 Oct 2010 23:50:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131332 Archived-At: 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))