all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sean Whitton <spwhitton@spwhitton.name>
Cc: control@debbugs.gnu.org, 56292@debbugs.gnu.org
Subject: bug#56292: 29.0.50; Problem with define-obsolete-function-alias in loaddefs.el
Date: Tue, 02 Aug 2022 13:08:53 +0200	[thread overview]
Message-ID: <87k07qykai.fsf_-_@gnus.org> (raw)
In-Reply-To: <87leteauf3.fsf@athena.silentflame.com> (Sean Whitton's message of "Thu, 30 Jun 2022 11:16:32 -0700")

Sean Whitton <spwhitton@spwhitton.name> writes:

> The wrong-type-argument is when macroexp--obsolete-warning tries to pass
> 0 as an argument to concat.
>
> If you replace
>
>     (define-obsolete-function-alias 'subtract-time 'time-subtract "\
> 26.1")
>
> with
>
>     (define-obsolete-function-alias 'subtract-time 'time-subtract "26.1")
>
> in loaddefs.el then the problem goes away.

Aha!  This is due to this code:

  /* If purifying, and string starts with \ newline,
     return zero instead.  This is for doc strings
     that we are really going to find in etc/DOC.nn.nn.  */
  if (!NILP (Vpurify_flag) && NILP (Vdoc_file_name) && cancel)
    {
      unbind_to (count, Qnil);
      return make_fixnum (0);
    }

Which will be removed after bug#53024 is done.

But the fixes I did to loaddefs-gen in this bug report fixed this bug
report, so I'm closing it.





      parent reply	other threads:[~2022-08-02 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  5:20 bug#56292: 29.0.50; Compilation failure since recent loaddefs speed up Sean Whitton
2022-06-29 10:23 ` Lars Ingebrigtsen
2022-06-29 15:43   ` Sean Whitton
2022-06-30  9:15     ` Lars Ingebrigtsen
2022-06-30 18:16       ` Sean Whitton
2022-06-30 18:21         ` Lars Ingebrigtsen
2022-08-02 11:08         ` Lars Ingebrigtsen [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

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

  git send-email \
    --in-reply-to=87k07qykai.fsf_-_@gnus.org \
    --to=larsi@gnus.org \
    --cc=56292@debbugs.gnu.org \
    --cc=control@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.