From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Patch to disable links line in *info* buffer Date: Tue, 11 Jun 2002 13:20:44 +0000 (UTC) Sender: emacs-devel-admin@gnu.org Message-ID: References: <87bsaos1fl.fsf@orebokech.com> <200206072322.g57NMtK27277@aztec.santafe.edu> <5xbsam1tje.fsf@kfs2.cua.dk> <200206091518.g59FIuL00222@aztec.santafe.edu> <200206102343.g5ANhlv02332@aztec.santafe.edu> <87vg8qisfw.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023801868 24465 127.0.0.1 (11 Jun 2002 13:24:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Jun 2002 13:24:28 +0000 (UTC) Cc: bob@rattlesnake.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HldM-0006MU-00 for ; Tue, 11 Jun 2002 15:24:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Hm0h-0007XY-00 for ; Tue, 11 Jun 2002 15:48:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Hld5-0000ha-00; Tue, 11 Jun 2002 09:24:11 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Hlax-0000QS-00 for ; Tue, 11 Jun 2002 09:22:18 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Tue, 11 Jun 2002 13:20:44 +0000 (UTC) Original-To: emacs-devel@gnu.org In-Reply-To: (message from Miles Bader on 11 Jun 2002 16:05:58 +0900) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4751 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4751 Miles Bader suggests: ... we could keep the `Next:' &c tags in the header-line, and put _only_ the `File:' and `Node:' tags in the (displayed) buffer -- that way, there wouldn't be any redundancy, and the string that people most commonly might want to copy is available in the buffer for copying. This would also have the advantage that the first line usually wouldn't wrap, as it often does currently. Yes, this should work! The output would look like this, where the first line is the new style *info* header line, the second line is similar to the first line of an old-style Info file, but contains only the `File:' and `Node:' tags, and the following visible line is the title in whatever face or voice you have set for Info: Next: Printed Books, Prev: Using Texinfo, Up: Overview File: texinfo, Node: Info Files Info files An Info file is a Texinfo file formatted so that the Info documentation reading program can operate on it. (`makeinfo' and `texinfo-format-buffer' are two commands that convert a Texinfo file into an Info file.) .... When I want to send a a long-winded, but I hope informative and inspiring reference to someone, I copy File: texinfo, Node: Info Files as usual. When I want to send a more efficient reference to a knowledgeable person, I use the `Info-specify-current-node-name' command to construct the expression: (texinfo)Info Files (The `Info-specify-current-node-name' is simply the `Info-copy-current-node-name' command renamed to make more sense than the latter, which does *not* copy the node name, which is not mentioned in the new style *info* header line. [digression] By the way, how do you fix an instance of a `plain vanilla' Emacs from the current CVS sources so that you can move around an Info file using the next, prev, and up key and mouse bindings? This bug was reported some time ago but no permanent fix has been installed in CVS; I simply cannot remember the temporary fix someone suggested so I can use the new style *info* header lines. I normally `(setq Info-use-header-line nil)' in my .emacs file, which solves the problem for me, but for testing, I run /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)' and Info fails when I type `n' in a node, with the error message: Info-extract-pointer: Node has no Next (This morning's CVS snapshot, Tue, 2002 Jun 11 11:39 UTC, GNU Emacs 21.3.50.29 (i686-pc-linux-gnu, X toolkit).) -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com