GNU bug report logs - #52880
"(elisp) Menu Keymaps") - recommend easy-menu over creating menu by hand

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Wed, 29 Dec 2021 21:09:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52880 <at> debbugs.gnu.org
Subject: bug#52880: "(elisp) Menu Keymaps") - recommend easy-menu over creating menu by hand
Date: Wed, 29 Dec 2021 14:43:05 -0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm also wondering whether we should come up with a new name for
> `easy-menu-define' -- I think it's an unfortunate name that makes it
> seem like a hacky "easy" way to define menus, instead of the primary
> method, which it is.

Could `defvar-menu' work?  It would go well with `defvar-keymap', if
nothing else.

> But it might not be worth the bother.

We could just make the old name into an alias, without making it
obsolete.

Or make the new name into an alias, which is even less invasive.




This bug report was last modified 3 years and 171 days ago.

Previous Next


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