[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Docstring hack

From: Lynn Winebarger
Subject: Re: Docstring hack
Date: Sat, 30 Jul 2022 11:38:13 -0400

On Sat, Jul 30, 2022, 11:11 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Po Lu <luangruo@yahoo.com>
> Cc: Lynn Winebarger <owinebar@gmail.com>,  emacs-devel@gnu.org
> Date: Sat, 30 Jul 2022 21:36:46 +0800
> I think the problem is this:
>   (format <control string starting with escaped newline> args...)
> will result in (format 0 args...) during dumping.

"Result" in what sense?

As in, if you load emacs-lisp/eieio-core in site-load.el with dump-mode pdump without having byte-compiled eieio-core first, the load cedet/semantic/loaddefs.el, you will get a cryptic error message stating stringp: 0 is not a string.  And upon investigation, the closure for def-eieio-autoload mysteriously has a "(format 0 cname)" in the code, even though it's not 0 in the eieio-core source code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]