From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: problem with org-capture for calendar invite
Date: Wed, 19 Feb 2020 11:44:27 +0000 [thread overview]
Message-ID: <87a75ekdid.fsf@ucl.ac.uk> (raw)
For a long time, I have been using this template for org-capture:
#+begin_src emacs-lisp
(add-to-list 'org-capture-templates
'("#"
"used by gnus-icalendar-org"
entry (file+olp+datetree "~/s/notes/diary.org")
"%i"
:immediate-finish t))
#+end_src
For some reason, this no longer works and I get the following error:
,----
| Debugger entered--Lisp error: (error "Capture abort: Missing initial annotation in this ...")
| signal(error ("Capture abort: Missing initial annotation in this ..."))
| gnus-article-read-summary-keys(nil)
| funcall-interactively(gnus-article-read-summary-keys nil)
| call-interactively(gnus-article-read-summary-keys nil nil)
| command-execute(gnus-article-read-summary-keys)
`----
The problem is the %i in the template above. This will include any
"description" found in the calendar invite, if there, but should be
nothing if not. I am sure (but maybe I am wrong) that this capture
template used to work before.
In any case, if the initial contents are not defined, should this really
be an error?
org up to date from git as of a minute or two ago; emacs from git from a
couple of days ago.
Thank you.
PS - maybe it's gnus that is at fault here?
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-345-g415083
next reply other threads:[~2020-02-19 11:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 11:44 Fraga, Eric [this message]
2020-02-19 12:38 ` problem with org-capture for calendar invite Bastien
2020-02-19 13:38 ` Fraga, Eric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a75ekdid.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).