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; Compilation failure since recent loaddefs speed up
Date: Thu, 30 Jun 2022 20:21:40 +0200	[thread overview]
Message-ID: <871qv6ypu3.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:

> 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.

Hm.  Yes, I'll change it to format the string without the \ (because
only doc strings should be formatted that way), but this is pretty bizarre.

> I hacked loadup.el and
> determined that when loadup.el is loading loaddefs.el,
>
>     (macroexpand-1
>      '(define-obsolete-function-alias 'subtract-time 'time-subtract "\
> 26.1"))
>
> yields
>
> (progn (defalias 'subtract-time 'time-subtract nil)
>        (make-obsolete 'subtract-time 'time-subtract 0))
>
> which is not the correct expansion according to the definition of
> define-obsolete-function-alias ..

"\
26.1"

and

"26.1"

should yield an identical string after it's been read by the lisp
reader, so I don't understand how it could be making a difference here.  

Unless makedoc is involved somehow...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-30 18:21 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 [this message]
2022-08-02 11:08         ` bug#56292: 29.0.50; Problem with define-obsolete-function-alias in loaddefs.el Lars Ingebrigtsen

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=871qv6ypu3.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.