all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 'Juri Linkov' <juri@jurta.org>, emacs-devel@gnu.org
Subject: RE: breadcrumbs for Info . . . . . .
Date: Sat, 14 Jun 2008 10:24:52 -0700	[thread overview]
Message-ID: <00c501c8ce43$8e81c8a0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <jwvy758dmyc.fsf-monnier+emacs@gnu.org>

> > 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".

I don't recall saying that, but I agree. ;-)

I think I wrote something related a while back about users creating virtual
books that way. And I mentioned caching the node list rather than the TOC text.

Other than that, I don't recall saying anything related. But it is a good idea.

> > 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).

Info text is, AFAICT, generally filled to 72 columns, not 80. The same should
hold for all header-area lines (including breadcrumbs).

Node names can, as you said, be long sometimes. Long enough to call for filling
breadcrumbs. Eliding does not help users. If you insist, keep eliding as an
option, but please always show the complete breadcrumbs path, by default. 

99% of the time, no filling or eliding will be necessary. For the remaining 1%,
filling is better than eliding. When someone hits that 1%, s?he shouldn't be
surprised with elision. 

Most users will not think to look into the doc to see if there is a way to show
what's elided. Users who are surprised by a filled path and also bothered by it
are more likely to look for a way to turn it off. More importantly, in the one
case there is loss of information and functionality, in the other case there is
only a minor loss of screen space.

Better to show the information, wrapping it as needed - least surprise. (What
the `...'? Where did the rest of it go?) 

> > 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.

Very occasionally. And some users might not like some of the other changes that
we've made here. And users can choose not to use breadcrumbs.

Eliding means that occasionally we would not show the intermediate nodes. Some
users might not like that...  It will not be obvious to them where they are or
how to get to those nodes - there are no commands to do so.

If we fill instead of elide, it might not be obvious to users how to get rid of
the extra breadcrumbs lines, but at least no one loses any information or
navigation actions that way.

> > 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 are misrepresenting what I said. It is less important to duplicate them in
breadcrumbs, because they are visible elsewhere and because we have commands (u
and t) to go to them directly. I am not saying that up and top are less useful.

> I've never removed the Info-fontify-maximum-menu-size 
> binding, I've just moved it elsewhere.

Ah, yes, I missed that.





  reply	other threads:[~2008-06-14 17:24 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 23:52 breadcrumbs for Info . . . . . Drew Adams
2008-06-11  0:04 ` Juri Linkov
2008-06-11  3:18   ` Drew Adams
2008-06-11  9:34     ` Juri Linkov
2008-06-11 13:46       ` Drew Adams
2008-06-11 18:59         ` Eli Zaretskii
2008-06-11 22:40         ` Juri Linkov
2008-06-12  2:01           ` Miles Bader
2008-06-12 22:42           ` Drew Adams
2008-06-13  3:27             ` Stefan Monnier
2008-06-13  6:34               ` Drew Adams
2008-06-13  8:43                 ` Thien-Thi Nguyen
2008-06-13 13:55                   ` Drew Adams
2008-06-13 17:17                     ` Thien-Thi Nguyen
2008-06-13 17:52                       ` Drew Adams
2008-06-13 19:55                         ` Thien-Thi Nguyen
2008-06-13 20:10                           ` Drew Adams
2008-06-15 18:19                           ` Juri Linkov
2008-06-13 14:05                   ` Stefan Monnier
2008-06-13 15:12                     ` Drew Adams
2008-06-13 17:16                       ` Stefan Monnier
2008-06-13 18:32                     ` Thien-Thi Nguyen
2008-06-14  9:47                       ` Eli Zaretskii
2008-06-14 10:01                         ` Thien-Thi Nguyen
2008-06-13 13:58                 ` Stefan Monnier
2008-06-13 15:11                   ` Drew Adams
2008-06-13 20:34                     ` Stefan Monnier
2008-06-13 22:11                       ` Drew Adams
2008-06-13 22:44                         ` Stefan Monnier
2008-06-14  9:45                           ` Drew Adams
2008-06-14 16:16                             ` Stefan Monnier
2008-06-14 17:24                               ` Drew Adams [this message]
2008-06-14 18:04                                 ` Stefan Monnier
2008-06-15  0:27                                 ` Juri Linkov
2008-06-15  7:33                                   ` Drew Adams
2008-06-15 18:23                                     ` Juri Linkov
2008-06-15 19:46                                       ` Drew Adams
2008-06-15  0:28                       ` Juri Linkov
2008-06-15  2:04                         ` Stefan Monnier
2008-06-15 18:18                           ` Juri Linkov
2008-06-15  7:55                         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00c501c8ce43$8e81c8a0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.