Code Monkey home page Code Monkey logo

Comments (10)

nobiot avatar nobiot commented on August 23, 2024

Does this happen any md file?

from md-roam.

melody-yu23 avatar melody-yu23 commented on August 23, 2024

It happens when I open a new md-roam project, then open a file in it and click inside inside that file for the first time. I have been managed several roam projects with .dir-locals.el files. I don't know if this approach would cause the problem.

from md-roam.

nobiot avatar nobiot commented on August 23, 2024

Does it happen when you open a md file in a directory without .dir-local.el?

Does it happen when you open every md file? (I am suspecting that the content of the file may influence the behavior).

from md-roam.

nobiot avatar nobiot commented on August 23, 2024

Also, whats your org version and Emacs version?

from md-roam.

nobiot avatar nobiot commented on August 23, 2024

Additionally, you seem to be opening a md file from org-roam-ui. Does the problem happen if you open the same file from within Emacs via find-file?

from md-roam.

melody-yu23 avatar melody-yu23 commented on August 23, 2024

Org: 9.7
Emacs: 28.2

It only happens for the first file visiting with SPC-p-p. And I can't trigger it now after I redefined org-roam-directory, which is useless for my workflow.

But once I redefined org-roam-directory, I can't use multiple roam projects anymore under md-roam. For example, when I try to find a node under a project with SPC-n-r-f, the pop-up window is blank. And it works pretty well under org-roam no matter that directory is defined or not.

Plus, I started run into errors as the following when I disabled the directory definition
Error caused by user's config or system: /Users/melody/.doom.d/config.el, (file-missing Opening directory No such file or directory /Users/melody/Documents/emacs/org/roam)

I guess it might come from a recent update, because it works fine before that when I can both define the directory and use .dir-locals.el to manage multiple projects.

from md-roam.

melody-yu23 avatar melody-yu23 commented on August 23, 2024

It is resolved after I disable org-roam-db-autosync-mode, which caused the conflicts I guess. Thanks for your help!

from md-roam.

melody-yu23 avatar melody-yu23 commented on August 23, 2024

After I disabled definition of directory, turn off org-roam-db-autosync-mode and tried to use dir-locals.el to enable multiple projects. The problem appears again when I tried to open another file with SPC-n-r-f.
Please check the error message below:

Warning (org-element-cache): org-element--cache: Org parser error in 23-08-10-explanation.md::215. Resetting.
 The error was: (error "rx ‘**’ range error")
 Backtrace:
nil

from md-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.