From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Changes to Texinfo DTD Date: Mon, 24 Nov 2003 09:54:43 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <874qwuqjzw.fsf@mail.jurta.org> References: <8765heixvu.fsf@kanga.tapsellferrier.co.uk> <87ptfkdqss.fsf@kanga.tapsellferrier.co.uk> <20031122214251.GA14680@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069660960 18047 80.91.224.253 (24 Nov 2003 08:02:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 08:02:40 +0000 (UTC) Cc: epameinondas@gmx.de, bob@rattlesnake.com, nferrier@tapsellferrier.co.uk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 24 09:02:37 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOBg5-0003Wp-00 for ; Mon, 24 Nov 2003 09:02:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOBg5-0007CP-00 for ; Mon, 24 Nov 2003 09:02:37 +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 1AOCYN-0006I4-Kw for emacs-devel@quimby.gnus.org; Mon, 24 Nov 2003 03:58:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOCYI-0006Gl-6B for emacs-devel@gnu.org; Mon, 24 Nov 2003 03:58:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOCXi-0006AG-2g for emacs-devel@gnu.org; Mon, 24 Nov 2003 03:58:34 -0500 Original-Received: from [64.246.52.22] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AOCXh-000699-Cg; Mon, 24 Nov 2003 03:58:01 -0500 Original-Received: from 80-235-43-250-dsl.mus.estpak.ee ([80.235.43.250] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1AOBa7-0001dm-7I; Mon, 24 Nov 2003 09:56:27 +0200 Original-To: Miles Bader In-Reply-To: <20031122214251.GA14680@fencepost> (Miles Bader's message of "Sat, 22 Nov 2003 16:42:51 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org 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:18069 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18069 Miles Bader writes: > On Sat, Nov 22, 2003 at 09:41:39PM +0000, Nic Ferrier wrote: >> 2. write an XSLT processor in Emacs Lisp. This wouldn't be as >> difficult as it sounds and I'm not sure it isn't done already (by >> one of the various XML/Emacs projects going on). > > The main question in my mind is whether this would be fast enough -- the > current info mechanism, though it has its problems, can display info pages > very quickly. As a point of contrast, W3 is _very_ slow (I think it would be > completely unsuitable for use in displaying info files). The current info mechanism is very fast mostly because some formatting is already done at info files generation time, where the most important preformatting is the lines filling to 70 columns. So, if it is acceptable limitation, the same could be applied to XML solution, i.e. to generate from Texinfo source such XML files that after stripping all markup the remaining plain text is already properly aligned without reformatting. This will solve the current problem in Info files, where some lines change their length after hiding a part of reference. In XML all additional information can be freely included into tag attributes without affecting the filling of plain text. For example, Menu Keymaps. -- http://www.jurta.org/emacs/