nano-devel
[Top][All Lists]
Advanced

[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: Sun, 21 Aug 2016 12:17:20 +0200

On Sun, Aug 21, 2016, at 09:00, Rishabh Dave wrote:
> Attached patch fixes issue of colouring in rcfiles

Incorrect.  You changed
  ((\^|M-)([[:alpha:]]|space|...
to
  ((\^)(Up|Down|Right|Left|space|...

which means that now any ^X and M-X stay red.

> About translations, some even go as far as 10 characters. (I
> translated 'right', 'right side', 'right hand' individually for the
> languages we have translated for nano). One alternative could be to
> keep Up, Down, Right, Left as it is and mention their translation
> elsewhere (at bottom, for example).

Awkward.  How is the user to know that some things are explained
at the end?  Add a reference?  Clumsy.

No, one idea would be to "translate" those words to actual arrows,
so that we will show:

←  and  ^←
→  and  ^→
↑  and  ^↑
↓  and  ^↓

For example:

^B    (←)       Reculer d'un caractère
^F    (→)       Avancer d'un caractère

However, that will only work in a UTF-8 locale (which most people
using a translated nano will use, but still...).  And it doesn't
cover Home, End, PgUp, PgDn.  For the first two we could use maybe
⍇ and ⍈, but for the latter... I don't know.

> I think most people irrespective of their first language would
> recognize basic words in English, especially for those who are giving
> up their comfort to know and use a platform based on GNU/Linux.

Ouch.  You are saying that using a GNU/Linux system is a discomfort?

:)

Benno

-- 
http://www.fastmail.com - IMAP accessible web-mail




reply via email to

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