help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: greek characters


From: Pascal Bourguignon
Subject: Re: greek characters
Date: Wed, 11 May 2005 11:51:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Jörg Hagmann <address@hidden> writes:

Jörg Hagmann <address@hidden> writes:

> Dear list members,
>
> I have been using emacs for a few months but am still trying to find
> out how to type greek letters (e.g.: a-ketoglutarate, the a should be
> an alpha).

(set-input-method 'greek)

You can bind it to a function key, for example I have:

(global-set-key [C-f10] (lambda()(interactive)(set-input-method 
'cyrillic-yawerty)))
(global-set-key [C-f11] (lambda()(interactive)(set-input-method 'greek)))
(global-set-key [C-f12] (lambda()(interactive)(set-input-method 'hebrew)))

in my ~/.emacs.  Then I'd type:

   C-f11 a C-\ -ketoglutarate 

to get:

   α-ketoglutarate

C-f11 χριστòς C-\





-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Cats meow out of angst
"Thumbs! If only we had thumbs!
We could break so much!"


reply via email to

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