[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] Per syntax key bindings
From: |
Marco Diego Aurélio Mesquita |
Subject: |
Re: [Nano-devel] [PATCH] Per syntax key bindings |
Date: |
Thu, 24 May 2018 01:17:42 -0300 |
On Thu, May 24, 2018 at 12:25 AM, Brand Huntsman <address@hidden> wrote:
> On Thu, 24 May 2018 00:14:48 -0300
> Marco Diego Aurélio Mesquita <address@hidden> wrote:
>
>> >> extendsyntax c bind M-" "Test" all
>> >> extendsyntax c bind ^G "Test2" all
>> >
>> > There shouldn't be any issues if it only applies one command, I
>> > thought maybe it opened up live_syntax and multiple commands could
>> > be used.
>>
>> AFAICS this feature is desired. So, if my patch doesn't break
>> anything, I want it included.
>
> Did you imply my above response to mean your patch works fine? The rest of
> the email clearly explained how your patch breaks everything.
>
>
Sorry, I think I did not understand you correctly.
Currently it is possible to define a syntax in nano right after a
"syntax" command. You are proposing that every "syntax" command should
be matched by a corresponding "endsyntax" command so that the syntax
is defined inside a block (that starts in "syntax" and ends in
"endsyntax") and allow the bind command to be used inside such block;
is that?