From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: Re: info mode header line missing title Date: Sun, 05 Sep 2004 23:38:22 +0300 Organization: JURTA Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <874qmcwdcx.fsf@mail.jurta.org> References: <413377AC.1010407@yahoo.com> <871xhkwq3e.fsf@mail.jurta.org> <871xhji3o5.fsf@mail.jurta.org> <01c49273$Blat.v2.2.2$3a84e9e0@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094424319 9948 80.91.224.253 (5 Sep 2004 22:45:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Sep 2004 22:45:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, ihs_4664@yahoo.com, rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 06 00:45:10 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C45l0-000435-00 for ; Mon, 06 Sep 2004 00:45:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C45q9-00022o-6J for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Sep 2004 18:50:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C45q8-00022i-Hq for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 18:50:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C45q5-00022U-LC for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 18:50:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C45q5-00022R-Hh for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 18:50:25 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C45kk-0007sU-6R; Sun, 05 Sep 2004 18:44:54 -0400 Original-Received: from mail.jurta.org (80-235-44-100-dsl.mus.estpak.ee [80.235.44.100]) by knife.dreamhost.com (Postfix) with ESMTP id 84CF8E4189; Sun, 5 Sep 2004 15:43:53 -0700 (PDT) Original-To: Andreas Schwab In-Reply-To: (Andreas Schwab's message of "Sat, 04 Sep 2004 16:13:03 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8941 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8941 Andreas Schwab writes: > "Eli Zaretskii" writes: >> Please show some statistics to back up this assertion. In my >> experience, a large percent of Info nodes have long names so that the >> header line overflows the 79-character limit. > > I can confirm this. On my system more than 50% of the Info nodes would > overflow the limit if the node name would be included in the header line. > Without it, only about 10% remain. > > $ zgrep -h '^File: .*Node:' *.gz | wc -l > 16965 > $ zgrep -h '^File: .*Node:' *.gz | sed -n 's/^[^,]*, *//; /.\{80,\}/p' | wc -l > 9133 This query is not quite right. The proposed format was without the "Node: " prefix. So more proper query is: $ zgrep -h '^File: .*Node:' *.gz | sed -n 's/^[^,]*, *Node: //; /.\{80,\}/p' | wc -l ====== It gives on my system 32% of nodes whose headers would be longer than 80 characters, against 8% of header lines without the node name at all. But fourfold increase is no good. So I propose another improvement: to replace prefixes "Next: ", "Prev: " and "Up: " with 1-character arrow glyphs representing their meanings ("<" - prev, ">" - next, "^" - up). With this change the header line: Save Keyboard Macro, Next: Edit Keyboard Macro, Prev: Keyboard Macro Query, Up: Keyboard Macros would be displayed as: Save Keyboard Macro >Edit Keyboard Macro