emacs-devel
[Top][All Lists]
Advanced

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

Re: Docstring hack


From: Po Lu
Subject: Re: Docstring hack
Date: Sat, 30 Jul 2022 21:36:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Lynn Winebarger <owinebar@gmail.com>
>> Date: Sat, 30 Jul 2022 08:14:10 -0400
>> 
>> The core emacs lisp libraries are riddled with strings that are erroneously 
>> treated as docstrings in dump
>> mode, which causes problems in the build when, say, format gets a 0 as its 
>> template string in a macro
>> expansion.  
>
> Please show several examples, as I don't think I understand the issue
> well enough to have an opinion.
>
> Thanks.

I think the problem is this:

  (format <control string starting with escaped newline> args...)

will result in (format 0 args...) during dumping.

To be honest, I don't see the importance of the issue.  We only have to
make sure such code never exists in code loaded prior to dumping.


reply via email to

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