[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: |
Fri, 7 Feb 2014 08:41:50 -0800 (PST) |
User-agent: |
G2/1.0 |
On Friday, February 7, 2014 8:22:23 AM UTC+5:30, Rusi wrote:
> 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
$ setxkbmap -layout us,gr -option grp:win_switch -option grp:alt_shift_toggle
And now pressing the win key along with a-z gives
αβψδεφγηιξκλμνοπ;ρστθωςχυζ
- Writing source code with Unicode characters, Óscar Fuentes, 2014/02/06
- Re: Writing source code with Unicode characters, Eli Zaretskii, 2014/02/06
- RE: Writing source code with Unicode characters, Drew Adams, 2014/02/06
- Re: Writing source code with Unicode characters, Göktuğ Kayaalp, 2014/02/06
- Re: Writing source code with Unicode characters, Óscar Fuentes, 2014/02/06
- Re: Writing source code with Unicode characters, Florian Beck, 2014/02/06