Subject: Re: bug#69573: Eager macro-expansion failure: (wrong-type-argument integer-or-marker-p nil)

From: Gabriele Nicolardi <[email-masked]>
Date: Wed, 6 Mar 2024 06:42:48 +0100

This is the backtrace in 29.2:

Debugger entered--Lisp error: (error "Eager macro-expansion failure: 
(wrong-type-argumen...")
   error("Eager macro-expansion failure: %S" (wrong-type-argument 
integer-or-marker-p nil))
   internal-macroexpand-for-load((define-minor-mode mwe-mode "MWE mode" 
:init-value nil :lighter (:eval (propertize " MWE " 'face '(:foreground 
"RoyalBlue" :background "DarkGoldenrod1"))) :keymap `((,(kbd "<C-kp-1>") 
. mwe-function)) (if mwe-mode (easy-menu-define mwe-menu mwe-mode-map 
"MWE" '("MWE mode" :visible (not (eq ... ...)) ["mwe-function-1" 
mwe-function-1 :help "mwe-function 1"])) t)) nil)
   eval-buffer()  ; Reading at buffer position 767

Il 06/03/24 01:31, Michael Heerdegen ha scritto:
> Gabriele Nicolardi <[email-masked]> writes:
>
>> I have this code: [...]
> I can't reproduce this is with master or 29.1, but I can with 28.2.
> This is the backtrace in 28.2:
>
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>    forward-paragraph(1)
>    fill-forward-paragraph(1)
>    fill-region(1 520 left t)
>    easy-mmode--mode-docstring("MWE mode" "Mwe mode" mwe-mode-map mwe-mode)
>
> I guess you hit a bug that has already been fixed.
>
> Michael.