GNU bug report logs -
#51056
29.0.50; Making `gnus-define-keys' obsolete
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Wed, 6 Oct 2021 10:15:02 UTC
Severity: normal
Merged with 51070
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
+mh-e-devel
Lars Ingebrigtsen <larsi <at> gnus.org> wrote to me:
> Emacs 29 has grown a new function to define keymaps, `define-keymap'
> somewhat inspired by the more than two-decades-old macro
> `gnus-define-keys'.
>
> So I've now replaced all the usages of `gnus-define-keys' in Emacs 29
> with `define-keymap' and was about to make `gnus-define-keys' obsolete,
> but that macro is used by mh-e, too. mh-e is also distributed outside
> Emacs, if I understand correctly, so this code can't be converted.
>
> Stephen, would it make sense to copy the Gnus macro into mh-e, and
> rename it mh-define-keys? That way `gnus-define-keys' could be
> obsoleted.
>
> A different solution would be to write a new mh-define-keymap that more
> closely mimics the new `define-keymap' function, and then use it instead
> in mh-e -- that's probably a better long-term solution, because you
> could then remove the mh-define-keymap function at some later date (when
> you shift the mh-e target to Emacs 29+).
MH-E is no longer developed nor distributed separately from GNU Emacs,
since maybe 2015.
You can update the MH-E part of the Emacs source tree to use Emacs 29
features. No compatibility is needed.
Thanks for checking,
< Stephen
This bug report was last modified 3 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.