bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9528: 24.0.50; Info navigation


From: Dani Moncayo
Subject: bug#9528: 24.0.50; Info navigation
Date: Mon, 19 Sep 2011 10:14:24 +0200

>> ------------------------------------------------
>> 1. Eval: (info "(elisp)Macros")
>> 2. Type: <DEL>
>>  --> Go to node "(elisp)Related Topics" (OK).
>> 3. Type: l
>>  --> (Expected) Go to the last-visited info node (i.e., "(elisp)Macros").
>>  --> (Observed) Go to node "(elisp)Functions".
>
> Fixed the same way as bug#208.

Tested.  Thanks.

>> ------------------------------------------------
>> 1. Eval: (info "(elisp)Macros")
>> 2. Move point to line 21 (* Menu:).
>> 3. Type: <DEL>
>>  --> (Expected) Go to node "(elisp)Related Topics".
>>  --> (Observed) Go to node "(elisp)Process Internals".
>
> Fixed this bug as well.

Tested.  Thanks.

>> ------------------------------------------------
>> 1. Eval: (info "(elisp)Macros")
>> 2. Move point to line 22 (* Simple Macro).
>> 3. Type: <DEL>
>>  --> (Expected) Go to node "(elisp)Related Topics".
>>  --> (Observed) Go to node "(elisp)Simple Macro".
>
> Sorry, I can't change this because this behavior is explicitly
> implemented in Info, so it's not a bug.

Then I have a couple of things to say about this:
* The current behavior is not documented AFAIK [1].
* Even if the behavior was documented, it is not desirable (IMO),
because we already have a specific command to follow a
cross-reference: <RET>.  Thus, if I type <DEL> in an info buffer, I'd
like to see the same behavior (going back) regardless of whether the
point is on a cross-reference or not.  It is much clearer to keep
these behaviors separated.

>>> 2. Move point to line 22 (* Simple Macro).
>>
>> Actually, that line is the 23rd. Sorry.
>
> BTW, `M-g g' (`goto-line') doesn't work in Info.
> Should be fixed too.

Of course I agree.  `goto-line' should be consistent with the line
numbers showed in the modeline, regardless of whether the buffer is
narrowed or not.  The current behavior is confusing for users, I
think.


Footnotes:
[1] The info mode help (C-h i ?) says this about <DEL>: "Normally,
scroll backward.  If the beginning of the buffer is already visible,
try to go to the previous menu entry, or up if the is none.".

-- 
Dani Moncayo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]