[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Texinfo Mode: node-based movement functions.
From: |
Stefan Monnier |
Subject: |
Re: Texinfo Mode: node-based movement functions. |
Date: |
Mon, 08 Nov 2004 17:40:48 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
>> 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, ("address@hidden" . 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