[LyX/master] Clarify debug message

Thibaut Cuvelier tcuvelier at lyx.org
Tue Mar 1 03:19:18 UTC 2022


On Tue, 1 Mar 2022 at 03:58, Thibaut Cuvelier <tcuvelier at lyx.org> wrote:

> On Mon, 28 Feb 2022 at 08:04, Jürgen Spitzmüller <spitz at lyx.org> wrote:
>
>> Am Sonntag, dem 27.02.2022 um 20:48 +0100 schrieb Thibaut Cuvelier:
>> > I'm doing this in the attached patches (also for HTML, XML being the
>> > common part between the two). I would like some feedback more
>> > specifically for the typing of the enum: as I could find, it's never
>> > sure that enums are coded with enough bits to add a code (there are
>> > already enough codes to fill 32 bits). I thus forced the types to be
>> > unsigned long long, to have 64 available bits
>> > (https://en.cppreference.com/w/cpp/language/types).
>> >
>> > I also tried to change as many occurrences I could find, but there
>> > were not many (or my searching skills are not on par).
>>
>> Thinking more about it, another option would be to rename LATEX to
>> something more generic (e.g. OUTFILE), maybe keeping "latex" as an
>> alias on the command line. After all, only one of these is used at a
>> given time, and depending on the output chain, it might not even be
>> clear which one. Also, we do not have a PLAINTEXT mode.
>>
>
> What do you think about this new iteration?
>

I forgot to include the changes to debug.cpp in the previous patch, here is
a new complete patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220301/c1da7a66/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rename-LATEX-debug-level-to-OUTFILE-and-use-it-for-D.patch
Type: application/octet-stream
Size: 33639 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220301/c1da7a66/attachment-0001.obj>


More information about the lyx-devel mailing list