From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KG5NOima819qLgAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 22:43:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UKcONima819NSgAAbx9fmQ (envelope-from ) for ; Mon, 04 Jan 2021 22:43:53 +0000 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 38974940149 for ; Mon, 4 Jan 2021 22:43:53 +0000 (UTC) Received: from localhost ([::1]:45476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwYZs-0005Np-2J for larch@yhetil.org; Mon, 04 Jan 2021 17:43:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwYYa-0005Me-Ll for Emacs-orgmode@gnu.org; Mon, 04 Jan 2021 17:42:34 -0500 Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]:38652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwYYY-0001o9-Dg for Emacs-orgmode@gnu.org; Mon, 04 Jan 2021 17:42:32 -0500 Received: by mail-yb1-xb30.google.com with SMTP id r63so20580489ybf.5 for ; Mon, 04 Jan 2021 14:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=epuIsYOx17LVRJ7BdtrjnTlnWlRMgvkhS/zOsz/NDBs=; b=LA9taqQlvXYsROiJGgBSNDkB5Haf7sCXjddviXOK7dtybW6nz9/qfYjQPywqHmQBHy zQxhpRrLhXTrQ6Ju9HN+SrkmiN9Ge37RysAemX1Dkts/KKmBSVO8yP/0+lVyN9oEgmE3 fkc4igl5D23PS88SLoawKfI/W6bUfx+TCFzte861lOsBufS/Ek24ThzVNyFFGIC4PcE1 zMxt9q/cyI7wNGzSDMe5gDpqszMTeNkkQNOPCmtg7eh+IGbpRCPSwy/8dbd+H+rNYd0F Yb7sq4FPme+KlOVsPsayHTuerRdFqs0iD10tt4z3FQAwrrH4D7z9A2rzvhYrvdI7ounl vayg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=epuIsYOx17LVRJ7BdtrjnTlnWlRMgvkhS/zOsz/NDBs=; b=P2TJN7tRdmnnCYp0cyOdctrcLQ3IWm63Zh04tXFvAV5FtjuaWwen4KR+UbAVoQz73B vAtDZQPq9QAK9ytNogbvlfh0Txjm8W1yn462nXY/rRV35WFwn5p8CpqPC875FQ1g/r1f +mzJCJ/JTzjI7b5wEAjF1T5prK/tBRBilKtKAH5Vkng1NeP4zuC0Z9cnyZlIHszbse7W qJuBaubezvH8rqVgvsCoWY1RpOZEm9HWacPkrAePmLQfdDgXWXVX1gwUzJ/6L/CIAKtV wCDXaIKoQt/mV9A5D04GxRRKIVvKGS96QsMa2cmhXYbh8LLY2Sc6HxPP1bRW4Z80OvNw 9YoQ== X-Gm-Message-State: AOAM532UlX0htKeyfwB6h5lfD0moCMNlPR3aT6VI9TnFXJpnf5Y4IiCA yUXwYUB4Hj4cL9xQlqh6l14g14DpOndr7ZC/4ECwVBjUUYavow== X-Google-Smtp-Source: ABdhPJw/uqSARGr61g2X6E0CO5dnquB1KYM7Otjq8PwVoSrzYKz3Tsgar18vb1tDCgNgkqrbCnXT8f6uj8xpzv1rkvM= X-Received: by 2002:a25:3801:: with SMTP id f1mr109308612yba.321.1609800148660; Mon, 04 Jan 2021 14:42:28 -0800 (PST) MIME-Version: 1.0 From: Neil Shephard Date: Mon, 4 Jan 2021 22:42:10 +0000 Message-ID: Subject: Org-capture template no longer recognised... To: Emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000005372505b81ace1b" Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=nshephard@gmail.com; helo=mail-yb1-xb30.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: nshephard@protonmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LA9taqQl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 38974940149 X-Spam-Score: -0.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: X8HnHeci2fUW --00000000000005372505b81ace1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I am enjoying learning more and more about how functional and useful org-mode is, truly amazing software. One thing I've setup is a Babel document for logging exercise activities and accompanying custom org-capture-templates for entering data. These worked great until recently but with no conscious change to my org-capture-template they are now broken. A simple example of the document is ~/org/training/training.org * Running ** Log #+NAME: running-log #+CAPTION: Running Log | Date | Route | Distance | Time | Pace | Notes | |------------------+-------------------+----------+--------------+---------= ----------------------+-------------| | <2021-01-03 Fri> | Shorter 12km run | 12.25km | 60min + 25s | 4 min / km + 55.918367 s / km | Less icey! | | <2021-01-01 Fri> | Longer 16km run | 16.22km | 80min + 03s | 4 min / km + 56.115906 s / km | Icey! | I then have a ~/org/computing.org for keeping notes of tasks to do, a simple example is... * Emacs ** TODO <2020-11-11 Wed> vterm only on non-work computers. My org-capture-templates are... (setq org-capture-templates '(;; Computing ("c" "Computing") ("ce" "Emacs" entry (file+olp "~/org/computing.org" "Emacs") "* TODO %t %?\n" :prepend t) ;; Exercise ("e" "Exercise") ("er" "Logging a run" table-line (file+olp "~/org/training/training.org" "Running" "Log") "| %t | %? | km | min + s | | |" :prepend t) ("ec" "Logging a cycle" table-line (file+olp "~/org/training/training.org" "Cycling" "Log") "| %t | %? | km | min + s | | |" :prepend t))) Until recently I could invoke org-capture, select e r and I'd be prompted to enter data under Route... | <2021-01-03 | | km | min + s | | | On saving this would populate the table and calculate the pace. Now though I'm informed... Capture abort: Symbol's function definition is void: assert Debugging shows... Debugger entered--Lisp error: (error "Capture abort: Symbol=E2=80=99s funct= ion definition is voi...") signal(error ("Capture abort: Symbol=E2=80=99s function definition is voi.= ..")) error("Capture abort: %s" "Symbol=E2=80=99s function definition is void: a= ssert") org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture nil nil) command-execute(org-capture) I asked on Emacs Stackexchange and it was suggested the error lay with cl.el as assert is a function of this deprecated package. The suggested additional of (require 'cl) didn't improve things, just got a different error message... Debugger entered--Lisp error: (error "Capture abort: Invalid function: asse= rt") signal(error ("Capture abort: Invalid function: assert")) error("Capture abort: %s" "Invalid function: assert") org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture nil nil) command-execute(org-capture) As I say I'd not changed my configuration which is the org-mode bundled with Emacs 27.1. I do have a few computers though and it was still working on a second system until I update installed packages, after which the original error messsage (Capture abort: Symbol's function definition is void: assert) occurred again. The packages I updated seem unrelated (to my untrained eye). They were... company-20201214.1620 ein-20201217.1508 flycheck-20201214.2154 forge-20201212.905 magit-20201212.929 org-ref-20201126.1924 pass-20190830.2017 projectile-20201214.839 python-mode-20201218.751 pyvenv-20201210.1509 auctex-12.3.1 dash-20201215.59 dash-functional-20201215.40 ess-20201217.1440 git-commit-20201115.2313 helm-20201215.1623 helm-core-20201202.907 ivy-20201217.1559 key-chord-20160227.1238 markdown-mode-20201211.329 mpdel-20201026.1123 transient-20201205.1610 What is strange is that capturing to ~/org/computing.org still works fine. If there is any more information I can provide to assist with working out where this is occurring please let me know. Thanks and regards, Neil -- *Ignorance more frequently begets confidence than does knowledge* - Charles Darwin PGP Public : 0x700172212EF5818B --00000000000005372505b81ace1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am enjoying learning m= ore and more about how functional and useful org-mode is, truly amazing sof= tware.

