nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [no bug] do_scroll_down


From: Benno Schulenberg
Subject: Re: [Nano-devel] [no bug] do_scroll_down
Date: Fri, 9 Mar 2018 11:40:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Op 09-03-18 om 09:39 schreef Brand Huntsman:
> Open a [...] small file that fits in the window without scrolling. Go to first
> line or any line other than last and do M-= to scroll down. Should it be
> scrolling the content upward when the content fits in the window?

Yes.  It *can* scroll, the user tells it to scroll, so it should scroll.

Nano is not limited by the graphic-interface paradigm, where, when the
data fits in the window, there is no scroll bar, so you cannot scroll.

Also, in emacs, 'scroll-up-line' does the same thing: it scrolls the
content even when all of it fits in the window.

(One could even argue that, when the cursor is on the last line of the
file and not on the first row of the window, and the user tells nano
to scroll, that nano should "sacrifice" keeping the cursor in the same
spot and scroll anyway.  But as long as no one is clamoring for that...)

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]