From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Include on file open?
Date: Wed, 26 Feb 2014 14:07:22 +0800 [thread overview]
Message-ID: <877g8ih0f9.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 20140225154452.GG15776@pdavismbp15.iscinternal.com
Peter Davis <pfd@pfdstudio.com> writes:
> I'd like to put a kind of menu bar at the top of most of my .org
> pages, so I can quickly jump around the most commonly edited files. I
> can do something like:
>
> | [[file:first.org][first]] | [[file:second.org][second]] | ...
>
> and simply include that in all my files. However, if I change the
> menu, I have to go back and update all those files. A better approach
> would be to include an up-to-date menu file
> when each org file is opened, and maybe even reload to update the
> menu. However, the #+INCLUDE: option only works at export time.
>
> Is there a way to automatically include an external file when I
> open/reload a .org file? Or is there a better way to create a menu or
> frequently visited files?
>
> Thanks!
> -pd
I think org-toc in the contrib/lisp directory is meant to do just this,
automatically. I haven't tried it, though...
next prev parent reply other threads:[~2014-02-26 6:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 15:44 Include on file open? Peter Davis
2014-02-26 6:07 ` Eric Abrahamsen [this message]
2014-02-26 13:18 ` Peter Davis
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=877g8ih0f9.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).