[Top][All Lists]

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

Re: breadcrumbs for Info . . . . . .

From: Stefan Monnier
Subject: Re: breadcrumbs for Info . . . . . .
Date: Sat, 14 Jun 2008 12:16:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> BTW, your changes introduced a bug:
> emacs -Q
> load your info.el (from CVS)
> C-h i
> choose Emacs manual
> T

> Wrong type argument: stringp, toc

Indeed, thanks.  It broke info-apropos as well.  Should both be
fixed now.

BTW, I agree with you that the `toc' should be a virtual node rather
than a virtual manual.  And the info-apropos should construct a node
"(apropos)<query>" rather than "(apropos)Top".

> But I also think the breadcrumbs, when used at all, should be
> complete - never elided. They should also be filled, so that (like the
> Info body text) they stay within 72 chars without wrapping.

I understand.  The current default is a tradeoff: it provides all the
info that was there before and it fits within 80 columns in my tests
(i.e. it doesn't use up more screen real-estate than before).

> I'd suggest therefore getting rid of the depth user option altogether. If you
> feel you must keep it, then please make its default value 5, which includes
> everything (the 4 possible section levels plus the top level). By default, at
> least, no breadcrumb nodes should be elided.

Not eliding breadcrumbs means that we would occasionally use up more
screen real-estate than before.  Some users may like it, others won't.
The current choice seems safer.

>> > . When using ellipsis, I suggest dropping first the current
>> >   node name and the file+top - precisely the parts you keep.
>> I keep them precisely because they were there before.

>> The number of nodes actually displayed depends on too many 
>> things: to be really precise, the docstring would need to be overly 
>> complex.

> The question is what should be dropped when using ellipsis. The
> current and top nodes are the least important parts to keep in the
> breadcrumbs, for the reasons I gave. _If_ you drop anything, they
> should be dropped.

Maybe to you they are the least important pieces of info, but they're
the only piece of info that was there before, this seems to indicate
that there's a good chance they are *more* important.

>> You misread the code.
> It's possible.

It's sure.  And you misread my above sentence by "the" I meant "my":
I've never removed the Info-fontify-maximum-menu-size binding, I've just
moved it elsewhere.


reply via email to

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