One thing I've setup is a Babel documen= t for logging exercise activities and accompanying custom org-capture-templ= ates for entering data.=C2=A0 These worked great until recently but with no= conscious change to my org-capture-template they are now broken.

A simple example of the document is ~/org/training/training.org<= /a>

* Running
** Log
#+NAME: running-log
#+CAPTION: Running Log
| Date             | Route             | Distance | Time         | Pace    =
                      | Notes       |
|------------------+-------------------+----------+--------------+---------=
----------------------+-------------|
| <2021-01-03 Fri> | Shorter 12km run  | 12.25km  | 60min + 25s  | 4 =
min / km + 55.918367 s / km | Less icey!  |
| <2021-01-01 Fri> | Longer 16km run   | 16.22km  | 80min + 03s  | 4 =
min / km + 56.115906 s / km | Icey!       |

=
I then have a ~/org/computing.org<=
/a> for keeping notes of tasks to do, a simple example is...

= * Emacs ** TODO <2020-11-11 Wed> vterm only on non-work computers.

My org-capture-templates are...

(setq org-capture-templates '(;; Computing ("c" "Computing") ("ce" "Emacs" entry (file+olp "~/org/
computi= ng.org" "Emacs"= ) "* TODO %t %?\n" = :prepend t) ;; Exercise ("e" "Exercise") ("er" "Logging a run" table-line (file+ol= p "~/org/training/training.org" "Running" "Log&q= uot;) "| %t | %? | km | min + s | |= |" :prepend t) ("ec" "Logging a cycle" table-line (file+= olp "~/org/training/training.org" "Cycling" "Log= ") "| %t | %? | km | min + s | |= |" :prepend t)))

