From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kBB6MMSVzWKWGAAAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 17:39:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0YpfMMSVzWLkBgEA9RJhRA (envelope-from ) for ; Tue, 12 Jul 2022 17:39:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B96768DC0 for ; Tue, 12 Jul 2022 17:39:41 +0200 (CEST) Received: from localhost ([::1]:43220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBHzA-0002jD-RH for larch@yhetil.org; Tue, 12 Jul 2022 11:39:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBHtQ-0007HY-QR for emacs-orgmode@gnu.org; Tue, 12 Jul 2022 11:33:46 -0400 Received: from avasout-peh-004.plus.net ([212.159.14.20]:56739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBHtN-0005zW-W5 for emacs-orgmode@gnu.org; Tue, 12 Jul 2022 11:33:44 -0400 Received: from london.london ([150.143.242.99]) by smtp with ESMTPA id BHtGo7l0MuTE0BHtHoPqsv; Tue, 12 Jul 2022 16:33:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019; t=1657640015; bh=5D+m77j6E58Lfj9ffVAey39Eg/Wkxt9W1kHXmi41Z9M=; h=From:To:Subject:Date; b=J4c6h2XxJL6uLfzrVZWqPqFAgmdEZhgkFLChUbDax74AWMsNphIfbqx6vf3D85kNd I4oY+/c18xiWpFuPmia+jw7j3RmR9AtS2PnXqCqj6z/iPfXjluK+IyACayUvjRzb5y 5tF8hYEtFCuBU7Bsp746L7qpf0efpXrKTKo5mrSPVQQKYtU9roXSH7g4ZODRwDRXVh DQvRrCv2kLEABKvylnBy+QwYM2hYHx4A4gQulfCHrF5Wh3gbfwynWaSJ+HiGXD2YNC uz6Q00qCtdKENDlYYjFXytC2JRKKthmNx3d02dVFX7qIJPHM7UqjF9zXyRIRJxhWYf h0hNDsmBJ3UJA== X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=DfIEF9hW c=1 sm=1 tr=0 ts=62cd944f a=iXkeuCVHAu7IG9cLyGNb1A==:117 a=iXkeuCVHAu7IG9cLyGNb1A==:17 a=IkcTkHD0fZMA:10 a=c0Y9lYp3AAAA:8 a=_ZyFQfJJ2sEVsm2r99sA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=QEXdDO2ut3YA:10 a=40KOTIWpjzBfWnolDB93:22 X-AUTH: skimble09@:2500 From: Sharon Kimble To: emacs-orgmode@gnu.org Subject: org-capture-templates failing Date: Tue, 12 Jul 2022 16:33:28 +0100 Message-ID: <87o7xujqgn.fsf@skimble09.plus.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfKPqrZyCFVl7FqlMo6kC3s5qCZVasNOE3xR4U+crcglWkY8rYdp69tfSccrSGMVpLXRl1ftqj3NPubz0yy73nisaUn71K+FJYZ868D/Vvt3rFHYYIK9d /4IdXfRmjYho/US+V3X+Nej/Tn2uJKetOaxnZrgIUU0H7i4yWC7fyTFFFP8aYBH4/KYdc7QWUAuwkTUvuNcdPSN45rrn19lMohU= Received-SPF: none client-ip=212.159.14.20; envelope-from=boudiccas@skimble09.plus.com; helo=avasout-peh-004.plus.net X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657640381; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5D+m77j6E58Lfj9ffVAey39Eg/Wkxt9W1kHXmi41Z9M=; b=Qt8bm2lTep7iRlfsQ2sTpzgVYyDTQxhdTOBnAB16xovhAL/GvJ2zRxlv7HEUQDML9g5x9u aa62yiVL9jq09dHgDPlHvUaIbT/gJxjZt1CyfDYRYly7TP5q7evGcCDhEiRT/cKMvERqdT PzG5CQxf9ZeLHzKUH0IAs6DztsSc0kRCNjarTyFZOSEF4ki1u3dglWECyeNheZNnenYTQ+ bgJ3fNJIf+y9JCUh16j6Wab7kYA6N4nyeyjXiKN/SEF7HMWSr/UZCTRqOJbgtSoTHP6Hpn dm8f5Tuu38LIQGv2dKcl358rQ5lvqA0pe84SykFQqO1gqXq1XXSWhjAGpkOnpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657640381; a=rsa-sha256; cv=none; b=LnPINiFb1J8/vCWxlKE+LTjAGwYI6DPYCk777LJ0nTPD6xitGu6O//nqLCSqXNs1XMHdRs 8E/W73S/vApbyJ0nzEvGuNMWc4e6TNVDsDbvEwou+SqjvHQ4s1Z/5a7vn22VJjAG37zX1p fFYEakZ0On02iSzeggdFccity/gQ8p9riWrXlrzrSBxOWmDDVcZbIuXBFsKM7n4ExwsZYW jGfrr3rauTOvTCfbLIj3fjrW9/GuB9He8FrOdaHYnzzQxkbsNBFTw1z5YFMKVE06qticn+ M83VgHBqdF/ooSgubDP33Rr0HTj0UXqAlVCqw1tyvEi1hU3hg1YBCUH8qSZJIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b=J4c6h2Xx; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b=J4c6h2Xx; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B96768DC0 X-Spam-Score: -3.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: Dfmi01vABQr8 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Using this template culled from the org-mode manual =2D --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/.emacs.d/org/scratch.org" "Task= s") "* TODO %?\n %i\n %a") ("o" "Journal" entry (file+datetree "~/.emacs.d/org/scratch.org") "* %?\nEntered on %U\n %i\n %a"))) #+END_SRC [2022-07-12 Tue 16:24] =2D --8<---------------cut here---------------end--------------->8--- and selecting either of the 2 keys from my org-capture setup, this is displ= ayed in a debugger *backtrace* =2D --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Capture template =E2=80=98t=E2=80=99:= Symbol=E2=80=99s value as variable i...") signal(error ("Capture template =E2=80=98t=E2=80=99: Symbol=E2=80=99s val= ue as variable i...")) error("Capture template `%s': %s" "t" "Symbol=E2=80=99s value as variable= is void: org-fold-core-...") #f(compiled-function (&optional goto keys) "Capture something.\n\\\nThis will let you select a template from `org-capture-temp= lates', and\nthen file the newly captured information. The text is immedia= tely\ninserted at the target location, and an indirect buffer is shown wher= e\nyou can edit it. Pressing `\\[org-capture-finalize]' brings you back to= the previous\nstate of Emacs, so that you can continue your work.\n\nWhen = called interactively with a `\\[universal-argument]' prefix argument GOTO, = don't\ncapture anything, just go to the file/headline where the selected\nt= emplate stores its notes.\n\nWith a `\\[universal-argument] \\[universal-ar= gument]' prefix argument, go to the last note stored.\n\nWhen called with a= `C-0' (zero) prefix, insert a template at point.\n\nWhen called with a `C-= 1' (one) prefix, force prompting for a date when\na datetree entry is made.= \n\nELisp programs can set KEYS to a string associated with a template\nin = `org-capture-templates'. In this case, interactive selection\nwill be bypa= ssed.\n\nIf `org-capture-use-agenda-date' is non-nil, capturing from the\na= genda will use the date at point as the default date. Then, a\n`C-1' prefi= x will tell the capture process to use the HH:MM time\nof the day at point = (if any) or the current HH:MM time." (interactive "P") #)(nil nil) ad-Advice-org-capture(#f(compiled-function (&optional goto keys) "Capture= something.\n\\\nThis will let you select a template = from `org-capture-templates', and\nthen file the newly captured information= . The text is immediately\ninserted at the target location, and an indirec= t buffer is shown where\nyou can edit it. Pressing `\\[org-capture-finaliz= e]' brings you back to the previous\nstate of Emacs, so that you can contin= ue your work.\n\nWhen called interactively with a `\\[universal-argument]' = prefix argument GOTO, don't\ncapture anything, just go to the file/headline= where the selected\ntemplate stores its notes.\n\nWith a `\\[universal-arg= ument] \\[universal-argument]' prefix argument, go to the last note stored.= \n\nWhen called with a `C-0' (zero) prefix, insert a template at point.\n\n= When called with a `C-1' (one) prefix, force prompting for a date when\na d= atetree entry is made.\n\nELisp programs can set KEYS to a string associate= d with a template\nin `org-capture-templates'. In this case, interactive s= election\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is non-nil,= capturing from the\nagenda will use the date at point as the default date.= Then, a\n`C-1' prefix will tell the capture process to use the HH:MM time= \nof the day at point (if any) or the current HH:MM time." (interactive "P"= ) #) nil) apply(ad-Advice-org-capture #f(compiled-function (&optional goto keys) "C= apture something.\n\\\nThis will let you select a tem= plate from `org-capture-templates', and\nthen file the newly captured infor= mation. The text is immediately\ninserted at the target location, and an i= ndirect buffer is shown where\nyou can edit it. Pressing `\\[org-capture-f= inalize]' brings you back to the previous\nstate of Emacs, so that you can = continue your work.\n\nWhen called interactively with a `\\[universal-argum= ent]' prefix argument GOTO, don't\ncapture anything, just go to the file/he= adline where the selected\ntemplate stores its notes.\n\nWith a `\\[univers= al-argument] \\[universal-argument]' prefix argument, go to the last note s= tored.\n\nWhen called with a `C-0' (zero) prefix, insert a template at poin= t.\n\nWhen called with a `C-1' (one) prefix, force prompting for a date whe= n\na datetree entry is made.\n\nELisp programs can set KEYS to a string ass= ociated with a template\nin `org-capture-templates'. In this case, interac= tive selection\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is no= n-nil, capturing from the\nagenda will use the date at point as the default= date. Then, a\n`C-1' prefix will tell the capture process to use the HH:M= M time\nof the day at point (if any) or the current HH:MM time." (interacti= ve "P") #) nil) org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture nil nil) command-execute(org-capture) =2D --8<---------------cut here---------------end--------------->8--- Can someone enlighten me as to why it isn't working? And how can I get them= all working properly please? Thanks Sharon. =2D --=20 Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 =2D----BEGIN PGP SIGNATURE----- iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLNlEgdHGJvdWRpY2Nh c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uByA/9E8iTTNs/q4qrOmsw AMsA1jEdjFt1iRvPsxDkdyxCY7xh0VGGjiYastByZb/oKviMnsqyPFNrkqnGg3zd UZUS24qUrqzT249sa1QyIxBvcRRSHS6K+QUB75+2kVTcH2+nyh2Krt69cP5+4vs5 va0xd/fHD/qkdP+PoymECU7vHeBBEkxv158bhOAgFD1DNFosNXbAz6HA59PAmkKV T9+T5VguQD3jYB8PDr3sjMFOKyX44cMcJP7wSeqTLQ+YIa61V4RnmfMc4A8s6pmX qwcusZcOvnU+Li28lyZQl/JcwT+SWhiDqDXVheqSKdbrE+Qq6G9u4pAJFCWmxbr7 EfyZ0JkNY6lXCEDZ31JAc+WC5hK5+CvynQ324vXpibFui4y0hSbh1AEXGO/55hrK cwdb2aAsZzEIkJrg8Rpy1lM62g1kmraG9pvCP5gLmmny1nace7J87ofcLLcoZC3O Uyg/uTRj63uRSZFH37mAeem0/77BTsR8zV76gL0B+Xy0BDtF+rdDNhyC9DeC1dtw X3iadc0PrDnvzfytTz7MQhSsfqYKuBhrjruwXjgL/Bj9qD2YX9BKAf8kKyTeeKv9 xh79ILw2prXLXmg6n4qHG8r7vXNHUFqFmD4QcwlSoxU9fk+2hL3pDBsW9pK++IgM pcoiTQGH4Z5P3j9r3zToWBhzMNE=3D =3D5Cd6 =2D----END PGP SIGNATURE-----