GNU bug report logs - #64548
29.0.92; Modus Themes Info manual is in "Unknown category"

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sun, 9 Jul 2023 20:23:02 UTC

Severity: normal

Found in version 29.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: Protesilaos Stavrou <info <at> protesilaos.com>, 64548 <at> debbugs.gnu.org
Subject: bug#64548: 29.0.92; Modus Themes Info manual is in "Unknown category"
Date: Mon, 10 Jul 2023 22:09:30 +0200
On Mon, 10 Jul 2023 14:08:30 +0000 Philip Kaludercic <philipk <at> posteo.net> wrote:

> I've added Protesilaos to the CCs, in case he hasn't seen the bug
> report.  (Generally it is recommended to add a "X-Debbugs-CC" header if
> you can find the maintainer).
>
> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> On Sun, 09 Jul 2023 22:21:55 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote:
>>
>>> After building Emacs from the release branch or from master, the
>>> info/dir file looks like this (excerpted):
>>>
>>> [...]
>>> Unknown category
>>> * Modus Themes: (modus-themes).  Elegant, highly legible and customizable
>>> themes.
>>>
>>>
>>> The two odds things about the last entry are its category and the extra
>>> space after the asterisk.
>>> [...]
>>
>> I bisected the problem to the following commit:
>>
>> 8a9839348fb8762c8843362595f2ca9de60d515c is the first bad commit
>> commit 8a9839348fb8762c8843362595f2ca9de60d515c
>> Author: Protesilaos Stavrou <info <at> protesilaos.com>
>> Date:   Wed Aug 3 14:32:38 2022 +0300
>>
>>     Update modus-themes to their version 2.5.0
>>
>> And the problem is due, to my surprise, to whitespace in the Org markup
>> at the beginning of modus-themes.org.  This suggests to me a problem
>> somewhere in org/ox-texinfo.el,
>
> Why do you think this is a problem with exporting, rather than with
> parsing?

I wasn't thinking of any specific cause, I just saw that ox-texinfo.el
is used in the Makefile, but I know nothing about it.

>           Either way, it might be worth involving some Org people in
> this report.

Yes, that I did mean to suggest.

>>                                 but I'm not familiar with that code, so
>> I'll leave pursuing it to someone who is.  In the meantime, building
>> with the attached patch against current emacs-29 restores the correct
>> dir file.
[...]

On Mon, 10 Jul 2023 22:49:20 +0300 Protesilaos Stavrou <info <at> protesilaos.com> wrote:

>> From: Philip Kaludercic <philipk <at> posteo.net>
>> Date: Mon, 10 Jul 2023 14:08:30 +0000
>>
>> I've added Protesilaos to the CCs, in case he hasn't seen the bug
>> report.  (Generally it is recommended to add a "X-Debbugs-CC" header if
>> you can find the maintainer).
>
> Thank you Philip, Stephen!
>
> Stephen, I am fine with the patch.  I was not expecting the spaces to
> create such a problem.

Thanks.  I do hope an Org developer familiar with the generation of
.texi files from .org sources will chime in, and in any case it's up to
Eli to decide whether the patch should be installed.

Steve Berman




This bug report was last modified 1 year and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.