Moved definition of root for Org mode files to defs file.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 31 Jan 2021 00:01:57 +0200
changeset 1717 3c60aeba5004
parent 1716 7724648509b6
child 1718 9d72f4424570
Moved definition of root for Org mode files to defs file.
.emacs-defs
.emacs-my
INSTALL.rst
README.md
--- 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")
--- 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
--- 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::
-
--- 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