[[org-roam]] 1.2.3 came out on 13th November 2020.
SPC f e U
to invoke configuration-layer/update-packages
(spacemacs’ update packages command).org-roam-db-build-cache
, it doesn’t do anything process any more files.I noticed that my backlinks weren’t publishing. This might have already been happening anyway, and I just noticed. But here were the issues:
org-roam--get-title-or-slug
has been deprecated (https://github.com/org-roam/org-roam/commit/face683e00c2fe6c45f6958f05bef1750e7372df). org-roam-db--get-title
seem to be the new way to do this.So I’ve updated commonplace/org-roam--backlinks-list
function with these changes.
I noticed here that Jethro has a slightly different function for this these days - I wonder if the logic here would be worth adding to mine too.
In addition to this, while debugging I noticed I was looking at the wrong DB location - I was personally looking at the DB in the project folder, but org-roam was looking at the DB in .emacs.d. I have a feeling my publish.el was also looking in the project folder, but not confirmed. For now I’ve updated publish.el to explicitly look at emacs.d location with (setq org-roam-db-location "/home/neil/.emacs.d/org-roam.db")
, but I’d actually rather they both looked in the project directory. Will have to see what happened to my .dir-locals.el
.
UPDATE: yeah it turns out org-roam-db-location
needs setting in dir-locals: https://www.orgroam.com/manual.html#How-do-I-have-more-than-one-Org_002droam-directory_003f
. This seems to have been the case for a while though, so not sure why this changed recently.
The main one of interest to me looks like Revamp org-roam-dailies. Although, from watching the video, it doesn’t seem to do anything that I wasn’t already doing? I use org-roam-dailies-today
, and I already had org-roam-dailies-capture-templates
set up.
Actually now I get the message -
‘org-roam-dailies-today’ is an obsolete command (as of org-roam 1.2.2); use ‘org-roam-dailies-find-today’ instead.
asdasd
Rendering context...