[Top][All Lists]

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

Re: Writing source code with Unicode characters

From: Rusi
Subject: Re: Writing source code with Unicode characters
Date: Thu, 6 Feb 2014 18:52:23 -0800 (PST)
User-agent: G2/1.0

On Thursday, February 6, 2014 11:56:45 PM UTC+5:30, Óscar Fuentes wrote:
> I'll like to experiment with using Unicode on source code (λ instead of
> lambda, etc) but it seems quite inconvenient to insert those chars with
> C-x 8 RET. Org-mode has the capability of displaying λ when you type
> \lambda, but that's just a display replacement, the raw text still is
> \lambda.

> What can I use to make more convenient the insertion of Unicode chars?
> (I'm mostly interested on Greek letters and other math-related symbols)

It really depends on the set size:
- a handful of greek characters?
- a hundred or so greek+math characters?
- full unicode (million) characaters?

In short huffman coding imposes natural limits on how convenient one 
can make the char-entry.

On a recent X, there is an apl keyboard. Start it with
$ setxkbmap -layout "us,apl" -option "grp:ralt_rshift_toggle"

Toggle it with rshift ralt [single char is also possible]

After that typing abcdefgh gives

Now all that remains, analogous to "define an apl-keyboard"
is to define an Oscar-keyboard :D

reply via email to

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