Until recently I could invoke org-capture, select e r and I=
'd be prompted to enter data under Route...

| <2021-01-03 | <cursor here to start entry> | km | min + s = | | |

<= /code>
On savi=
ng this would populate the table and calculate the pace.  Now though I'=
m informed...

Capture abort: Symbol's function definition = is void: assert

Debugging shows...

Debugger entered--Lisp error: (error "Capture abort: Symbol=E2= =80=99s function definition is voi...")
= =C2=A0signal(error ("Capture abort: Symbol=E2=80=99s function definiti= on is voi..."))
=C2=A0error("Capture abort= : %s" "Symbol=E2=80=99s function definition is void: assert"= )
=C2=A0org-capture(nil) funcall-interactively(org-capture nil)
=C2=A0= call-interactively(org-capture nil nil)
=C2=A0c= ommand-execute(org-capture)

I asked on Emacs Stackexchange and it was=
 suggested the error lay with cl.el <=
/span>as assert is a function 
of this deprecated package. The suggeste= d additional of (require 'cl) didn't improve things, just got a
different error message...
Debugger entered--Lisp error: (error "Capture abort: Inval= id function: assert") signal(error ("Capture abort: Invalid function: assert")) error("Capture abort: %s" "Invalid function: assert") org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture nil nil) command-execute(org-capture)

As I say I'd not changed =
my configuration which is the org-mode bundled with Emacs 27.1.  I do have =

a few computers though and it was still working on a second system unt=
il I update installed packages, 
after which the original error messsag=
e (Capture abort: Symbol's function definition is void: assert)
occurred again. The packages I updated seem unrelated (to my untr= ained eye). They were...

company-20201214.1620 ein-20201217.1508 flycheck-20201214.2154 forge-20201212.905 magit-20201212.929 org-ref-20201126.1924 pass-20190830.2017 projectile-20201214.839 python-mode-20201218.751 pyvenv-20201210.1509 auctex-12.3.1 dash-20201215.59 dash-functional-20201215.40 ess-20201217.1440 git-commit-20201115.2313 helm-20201215.1623 helm-core-20201202.907 ivy-20201217.1559 key-chord-20160227.1238 markdown-mode-20201211.329 mpdel-20201026.1123 transient-20201205.1610

What is strange is that capturing to ~/org/co=
mputing.org still works fine.
If there is any =
more information I can provide to assist with working out where this is occ=
urring
please let me know.


Thanks and regards,

Neil=

<= div dir=3D"ltr">
--
Ignorance more frequent= ly begets confidence than does knowledge=C2=A0- Charles Darwin

PGP Public :=C2=A00x700172212EF5818B
<= /div>
--00000000000005372505b81ace1b--