Yes, of course:

init.el configuration :
---------
(add-to-list 'load-path “/home/.../org-mode/lisp”)

(require 'org-capture)

(setq org-capture-templates
      '((“t” “Todo” entry (file+headline
“/home/user/Testdedossier/src/.emacs.d/test.org” “Tasks”)
         “* TODO %^{Name task}\n %i\n %a”)))

(global-set-key (kbd “C-c c”) 'org-capture)
---------

Now, call org-capture, select "t". IN creating the "title" = "Name Task" of
the first capture, call up a second capture. Finish the second capture.
Return to the first capture's title/“Name task”. End the first capture's
“Name task”, and note the error:
condition-case: Capture abort: Selecting deleted buffer

Expected behaviour: correct completion of first capture.

Le jeu. 23 mai 2024 à 17:20, Ihor Radchenko <yanta...@posteo.net> a écrit :

> Clément Payard <payard.clemen...@gmail.com> writes:
>
> > Version: Org mode version 9.7-pre (9.7-pre-n/a-g1c5492)
> > (I hope it's the last, I use elpaca).
> >
> > No, the behavior is not actually the same: for me (hoping my
> configuration
> > doesn't interfere), everything goes “as expected”, except that the second
> > capture cancels the first.
> >
> > In other words, I can insert, in the title of the first one (using
> > org-roam-node-insert):
> >
> > [[id:idOfTheSecondCaptureAlreadyDid][aDescription, the second capture]]
> >
> > BUT, when I finish the first one, I get the error:
> > Error running timer 'org-capture': (error “Capture abort: Selecting
> deleted
> > buffer”).
> >
> > So you can't stack captures?
>
> You can stack captures.
> Also, org-capture does not start any timers.
> May you provide steps to reproduce the problem you are seeing starting
> from clean Emacs?
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>

Reply via email to