emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter de Jong <p.de.jong@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: organizing org files
Date: Fri, 29 Jul 2011 15:06:32 +0200	[thread overview]
Message-ID: <CAH-FKQZwgUKvtBC-wmfsd2Tw8yWou97T+dP07DKGuM+tBxiM5g@mail.gmail.com> (raw)
In-Reply-To: <alpine.BSF.2.00.1107290629350.37988@freire1.furyyjbeyq.arg>

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

      reply	other threads:[~2011-07-29 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29 10:31 organizing org files Jude DaShiell
2011-07-29 13:06 ` Peter de Jong [this message]

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=CAH-FKQZwgUKvtBC-wmfsd2Tw8yWou97T+dP07DKGuM+tBxiM5g@mail.gmail.com \
    --to=p.de.jong@gmail.com \
    --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).