From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: problem with org-capture for calendar invite Date: Wed, 19 Feb 2020 11:44:27 +0000 Message-ID: <87a75ekdid.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46999) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4NmI-00050u-PB for emacs-orgmode@gnu.org; Wed, 19 Feb 2020 06:44:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4NmH-0003bs-MJ for emacs-orgmode@gnu.org; Wed, 19 Feb 2020 06:44:30 -0500 Received: from mail-eopbgr60133.outbound.protection.outlook.com ([40.107.6.133]:43182 helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4NmH-0003bH-CP for emacs-orgmode@gnu.org; Wed, 19 Feb 2020 06:44:29 -0500 Content-Language: en-US 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-mx.org@gnu.org Sender: "Emacs-orgmode" 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=20 For some reason, this no longer works and I get the following error: ,---- | Debugger entered--Lisp error: (error "Capture abort: Missing initial anno= tation 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? --=20 : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-345-g415083