nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] bug #28994: [Request] enable search (^W) in hel


From: David Niklas
Subject: Re: [Nano-devel] [PATCH] bug #28994: [Request] enable search (^W) in help (^G)
Date: Mon, 7 Nov 2016 20:03:44 -0500

> Hello,
> 
> Due considerable much rewriting and reordering, the patch is not on
> top of previous one. Specifically this patch adds the ability to
> delete the temporary file/s generated (handled in do_help()), wraps
> the help text as per the screen (handled in help_init()). One question
> here: why don't we allow wraps greater than 74 *even* when screen can
> accommodate it?
> 
> There is one problem with this patch. After applying this patch, one
> can open another help screen by doing ^G, ^W and ^G. Should this help
> option be disabled or it should allow this nested help? Currently it
> is allowed but buggy: leads to errors in redisplaying the buffers on
> screen or even segfault.

Just out of curiosity, why not have nano, upon ^G input, open a read only
version of the help file?
That would solve many problems and reduce code base size.
It would make nano act like as if the user input:
^R
^F
/usr/share/nano/interanl-help.txt

David



reply via email to

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