aboutsummaryrefslogtreecommitdiff
path: root/modules/user-constants.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 00:58:22 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 00:58:22 -0400
commit85452c2a841585884d937aad9622a4c10b689686 (patch)
treec13950ebe3369684652802bd8cfe8099cfa97dee /modules/user-constants.el
parentaac7bff8335d43408ef62293f0beb8c8f7a8165d (diff)
downloaddotemacs-85452c2a841585884d937aad9622a4c10b689686.tar.gz
dotemacs-85452c2a841585884d937aad9622a4c10b689686.zip
feat(google-keep): org-page renderer, refresh command, keybindings (Phase 2-3)
The elisp side of the Keep integration: a pure JSON-to-org core (parse, tag/heading/render helpers) kept free of .emacs.d specifics for later extraction, plus the IO runner cj/keep-refresh (async make-process + sentinel, atomic temp-then-rename write to keep-file, stderr-token to display-warning) and the glue (C-c k prefix, executable warning, require in init.el). 15 ERT tests over the core and the parse-render-write chain. Read-only v1; live fetch needs the one-time gkeepapi + token setup.
Diffstat (limited to 'modules/user-constants.el')
-rw-r--r--modules/user-constants.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/user-constants.el b/modules/user-constants.el
index b392212ed..570b142fb 100644
--- a/modules/user-constants.el
+++ b/modules/user-constants.el
@@ -167,6 +167,12 @@ Proton Calendar.")
Stored in .emacs.d/data/ so each machine syncs independently from
Google Calendar.")
+(defvar keep-file (expand-file-name "data/keep.org" user-emacs-directory)
+ "The location of the generated org file containing Google Keep notes.
+A read-only view regenerated by `cj/keep-refresh'; edits here do not
+sync back to Keep. Stored in .emacs.d/data/ so each machine syncs
+independently.")
+
(defvar reference-file (expand-file-name "reference.org" org-dir)
"The location of the org file containing reference information.")