From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: org files and projects nested git repositories Date: Thu, 31 Dec 2015 13:01:27 -0500 Message-ID: References: <87oad6ldqv.fsf@plantarum.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEhXY-0003dV-Dm for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:01:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEhXX-0005VV-AR for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:01:32 -0500 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:34778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEhXX-0005VP-6C for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:01:31 -0500 Received: by mail-qk0-x235.google.com with SMTP id p187so223949752qkd.1 for ; Thu, 31 Dec 2015 10:01:30 -0800 (PST) In-reply-to: <87oad6ldqv.fsf@plantarum.ca> 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: Tyler Smith Cc: orgmode list Hi Tyler, I have a similar setup. On 2015-12-31 at 12:38, Tyler Smith wrote: > ├── org > │ ├── todo.org > │ ├── reading.org > │ └── personal.org On my system this is a git repository and a cron (or actually LaunchAgent since I'm on OS X) does a =git commit -a = every night. I also have these variables set: (setq org-directory "~/Documents/Org") (setq org-agenda-files (quote ("~/Documents/Org/" "~/Dropbox/Org/"))) > └── research > ├── project1 > │ ├── project1.org > │ └── project1_reference.pdf > └── project2 > ├── project2.org > ├── data2 > │ ├── data2A.csv > │ └── data2B.csv > └── project2_reference.pdf In my version of this, I have each project as its own git repository, where git contains the Org file, other code, the manuscript, etc. I add any Org files to my global agenda with =M-x org-agenda-file-to-front= and remove with = M-x org-remove-file=. > When I open a new project, it gets its own folder, containing supporting > documents, code, data, as well as an org file to manage todos and > timelines. This doesn't seem to work well with org: most tutorials > assume that all your planning files are found in one directory (e.g., > ~/org). That is only because it is easier to show that setup in the tutorial. You can have Org files all over the place, and each can be added to the Agenda or not, as you wish. -k.