emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Skip Collins <skip.collins@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: [BUG] folding error during capture
Date: Sun, 1 May 2022 16:51:59 -0400	[thread overview]
Message-ID: <CABUh-776V-_+_JAZwcKQm9ATcs0WUV9SmGwjooGFbt=CtwQj8g@mail.gmail.com> (raw)

Recently, I get an error message when invoking custom capture
templates like this one:
("n" "Note" entry
      (file "~/Documents/org/beorg/capture.org")
      "* %^{note} :note: %(org-set-property \"Created\"
(org-time-stamp-inactive '(16)))" :immediate-finish t)

I invoke the template from the capture dispatcher:
C-c c n

The minibuffer prompts for the note text as expected:
0    note:

But the pre-populated *Capture* window contains an error message:
*  :note: %![Error: (error Calling ‘org-fold-core-region’ with missing SPEC)]

In the recent past, I was able to invoke functions like
org-set-property in a capture template. Did the interface change?

             reply	other threads:[~2022-05-01 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-01 20:51 Skip Collins [this message]
2022-05-02  0:17 ` [PATCH] Re: [BUG] folding error during capture Ihor Radchenko
2022-05-02  1:36   ` Skip Collins
2022-05-02  2:05     ` Ihor Radchenko
2022-06-09  8:16   ` Ihor Radchenko

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:

  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='CABUh-776V-_+_JAZwcKQm9ATcs0WUV9SmGwjooGFbt=CtwQj8g@mail.gmail.com' \
    --to=skip.collins@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).