[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] warning the user that some keys cannot be rebound
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] warning the user that some keys cannot be rebound |
Date: |
Mon, 12 Sep 2016 21:43:32 +0200 |
On Mon, Sep 12, 2016, at 18:56, Rishabh Dave wrote:
> On Sun, Sep 11, 2016 at 8:46 PM, Benno Schulenberg wrote:
> > No, it doesn't. If I put "bind Mxa help all" in my .nanorc,
> > it gets accepted -- but it shouldn't. Please add a condition
> > for that, as the first condition in the series.
>
> Okay, I was only considering cases like MSpaces (missing hyphen).
> Cases like Mxa are also covered this time.
- } else if (keycopy[0] == '^' && (keycopy[1] < 64 || keycopy[1] > 127)) {
+ } else if ((keycopy[1] != '-' && keycopy[0] == '^' &&
+ ((keycopy[1] < 64 || keycopy[1] > 127) || [...]
O, come on, you can't be serious. You didn't even test this!
"bind Mxa help all" still gets accepted.
Benno
--
http://www.fastmail.com - The way an email service should be
- Re: [Nano-devel] warning the user that some keys cannot be rebound, (continued)
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/06
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/06
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/07
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/07
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/07
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/11
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/11
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/11
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/11
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/12
- Re: [Nano-devel] warning the user that some keys cannot be rebound,
Benno Schulenberg <=
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/14
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/14
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Rishabh Dave, 2016/09/15
- Re: [Nano-devel] warning the user that some keys cannot be rebound, Benno Schulenberg, 2016/09/16
- [Nano-devel] [bug] Ctrl+Left jumps a word right when unbound, Benno Schulenberg, 2016/09/10