[Top][All Lists]

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

Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations

From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations
Date: Mon, 22 Aug 2016 10:08:39 +0200

On Sun, Aug 21, 2016, at 17:40, Rishabh Dave wrote:
> No, no; I added
>     ((\^)(Up|Down|Right|Left|space|...
> after this
>     ((\^|M-)([[:alpha:]]|space|...
> There are 4 icolor brightgreen statements and after applying the patch
> there are 6 i.e. patch adds one more pair of bind and unbind
> statements.

Ah.  Sorry.  I read your patch entirely wrong -- I saw what I
expected to see.

So now you know what I expect to see: that you change two lines,
not add two new ones.  Your two new lines are *so* similar to the
existing ones that it is wasteful duplication.

> Originally, I wanted an exclusive or between them that is  -  (\^ | M
> )|[[:alpha:]]   EX-OR  (\^)(Up | Down | Right | Left). But couldn't
> find one ex-or regex operator.

You don't need XOR there, a simple | will do -- if you add parentheses
in the right places and add Space to the first part.

> Why are we looking forward to translate Home, End, etc.? I mean, they
> have been in help for a long time.

That they have been untranslated for a long time doesn't mean that
it isn't a bug.  But it is a tiny bug, so there is no urgency.

> Are these keys too have a pending
> translation or issue arises (somehow) due to make arrow keys
> rebindable.

Making the Ctrl+Arrow keys rebindable (the Arrow keys by themselves
won't be rebindable) just makes the problem slightly more prominent.


-- - Faster than the air-speed velocity of an
                          unladen european swallow

reply via email to

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