feat(sterni/emacs): open context file on startup

context.org tracks ongoing things, e.g. code I'm working on or want to
get started on. Tracking means that it contains notes (“context”) on the
things in question. These will mainly be links or quick todo lists which
will hopefully reduce the amount of open tabs and unread emails (marked
as TODO in thunderbird) I have.

Having inbox.org open is not as useful since it isn't viewed really: For
adding tasks org-capture should be used and for viewing them org-agenda
is far superior.

Change-Id: I4acbaa33e4c2de40a92393376bb86251d9dceb02
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13044
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2025-01-23 23:31:18 +01:00 committed by clbot
parent 26edf809ff
commit a396f4162f

View file

@ -122,7 +122,7 @@
(let ((org-folder (concat (getenv "HOME") "/files/sync/org"))) (let ((org-folder (concat (getenv "HOME") "/files/sync/org")))
(setq org-agenda-files (directory-files-recursively org-folder "\\.org$") (setq org-agenda-files (directory-files-recursively org-folder "\\.org$")
org-default-notes-file (concat org-folder "/inbox.org") org-default-notes-file (concat org-folder "/context.org")
initial-buffer-choice org-default-notes-file initial-buffer-choice org-default-notes-file
org-refile-targets '((org-agenda-files . (:maxlevel . 2))))) org-refile-targets '((org-agenda-files . (:maxlevel . 2)))))