From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter de Jong Subject: Re: organizing org files Date: Fri, 29 Jul 2011 15:06:32 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmmlu-0002o0-DA for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 09:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmmlt-0004OA-AL for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 09:06:34 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:40811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmmlt-0004O6-82 for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 09:06:33 -0400 Received: by vxg38 with SMTP id 38so3482389vxg.0 for ; Fri, 29 Jul 2011 06:06:32 -0700 (PDT) In-Reply-To: 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 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 () =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(interactive) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(if (not (not (eq nil (get-buffer= gtd-file-index-buffer)))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (find-file-rea= d-only gtd-file-index) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(switch-to-buffer gtd-file-index-= buffer) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(delete-other-windows) ) (global-set-key (kbd "C-c g") 'gtd) (gtd) 2011/7/29 Jude DaShiell > > Does a couple of org variables exist which when set and emacs gets used t= o > open an org file emacs will look in ~/org for the org files first? > > > -- Met vriendelijke groet, Peter de Jong