I'm having some trouble getting links to work. All of my other capture templates are working, but when I press "l"for link, it doesn't prompt me for the link. It instead immediately says Capture abort: Empty link. Reading through the docs, %^L should cause the prompt to appear but it does not.

Note: this is only an issue on macOS. I have tried this same exact config on Windows 10 and Ubuntu and am having no issues there.

Emacs 26.2, Org mode version 9.2.3

Does anyone have thoughts on what might be the problem? Here are all of my templates:

(setq org-capture-templates
 '(("a" "Appointment" entry (file+headline "~/Google Drive/files/orgfiles/gcal.org" "Appointments")
    "* TODO %?\n:PROPERTIES:\n\n:END:\nDEADLINE: %^T \n %i\n")
   ("n" "Note" entry (file+headline "~/Google Drive/files/orgfiles/notes.org" "Notes")
    "* Note %?\n%T")
   ("l" "Link" entry (file+headline "~/Google Drive/files/orgfiles/links.org" "Links") 
    "* %? %^L %^g \n%T" :prepend t)
   ("b" "Blog idea" entry (file+headline "~/Google Drive/files/orgfiles/i.org" "Blog Topics")
    "* %?\n%T" :prepend t)
   ("t" "To Do Item" entry (file+headline "~/Google Drive/files/orgfiles/i.org" "To Do Items")
    "* %?\n%T" :prepend t)
   ("j" "Journal" entry (file+datetree "~/Google Drive/files/journal.org" "Journal")
    "* %?\nEntered on %U\n %i\n %a")))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.