From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#64548: 29.0.92; Modus Themes Info manual is in "Unknown category" Date: Mon, 10 Jul 2023 12:20:10 +0200 Message-ID: <875y6sgjad.fsf@gmx.net> References: <87sf9wsun0.fsf@gmx.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 64548@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 10 12:21:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qIo1B-0004El-Tz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Jul 2023 12:21:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIo0u-0005SQ-6o; Mon, 10 Jul 2023 06:21:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIo0s-0005Qu-KO for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 06:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIo0s-0000Ca-56 for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 06:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIo0r-00030J-LJ for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 06:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2023 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64548 X-GNU-PR-Package: emacs Original-Received: via spool by 64548-submit@debbugs.gnu.org id=B64548.168898442211487 (code B ref 64548); Mon, 10 Jul 2023 10:21:01 +0000 Original-Received: (at 64548) by debbugs.gnu.org; 10 Jul 2023 10:20:22 +0000 Original-Received: from localhost ([127.0.0.1]:47790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIo0E-0002zC-6s for submit@debbugs.gnu.org; Mon, 10 Jul 2023 06:20:22 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIo09-0002yt-BF for 64548@debbugs.gnu.org; Mon, 10 Jul 2023 06:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1688984411; x=1689589211; i=stephen.berman@gmx.net; bh=BkMk07T250Pf5XxeqyceoLjrrvOh6lEKHIPnIfHGN4Q=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=cq0UYuAVuiS7/w+2f9pWlWNx/6dvoxJb7VsO14vokMtOo4IT0ekBBSY1+NYuVdiSa2eWARn HqGM+1KpJFZ07NtNzmDYbtwFCuhnUm7c+QFvnd7vXTOpZDFnb0A3SV6xNXIXeEzZ3n1Uq8nvN bgYmsBkoxdiwJDUrf2tGaZST0qFCezf2sli6T0ZG8xueTIVhQ9ObGaKNMUNWq/YwyyIi9U6DU QhsSalEVqTSpLvB/F9M77nnhfoh+5YGMnuSHbPh1C6s9o4fjXrIoHPC04tAqvl6EoLm2fLUky hKSb6eF8g+4mMx7vtM3+NkZpEujK95YUNseWKPGDy6cq1dv3ihXg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([89.246.36.73]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mv2xO-1q106F0prU-00qxJ9 for <64548@debbugs.gnu.org>; Mon, 10 Jul 2023 12:20:11 +0200 In-Reply-To: <87sf9wsun0.fsf@gmx.net> (Stephen Berman's message of "Sun, 09 Jul 2023 22:21:55 +0200") X-Provags-ID: V03:K1:PRmqfehEFLJpxz5L/LxnhFRneUPRnwJOVMI/pfRidWIR9jRKJI8 oyXctWpfM0lBzkM92TMV10xNSG/PeNYbWxnRynRRzbhbcaPt3zi/Xbq0Hj1UFZPe/rADhxF NMe6BiRFX9j1Rjlkcy/3npGc/tsjBHy3KlMzMn5/ioqNC2tkzQuRmV9bBTK+QiZ20TJ6th7 xZFeW97RUMPZrjIyy754g== UI-OutboundReport: notjunk:1;M01:P0:M+GVkA6dMjs=;dHf08gI16gS6fbZ8TqL1hd2pW2g Wr2/1oodjYZRiLG4HCb34aTkruZEWnRZj5T30CFuT15YWLw74Qe+bPCjDgSwPOPd3Yu1qepYs MYOggbfAfoCqhpneulOLDaqPMolsJRpMG/Ncxox/dEBS3XCIgVf5SWFNsBsyforWKhzaDkji0 WNKxeeta288ehhFYJ4gOC6BzDj60fOsyaobJw2Nh+eWsPe3YMh1g4yMQP0l/uPj8CYXI3jHEE 1ZcZ9qPdNWDgsWxxYnYuJ3hiyOIj9XpoUYf7iUgXhvK6Xw7hFB+W9uJ1yb3bdYUAAJTUAybJT DD08+dQDL97pVeEurB1yEfPAsIshUhlMx8z5AHRFx6C9p20KmEpIY5er6Eexx4RAtTakXvqyJ hXiWYqk94flyWiFNI6bB1ImP8HJK1nbI/7MMn2hy0+Y9YKHuNIDd51SYAsQEgcVRMCYqfwmZj wIdYNzmt6CHmS1nW3Mnfjy+9PsZahUCo9XLEToai8ifQofEnUROlrjQ08r2ogT5r6LrZvTYu/ xDYBl+zcdYeAZETghTdqM4w8s6tInUIvXL7IXD9f4m9Tr1I6dZktNIpuitaNU+ACYQyPRFtLL yKH8dM99NqFywaTqBcDyEY61ikCGp5fR7bAC0S0HV0twkFnvrkxWbhBjbBvrYvYIKuXsOgqyh ZSATHxcUKxTGe1M2Argqju6Y88KfkXWF+8xcAhhuwZMKozVwcZE9zGe7YZ7A9EzwRRb6I1iXm xch5NHSyItb8g0q9398ka1OF8T/Ripam5NADPgctC6wlpRbjJNHWSqU5dFEABHCETU8fRQeS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264875 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 09 Jul 2023 22:21:55 +0200 Stephen Berman = wrote: > After building Emacs from the release branch or from master, the > info/dir file looks like this (excerpted): > > [...] > * Menu: > > Texinfo documentation system > * Info: (info). How to use the documentation browsing sy= stem. > > Emacs > * Emacs: (emacs). The extensible self-documenting text edi= tor. > * Emacs FAQ: (efaq). Frequently Asked Questions about Emacs. > > Emacs lisp > * Emacs Lisp Intro: (eintr). A simple introduction to Emacs Lisp prog= ramming. > * Elisp: (elisp). The Emacs Lisp Reference Manual. > [...] > > Emacs misc features > * Autotype: (autotype). Convenient features for text that you en= ter > frequently in Emacs. > * Bovine: (bovine). Semantic bovine parser development. > * Calc: (calc). Advanced desk calculator and mathematica= l tool. > * Dired-X: (dired-x). Dired Extra Features. > [...] > > Unknown category > * Modus Themes: (modus-themes). Elegant, highly legible and cus= tomizable themes. > > > The two odds things about the last entry are its category and the extra > space after the asterisk. This odd category and appearance are only in > emacs-29 and master; in emacs-28 the Modus Themes manual is under the > "Emacs misc features" category and there's no extra space: > > > Emacs misc features > * Autotype: (autotype). Convenient features for text that you en= ter > frequently in Emacs. > * Bovine: (bovine). Semantic bovine parser development. > * Calc: (calc). Advanced desk calculator and mathematica= l tool. > * Dired-X: (dired-x). Dired Extra Features. > [...] > * Modus Themes: (modus-themes). Highly accessible themes (WCAG AAA). > * PCL-CVS: (pcl-cvs). Emacs front-end to CVS. > [...] > > > I also checked the emacs-28.3-rc1.tar.xz and emacs-29.0.92.tar.xz > tarballs at alpha.gnu.org and the info/dir file in the latter tarball > has the same oddities with Modus Themes, while info/dir in the former > tarball does not. > > I eyeballed doc/misc/modus-themes.texi, which is generated from > modus-themes.org, in emacs-29 and master, and the beginning of that file > appears similar to the start of other .texi files in that directory and > also to the start of org.texi, which is also generated (from org.org). > (One difference between modus-themes.org and org.org is that the latter > uses org-setup.org to generate the .texi file, while modus-themes.org > includes similar lines in the file itself instead of in a setup file.) > And the resulting modus-themes.info file also appears to be fine. > Moreover, when I execute `install-info ./modus-themes.info ./dir' from > the shell, using the modus-themes.info from the emacs-29 builds, the > resulting dir file contains the entry for Modus Themes under the "Emacs > misc features" category. So it seems that problematic dir file results > from some other part of the build process, but I couldn't figure out > which. I bisected the problem to the following commit: 8a9839348fb8762c8843362595f2ca9de60d515c is the first bad commit commit 8a9839348fb8762c8843362595f2ca9de60d515c Author: Protesilaos Stavrou 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, 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. Steve Berman --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Description: modus-themes.org patch Content-Transfer-Encoding: quoted-printable diff --git a/doc/misc/modus-themes.org b/doc/misc/modus-themes.org index 4bf78379c10..8cfa22df923 100644 =2D-- a/doc/misc/modus-themes.org +++ b/doc/misc/modus-themes.org @@ -1,23 +1,23 @@ -#+title: Modus themes for GNU Emacs -#+author: Protesilaos Stavrou -#+email: info@protesilaos.com -#+language: en -#+options: ':t toc:nil author:t email:t num:t -#+startup: content -#+macro: stable-version 3.0.0 -#+macro: release-date 2022-10-28 -#+macro: development-version 3.1.0-dev -#+macro: file @@texinfo:@file{@@$1@@texinfo:}@@ -#+macro: space @@texinfo:@: @@ -#+macro: kbd @@texinfo:@kbd{@@$1@@texinfo:}@@ -#+texinfo_filename: modus-themes.info -#+texinfo_dir_category: Emacs misc features -#+texinfo_dir_title: Modus Themes: (modus-themes) -#+texinfo_dir_desc: Elegant, highly legible and customizable themes -#+texinfo_header: @set MAINTAINERSITE @uref{https://protesilaos.co= m,maintainer webpage} -#+texinfo_header: @set MAINTAINER Protesilaos Stavrou -#+texinfo_header: @set MAINTAINEREMAIL @email{info@protesilaos.com= } -#+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:info@protesi= laos.com,contact the maintainer} +#+title: Modus themes for GNU Emacs +#+author: Protesilaos Stavrou +#+email: info@protesilaos.com +#+language: en +#+options: ':t toc:nil author:t email:t num:t +#+startup: content +#+macro: stable-version 3.0.0 +#+macro: release-date 2022-10-28 +#+macro: development-version 3.1.0-dev +#+macro: file @@texinfo:@file{@@$1@@texinfo:}@@ +#+macro: space @@texinfo:@: @@ +#+macro: kbd @@texinfo:@kbd{@@$1@@texinfo:}@@ +#+texinfo_filename: modus-themes.info +#+texinfo_dir_category: Emacs misc features +#+texinfo_dir_title: Modus Themes: (modus-themes) +#+texinfo_dir_desc: Elegant, highly legible and customizable themes +#+texinfo_header: @set MAINTAINERSITE @uref{https://protesilaos.com,maint= ainer webpage} +#+texinfo_header: @set MAINTAINER Protesilaos Stavrou +#+texinfo_header: @set MAINTAINEREMAIL @email{info@protesilaos.com} +#+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:info@protesilaos.co= m,contact the maintainer} #+texinfo: @insertcopying --=-=-=--