From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Sun, 07 Dec 2003 17:25:05 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <9451-Sun07Dec2003172505+0200-eliz@elta.co.il> References: <200312041644.hB4GiMi16974@f7.net> <871xrhslt4.fsf@emptyhost.emptydomain.de> <9178-Sun07Dec2003074126+0200-eliz@elta.co.il> <87ptf0lm27.fsf@emptyhost.emptydomain.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070810874 22075 80.91.224.253 (7 Dec 2003 15:27:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 15:27:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 16:27:49 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 1AT0p2-00086B-00 for ; Sun, 07 Dec 2003 16:27:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT0p2-0004Sl-00 for ; Sun, 07 Dec 2003 16:27:48 +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 1AT1lw-0004l1-Ov for emacs-devel@quimby.gnus.org; Sun, 07 Dec 2003 11:28:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AT1lX-0004k0-8m for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:28:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AT1l1-0004Zs-9U for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:28:14 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AT1l0-0004ZO-Me for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:27:42 -0500 Original-Received: from zaretski (pns03-196-203.inter.net.il [80.230.196.203]) by legolas.inter.net.il (Mirapoint Messaging Server MOS 3.3.8-GR) with ESMTP id AXB44795; Sun, 7 Dec 2003 17:26:05 +0200 (IST) Original-To: Kai Grossjohann X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <87ptf0lm27.fsf@emptyhost.emptydomain.de> (message from Kai Grossjohann on Sun, 07 Dec 2003 14:49:52 +0000) 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:18503 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18503 > From: Kai Grossjohann > Date: Sun, 07 Dec 2003 14:49:52 +0000 > >> > >> > * electric-future-map: A Sample Variable Description. > >> > (line 999) > >> > >> Actually, I found find it nice if the "(line 999)" part would align > >> with all the other line numbers that aren't on extra lines. What do > >> people think? > > > > I tend to agree. The question is, as always, is it feasible to force > > makeinfo to do that? > > Oh, I think I misunderstood. I thought the original suggestion was to > have makeinfo automatically put "(line 999)" on a new line. In that > case, I didn't expect that the number of leading spaces (or tabs?) on > that line would make a lot of difference. (And computing the right > number of spaces to make sure that the ")" is in column 78 doesn't > seem difficult.) > > I guess there is some other issue that I'm not seeing. 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. But I might be mistaken: it's been a while since I last hacked makeinfo.