[Top][All Lists]

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

Re: [Nano-devel] [PATCH] startup: show the correct number of lines when

From: David Ramsey
Subject: Re: [Nano-devel] [PATCH] startup: show the correct number of lines when opening multiple files
Date: Thu, 12 Jul 2018 10:58:55 -0500

Benno Schulenberg:
> When switching to a different buffer, don't just show its name but
> also the number of lines it contains.  Use this same message when at
> startup multiple files are opened and, after reading them all, we
> switch back to the first buffer.
> (This loses the information about format conversion that nano shows
> when a single file is opened, but... how often do we still uses DOS or
> Mac files nowadays?)

Looks good to me (haven't actually tested yet, though).

As for mentioning DOS or Mac file format on the status bar, it's not so
much whether they're still used often, but that it's only displayed for
one file at most; when opening multiple buffers, it isn't be displayed
for the other buffers.  With this change, it won't be displayed for any
of the buffers, so it doesn't change the status quo much.  The
information is still available via pressing Ctrl-O and noting the
prompt, in any case, and the line number count is more useful

reply via email to

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