On 2023-06-11 14:45:19, Nicholas D. Steeves wrote: > Hi, > > Here is a way to work around this bug (whether in Emacs or in markdown-toc). > > To test: > emacs --eval="(setq native-comp-deferred-compilation-deny-list > '(\"markdown-toc\"))" > > To make permanent: > (setq native-comp-deferred-compilation-deny-list '("markdown-toc")) > > That said, I'm not convinced that a workaround like this should be > inserted into Debian's markdown-toc (or any package)...
Oh wow, thanks! That said it doesn't actually work! I have tried both the `--eval` and the `setq` and neither fix the crash. Debugger entered--Lisp error: (wrong-type-argument consp nil) markdown-imenu-create-nested-index() markdown-toc-generate-toc(nil) funcall-interactively(markdown-toc-generate-toc nil) command-execute(markdown-toc-generate-toc record) execute-extended-command(nil "markdown-toc-generate-toc" nil) funcall-interactively(execute-extended-command nil "markdown-toc-generate-toc" nil) command-execute(execute-extended-command) I'm not sure this is related to native compilation, is it really? I thought it was some imenu thing, maybe it doesn't get autoloaded properly? a. -- Si Dieu existe, j'espère qu'Il a une excuse valable - Daniel Pennac