[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.
- Docstring hack, Lynn Winebarger, 2022/07/30
- Re: Docstring hack, Po Lu, 2022/07/30
- Re: Docstring hack, Eli Zaretskii, 2022/07/30
- Re: Docstring hack,
Po Lu <=
- Re: Docstring hack, Eli Zaretskii, 2022/07/30
- Re: Docstring hack, Lynn Winebarger, 2022/07/30
- Re: Docstring hack, Eli Zaretskii, 2022/07/30
- Re: Docstring hack, Lynn Winebarger, 2022/07/30
- Re: Docstring hack, Eli Zaretskii, 2022/07/30
- Re: Docstring hack, Po Lu, 2022/07/30
- Re: Docstring hack, Eli Zaretskii, 2022/07/31
- Re: Docstring hack, Po Lu, 2022/07/31
- Re: Docstring hack, Eli Zaretskii, 2022/07/31
- Re: Docstring hack, Po Lu, 2022/07/31