Adding a configuration and a command for defining and quickly visiting a “home” for a collection.
Goto the home of a collection, if it exist.
Next to the already existing :name, :require and :customization, one can now also declare :home. It can take a string with a filename within the collection.
Example:
; -*- mode: emacs-lisp -*-
(org-collection-definition
:name "Personal"
:home "start here.org"
:require (org-agenda)
:customization (;; Agenda
(org-agenda-files (":path:"))))
C-c z h
(org-collection-visit-home
)
This software probably isn’t used anywhere yet so no care is taken for backwards compatability.
With the change today, some incompatabilities in user facing functions were added though. Notably the following:
Rename of:
org-collection-lock
toorg-collection-load
org-collection-unlock
toorg-collection-unload
Some new commands are added and some keyboard shortcuts are added.
Helper that will create and register a new location. Default template hardcoded.
Helper that will take you to the settings-file of a collection of choice.
C-c z c
(org-collection-create
)C-c z s
(org-collection-visit-settings
)C-c z f
(org-collection-visit-file
)