Code Monkey home page Code Monkey logo

Comments (4)

jgru avatar jgru commented on July 19, 2024

Hi @bram85,

thank you for reporting this issue. I think this is related of how consult-org-roam-buffer deals with org-roam-buffers that have not been written to the roam-db yet. I expect the error to happen somewhere around here

(defun consult-org-roam-buffer--get-title (buffer)
"Get title of org-roam BUFFER."
(if (org-roam-buffer-p buffer)
(let* ((title
(with-current-buffer buffer
(org-roam-db--file-title)))
(filename (buffer-file-name buffer))
(fhash (consult-org-roam-db--file-hash filename)))

Best regards,
jgru

from consult-org-roam.

jgru avatar jgru commented on July 19, 2024

Hi @bram85,

commit 1167832 should fix the issue. Could you please this and confirm that these changes resolve the bug for you?

I propose to use the following use-package snippet to pull head of main:

(use-package consult-org-roam
   :straight (:host github :repo "jgru/consult-org-roam")
   :after org-roam
   :init
   (require 'consult-org-roam)
   (consult-org-roam-mode 1)))

Best regards,
jgru

from consult-org-roam.

bram85 avatar bram85 commented on July 19, 2024

Nice, it works. Thank you 🙂

from consult-org-roam.

jgru avatar jgru commented on July 19, 2024

Nice, it works. Thank you slightly_smiling_face

Good to hear. You are welcome. Happy that you use this package.

from consult-org-roam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.