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: David Ramsey
Subject: Re: [Nano-devel] [PATCH] options: let view mode activate "multibuffer" to allow viewing more files
Date: Thu, 18 Oct 2018 14:49:09 -0500

Benno Schulenberg:
> This seems hardly necessary.  In my eyes, the --view option is meant
> to be used by the user himself or herself, to prevent accidental
> modification while looking around in a file.  If there are scripts
> that show a file to the user by using nano in view mode, and they did
> not want to allow the user to view other files, those scripts must
> have used either --ignorercfiles or --restricted (or both, of course).
> But --ignorercfiles would prevent any customization by the user,
> reducing the usefulness of nano as a viewer.  So most likely those
> scripts will use --restricted and they won't need to change anything.

Ideally, yes.  But a change in default behavior needs to be documented,
just in case.

> But if you wish to propose a small addition to the description of
> --view and 'set view'...

Yes.  Something like the attached patch.

Attachment: 0001-docs-document-that-view-mode-enables-multibuffer-mod.patch
Description: Text Data


reply via email to

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