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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51065 in the body.
You can then email your comments to 51065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51065; Package emacs. (Wed, 06 Oct 2021 21:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 06 Oct 2021 21:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: 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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51065; Package emacs. (Thu, 07 Oct 2021 07:35:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 29.0.50; Error in gnus-registry-initialize due to define-keymap
Date: Thu, 07 Oct 2021 09:34:02 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> 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" ...

I think this should now be fixed -- can you check?






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51065; Package emacs. (Thu, 07 Oct 2021 21:55:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 29.0.50; Error in gnus-registry-initialize due to define-keymap
Date: Thu, 07 Oct 2021 23:54:22 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> > 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" ...
>
> I think this should now be fixed -- can you check?

Looks good, I don't see the error after rebuilding.

Thanks,

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51065; Package emacs. (Thu, 07 Oct 2021 21:59:01 GMT) Full text and rfc822 format available.

Message #14 received at 51065 <at> debbugs.gnu.org (full text, mbox):

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

> Looks good, I don't see the error after rebuilding.

Thanks for checking; I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 51065 <at> debbugs.gnu.org and Michael Heerdegen <michael_heerdegen <at> web.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 07 Oct 2021 21:59:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Nov 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 166 days ago.

Previous Next


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