GNU bug report logs - #51065
29.0.50; Error in gnus-registry-initialize due to define-keymap

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Wed, 6 Oct 2021 21:08:02 UTC

Severity: normal

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


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 51065 <at> debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#51065: 29.0.50; Error in gnus-registry-initialize due to define-keymap
Date: Wed, 06 Oct 2021 23:07:19 +0200
Hello,

these lines in "gnus-registry.el":

#+begin_src emacs-lisp
(define-key gnus-summary-mark-map "M"
  (apply #'define-keymap :prefix "M" 'gnus-summary-mark-map keys-plist))
#+end_src

causes the following error when I try to start Gnus (using my personal
setup):

Debugger entered--Lisp error: (wrong-type-argument symbolp "M")
  define-prefix-command("M" nil nil)
  define-keymap--define((:prefix "M" gnus-summary-mark-map "l" ...
  define-keymap(:prefix "M" gnus-summary-mark-map "l" ...
  apply(define-keymap :prefix "M" gnus-summary-mark-map ("l" ...
  gnus-registry-install-shortcuts()
  gnus-registry-initialize()
  [...]

Commenting out these lines makes the error go away.  CC'ing Lars who
changed this in commit

453db25413 Use `define-keymap' in gnus-registry-install-shortcuts
Lars Ingebrigtsen <larsi <at> gnus.org> Wed Oct 6 12:04:37 2021 +0200


TIA,

Michael.






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

Previous Next


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