-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error "Capture template ‘#’: nil is not a valid folding spec" #17
Comments
…erties org-fold.el (org-fold--buffer-substring-filter): Trying to deal with #17. When filtered string contains propertised strings as values of string properties, it cannot be read with `read'. Fixing this.
I have a guess what is happenning. Tried to fix. Can you test now? |
No, unfortunately the problem is still there. (setq org-capture-templates
`(("t" "todo" entry (file ,(concat org-directory "refile.org"))
"* TODO %?\n" :clock-in t :clock-resume t)
("T" "todo with link" entry (file ,(concat org-directory "refile.org"))
"* TODO %?\n%a\n" :clock-in t :clock-resume t)
("e" "email" entry (file ,(concat org-directory "refile.org"))
"* TODO %? Email: %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n"
:clock-in t :clock-resume t :immediate-finish nil)
("j" "Journal entry" entry (file+olp+datetree ,(concat org-directory "journal.org"))
"* %?\n" :clock-in t :clock-resume t)
("J" "Journal with link" entry (file+olp+datetree ,(concat org-directory "journal.org"))
"* %?\n%a\n" :clock-in t :clock-resume t)
("r" "respond" entry (file ,(concat org-directory "refile.org"))
"* TODO Respond to %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n" :clock-in t :clock-resume t :immediate-finish t)
("n" "note" entry (file ,(concat org-directory "refile.org"))
"* %? :NOTE:\n%a\n" :clock-in t :clock-resume t)
("w" "org-protocol" entry (file ,(concat org-directory "refile.org"))
"* TODO Review %c\n%U\n" :immediate-finish t)
("p" "Protocol" entry (file ,(concat org-directory "refile.org"))
"* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
("L" "Protocol Link" entry (file ,(concat org-directory "refile.org"))
"* %?\n[[%:link][%:description]]\n")
("w" "Web site" entry (file "")
"* %a :website:\n\n%U %?\n\n%:initial"))) |
I do a lot of capture and never encountered issues. Your capture templates also look reasonable. So, could you try to find a recepy to reproduce? Ideally, with clean config (see https://github.com/yantar92/org#testing-the-branch). |
Hmm, you're right that it works with the fold branch without my config. So it has to do with my config or another package I'm using. Maybe I find some more time on the weekend to narrow this down. |
You can check the discussion in #11 for tips how to bisect personal config quickly. |
I use mu4e where in the message view I can click "Export to Org" for vcal attachments to add them to my org file.
When I do it in the fold branch I get the following backtrace:
I can try and create a reproducer example if the above is not enough to track down the issue.
Thanks.
The text was updated successfully, but these errors were encountered: