unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Davide Viti <zinosat@tiscali.it>
Cc: 998@emacsbugs.donarmstrong.com
Subject: bug#998: after split-window-horizontally scroll works only on first	window
Date: Fri, 19 Sep 2008 10:42:35 +0200	[thread overview]
Message-ID: <48D365FB.8010007@gmx.at> (raw)
In-Reply-To: <20080919073544.GJ3430@zinosat.homelinux.com>

 > still not working and I get the very same message as yours (.... #<window 3 on .emacs>)
 > when scrolling the wheel on any of the two windows

So the fault is not with `scroll-bar-toolkit-scroll' but with the wrong
window chosen when making the input-event.  This could be related to
your mouse-driver - some of them try to "intelligently" guess the window
you want to scroll.  Finding the reason of this might be non-trivial.

 > PS: last night I gave it a go on my Ubuntu machine and it worked; C-h-k gave me this:
 >
 > <mouse-5> (translated from <down-mouse-5> <mouse-5>) at that spot runs the command mwheel-scroll
 >   which is an interactive compiled Lisp function in `mwheel.el'.
 > It is bound to <C-mouse-4>, <S-mouse-4>, <mouse-4>, <C-mouse-5>, <S-mouse-5>, <mouse-5>.
 > (mwheel-scroll event)
 >
 > Scroll up or down according to the event.
 > This should only be bound to mouse buttons 4 and 5.

I'm afraid the assignment is currently beyond the control of Emacs
whenever you have scroll bars enabled.  I suppose your Emacs on Windows
scrolls the right window (and runs `mwheel-scroll') when you disable
scroll bars, e.g., by putting (scroll-bar-mode -1) in your .emacs?

martin






  reply	other threads:[~2008-09-19  8:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 13:44 bug#998: after split-window-horizontally scroll works only on first window Davide Viti
     [not found] ` <48D29A54.2050605@gmx.at>
2008-09-19  6:50   ` Davide Viti
2008-09-19  7:01     ` martin rudalics
2008-09-19  7:35       ` Davide Viti
2008-09-19  8:42         ` martin rudalics [this message]
2008-09-19 11:23           ` Davide Viti
2008-09-19 11:36             ` martin rudalics
2008-09-24  9:35             ` martin rudalics
2008-09-29 13:26               ` Davide Viti
2008-09-30  8:58                 ` martin rudalics
2008-09-30 14:20                   ` Stefan Monnier
2008-09-30 14:33                     ` martin rudalics
2008-09-30 16:01                       ` 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=48D365FB.8010007@gmx.at \
    --to=rudalics@gmx.at \
    --cc=998@emacsbugs.donarmstrong.com \
    --cc=zinosat@tiscali.it \
    /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).