* problem with org-capture for calendar invite
@ 2020-02-19 11:44 Fraga, Eric
2020-02-19 12:38 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2020-02-19 11:44 UTC (permalink / raw)
To: Emacs Org mode mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with org-capture for calendar invite
2020-02-19 11:44 problem with org-capture for calendar invite Fraga, Eric
@ 2020-02-19 12:38 ` Bastien
2020-02-19 13:38 ` Fraga, Eric
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2020-02-19 12:38 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Emacs Org mode mailing list
Hi Eric,
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
> For some reason, this no longer works and I get the following error:
Yes, this was a mistake I made when trying to warn the user for
missing initial contents or annotation.
Fixed now, thanks for reporting this,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with org-capture for calendar invite
2020-02-19 12:38 ` Bastien
@ 2020-02-19 13:38 ` Fraga, Eric
0 siblings, 0 replies; 3+ messages in thread
From: Fraga, Eric @ 2020-02-19 13:38 UTC (permalink / raw)
To: Bastien; +Cc: Emacs Org mode mailing list
On Wednesday, 19 Feb 2020 at 13:38, Bastien wrote:
> Yes, this was a mistake I made when trying to warn the user for
> missing initial contents or annotation.
>
> Fixed now, thanks for reporting this,
Confirmed. Thank you!
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-350-g39f1c1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-19 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-19 11:44 problem with org-capture for calendar invite Fraga, Eric
2020-02-19 12:38 ` Bastien
2020-02-19 13:38 ` Fraga, Eric
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).