From: ken <gebser@mousecar.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: creating a sub-menu
Date: Tue, 05 Mar 2013 17:39:01 -0500 [thread overview]
Message-ID: <51367405.8080403@mousecar.com> (raw)
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)
next reply other threads:[~2013-03-05 22:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 22:39 ken [this message]
2013-03-07 14:14 ` creating a sub-menu Stephen Berman
2013-03-12 7:38 ` ken
2013-03-12 22:22 ` Stephen Berman
2013-03-12 23:09 ` ken
[not found] <mailman.21496.1362523165.855.help-gnu-emacs@gnu.org>
2013-03-06 1:42 ` Joost Kremers
2013-03-06 11:44 ` ken
[not found] ` <mailman.21539.1362570279.855.help-gnu-emacs@gnu.org>
2013-03-06 20:55 ` Joost Kremers
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=51367405.8080403@mousecar.com \
--to=gebser@mousecar.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.