From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Format av menu keymaps Date: Sun, 08 Jan 2006 21:27:09 -0500 Message-ID: <87r77ikuia.fsf-monnier+emacs@gnu.org> References: <43C191E2.6030206@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136773727 5189 80.91.229.2 (9 Jan 2006 02:28:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2006 02:28:47 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 09 03:28:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Evmm4-0003oO-OO for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2006 03:28:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Evmnz-0001Pm-2w for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 21:30:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvmmW-0000yw-M9 for emacs-devel@gnu.org; Sun, 08 Jan 2006 21:29:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvmmU-0000xu-8D for emacs-devel@gnu.org; Sun, 08 Jan 2006 21:29:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvmmU-0000xn-1M for emacs-devel@gnu.org; Sun, 08 Jan 2006 21:29:10 -0500 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Evmog-0000Qt-7E for emacs-devel@gnu.org; Sun, 08 Jan 2006 21:31:26 -0500 Original-Received: from alfajor ([67.71.26.73]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060109022710.PRLH25777.tomts25-srv.bellnexxia.net@alfajor>; Sun, 8 Jan 2006 21:27:10 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id EE2E5D733B; Sun, 8 Jan 2006 21:27:09 -0500 (EST) Original-To: Lennart Borgman In-Reply-To: <43C191E2.6030206@student.lu.se> (Lennart Borgman's message of "Sun, 08 Jan 2006 23:27:46 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48866 Archived-At: > I am loooking for the format of a menu keymap. There seem to be several > different formats that are possible for a submenu, but I can not find where > these are described. Are there any functions to check if an entry in > a keymap list is a submenu? Any keymap is potentially a menu. It depends on whether you use it like one or not (e.g. if you pass it to x-popup-menu or bind it to some mouse event). So I think the question is wrongly phrased. Could you give us some context and more concrete details of what you're trying to do? Stefan