From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: admin/make-manuals Date: Thu, 25 Mar 2021 16:34:57 +0200 Message-ID: <83y2ebqp2m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rgm@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 25 15:36:09 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lPR5k-00020c-P2 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Mar 2021 15:36:08 +0100 Original-Received: from localhost ([::1]:39174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPR5j-00018i-MP for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Mar 2021 10:36:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPR4o-0008Ud-QE for emacs-devel@gnu.org; Thu, 25 Mar 2021 10:35:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPR4o-0004sB-J5 for emacs-devel@gnu.org; Thu, 25 Mar 2021 10:35:10 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lPR4b-0005SQ-SK; Thu, 25 Mar 2021 10:34:59 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267020 Archived-At: 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 "\\)\ :  ]*>\\(.*\\)" (line-end-position) t) (replace-match (format "\\1\n\\2" (if table-workaround " bgcolor=\"white\"" ""))) (search-forward "") (forward-line 1)) ((looking-at "\n") (replace-match "") 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.