all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* creating a sub-menu
@ 2013-03-05 22:39 ken
  2013-03-07 14:14 ` Stephen Berman
  0 siblings, 1 reply; 8+ messages in thread
From: ken @ 2013-03-05 22:39 UTC (permalink / raw)
  To: GNU Emacs List

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)




^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <mailman.21496.1362523165.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2013-03-12 23:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 22:39 creating a sub-menu ken
2013-03-07 14:14 ` 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

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.