From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: mwheel scroll horizontally Date: Thu, 07 Oct 2010 11:18:07 +0200 Message-ID: References: <87hbh1fu7n.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286443472 24888 80.91.229.12 (7 Oct 2010 09:24:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 09:24:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 07 11:24:29 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 1P3miC-0002Kk-C2 for ged-emacs-devel@m.gmane.org; Thu, 07 Oct 2010 11:24:28 +0200 Original-Received: from localhost ([127.0.0.1]:37675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3miB-0005m8-2V for ged-emacs-devel@m.gmane.org; Thu, 07 Oct 2010 05:24:27 -0400 Original-Received: from [140.186.70.92] (port=44503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3mhu-0005aw-VP for emacs-devel@gnu.org; Thu, 07 Oct 2010 05:24:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3mcC-0005p5-Qu for emacs-devel@gnu.org; Thu, 07 Oct 2010 05:18:17 -0400 Original-Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:24288 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3mcC-0005oj-Gd for emacs-devel@gnu.org; Thu, 07 Oct 2010 05:18:16 -0400 Original-Received: from fmsmemgm.homelinux.net ([92.140.114.212]) by mwinf5d08 with ME id FlJ71f0054b1Gto03lJ8BY; Thu, 07 Oct 2010 11:18:15 +0200 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id BFA06AE516; Thu, 7 Oct 2010 11:18:07 +0200 (CEST) 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/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) 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:131419 Archived-At: > Why mwheel.el doesn't allow horizontal scrolling? You mean: why doesn't it *support* horizontal scrolling? Lack of a corresponding patch, I guess ;-) > For instance, Gimp allows the Shift modifier to change > the direction of scrolling from vertical to horizontal. There are also various situations where the user has access to "real" horizontal scrolling. So rather than a modifier, it might be that horizontal scrolling is specified by mouse-6 and mouse-7 or yet something else. > Shift and Control are already in use in mouse-wheel-scroll-amount, > but Meta is available. What about using Meta for horizontal Doing it via global-map key bindings doesn't sound quite right. Instead, we want to have mwheel understand wheel-left and wheel-right events, and then (if/when needed) remap (via function-key-map) other events to those ones. Stefan