unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: mwheel scroll horizontally
Date: Thu, 07 Oct 2010 11:18:07 +0200	[thread overview]
Message-ID: <jwvhbgynz6w.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87hbh1fu7n.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 04 Oct 2010 23:50:52 +0100")

> 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



  parent reply	other threads:[~2010-10-07  9:18 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
2010-10-07  9:18 ` Stefan Monnier [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvhbgynz6w.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).