md-roam-follow-wiki-link looks for node without stripping 'roam:' prefix
arnab-basu opened this issue · 8 comments
Steps to reproduce:
- After setting up md-roam, insert link to org-roam node (.org file) using completion
- Link inserted looks like
[[roam:2022_06_10]]
- With cursor on link press enter
- Capture process is activated.
*Messages*
showsNo org-roam node found for "roam:2022_06_10"
- Remove
roam:
from wikilink manually - With cursor on link press enter
- Expected node is opened
Expected:
- should not need to strip
roam:
manually
This impacts outgoing links from md files (to both org and md files). Outgoing links from org files work fine
should not need to strip roam: manually
You don’t need it: just normal Markdown-mode wiki.
Is it org-roam-completion-everywhere
? It's a user option; you can turn it off. But I am not sure what is the relationship between your issue and the "this config".
What "completion" do you do? In
After setting up md-roam, insert link to org-roam node (.org file) using completion
Md-roam is for markdown files. What does .org file have to do with this? Ensure you are in markdown mode...
Or you would need to be more specific and detailed -- I don't have the same issue.
You'd need to turn off org-roam-completion-everywhere
. I don't use it so I don't support it (Md-roam is just a personal package shared with others as is; hence, not on MELPA or others) -- I confirmed the behaviour of org-roam-completion-everywhere
; if it's off, it works fine.
Having said this, I will have a look if this can be easily done.
Done. You might need to relaunch Emacs after updating md-roam. It's lightly tested and don't have much capacity today to do more -- I might have broken something, especially if you use both Org and Markdown. Let me know if you notice something.
Initial testing shows that this is working fine. Will comment here if I see anything that does not work.
Thanks a lot for your great work and responsiveness!!