Leo Vivier

Results 35 comments of Leo Vivier

> Alterntive case 2 solution: Don't iterate over sections in org-file but iterate over entries returned by `bibtex-completion-candidates`. Then, we need to make it clear that the users should have...

> But assuming I have an entry's note in a string and the BibTeX key, what's the easiest way to create a new note in org-roam-bibtex programmatically, i.e. without manual...

Good news: it's just a typo! We changed the name of the variable from `org-roam-capture-template` to `org-roam-capture-templates` (i.e. plural). This should work: ```el (let ((key "Haeussler2012")) ;; First copy notes...

> Just tried it but now I get a new buffer that's completely empty. Hm ... Can you get this to work? ```el (let ((key "Haeussler2012")) (let ((org-roam-bibtex-templates '(("r" "ref"...

Strange, it's working on my end. Have you pulled the repo? ![output-2020-04-29-19:19:22](https://user-images.githubusercontent.com/12202828/80626219-63858b80-8a4e-11ea-904e-1969188550be.gif)

> I installed org-roam-bibtex two hours ago from Melpa (via straight.el). Will have to test with `emacs -Q` to rule out interference from other stuff I suppose. Yeah, sorry, quite...

> Raises the question: how can notes be deleted? You could run `org-roam-db--clear` and `org-roam-db-build-cache` to recreate it.

> Could it be that an entry in org-roam's db is created even before the capture process is finalized? In this case an aborted capture process should trigger some clean-up....

> Hm, but when I start `org-roam-bibtex-edit-notes`, then abort (`C-c C-k`), and then run it again, I have the content of the template twice. Something must be left over. But...