GNU bug report logs -
#6344
24.0.50; doc of menu separators
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Thu, 3 Jun 2010 17:57:01 UTC
Severity: minor
Tags: fixed
Found in version 24.0.50
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
C-h i, Elisp manual.
Node `Extended Menu Items' says only this about separators:
"A string starting with two or more dashes specifies a separator line;
see *Note Menu Separators::."
Node `Menu Separators' says, likewise, that this is all that is
permitted: (menu-item SEPARATOR-TYPE)
A user will naturally wonder, "Is there no way to specify :enable or
:visible for a menu separator?"
In fact, there is a way, simply use:
(menu-item SEPARATOR-TYPE nil :visible PREDICATE)
etc.
In sum, the doc (spec) for separators is incomplete.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-05-23 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'
This bug report was last modified 13 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.