On 11/08/2023 23:27, Ihor Radchenko wrote:
Max Nikulin writes:

Loading /home/ubuntu/src/org-mode/lisp/org-compat.el (source)...
Eager macro-expansion failure: (wrong-number-of-arguments (2 . 2) 6)

That failure does not really point to where it happened... I am
wondering how you managed to find out the cause.

This time I decided that it is becoming a recurring issue (despite the comment in the function performing expansion) and I should not be first person faced it. A search engine gave me

https://emacs.stackexchange.com/questions/54455/how-to-get-a-stack-trace-for-eager-macro-expansion-failure

(setq debug-on-signal t))

Fortunately other signals (a lot of them) are emitted later. Sometimes debugging facilities in Emacs are rather disappointing.


Reply via email to