nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Re: [Info-nano] Nano Feature Request?


From: Chris Allegretta
Subject: Re: [Nano-devel] Re: [Info-nano] Nano Feature Request?
Date: Mon, 27 Jul 2009 17:48:47 -0400

On Mon, Jul 27, 2009 at 4:33 PM, Adam Wysocki via
ArcaBit<address@hidden> wrote:
> Yes - enabling this by default is not a good idea. There should be a flag
> to enable it (i.e. in nanorc) and to override and disable (i.e. from
> command line). But this makes two flags. Maybe a flag taking a boolean
> argument (on, off)?

Traditionally we've not had too much issue just saying that there is a
flag to enable the feature, and if one does not want the feature they
should not specify the flag. Otherwise like you say we either need to
use flag=yes/flag=no, the lower case/capital letter combo for
enable/disable or the +flag -flag nomenclature, neither of which is
too palatable given how many flags nano supports.

> Also, as far as I can see, nano does not support view mode in some buffers
> only. Only a global flag. This could be addressed too.

I think we need to consider what view mode really means since it's not
entirely clear to me anymore (not that it ever was). Changing it so
that it could be turned on and off per buffer would enable us to do
other things as well, like adding the vi movement sequences for those
who are really interested in having that when view mode is on.

>> We need to figure out a way to fix that long term anyway to add other
>> features, so I think it's worth figuring out a way to do this
>> regardless.
>
> Personally I think the most elegant solution would be something similar
> to the patch attached now.

Wow that looks amazingly clean, I'll have to look at it more closely
when I get home.




reply via email to

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