GNU bug report logs - #7755
24.0.50; Document that you can apply a keyword to a menu submenu

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 29 Dec 2010 17:20:02 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7755 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 7755 <at> debbugs.gnu.org
Subject: Re: bug#7755: 24.0.50; Document that you can apply a keyword to a
 menu submenu
Date: Fri, 11 Oct 2019 22:29:01 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> b. The form for a submenu is the same:
>    (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST)
>
>    But the REAL-BINDING description needs to be changed.  This is
>    incorrect:
>    "The third element, REAL-BINDING, is the command to execute."
>
>    REAL-BINDING can be a command or a keymap or nil.
>
> c. If REAL-BINDING is a command, then you get a selectable menu item.
>    If it is a keymap then you get a submenu.  If it is nil then you get
>    a non-selectable menu item (e.g. a separator line).

I've now documented this in Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.