unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 2996@emacsbugs.donarmstrong.com
Subject: bug#2996: 23.0.92; Scrolling narrows region
Date: Thu, 16 Apr 2009 10:35:11 +0200	[thread overview]
Message-ID: <87d4bduhc0.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <87iql5bk3x.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 15 Apr 2009 18:57:54 -0400")



Chong Yidong <cyd@stupidchicken.com> 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






  reply	other threads:[~2009-04-16  8:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 22:57 bug#2996: 23.0.92; Scrolling narrows region Chong Yidong
2009-04-16  8:35 ` Sebastian Rose [this message]
2009-04-20  7:58   ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2009-04-25 15:35 Chong Yidong
2011-07-11  2:45 ` Glenn Morris
2009-04-14 18:33 Sebastian Rose

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=87d4bduhc0.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=2996@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /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).