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: Texinfo Mode: node-based movement functions. Date: Sat, 6 Nov 2004 16:52:08 -0500 (EST) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099829811 8432 80.91.229.6 (7 Nov 2004 12:16:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2004 12:16:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 07 13:16:40 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 1CQlyK-000746-00 for ; Sun, 07 Nov 2004 13:16:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQm6c-0003K7-UB for ged-emacs-devel@m.gmane.org; Sun, 07 Nov 2004 07:25:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQm6W-0003K1-8V for emacs-devel@gnu.org; Sun, 07 Nov 2004 07:25:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQm6V-0003Jp-7B for emacs-devel@gnu.org; Sun, 07 Nov 2004 07:25:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQm6U-0003Jm-Uc for emacs-devel@gnu.org; Sun, 07 Nov 2004 07:25:07 -0500 Original-Received: from [69.168.110.189] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQlxy-0004MX-Vb for emacs-devel@gnu.org; Sun, 07 Nov 2004 07:16:21 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Sat, 6 Nov 2004 16:52:08 -0500 (EST) Original-To: Alan Mackenzie In-reply-to: (message from Alan Mackenzie on Sat, 6 Nov 2004 12:40:21 +0000 (GMT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29517 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29517 In Texinfo Mode we have functions for moving to the beginning and end of a "page" (i.e. a @chapter) and for narrowing to a @chapter (together with its @sections). I think there should also be functions for moving to the beginning and end of an individual @node, and for narrowing to it. .... Why do you give a _node_ such relevance? I am curious. The reason is that I have written many Texinfo documents over the past 18 years (or more) and never needed a `goto Texinfo node command'. If I had to go to the node in Texinfo mode, I did a `C-s @no' or `C-r @no' and got there. (The search also brings up `@noindent' lines, but I ignore them. And clearly, most of my node-based movements have been to a nearby node.) Mostly, I have had to go to (and sometimes change) content, which means going to chapters or sections. Are you thinking of the other surface expressions besides Info that Texinfo enables? Certainly, nodes are published in Info, which is one of the surface expressions. They may be published in HTML -- I don't know. They are not published in a printed copy, whether using DVI, PDF, XML, or PS. I know that for sure, since I have to get rid of nodes==sections that are too close to the first section of a chapter, but should be in an Info file. (I keep the node but get rid of the published section.) However, a surface expression is not relevant to writing the deep representation. So perhaps the `goto Texinfo node commands' will be useful to some writers. (Fourteen ago, I wrote some `texinfo-insert-...' commands that too few people cared about so they were not included in the standard distribution. However, they have remained part of my .emacs file ever since. I found the lack of inclusion really weird since I use them. Moreover, I always thought of myself as an exemplar of the average so others should use them, too. Evidentally I am not such an exemplar. Are your node movement commands the same or are they useful by many other people?) In any event, if you continue to develop the commands, please take account of @ignore and the rest; they are used often by everyone. Thank you. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc