[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] startup: show the correct number of lines when
Re: [Nano-devel] [PATCH] startup: show the correct number of lines when opening multiple files
Thu, 12 Jul 2018 14:15:33 -0500
> Could the format conversion message be written to stderr, along with
> filename? There are still many downloads in DOS/Mac format that cause
> problems with scripts.
I hadn't thought of that angle, and it is a problem.
> The conversion message is useful when viewing the file to verify its
> contents, and the ^O indicator is only visible if the file is
Couldn't you press ^O to get the prompt, read whether it has an "[XXXX
Format]" suffix, and then cancel out of the prompt?
Alternatively, there could be an indicator on the titlebar indicating
whether the file has DOS endings, Mac endings, or a mix of both. That
would make it easier to determine which file has what endings if you
have multiple files open. However, that would also make the titlebar
display code more complex.