From: Eli Zaretskii <eliz@gnu.org>
To: rgm@gnu.org
Cc: emacs-devel@gnu.org
Subject: admin/make-manuals
Date: Thu, 25 Mar 2021 16:34:57 +0200 [thread overview]
Message-ID: <83y2ebqp2m.fsf@gnu.org> (raw)
This is the first time I'm using this script. It said "Making manuals
(slow)...", and then nothing else for about an hour(!). Looking in
the manual/ directory it created, I see a single manual -- Emacs -- in
a single format, whose last file was created 7 minutes after the
script started. Then it seemed to sit doing nothing, but using up
100% of the CPU.
I added some diagnostic printouts to the relevant functions in
admin.el, and watched them with "tail -f" (btw, why is the script by
default so silent about what it does? it isn't good karma for slow
scripts, IME) -- what I see is that manual-html-fix-index-2 is stuck
in this loop:
(while (not done)
(cond ((re-search-forward "<tr><td.*• \\(<a.*</a>\\)\
:</td><td> </td><td[^>]*>\\(.*\\)" (line-end-position) t)
(replace-match (format "<tr><td%s>\\1</td>\n<td>\\2"
(if table-workaround
" bgcolor=\"white\"" "")))
(search-forward "</td></tr>")
(forward-line 1))
((looking-at "<tr><th.*<pre class=\"menu-comment\">\n")
(replace-match "<tr><th colspan=\"2\" align=\"left\" \
style=\"text-align:left\">")
It is stuck there because none of the branches of 'cond' inside the
loop matches.
Am I doing something wrong, or is this a bug in admin.el?
I couldn't regenerate the manuals as part of Emacs 27.2 release, as
result of this.
next reply other threads:[~2021-03-25 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 14:34 Eli Zaretskii [this message]
2021-03-25 16:40 ` admin/make-manuals Glenn Morris
2021-03-25 16:52 ` admin/make-manuals Eli Zaretskii
2021-03-25 17:45 ` admin/make-manuals Glenn Morris
2021-03-25 18:06 ` admin/make-manuals Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y2ebqp2m.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).