all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Thien-Thi Nguyen'" <ttn@gnuvola.org>
Cc: emacs-devel@gnu.org
Subject: RE: breadcrumbs for Info . . . . . .
Date: Fri, 13 Jun 2008 10:52:06 -0700	[thread overview]
Message-ID: <008f01c8cd7e$3208a5a0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87y759b6fv.fsf@ambire.localdomain>

> Cool.  Yes, i would welcome such an option.  Perhaps even better
> would be to separate the collection of path-to-root info from
> its display.  The customizable option might be (a hypothetical)
> `Info-display-breadcrumbs-method', with nil meaning don't bother,
> or otherwise a function that takes the list of nodes up to root.

Yes, it could be good to have a function that returned, say, the Up node for an
arbitrary node (not necessarily for the current node). 

The breadcrumbs code I sent jumps around a hoop to get this info, naively using
`Info-goto-node' to go to the current node's Up, then that parent's Up, etc.,
gathering `Info-current-node' at each such step. That approach is a bit silly -
it was quick-and-dirty, and it works, but it's hardly elegant.

As pointed out in the discussion, if the node hierarchy were cached in some
form, then this info would be trivially available. Even if the "cache" consisted
only of a set of node+parent pairs (regardless of the order among pairs), that
would be sufficient.

> The default value can be a function to formattedly insert into the
> buffer (as you propose, iiuc), whereas curmudgeons, who might like
> using the collected info but not its default display method, can
> write (or badger others to write) something else.
> 
> Btw, if i detect correctly a tone of annoyance in your reply, i
> apologize for having triggered it.  It's not my intent to annoy.

Same here. I'm not annoyed by what you wrote, and I didn't mean to annoy anyone.

My interest here is to (1) suggest that Emacs provide breadcrumbs to those who
want it (preferably by default), and (2) provide one way to do that, for lack of
another.





  reply	other threads:[~2008-06-13 17:52 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 [this message]
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
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='008f01c8cd7e$3208a5a0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@gnuvola.org \
    /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.