nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] options: let view mode activate "multibuffer" t


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] options: let view mode activate "multibuffer" to allow viewing more files
Date: Sun, 21 Oct 2018 17:12:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Op 18-10-18 om 21:49 schreef David Ramsey:
> Benno Schulenberg:
>> But if you wish to propose a small addition to the description of
>> --view and 'set view'...
>
> Yes.  Something like the attached patch.
> 
> 
> -Just view the file and disallow editing: read-only mode.
> +Just view the file and disallow editing: read-only mode.  This also enables
> +multibuffer mode, unless another option is given that conflicts with having
> +multiple buffers.

"...unless another option..."  That is too vague.  Is there any other option
besides --restricted that can prevent opening multiple buffers?

(And I don't like mentioning "multibuffer mode", as it is a misnomer.  It
is not a mode, it is a setting: "load file into new buffer".)

So I propose:

+Just view the file and disallow editing: read-only mode.  This mode allows
+the user to open also other files for viewing, unless --restricted was given.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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