On Tue, Apr 15, 2025 at 04:52:48PM +0000, Ihor Radchenko wrote:
> Omar Antolín Camarena <o...@matem.unam.mx> writes:
>
> > 3. For org-capture-templates I couldn't quickly figure out what was
> > wrong, but I believe my configuration is correct (and org-capture
> > certainly works), so I believe there is probably another error in the
> > defcustom :type specifier. You can find my org-capture-templates
> > configuration below.
>
> I tried to run the attached and I see no warnings.

> (setopt org-capture-templates
>       '(("t" "Task" entry (file "~/Orgzly/Tasks.org")
>          "* TODO %?\n")
>         ("r" "Reply" entry (file "~/Orgzly/Tasks.org")
>          "* TODO Contestarle a %:fromname: [[%L][%:subject]] :mail:\n" 
> :immediate-finish t)
>         ("n" "Note" entry (file "~/Orgzly/Inbox.org")
>          "* %?\n")
>         ("m" "Math talk" entry
>          (file+olp "~/Orgzly/Tasks.org" "Pláticas")
>          "* [[%c][💻]] %^{Speaker}, /%^{Title}/ \n%^T\n%?")
>         ("v" "Talk" entry (file+olp "Notes.org" "Talks")
>          "* [[%c][💻]] %?\n")
>         ("j" "Journal entry" plain
>          (file+olp+datetree "Journal.org"))
>         ("l" "Link" entry (file "~/Orgzly/Inbox.org")
>          "* %?%a\n")
>         ("c" "Clipboard link" entry
>          (file "~/Orgzly/Inbox.org") "* %?[[%c][%^{Title}]]")
>         ("a" "arXiv paper" entry
>          (file+olp "Math.org" "Reading" "arXiv") "* %c\n"
>          :immediate-finish t)
>         ("p" "Blood Pressure" table-line
>          (file+olp "Health.org" "Presión Omar")
>          "| %U | %^{LSys} | %^{LDia} | %^{LPul} | %^{RSys} | %^{RDia} | 
> %^{RPul} |"
>          :immediate-finish t)
>         ("e" "Emacs templates")
>         ("s" "Someday" entry (file+olp "Notes.org" "Someday")
>          "* %?\n")
>         ("ei" "Idea" entry (file+olp "Emacs.org" "Ideas")
>          "* %?\n")
>         ("et" "Tip" entry (file+olp "Emacs.org" "Tips")
>          "* %?\n")
>         ("eq" "Question" entry
>          (file+olp "Emacs.org" "Questions") "* %?\n")
>         ("ep" "Package" entry
>          (file+olp "Emacs.org" "Packages") "* %?\n")
>         ))

I get the same error as Omar, but to reproduce it in emacs -Q I have to
(require 'org-capture) first.  Is that helpful?

Attachment: signature.asc
Description: PGP signature

Reply via email to