From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: how to build emacs without documentation? Date: Wed, 14 Aug 2013 12:49:09 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376499020 3094 80.91.229.3 (14 Aug 2013 16:50:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 16:50:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 18:50:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9eH9-0006kb-5D for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 18:50:23 +0200 Original-Received: from localhost ([::1]:58975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9eH8-0001Ha-Oz for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 12:50:22 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: mx05.eternal-september.org; posting-host="bef50a77c8482b3cee00ee60292ca3f1"; logging-data="5415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZgTYE7spsfn4XYHmPLglG" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:cVlmNBb43N1hKhOFPaicJUi5Cm4= sha1:AEa5Kco1SonshMr19YkLOJdAwwU= Original-Xref: usenet.stanford.edu gnu.emacs.help:200623 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92890 Archived-At: > Because they implemented makeinfo in Perl, and made it a real > translator, that builds an intermediate parse tree representation, and > then invokes an appropriate back-end to produce output. By contrast, > the original makeinfo was a one-pass converter which left most of the > text intact and just acted on the few directives, expanding them > in-line. Still: parsing should be fairly trivial, and rendering to Info (almost plain text) shouldn't be all that hard either. Yet, makeinfo is significantly slower than running the same file through TeX to get a beautiful PDF. E.g. "cd doc/lispref; rm elisp.pdf; make pdf" took me 16s first time (because it had to generate some auxiliary font data, apparently) and 4s second time around. In comparison, "rm info/elisp.info; time make info" says that it needed 57s to make up the elisp.info file. More than 10 times slower to do a simpler job. There must be either something I'm missing, or some serious performance bug somewhere. Stefan