From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Include on file open? Date: Tue, 25 Feb 2014 10:44:53 -0500 Message-ID: <20140225154452.GG15776@pdavismbp15.iscinternal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIK7E-0001AD-3n for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 10:40:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIK79-0003KB-BK for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 10:40:16 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIK79-0003K6-8X for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 10:40:11 -0500 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id CFBD221065 for ; Tue, 25 Feb 2014 10:40:09 -0500 (EST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 -- ---- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com