all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Writing source code with Unicode characters
Date: Fri, 7 Feb 2014 08:41:50 -0800 (PST)	[thread overview]
Message-ID: <1ec0ce1b-3c13-43a0-a951-812c0a498d9f@googlegroups.com> (raw)
In-Reply-To: <6b23441a-6602-420d-871a-efc0fdc3c420@googlegroups.com>

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

αβψδεφγηιξκλμνοπ;ρστθωςχυζ


  reply	other threads:[~2014-02-07 16:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.13962.1391711236.10748.help-gnu-emacs@gnu.org>
2014-02-06 20:36 ` Writing source code with Unicode characters Eric Wolf
2014-02-07  2:52 ` Rusi
2014-02-07 16:41   ` Rusi [this message]
2014-02-06 18:26 Óscar Fuentes
2014-02-06 18:45 ` Eli Zaretskii
2014-02-06 18:48 ` Drew Adams
2014-02-06 19:23 ` Göktuğ Kayaalp
2014-02-06 20:38 ` Óscar Fuentes
2014-02-06 22:59   ` Drew Adams
2014-02-07  0:32 ` Florian Beck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1ec0ce1b-3c13-43a0-a951-812c0a498d9f@googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.