> Date: Tue, 31 Jul 2007 10:59:29 +0200
> From: Benno Schulenberg <[EMAIL PROTECTED]>
> Cc: Eli Zaretskii <[EMAIL PROTECTED]>
> 
> > Doesn't the variable scroll-behavior do what you want?
> 
> No.  The default value for scroll-behavior already is "Continuous", 
> but that doesn't scroll forward from the last node to the first, 
> nor the other way around.

"Continuous" is supposed to go to the first menu item, which is the
behavior you described in your original message (as something you
thoughte was a bug for a long time).  If this is not what you see,
please tell what you see.

I think setting scroll-behavior to "Next Only" would do what you want:
it tries to go to the next node, if it exists, exactly as it would in
a node without a menu.  If the next node does not exist, it stops.  If
this is not what you wanted, please describe the behavior you did
want.

> For that a fourth value would be needed, "Loop", which would make
> the top node the Next node of the last, and the last the Previous of
> the top node.

FWIW, I don't see a need for such behavior: the structure of the
document is set by its author; if the author wanted such a loop, she
would define a Next link for the last node and a Prev link for the
first.  In addition, the `t' command will get you to the Top node.

> But that still wouldn't provide the possibility to always stop at
> the end of a document.

I think "Next Only" would do that.  Please try it.  (I just did, to be
sure, and it did what I expect.)


Reply via email to