From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: org-toc.el - browsable table of contents for Org Date: Wed, 26 Sep 2007 18:06:41 +0200 Message-ID: <87ve9xxvfy.fsf@bzg.ath.cx> References: <87hclla1lb.fsf@bzg.ath.cx> <200709241731.13418.zslevin@gmail.com> <87r6kny87i.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaZPW-0007Ka-Iz for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 12:06:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaZPV-0007KB-IV for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 12:06:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaZPV-0007K6-Et for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 12:06:49 -0400 Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaZPU-0005Rw-V8 for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 12:06:49 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1340040uge for ; Wed, 26 Sep 2007 09:06:47 -0700 (PDT) In-Reply-To: (Renzo Been's message of "Wed, 26 Sep 2007 14:11:51 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Renzo Been 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