From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: org-toc.el - browsable table of contents for Org
Date: Wed, 26 Sep 2007 18:06:41 +0200 [thread overview]
Message-ID: <87ve9xxvfy.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20070926T141039-78@post.gmane.org> (Renzo Been's message of "Wed, 26 Sep 2007 14:11:51 +0000 (UTC)")
Renzo Been <swangdoodles@gmail.com> writes:
> | Org-TOC is a really nice way to navigate through
> | any org-file.
Thanks!
> | - Draw a box around the contents of the TOC-buffer (like I did with
> | this e-mail). I don't know if that's possible to write via e-lisp,
> | because the TOC-buffer has to be updated frequently...
I must acknowledge that the boxquote stuff wrapping your e-mails always
looked a bit weird to me.. I usually see this as a way to quote emails
or code examples, not to encapsulate your own prose.
I don't see any way to make boxquotes works with the TOC anyway, since
there would be too many complexity when displaying several levels at the
same time.
But I like the idea of having some kind of margin, just as linum.el does
for line numbers:
http://stud4.tuwien.ac.at/~e0225855/linum/linum.html
What kind of information you would like to be displayed in this margin?
(Remember there is org-toc-info already, so the margin and the echo-area
should work in a complementary way.)
> | - Have the TOC get it's own face, so it can be shown in a different
> | color. But than you could kind of lose the differences between
> | headlines (if headlines of more levels are shown in the
> | TOC-buffer)...
We could have a whole new set of customizable faces for org-toc-mode, I
will consider this.
> | - Use h-line to high-lite TOC-buffer lines in a
> | different color
I don't know "h-line"... did you mean "hl-line? I think the purpose of
global-hl-line-mode is only to highlight the current line, not several
lines.
> | And I also have one question: Is there a way to have the TOC
> | auto-loaded with an org-file (through an in-file setting)?
I tried to insert this at the end of a file:
# Local Variables:
# eval: (org-show-table-of-contents)
# End:
but it requires M-x normal-mode, which I don't understand. Even by
setting both `enable-local-variables' and `enable-local-eval' to t
(which is not recommended!) ... any hint on this is welcome!
--
Bastien
next prev parent reply other threads:[~2007-09-26 16:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 14:38 org-toc.el - browsable table of contents for Org Bastien
2007-09-24 9:31 ` Levin
2007-09-24 23:06 ` Bastien
2007-09-26 14:11 ` Renzo Been
2007-09-26 16:06 ` Bastien [this message]
2007-09-26 16:22 ` Carsten Dominik
2007-09-29 7:37 ` Renzo Been
2007-09-29 13:21 ` Bastien
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ve9xxvfy.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).