Re: [PATCH] new feature: horizontal scrolling of full screen

Benno Schulenberg <[email protected]> Fri, 9 Jan 2026 11:40:20 +0100
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Op 07-01-2026 om 21:04 schreef Xylia Allegretta:
> Testing out your implementation, the only problems I've noticed so far are
> that <Backspace> doesn't scroll the screen backwards and that opening the
> help text doesn't reset the scroll amount, cutting off the beginning of the
> text.

Thanks for testing.  The third version of the patch (that I'll post in a few
minutes) should fix those problems.

> Assuming those are fixed, though, I don't think there's really much
> of a difference between our implementations in terms of user experience, so
> to be honest, it doesn't much matter to me which one you merge.
> 
> As long as the feature gets added, and as long as it works, that's good
> enough for me.
Okay.  Good to hear.

(The thing I most disliked about your implementation was the need to fill a 
string with spaces, to stand in for a line that is fully offscreen to the left.
And now that I've read the associated comment and tried it out...  No no, the
mark should not highlight anything if there are not actually any characters
there -- let alone highlight right through the "scrollbar", the indicator.)

Then now comes the question: what to call the option that activates this
feature.  Or... maybe this feature should become the new default?  Because
it is much more user friendly than the current behavior of scrolling just
the current line.  I will send a separate email (an RFC) about this.


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmlg2xQFAwAAAAAACgkQUUu+Lrjhlh8o
Eg//TStN4TEdL7qGuJYl2+X5lN62vs1bxi5BovWZahArKw/Z67AC+ZBT2nf0UnQpWtdcbFGXDOuu
3XvtiuwlyE6aOGhxgs/GOEmnA84KuKscHSmKE+6cwwmiiodzebeXIqC4HzPdLsYYSy9AvxsRcLA9
yATYCRvXKbP2DrbI88XMNwh0bnWLE97e4wvRoFD0FiRti3yaK/wALROhT4jrE/bDuQJ8LG9O3D/R
ltV/g8T+Os+Gr/JHvVLqamPBuY2DIzpnaYWIHnM0aesTev2D1shlvFpHmtIE1i9MltHfqu3PtgI8
5O5Qihsk9ZFvIqwcGorsHJq33DAGogAYy0o6Qkl8UWb22E86dNxsXh0F5giw6huDhy1B1DT2+VQH
F/FK+AIv1woE2IDTPJF6OZaw4irojH9CD3GebpdzBCw4OTYdQJPfxPdPHkd0evCGc8tEufWj58CJ
3gXn8xEuQQJe0ynLFTImp0LKTJ9sdq9kND1SmsJquhfX4JYVfeiSWd6U5ws2E9RKq8Ju6FKwpSyf
XwVaa5NQtQ7wUKnG3mSFddHS1t1oaGgUQugQDOYtMLvg57K4s0EjCRCnWgA5kfZZu33BAJFamjyZ
01DDNZgJ9eW0R+zvq9DAFbPcUYuSL+jDmnF9klxZWzjtyLz1HZWcdLen//UQknysMCm60IiABtzz
YDs=
=5vQA
-----END PGP SIGNATURE-----