all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: mwheel scroll horizontally
Date: Tue, 05 Oct 2010 00:39:10 +0100	[thread overview]
Message-ID: <87hbh1cyu9.fsf@mail.jurta.org> (raw)
In-Reply-To: <5D4331260E2E4FD5A8615DC94FEF8ECA@us.oracle.com> (Drew Adams's message of "Mon, 4 Oct 2010 16:21:56 -0700")

> That's the wrong place for such control, IMO.  I mean that it shouldn't be
> hard-coded like that.  We should leave S- and C- open for use with the wheel,
> and not hard-code them to representing a scroll amount.

The Commentary in mwheel.el says:

  ;; I for one would prefer some way of converting the button4/button5
  ;; events into different event types, like 'mwheel-up' or
  ;; 'mwheel-down', but I cannot find a way to do this very easily (or
  ;; portably), so for now I just live with it.

Is it what you mean?

> There is nothing sacred about window scrolling - a mouse wheel can do
> lots more interesting things in Emacs than scroll a window.

Yes, they are not just about scrolling.  For instance, in Gimp/Chrome
C-mwheel zooms in/out (like `C-x C-+' `C-x C--' `text-scale-adjust' in Emacs).



  reply	other threads:[~2010-10-04 23:39 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 [this message]
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
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=87hbh1cyu9.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --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.