[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] several ASCII characters from 64 to 127 cannot
From: |
Rishabh Dave |
Subject: |
Re: [Nano-devel] [PATCH] several ASCII characters from 64 to 127 cannot be rebound but are accepted without protest |
Date: |
Tue, 11 Oct 2016 10:13:41 +0530 |
On Sun, Oct 9, 2016 at 4:19 PM, Benno Schulenberg
<address@hidden> wrote:
>
> On Tue, Sep 20, 2016, at 19:31, Rishabh Dave wrote:
>> Attached patch fixes all -- not wrapping, changing numbers instead of
>> operators in if statement, colouring M-`, M-~ and M-@ in green, not
>> colouring Ctrl combinations of ASCII symbols below 65 in green and
>> removing extra "0-9" from unbind line as well.
>
> Okay. But you've removed too many characters. When
> I now put "bind M-< help main" or "bind M-, help main"
> in my .nanorc, they are colored in red instead of green,
> but they are valid rebindings.
Yes, mistake is mine: for characters below ASCII 65, ctrl combination
are rejected but not meta-key sequences; I treated meta as ctrl
sequences. All valid meta sequences below 64 will now appear green.
Just in case you wanted only '<' and ',' to be coloured green, another
patch is attached; with same name suffixed by "-1". Both patches are
signed.
0001-rcfile-reject-rebindings-with-no-effect-or-with-side.patch
Description: Text Data
0001-rcfile-reject-rebindings-with-no-effect-or-with-side-1.patch
Description: Text Data