unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* creating a sub-menu
@ 2013-03-05 22:39 ken
  2013-03-07 14:14 ` Stephen Berman
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.21496.1362523165.855.help-gnu-emacs@gnu.org>
2013-03-06  1:42 ` creating a sub-menu 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
2013-03-07  9:36       ` OT w/ misunderstanding " ken
     [not found]       ` <mailman.21622.1362648982.855.help-gnu-emacs@gnu.org>
2013-03-11 19:47         ` Joost Kremers
2013-03-12  9:36           ` ken
     [not found]           ` <mailman.21918.1363080995.855.help-gnu-emacs@gnu.org>
2013-03-12 18:14             ` Joost Kremers
2013-03-05 22:39 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).