* organizing org files
@ 2011-07-29 10:31 Jude DaShiell
2011-07-29 13:06 ` Peter de Jong
0 siblings, 1 reply; 2+ messages in thread
From: Jude DaShiell @ 2011-07-29 10:31 UTC (permalink / raw)
To: emacs-orgmode
Does a couple of org variables exist which when set and emacs gets used to
open an org file emacs will look in ~/org for the org files first?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: organizing org files
2011-07-29 10:31 organizing org files Jude DaShiell
@ 2011-07-29 13:06 ` Peter de Jong
0 siblings, 0 replies; 2+ messages in thread
From: Peter de Jong @ 2011-07-29 13:06 UTC (permalink / raw)
To: emacs-orgmode
I use an index file, comparable to the mobile-org index file. This
file is preloaded in emacs. And Ctrl-cg returns me to it. The idea for
the gtd function comes from Charles Cave's .emacs.
(setq org-directory "~/Dropbox/Organizer/")
(defvar gtd-file-index (concat org-directory "index/organizer.org"))
(defvar gtd-file-index-buffer "organizer.org")
(defun gtd ()
(interactive)
(if (not (not (eq nil (get-buffer gtd-file-index-buffer))))
(find-file-read-only gtd-file-index)
)
(switch-to-buffer gtd-file-index-buffer)
(delete-other-windows)
)
(global-set-key (kbd "C-c g") 'gtd)
(gtd)
2011/7/29 Jude DaShiell <jdashiel@shellworld.net>
>
> Does a couple of org variables exist which when set and emacs gets used to
> open an org file emacs will look in ~/org for the org files first?
>
>
>
--
Met vriendelijke groet,
Peter de Jong
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-29 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-29 10:31 organizing org files Jude DaShiell
2011-07-29 13:06 ` Peter de Jong
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).