Comments (15)
Woo! Just did a straight-pull packcage
on it and it definitely fixed my issue. Yeyyyy! Thank you so much!!!
from md-roam.
How do I reproduce this error? I don’t use Org-agenda but I just added an Org file in org-roam-directory to the agenda, called org-agenda, and showed “Global list of TODO items”. C-c t is undefined on my end (I think this is default). Pressing “t” calls org-agenda-todo and can cycle the TODO status with no problem. md-roam-mode is active in my end.
from md-roam.
Apologies, I typo-ed. That should have read C-c C-t
. It is, as far as I know, the default binding to bring up task completion in org-agenda. on a TODO item in the agenda (I just checked my keymaps and don't see anything that would change that... and really, org-agenda is the bomb. It runs my life... try it!... =] ).
So, for me, it normally pops up the following when I trigger it on a TODO item (see the bottom minibuffer in the screen - almost everything folded here):
So, from there, I'd normally trigger one of the letter to change its state or mark something DONE or KILL and close it out.
from md-roam.
What command is bound to C-c C-t? On my end it’s org-agenda-todo and the same as “t”, and I don’t get the menu in minibuffer. I have no problem with this command.
from md-roam.
I think if you have fast-key access built for the TODOS you get the minibuffer, a la the org-agenda manual
I am guessing adding this will reproduce the error on your side (from my config)
(setq org-todo-keywords '((type "TODO(t@/!)" "WIP (w@/!)" "FUP (@/!)" "GAVE(g@/!)" "|" "DONE(d@/!)" "KILL(k@/!)")))
C-c C-t (org-todo)
Rotate the TODO state of the current item among
,-> (unmarked) -> TODO -> DONE --.
'--------------------------------'
If TODO keywords have fast access keys (see Fast access to TODO states), prompt for a TODO keyword through the fast selection interface; this is the default behavior
when org-use-fast-todo-selection is non-nil.
The same state changing can also be done “remotely” from the agenda buffer with the t command key (see Commands > in the Agenda Buffer).
from md-roam.
I tried your org-todo-keywords
. No error in the agenda when changing the state...
from md-roam.
I am going to be really happy when I figure out which package I am using that's interfering with the mojo on md-roam. 8-/ (I'm assuming it's not some sort of weird mac or straight thing... ).
(and thank you very much for trying to reproduce the bug. I do appreciate the help -- and the plugin!! -- I'll try my end disabling everything but key stuff and see what happens.).
from md-roam.
I'm having the exact same problem. The problem will go a way if I disable md-roam-mode in Org agenda mode. How can I do that in config.el?
from md-roam.
@KengChiChang Phew... ok, so I'm not insane... that is some comfort.
Can you list your OS and emacs and org-mode version and such?
As well, since @nobiot is not able to reproduce it, we probably need to puzzle out what packages we may have in common that may be causing the conflict (I doubt it's an org-mode configuration variable but curious as to what you may think.).
from md-roam.
Can you paste the whole backtrace, please? Turn on toggle-debug-on-error and hit the error; you should get a more detailed error message and “call stack”
from md-roam.
Of course! (I have to admit I am still figuring out how to get emacs to do things like debugs to run errors down to ground.).
This is what I get when I have that on and what shows up in the Backtrace minibuffer:
Debugger entered--Lisp error: (wrong-number-of-arguments ((t) nil "Used in `org-roam-node-open' to avoid error.\ninval..." (if (md-roam--markdown-file-p (buffer-file-name (buffer-base-buffer))) (progn t))) 1)
md-roam-do-not-show-context(agenda)
apply(md-roam-do-not-show-context agenda)
org-show-context(agenda)
org-agenda-todo(nil)
funcall-interactively(org-agenda-todo nil)
call-interactively(org-agenda-todo nil nil)
command-execute(org-agenda-todo)
I should point out that I am only altering tasks that are org-mode TODOs of various state.
lemme know if you need me to do anything more on this front!
from md-roam.
I'm on M1 Mac 12.6 (Monterey), Emacs 28.2 jimeh/emacs-builds, Org 9.6, Org-Roam 74422df, md-roam from straight.
Here's my backtrace
Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 1)
md-roam-do-not-show-context(agenda)
apply(md-roam-do-not-show-context agenda)
org-show-context(agenda)
org-agenda-todo(nil)
funcall-interactively(org-agenda-todo nil)
command-execute(org-agenda-todo)
from md-roam.
I still can't reproduce the issue, but by the looks of the backtrace, 9ccd8fe should fix the issue. Please test and let me know.
from md-roam.
Works like a charm. Thanks so much!
from md-roam.
Thank you both for confirming.
from md-roam.
Related Issues (20)
- Remove ID Properties on capture template HOT 2
- Add subnode in same file HOT 1
- [FR] Please get into Melpa HOT 3
- [FR] Changing default link style to markdown + :PROPERTIES: on new file generation HOT 3
- Mass conversion of md files to allow for syncing HOT 4
- org-roam-node-insert with new note HOT 5
- Cursor placed at the start of the last header line prevents use of templates HOT 3
- md-roam-follow-wiki-link looks for node without stripping 'roam:' prefix HOT 8
- Convert roam markdown files to org HOT 7
- What is the minimal requirement for md files to be recognized as org-roam nodes? Thank you very much. HOT 7
- [Feature] Support of org-mode TODOs within md files HOT 4
- [Bug] Cannot find entry with ID after creation with org-roam template in latest org-roam HOT 24
- Empty Markdown links trigger 'Args out of range' error HOT 6
- An option to customize the note id HOT 3
- Support for multiple file extensions? HOT 2
- question on how to use md-roam HOT 3
- Question: How do we configure org-roam/md-roam so that IDs are compatible with Obsidian? HOT 7
- "@" symbol in .md file leads to broken links with MDRoam and OrgRoamUI? HOT 4
- Run into "range error" while opening a .md file HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md-roam.