From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Rose Newsgroups: gmane.emacs.bugs Subject: bug#2996: 23.0.92; Scrolling narrows region Date: Thu, 16 Apr 2009 10:35:11 +0200 Message-ID: <87d4bduhc0.fsf@kassiopeya.MSHEIMNETZ> References: <87iql5bk3x.fsf@cyd.mit.edu> Reply-To: Sebastian Rose , 2996@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239871470 4310 80.91.229.12 (16 Apr 2009 08:44:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 08:44:30 +0000 (UTC) Cc: 2996@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 10:45:44 2009 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 1LuNDw-0001GO-AG for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 10:45:32 +0200 Original-Received: from localhost ([127.0.0.1]:49301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuNCX-0007S9-8g for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 04:44:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuNCR-0007Ro-Ee for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 04:43:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuNCL-0007RG-NB for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 04:43:57 -0400 Original-Received: from [199.232.76.173] (port=41289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuNCL-0007RC-H2 for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 04:43:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50050) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuNCK-00059D-W1 for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 04:43:53 -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 n3G8hpIa025590; Thu, 16 Apr 2009 01:43:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3G8e46R024498; Thu, 16 Apr 2009 01:40:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sebastian Rose Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 16 Apr 2009 08:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2996 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2996-submit@emacsbugs.donarmstrong.com id=B2996.123987072023048 (code B ref 2996); Thu, 16 Apr 2009 08:40:04 +0000 Original-Received: (at 2996) by emacsbugs.donarmstrong.com; 16 Apr 2009 08:32:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. 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 n3G8Vpmb023042 for <2996@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 01:31:52 -0700 Original-Received: (qmail invoked by alias); 16 Apr 2009 08:31:44 -0000 Original-Received: from dslb-088-071-097-161.pools.arcor-ip.net (EHLO kassiopeya.MSHEIMNETZ.gmx.de) [88.71.97.161] by mail.gmx.net (mp048) with SMTP; 16 Apr 2009 10:31:44 +0200 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX1957kdSj+15LkFnPU52jYuHMv545s9cPsx1vTk7x9 w3ZgubAW0ZUYpD In-Reply-To: <87iql5bk3x.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 15 Apr 2009 18:57:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.58 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 16 Apr 2009 04:43:57 -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:27227 Archived-At: Chong Yidong writes: > I can't reproduce this. Did you scroll using the mouse-wheel, the > scroll-bar, or some other method? Please provide a *precise* set of > instructions for reproducing this bug, starting from emacs -Q. Yes, sorry for being unclear. I indeed found, that this only happens when I use the mousewheel (which I always do: scroll-bar-mode nil). Here's the recipe: 1. emacs -Q 2. C-x C-f file file should contain more than a screenfull of text. 3. Right-click somewhere in the window to produce an active region. If you didn't move point before this, the region starts at the very top of the buffer. 4. Right-click somewhere further down to see, that the region is resized. 5. Scroll down using the mousewheel, until the point moves. This happens, when point touches the upper window border. The mark is now moved from the very top of the buffer, to the first visible line. Starting from 2. somewhere towards the end of the buffer and scrolling up (in step 4.) has the same effect. Note, that this does _NOT_ happen, when using the scrollbars or C-v. It _DOES_ happen, when using M-v This does _NOT_ happen, when I set the mark (C-SPACE). | Way to scroll | direction | region is growing | |---------------+-----------+-------------------| | scrollbar | down | t | | mousewheel | down | nil | | C-v | down | nil | | scrollbar | up | t | | mousewheel | up | nil | | M-v | up | nil | When the mark is set through C-SPACE: | Way to scroll | direction | region is growing | |---------------+-----------+-------------------| | scrollbar | down | t | | mousewheel | down | t | | C-v | down | t | | scrollbar | up | t | | mousewheel | up | t | | M-v | up | t | What I expected to happen: I simply expected the region to grow in either case (scrollbar, wheel, C/M-v). At least, I expected scrollbars and mousewheel to behave the same way. -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose@emma-stil.de, sebastian_rose@gmx.de Http: www.emma-stil.de