Hello. Something like this already works fine for me: (add-hook 'org-mode-hook 'my-open-some-branch)
(defun my-open-some-branch () "Start org file with some particular branch opened." (org-overview) (save-excursion (search-forward "Finances") (org-show-entry))) You can easily write a couple more lines so that the branch that will be opened is configured on the top of the file itself. HTH, Hugo On Dec 28, 2007 3:10 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote: > I'm sure that you could write a function that you could call from an > org-mode hook to do an occur or something like that. Unfortunately, I > don't use org-occur much and the hook I think you need is in my .emacs > at work. Given the right org-mode search function and the name of the > hook, I think it should be easy to do. If someone doesn't beat me to > it, I'll try and get you a better answer when I return to work or when > I'm feel a little better and can do some digging. > > Edd > > > On Dec 27, 2007 8:42 AM, <[EMAIL PROTECTED]> wrote: > > > > Is there an easy way to have a specific branch in your file open when > > you load the file? > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode