emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-macs.el: Fix Emacs-26 compatibility
Date: Sat, 12 Aug 2023 15:21:28 +0700	[thread overview]
Message-ID: <ub7fe8$i15$1@ciao.gmane.io> (raw)
In-Reply-To: <87o7jd1r51.fsf@localhost>

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	other threads:[~2023-08-12  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 15:17 [PATCH] org-macs.el: Fix Emacs-26 compatibility Max Nikulin
2023-08-11 16:27 ` Ihor Radchenko
2023-08-12  8:21   ` Max Nikulin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ub7fe8$i15$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).