GNU bug report logs - #32002
24.4; Scroll bar start, end not correct

Previous Next

Package: emacs;

Reported by: Andrew Kurn <kurn <at> sfu.ca>

Date: Fri, 29 Jun 2018 07:37:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 24.4

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #220 received at 32002 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 32002 <at> debbugs.gnu.org, kurn <at> sfu.ca, mkupfer <at> alum.berkeley.edu
Subject: Re: bug#32002: 24.4; Scroll bar start, end not correct
Date: Fri, 27 Jul 2018 11:30:16 +0300
> Date: Sun, 22 Jul 2018 09:25:20 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: mkupfer <at> alum.berkeley.edu, 32002 <at> debbugs.gnu.org, kurn <at> sfu.ca
> 
>  > Or did you mean to disable scrolling-up in this case, and thus remove
>  > the need for scrolling down?
> 
> That's the idea.  The entire text stays put in the window and any
> attempt to move the thumb has no effect.  Obviously, users can always
> change the window start position by other means but in that case they
> are on their own.
> 
>  > Hmm... maybe that's the only solution to
>  > this conundrum, but in that case I think it would be safer to add
>  > scroll-bar-adjust-thumb-portion to your condition about portion-whole.
> 
> There's probably more of that.  For example, I have no idea whether
> the car and cdr of 'portion-whole' are always numbers.  Honestly, I
> dislike the idea of changing this code myself.  My knowledge of what
> scrolling should do is too limited.

How about putting on master a patch that does what you suggested,
conditioned on scroll-bar-adjust-thumb-portion being nil and the car
and cdr of portion-whole being both numbers?  How bad could that be,
given that this mode is evidently not used by anyone?

Thanks.




This bug report was last modified 6 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.