all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] folding error during capture
@ 2022-05-01 20:51 Skip Collins
  2022-05-02  0:17 ` [PATCH] " Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Skip Collins @ 2022-05-01 20:51 UTC (permalink / raw)
  To: emacs-org list

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)]
:PROPERTIES:...

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-09  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-01 20:51 [BUG] folding error during capture Skip Collins
2022-05-02  0:17 ` [PATCH] " Ihor Radchenko
2022-05-02  1:36   ` Skip Collins
2022-05-02  2:05     ` Ihor Radchenko
2022-06-09  8:16   ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.