[Top][All Lists]

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

Re: [Nano-devel] view mode and non-existent files

From: Benno Schulenberg
Subject: Re: [Nano-devel] view mode and non-existent files
Date: Sat, 11 Nov 2017 17:46:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Op 09-11-17 om 22:49 schreef Brand Huntsman:
Should nano fail to open non-existent files in view mode? There is no content
 and you can't edit or save.

Hmm.  Yes, in View mode, nano should refuse to open a buffer for a
non-existent file.  And it should report this on the status bar,
not on stderr, because if multiple files were specified and some
of them do exist, those should be opened normally, in View mode.

There is already a mechanism that, when after processing all the
command-line arguments zero buffers are open, switches View mode


reply via email to

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