[Top][All Lists]

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

Re: [SPAM] [RP] Digraphs in ratpoison

From: Nikolai Weibull
Subject: Re: [SPAM] [RP] Digraphs in ratpoison
Date: Sat, 27 Jan 2007 12:03:04 +0100

On 1/27/07, Shawn Betts <address@hidden> wrote:
"Nikolai Weibull" <address@hidden> writes:

> Screen has digraph support.  It would be sweet if ratpoison would have
> it as well.  It can be simulated somewhat with the use of keymaps and
> the meta command (with an argument), but it's not very useful, as only
> the most basic of keys is in the keymap at the time meta is called
> (i.e., the keys you could generate yourself by pressing a key on the
> keyboard).

This looks a bit like emacs' input-methods. Is that what you're going for?

Sounds interesting. In some ways your "emulation" with keymaps is
unsightly but a keymap is a lookup table. putting it directly into
ratpoison would look similar to what you've done except it'd have a
bunch of C syntax padded around it.

How many letters can have accents? all the vowels plus n..and anything

Very many.  RFC 1345 defines a set of digraphs (i.e., pairs of
characters representing another character)


which one can use.  Vim implements it with a simple array of structs like

typedef struct digraph
 char char1;
 char char2;
 char substitution;
} digraph;


Anyway, RFC 1345 defines about 1950 such digraphs.


reply via email to

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