all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mike Kupfer <mkupfer@alum.berkeley.edu>
To: Andrew Kurn <kurn@sfu.ca>
Cc: 32002@debbugs.gnu.org, Noam Postavsky <npostavs@gmail.com>
Subject: bug#32002: 24.4; Scroll bar start, end not correct
Date: Tue, 03 Jul 2018 22:13:01 -0700	[thread overview]
Message-ID: <11717.1530681181@alto> (raw)
In-Reply-To: Your message of "Tue\, 03 Jul 2018 20\:45\:41 -0700." <20180704034541.GB16344@sfu.ca>

[-- Attachment #1: Type: text/plain, Size: 1583 bytes --]

Andrew Kurn wrote:

> Anyhow, my contention is that, since the whole buffer is on display,
> the scroll bar should extend over the whole window.  The length of the
> scroll bar, as a fraction of the window height, is supposed to be the
> fraction of the buffer on display.  Its top is the character (line,
> usually) where the display starts.  Its bottom is where it stops.

That's what I would expect, too.  The current behavior was explained to
me as deliberate, to account for differences in scrolling behavior when
comparing Emacs to GTK apps like gedit.  That is, when you get to the
end of a file in gedit, the last line of the file is at the bottom of
the window.  If you get to the bottom of the file and continue to press
PgDown or the down arrow key, gedit just beeps at you.

With Emacs, though, it is possible, using PgDown or C-v, to scroll down
so that the last line of the file appears higher up in the window,
possibly even at the very top of the window.

There does seem to be an inconsistency between the scrollbar and
scrolling using keypresses.  For example, in the attached screenshot, if
I try to scroll using PgDown, C-v, or down arrow, I get an "End of
buffer" error.  Yet I can scroll down using the down-stepper on the
scrollbar.  And if I drag the scrollbar marker down as far as it will
go, the text scrolls off the top, leaving me with a blank window.

Personally, I find the gap below the scrollbar marker disorienting; I
can't trust the scrollbar to show me when I'm at the end of the file.
This is annoying enough that I try to avoid Emacs+GTK.

mike

[-- Attachment #2: Emacs at end-of-file --]
[-- Type: image/png, Size: 45698 bytes --]

  parent reply	other threads:[~2018-07-04  5:13 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29  7:36 bug#32002: 24.4; Scroll bar start, end not correct Andrew Kurn
2018-06-29  8:53 ` Eli Zaretskii
     [not found]   ` <20180629162402.GA21197@sfu.ca>
2018-06-29 17:24     ` Eli Zaretskii
2018-07-01  1:30       ` Andrew Kurn
2018-07-02 18:16         ` Glenn Morris
2018-07-02 18:20           ` Glenn Morris
2018-07-03 12:58           ` Andrew Kurn
2018-07-04  2:00             ` Noam Postavsky
2018-07-04  3:45               ` Andrew Kurn
2018-07-04  4:59                 ` Eli Zaretskii
2018-07-04  5:13                 ` Mike Kupfer [this message]
2018-07-04  5:34                   ` Eli Zaretskii
2018-07-04 16:32                     ` Mike Kupfer
2018-07-04 23:36                       ` Mike Kupfer
2018-07-04 23:44                         ` Noam Postavsky
2018-07-04 23:56                           ` Mike Kupfer
2018-07-05  2:36                             ` Eli Zaretskii
2018-07-05  5:28                               ` Mike Kupfer
2018-07-05  6:27                                 ` Eli Zaretskii
2018-07-05 15:05                                   ` Mike Kupfer
2018-07-06  3:58                                     ` Mike Kupfer
2018-07-06  6:10                                       ` Eli Zaretskii
2018-07-06 10:32                                         ` Robert Pluim
2018-07-06 12:56                                           ` martin rudalics
2018-07-06 13:31                                             ` Eli Zaretskii
2018-07-07  7:15                                               ` martin rudalics
2018-07-07  7:35                                                 ` Eli Zaretskii
2018-07-07  7:47                                                   ` martin rudalics
2018-07-07 15:19                                                     ` Mike Kupfer
2018-07-07 15:59                                                       ` Eli Zaretskii
2018-07-07 23:05                                                         ` Mike Kupfer
2018-07-08  3:00                                                           ` Mike Kupfer
2018-07-07 16:00                                                       ` Mike Kupfer
2018-07-08  8:11                                                       ` martin rudalics
2018-07-09  1:42                                                         ` Mike Kupfer
2018-07-09  2:53                                                           ` Mike Kupfer
2018-07-09  8:34                                                             ` martin rudalics
2018-07-09  8:34                                                           ` martin rudalics
2018-07-09 14:39                                                             ` Mike Kupfer
2018-07-10  7:30                                                               ` martin rudalics
2018-07-14  4:31                                                                 ` Mike Kupfer
2018-07-14  8:00                                                                   ` martin rudalics
2018-07-21  0:28                                                                     ` Mike Kupfer
2018-07-21  7:44                                                                       ` martin rudalics
2018-07-14  4:13                                                             ` Mike Kupfer
2018-07-06 15:02                                           ` Mike Kupfer
2018-07-06 16:02                                             ` Robert Pluim
2018-07-07  7:17                                             ` martin rudalics
2018-07-04  7:49                   ` Andrew Kurn
2018-07-04  9:30                     ` Stephen Berman
2018-07-04 12:10                     ` Noam Postavsky
2018-07-04 16:34                     ` Mike Kupfer
2018-07-10 19:16 ` Andrew Kurn
2018-07-11  3:02   ` Eli Zaretskii
2018-07-12  7:11     ` Andrew Kurn
2018-07-12 13:29       ` Eli Zaretskii
2018-07-12 15:57         ` Stephen Berman
2018-07-12 16:35           ` Eli Zaretskii
2018-07-14  4:56         ` Mike Kupfer
2018-07-14  6:49           ` Eli Zaretskii
2018-07-14  8:01             ` martin rudalics
2018-07-21 13:50               ` Eli Zaretskii
2018-07-22  7:25                 ` martin rudalics
2018-07-22 14:55                   ` Eli Zaretskii
2018-07-23  6:51                     ` martin rudalics
2018-07-27  8:30                   ` Eli Zaretskii
2018-07-27  9:23                     ` martin rudalics
2018-07-27 11:03                       ` Andrew Kurn
2018-07-27 12:27                         ` Eli Zaretskii
2018-07-28  7:22                           ` martin rudalics
2018-07-29  2:51                             ` Mike Kupfer
2018-07-16  1:47             ` Mike Kupfer
2018-07-21 13:53               ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11717.1530681181@alto \
    --to=mkupfer@alum.berkeley.edu \
    --cc=32002@debbugs.gnu.org \
    --cc=kurn@sfu.ca \
    --cc=npostavs@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.