From mboxrd@z Thu Jan 1 00:00:00 1970 From: swflint@flintfam.org (Samuel W. Flint) Subject: Re: Org Protocol error, does not recognize template Date: Sat, 10 Jun 2017 22:08:49 -0500 Message-ID: <87a85f5igu.fsf@curry.flintfam.org> References: <87k24j5jpp.fsf@curry.flintfam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJtFT-0000Ju-Rl for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 23:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJtFQ-0001Xl-82 for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 23:09:07 -0400 Received: from [2600:3c00::f03c:91ff:fe70:9de9] (port=46496 helo=mail.flintfam.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJtFQ-0001Xd-1I for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 23:09:04 -0400 Received: from curry.flintfam.org.flintfam.org (host-69-146-162-239.csp-wy.client.bresnan.net [69.146.162.239]) (Authenticated sender: swflint@flintfam.org) by mail.flintfam.org (Postfix) with ESMTPSA id 2804D85D5 for ; Sun, 11 Jun 2017 03:10:34 +0000 (UTC) In-Reply-To: <87k24j5jpp.fsf@curry.flintfam.org> (Samuel W. Flint's message of "Sat, 10 Jun 2017 21:41:54 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-Mode >>>>> Samuel W Flint writes: SF> Hello, I have an issue with org-protocol at the moment. If SF> using new-style links, one of my templates is not recognized. SF> If I try the following link: SF> org-protocol://capture?template=3Db&title=3DFlintFam.org+Home&url= =3Dhttp%3A%2F%2Fflintfam.org SF> I get an error: SF> *ERROR*: Capture template =E2=80=98b=E2=80=99: nil As it turns out, it can't find that template in any situation (including if it's called accurately). org-capture-templates is set as follows: (setq org-capture-templates `(("a" "Create Appointment" entry (file+olp "~/org/agenda.org" "Main Agenda, including diary" "Curre= nt") (file "~/.emacs.d/org-capture-templates/appointment-template.org") :empty-lines 1 :prepend nil) ("t" "TODO Items") ("tt" "Standard TODO" entry (file+headline "~/org/main.org" "To Do") (file "~/.emacs.d/org-capture-templates/todo-template.org") :empty-lines 1) ("td" "Deadline TODO" entry (file+headline "~/org/main.org" "To Do") (file "~/.emacs.d/org-capture-templates/todo-deadline-template.org= ") :empty-lines 1) ("tl" "Linked TODO" entry (file+headline "~/org/main.org" "To Do") (file "~/.emacs.d/org-capture-templates/todo-link-template.org") :empty-lines 1) ("n" "Notes") ("nn" "General Notes" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/notes-journal-template.org= ") :empty-lines 1) ("nl" "Linked Note" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/linked-note-journal-templa= te.org") :empty-lines 1) ("nq" "Quoting Note" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/quoting-note-journal-templ= ate.org") :empty-lines 1) ("nt" "Linked/Quoted Notes" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/technical-journal-template= .org") :empty-lines 1) ("nd" "Note on Date" entry (file+datetree+prompt ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/notes-journal-template.org= ") :empty-lines 1) ("nc" "Clocking Notes") ("ncn" "General Notes" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/notes-journal-template-clo= cking.org") :empty-lines 1) ("ncl" "Linked Note" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/linked-note-journal-templa= te-clocking.org") :empty-lines 1) ("ncq" "Quoting Note" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/quoting-note-journal-templ= ate-clocking.org") :empty-lines 1) ("nct" "Linked/Quoted Notes" entry (file+datetree ,(format-time-string "~/org/notes/%Y.org")) (file "~/.emacs.d/org-capture-templates/technical-journal-template= -clocking.org") :empty-lines 1) ("A" "Assignment" entry (file "~/org/school.org") (file "~/.emacs.d/org-capture-templates/assignment-template.org") :empty-lines 1) ("j" "Journal Entry" entry (file+datetree ,(format-time-string "~/org/journal/%Y.org.gpg")) (file "~/.emacs.d/org-capture-templates/journal-template.org") :empty-lines 1) ("c" "calfw2org" entry (file+olp "~/org/agenda.org" "Main Agenda, including diary" "Curre= nt") (file "~/.emacs.d/org-capture-templates/clfw-template.org") :empty-lines 1) ("b" "Bookmark" item (file+olp "~/org/bookmarks.org" "Unsorted Bookmarks") "%a" :immediate-finish t) ("m" "Mail Message Follow-up" entry (file+olp "~/org/agenda.org" "Main Agenda, including diary" "Mail = Message Follow-up") (file "~/.emacs.d/org-capture-templates/mail-followup-template.org= ") :immediate-finish t :empty-lines 1))) SF> What can I do to fix this? SF> Thanks, SF> Sam Flint SF> -- Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 SF> 68E5 318E 2665 96F4) =CE=BBs.(s s) =CE=BBs.(s s) --=20 Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) =CE=BBs.(s s) =CE=BBs.(s s)