nano-devel
[Top][All Lists]
Advanced

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

Re: things on the minibar are distracting


From: Benno Schulenberg
Subject: Re: things on the minibar are distracting
Date: Sun, 31 Jan 2021 20:07:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

(You may want to start reading at the end.)

Op 31-01-2021 om 14:48 schreef Seb:
> As the name "minibar" suggests, the main point of this option seems to be to 
> free
> up as many lines on the screen as possible.

Not quite.  I've chosen the name --minibar partially because it sounds funny,
and is thus easy to remember.  But mostly the "mini" is in comparison to what
--constantshow shows, reinforced by saving one row at the top.

Also, the "mini" is in comparison to what other small editors like 'le' and
'ne' show.  First the bottom row of 'le README', then 'ne README':

  Line=1     Col=1    Sz:2951   Ch:EOL    IA   "README" Offs:0 (0%)

  L:          1 C:          1   1%  i-----pvu-T------@A- README

Or what emacs shows:

  -UU-:----F1  README         Top L1    Git-minibar-with-constantshow  (Fundamen

> This, I think, interests many people,
> including me. It's all about real estate and aesthetics.
> 
> For some reason, part of the information you included in this minibar is 
> highly
> technical, interests few people, and even them will rarely make use of it.
> 
> Thus the behaviour is currently a strange mix, like a drag-racing mode on a
> people carrier. What should have been --minibar has become
> --minibarPOWERUSERHAHAHA :-)

I've made --minibar to show the things that /I/ want to see.  Peter and Obelix
have started using the minibar too, and they don't seem to mind the line plus
column number and the character code.

> The current design does not seem in line with Nano's usually simple and
> no-nonsense approach. For instance, an intuitive behaviour for --minibar 
> would be
> to write on the bottom line exactly what is usually displayed on the top line.

I don't want --minibar to just mean: put the title bar at the bottom.  I don't
want to see "Modified" or similar things in that "mini bar".  As said: I've made
the minibar to suit my needs.  And I can imagine that quite a few people will be
put off by feedback messages like "Not found" being overwritten after four 
fifths
of a second, so I don't expect many people to start to use it, so I don't mind 
if
there are other things about this mini bar that they don't like.

> So that's a way of having nothing on the bottom line. Better yet perhaps 
> would be
> to have on the bottom line what Nano would show on the top line if called 
> without
> --minibar?

Aah...  Of course!  That makes more sense than fully hiding the bar.  And it
gives --constantshow and M-C their meaning back.  See attached patch.  You will
have to live with the percentage at the end, as I don't want anything to move
when M-C is toggled.

Benno

Attachment: 0001-minibar-hide-cursor-position-and-character-code-when.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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