From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Texinfo Mode: node-based movement functions. Date: Mon, 08 Nov 2004 17:40:48 -0500 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099953686 9470 80.91.229.6 (8 Nov 2004 22:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 22:41:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 08 23:41:15 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 1CRICJ-0006TA-00 for ; Mon, 08 Nov 2004 23:41:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRIKg-0007Gt-AZ for ged-emacs-devel@m.gmane.org; Mon, 08 Nov 2004 17:49:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CRIKY-0007GT-9s for emacs-devel@gnu.org; Mon, 08 Nov 2004 17:49:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CRIKW-0007Fl-Vv for emacs-devel@gnu.org; Mon, 08 Nov 2004 17:49:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRIKW-0007Fi-RM for emacs-devel@gnu.org; Mon, 08 Nov 2004 17:49:44 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRIBu-0000jv-UW for emacs-devel@gnu.org; Mon, 08 Nov 2004 17:40:51 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A67478282A3; Mon, 8 Nov 2004 17:40:50 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 2D5594AC8F1; Mon, 8 Nov 2004 17:40:49 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id E12F28CA69; Mon, 8 Nov 2004 17:40:48 -0500 (EST) Original-To: Alan Mackenzie In-Reply-To: (Alan Mackenzie's message of "Mon, 8 Nov 2004 20:09:09 +0000 (GMT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:29606 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29606 >> Why worry about keybindings? Why not just set beginning-of-defun-function >> (or page-delimiter)? > (i) The beginning-of-defun-function mechanism is broken in 21.3 - the > COUNT argument is not passed through to b-o-d-f. But you won't retroactively change texinfo.el for Emacs-21.3 anyway, so this shouldn't be a consideration. Either it's fixed in Emacs-CVS and you can use it for Emacs-CVS's texinfo.el or it's not fixed in which case you should get it fixed first. AFAIK it is fixed. > Why not enhance the meaning of page-delimiter? It should be either a > regexp, as at present, or a cons cell like ("\\(^\\)@node" . 1), where > the "1" means "the page boundary is at (match-beginning 1)"? Even > better, ("^@node" . 0) would leave point at (match-beginning 0), the > _start_ of the regexp. Perhaps, even, (regexp . -1) could mean > (match-end 1). And how do you specify the case of "\f\\|@node" ? Nah... just make it possible to use a function and be done with it. Stefan