GNU bug report logs - #3576
23.0.94; scroll bar scrolls past eob - keeps scrolling

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 15 Jun 2009 16:40:06 UTC

Severity: normal

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 3576 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 3576 <at> debbugs.gnu.org, "'Eli Zaretskii'" <eliz <at> gnu.org>
Subject: Re: bug#3576: 23.0.94; scroll bar scrolls past eob - keeps scrolling
Date: Sat, 27 Jun 2009 02:38:00 +0200
> Why should they put the last line (whitespace or not) at the _top_ of the
> window, instead of the bottom of the window?

That's the wrong question.  The right question could be something like:

- Why should Emacs (or any other application ofr that matter) prevent
  you from displaying the last line anywhere else than the bottom of the
  window, what would be gained from it?
- Why does Emacs only let you display the first line of the buffer at
  the top of the window? [well, actually, if you play enough with
  overlays and before-strings you could move the first line further
  down, but that's cheating]
- Why hasn't anybody written a patch (after all these years of acrymony)
  so that Emacs can mimick the brain-dead dogmatic behavior of most
  other GUI apps's drag scroll?

> Do you know of a use case for that,

Of course: move the last line so it sits right next to some other line
in some other window.  I often do such things to compare two windows
line-by-line (it doesn't always involve the last line of one of the two
buffers, but sometimes does).

> which might justify that as the standard behavior?

The real justification is that it's difficult to implement and the
benefits are dubious.


        Stefan



This bug report was last modified 13 years and 309 days ago.

Previous Next


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