From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: automatic anchors for definition commands. Date: Thu, 8 Jan 2004 12:24:12 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401081724.i08HOCd08186@f7.net> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073679823 7022 80.91.224.253 (9 Jan 2004 20:23:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2004 20:23:43 +0000 (UTC) Cc: juri@jurta.org, teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jan 09 21:23:36 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Af3AO-0001BT-00 for ; Fri, 09 Jan 2004 21:23:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Af3AO-0005BN-00 for ; Fri, 09 Jan 2004 21:23:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AehGJ-000707-Gr for emacs-devel@quimby.gnus.org; Thu, 08 Jan 2004 16:00:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aeh8n-0006D4-IP for emacs-devel@gnu.org; Thu, 08 Jan 2004 15:52:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AegKM-0000Nm-JG for emacs-devel@gnu.org; Thu, 08 Jan 2004 15:00:53 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Aeew9-0006cE-LL; Thu, 08 Jan 2004 13:31:17 -0500 Original-Received: from [209.61.216.22] (helo=f7.net) by mx20.gnu.org with esmtp (Exim 4.24) id 1AedtT-0004Sa-Lz; Thu, 08 Jan 2004 12:24:27 -0500 Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id i08HOCd08186; Thu, 8 Jan 2004 12:24:12 -0500 Original-To: rms@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19117 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19117 This would mean a tremendous increase in the number of names defined for cross-referencing. That could cause a slowdown in TeX, or even cause TeX to run out of memory. A test with 2000 randomly-generated @anchors (the Elisp manual has about 1800 @def... cmds) ran fine, both for speed and space. However, 5000 anchors overflows the string space in last year's TeX Live distribution. (This year's has bigger maximums, as do a few other distributions I tried.) None of the other various TeX capacities are a problem, and speed isn't a problem either. I think I could play with texinfo.tex and eliminate perhaps 1/3 of the string space in common cases (by getting rid of empty -snt xrdef values), if we want to pursue it.