[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: creating a sub-menu
From: |
Joost Kremers |
Subject: |
Re: creating a sub-menu |
Date: |
6 Mar 2013 01:42:58 GMT |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
ken wrote:
> Trying to create a sub-menu under "Edit". Got part of the way there,
> but still missing something.
>
> (define-key menu-bar-edit-menu [insert-xascii-chars]
> '(menu-item "Insert non-ASCII characters" xascii
>
> (xascii "\C-xaa" "ä" "ä` (ä)" ("ä"))
> (xascii "\C-xaA" "Ä" "Ä` (Ä)" ("Ä"))
> (xascii "\C-xao" "ö" "ö` (ö)" ("ö"))
> (xascii "\C-xaO" "Ö" "Ö` (Ö)" ("Ö"))
> (xascii "\C-xau" "ü" "ü` (ü)" ("ü"))
> (xascii "\C-xaU" "Ü" "Ü` (Ü)" ("Ü"))
> (xascii "\C-xas" "ß" "ß` (ß)" ("ß"))
> (xascii "\C-xa<" "«" "«` («)" ("«"))
> (xascii "\C-xa>" "»" "»` (»)" ("»"))))
>
> Above yields error:
> Debugger entered--Lisp error: (wrong-type-argument arrayp xascii)
dunno about the error, but if all you want is to easily type German, why
don't you use an input method? `M-x set-input-method latin9-prefix RET'
and you can type "a to get ä, ~s to get ß, ~< to get «, etc.
(info "(emacs) Input Methods") for details.
HTH
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
- Re: creating a sub-menu,
Joost Kremers <=
- Re: creating a sub-menu, ken, 2013/03/06
- Message not available
- Re: creating a sub-menu, Joost Kremers, 2013/03/06
- OT w/ misunderstanding Re: creating a sub-menu, ken, 2013/03/07
- Message not available
- Re: OT w/ misunderstanding Re: creating a sub-menu, Joost Kremers, 2013/03/11
- Re: OT w/ misunderstanding Re: creating a sub-menu, ken, 2013/03/12
- Message not available
- Re: OT w/ misunderstanding Re: creating a sub-menu, Joost Kremers, 2013/03/13