# HG changeset patch # User Oleksandr Gavenko # Date 1612044117 -7200 # Node ID 3c60aeba5004698d08271777ab990b1a4855b20e # Parent 7724648509b66508949cf98fed14020f1e79692d Moved definition of root for Org mode files to defs file. diff -r 7724648509b6 -r 3c60aeba5004 .emacs-defs --- a/.emacs-defs Sat Jan 30 23:52:32 2021 +0200 +++ b/.emacs-defs Sun Jan 31 00:01:57 2021 +0200 @@ -14,6 +14,9 @@ "Here live my lisp packages.") (add-to-list 'load-path my-lisp-dir) +(defvar my-org-dir "~/my/gtd" + "Root directory for my Org files.") + (defvar my-lisp-autoload (concat my-lisp-dir "loaddefs.el") "Path to autoload for mode files.") (defvar my-lisp-auth (concat user-emacs-directory ".emacs-auth") diff -r 7724648509b6 -r 3c60aeba5004 .emacs-my --- a/.emacs-my Sat Jan 30 23:52:32 2021 +0200 +++ b/.emacs-my Sun Jan 31 00:01:57 2021 +0200 @@ -1897,7 +1897,7 @@ ;; XXX org-todo-keywords '((sequence "TODO" "START" "|" "DONE")) for org-version 4.67c (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) -(setq org-directory "~/my/gtd") +(setq org-directory my-org-dir) (setq org-agenda-ndays 31 org-deadline-warning-days 7 diff -r 7724648509b6 -r 3c60aeba5004 INSTALL.rst --- a/INSTALL.rst Sat Jan 30 23:52:32 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ - -GTD (org-mode) -=== - -In home dir create .gtd subdir with todo.org file. Put simple content on top -of them:: - - -*- coding: utf-8 -*- - - #+STARTUP: overview - #+STARTUP: hidestars - #+ARCHIVE: %s_done:: - diff -r 7724648509b6 -r 3c60aeba5004 README.md --- a/README.md Sat Jan 30 23:52:32 2021 +0200 +++ b/README.md Sun Jan 31 00:01:57 2021 +0200 @@ -40,7 +40,7 @@ ## Org mode conventions -TODO +`my-org-dir` controls location of Org root directory. ## Legacy setup instructions for native Windows Emacs