GNU bug report logs -
#14797
24.3.50; new, undocumented menu structure using VECTORS?
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 4 Jul 2013 23:55:02 UTC
Severity: minor
Tags: fixed, patch
Found in version 24.3.50
Fixed in version 25.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> I don't see anything in the manual that mentions that a menu can take
> this form. Dunno whether I am not reading it well enough or the doc is
> incomplete.
Indeed, vectors are an old format that is deprecated but
still supported. They are similar to char-tables (which are supported,
on the other hand).
> (I do not understand how someone can make such a fundamental change and
> not mention it in NEWS. New menu structures are not something that
> Emacs adds everyday.)
That's because it's a new menu structure, on the contrary.
> 2. Beyond that, using vectors here is a PITA for Lisp code. It makes
> code that traverses such code difficult, if not impossible. Without
> this change to vectors, a simple recursion on a list cdr is all that is
> needed.
You should probably use `map-keymap' instead.
Stefan
This bug report was last modified 8 years and 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.