From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#998: after split-window-horizontally scroll works only on first window Date: Fri, 19 Sep 2008 10:42:35 +0200 Message-ID: <48D365FB.8010007@gmx.at> References: <20080918134412.GH3430@zinosat.homelinux.com> <48D29A54.2050605@gmx.at> <20080919065012.GI3430@zinosat.homelinux.com> <48D34E41.9090301@gmx.at> <20080919073544.GJ3430@zinosat.homelinux.com> Reply-To: martin rudalics , 998@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221815492 18670 80.91.229.12 (19 Sep 2008 09:11:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 09:11:32 +0000 (UTC) Cc: 998@emacsbugs.donarmstrong.com To: Davide Viti Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 11:12:28 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KgbzJ-0006Wd-Sz for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 11:09:18 +0200 Original-Received: from localhost ([127.0.0.1]:39197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgbyI-0003wA-Jv for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 05:08:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kgbxl-0003jx-3D for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 05:07:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kgbxk-0003j6-0x for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 05:07:40 -0400 Original-Received: from [199.232.76.173] (port=51117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kgbxj-0003j3-NS for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 05:07:39 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33581) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kgbxh-000617-T8 for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 05:07:38 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8J97ZUK009461; Fri, 19 Sep 2008 02:07:36 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8J8o9be002456; Fri, 19 Sep 2008 01:50:09 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 19 Sep 2008 08:50:09 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 998 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 998-submit@emacsbugs.donarmstrong.com id=B998.12218139241605 (code B ref 998); Fri, 19 Sep 2008 08:50:09 +0000 Original-Received: (at 998) by emacsbugs.donarmstrong.com; 19 Sep 2008 08:45:24 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8J8jKCi001159 for <998@emacsbugs.donarmstrong.com>; Fri, 19 Sep 2008 01:45:21 -0700 Original-Received: (qmail invoked by alias); 19 Sep 2008 08:45:14 -0000 Original-Received: from 62-47-44-24.adsl.highway.telekom.at (EHLO [62.47.44.24]) [62.47.44.24] by mail.gmx.net (mp058) with SMTP; 19 Sep 2008 10:45:14 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18G9R4GwcoGfQmPXOgSbDz2FfX2UPIpo1fEbZATKc cksMIsQj8/D5hZ User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <20080919073544.GJ3430@zinosat.homelinux.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 19 Sep 2008 05:07:40 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20646 Archived-At: > still not working and I get the very same message as yours (.... #) > 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: > > (translated from ) at that spot runs the command mwheel-scroll > which is an interactive compiled Lisp function in `mwheel.el'. > It is bound to , , , , , . > (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