From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: creating a sub-menu Date: Tue, 05 Mar 2013 17:39:01 -0500 Message-ID: <51367405.8080403@mousecar.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1362523172 2145 80.91.229.3 (5 Mar 2013 22:39:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 22:39:32 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 05 23:39:56 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UD0WZ-0007kg-SX for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 23:39:55 +0100 Original-Received: from localhost ([::1]:51231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD0WE-0005nJ-CA for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 17:39:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD0W3-0005l7-Cm for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 17:39:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD0W2-00063U-G2 for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 17:39:23 -0500 Original-Received: from mout.perfora.net ([74.208.4.194]:60199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD0W2-00063K-9Y for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 17:39:22 -0500 Original-Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus3) with ESMTP (Nemesis) id 0MAQc6-1U5pmw2llS-00B9pC; Tue, 05 Mar 2013 17:39:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 X-Provags-ID: V02:K0:QKCVfSy/W6keal+xz4WiuxsnmufBq0huwVJ/7q+6hIq Du84B5o+RdmbGojxqtZ+HLacpzGMhLda9U6GSzh0XW3jMdqXYi GF9ANVcebTKOy3XbNlYgx/PAnaKMA+45pGwlZ86izUjI9jyJi2 61JRylz3l2XvD6Nltn9I0z/1fX2yLhvbIRPoJPK4WfpW9dcPz2 SlozS6cFyBYMlJkoNHxjv5VEuhn+J8/ZkQRtHtzmAvB/vqkjop htgLdXLDOOnNnjjUKzbg/UFd4CDuUmyngAt68a2gMy8JkxCKUG x/F0FFQV3dtS/b5TdB2CQWUx8vYzovY6K5dAoNr0LfYXuJMZJG y6PsWj0npQx1OJLIETyLRLiB6cjlCDG1xKUd58Mrw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.194 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89372 Archived-At: 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)