[Top][All Lists]

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

Re: Looking for the "best" notation for key-binding

From: Peter Dyballa
Subject: Re: Looking for the "best" notation for key-binding
Date: Fri, 21 Sep 2012 16:59:54 +0200

Am 21.09.2012 um 15:29 schrieb Stefan Monnier:

>> I think the vector notation is a good choice:
>>      (global-set-key [C-∫]           'backward-sexp) ; A-C-b
> This likely won't work.  You need
>    (global-set-key [?\C-∫] 'backward-sexp) ; A-C-b
> instead.  Yes, it's an annoyance.  You have to understand the
> distinction between keys that emit characters and other keys (that emit
> symbols).

Yes, it stopped working. A-b produces on my (Mac) keyboard ∫. So ∫ is a symbol 
just as © or Ω? What makes the distinction? Unicode character classes?



When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
                        – Rinzai, ninth century Zen master

reply via email to

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