Eli Zaretskii wrote:
> > From: Benno Schulenberg <[EMAIL PROTECTED]>
> > When in current CVS doing `info info-stnd scroll`, followed by
> > three <Tab>s and <Enter>, the cursor does not sit on the
> > paragraph that explains `scroll-behavior',
>
> I take it that 3 TABs get you to this cross-reference:
>
>    *Note `scroll-behavior': Variables, for more information.

Yes.

> It's a general problem: Info cross-references cannot specify a
> precise position of the reference,

Well, reading `info texinfo` a bit, it can: with 'anchor'.  See 
attached crude patch, which tries to avoid the ugly "::,".  
Incidentally, the `scroll-behavior' paragraph itself already 
contains such an anchored internal cross reference:

  This variable normally affects only scrolling commands.  *Note
  cursor-movement-scrolls::, for information on how to widen its
  scope.

> One way of fixing this would be to modify the node text so that
> the first place that mention "scroll-behavior" is the one that
> describes the variable.  This should be so anyway, as any term
> should be explained before it is used.

Sometimes one needs a forward reference, sometimes in the same node 
when the node is long.

Benno
--- cvs-texinfo/doc/info-stnd.texi	2007-08-16 22:27:16.000000000 +0200
+++ texinfo-new/doc/info-stnd.texi	2007-09-04 00:08:27.000000000 +0200
@@ -633,8 +633,7 @@
 move forward and backward through the node structure of the file.  If
 you press @key{SPC} while viewing the end of a node, or @key{DEL} while
 viewing the beginning of a node, what happens is controlled by the
-variable @code{scroll-behavior}.  @xref{Variables,
[EMAIL PROTECTED], for more information.
+variable @code{scroll-behavior}.  @xref{the variable `scroll-behavior'}.
 
 The @code{scroll-forward-page-only} and @code{scroll-backward-page-only}
 commands never scroll beyond the current node.
@@ -1896,6 +1895,7 @@
 character set is in use, and allows you to input such characters to
 Info, as well as display them.
 
[EMAIL PROTECTED] variable `scroll-behavior'}
 @item scroll-behavior
 @itemx scroll-behaviour
 @vindex scroll-behavior

Reply via email to