emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse wheel scrolling should change focus


From: Simon Josefsson
Subject: Re: Mouse wheel scrolling should change focus
Date: Mon, 20 May 2002 22:09:17 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu)

In the discussion cited below I reported a bug in mwheel, which turned
out to be customizable behaviour.  However it has the "wrong" default
(compared to all other applications I have access to).  William, what
do you think of adding the patch below, effectively changing the
default?

2002-05-20  Simon Josefsson  <address@hidden>

        * mwheel.el (mouse-wheel-follow-mouse): Change default to t.

Index: mwheel.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/mwheel.el,v
retrieving revision 1.13
diff -u -w -r1.13 mwheel.el
--- mwheel.el   4 May 2002 22:16:04 -0000       1.13
+++ mwheel.el   20 May 2002 20:05:52 -0000
@@ -95,9 +95,8 @@
   :group 'mouse
   :type 'boolean)
 
-(defcustom mouse-wheel-follow-mouse nil
-  "Whether the mouse wheel should scroll the window that the mouse is over.
-This can be slightly disconcerting, but some people may prefer it."
+(defcustom mouse-wheel-follow-mouse t
+  "Whether the mouse wheel should scroll the window that the mouse is over."
   :group 'mouse
   :type 'boolean)
 

Simon Josefsson <address@hidden> writes:

> "Stefan Monnier" <monnier+gnu/emacs/address@hidden> writes:
>
>>> When using the mouse wheel to scroll windows, pointing the mouse to an
>>> unselected window and scrolling the wheel should scroll in that window
>>> instead of the currently selected one -- at least this is how other
>>> applications behave.
>>> 
>>> I don't know how to debug or fix this myself, so I'm just reporting it
>>> in case someone else would like to work on it.
>>
>> C-h v mouse-wheel-follow-mouse RET
>
> Ah, great.
>
>> I agree that its default should be t rather than nil, tho.
>
> Yes.
>
>> Or maybe its default should be focus-follows-mouse.
>
> I don't think so.  I'm using default KDE settings (no
> focus-follows-mouse) but mouse wheel scrolling still follows mouse.
> It would be good if someone could test how GNOME and Windows behaves
> though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]