From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Sun, 07 Dec 2003 16:42:23 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87brqkk2a8.fsf@emptyhost.emptydomain.de> References: <200312041644.hB4GiMi16974@f7.net> <871xrhslt4.fsf@emptyhost.emptydomain.de> <9178-Sun07Dec2003074126+0200-eliz@elta.co.il> <87ptf0lm27.fsf@emptyhost.emptydomain.de> <9451-Sun07Dec2003172505+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070815536 29842 80.91.224.253 (7 Dec 2003 16:45:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 16:45:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 17:45:33 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 1AT22H-0002ZP-00 for ; Sun, 07 Dec 2003 17:45:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT22H-0005hN-00 for ; Sun, 07 Dec 2003 17:45:33 +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 1AT2xO-00023x-Qz for emacs-devel@quimby.gnus.org; Sun, 07 Dec 2003 12:44:34 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AT2xK-00023q-N0 for emacs-devel@gnu.org; Sun, 07 Dec 2003 12:44:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AT2wo-0001lv-Sn for emacs-devel@gnu.org; Sun, 07 Dec 2003 12:44:29 -0500 Original-Received: from [213.203.244.156] (helo=mail.emptydomain.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AT2wo-0001kw-F2 for emacs-devel@gnu.org; Sun, 07 Dec 2003 12:43:58 -0500 Original-Received: by mail.emptydomain.de (Postfix, from userid 1000) id 501871B812; Sun, 7 Dec 2003 16:42:23 +0000 (UTC) Original-To: Eli Zaretskii In-Reply-To: <9451-Sun07Dec2003172505+0200-eliz@elta.co.il> (Eli Zaretskii's message of "Sun, 07 Dec 2003 17:25:05 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) 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:18505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18505 "Eli Zaretskii" writes: > What I think you are missing is that the alignment of the text "A > Sample Variable Description" is determined by the Texinfo source. So > when makeinfo outputs the "(line 999)" thingy, it needs to somehow > ``recall' the column number where that text begins (since it is not > known apriori, so cannot be simply a constant in the code). This > requires that makeinfo ``remembers'' that column when it outputs the > line before the line number. As makeinfo is essentially a one-pass > translator, I'm not sure it is easy to get it to remember such things. The original post showed something like this: * foo:: Short description (line 42) * bar:: A very long description causing the line number to wrap (line 999) I suggested to produce this output: * foo:: Short description (line 42) * bar:: A very long description causing the line number to wrap (line 999) The "(line 999)" part can be positioned without knowing the column where "A very long description..." starts. Instead, you can just go to column fill-column minus 11 (the width of "(line XXXX)"). Right? Kai