emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Clément Payard" <payard.clement63@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Cletip Cletip <clement020302@gmail.com>,
	Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975)
Date: Thu, 23 May 2024 18:01:18 -0300	[thread overview]
Message-ID: <CAD6d+LUJ7St5_muvwqzE80EfHSoiMmZD+qDTAojeN0L7v+zsCQ@mail.gmail.com> (raw)
In-Reply-To: <87ttiowa6e.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]

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 <yantar92@posteo.net> a écrit :

> Clément Payard <payard.clement63@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>
>

[-- Attachment #2: Type: text/html, Size: 2890 bytes --]

  reply	other threads:[~2024-05-24 10:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17 23:27 Bug: org-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975) Cletip Cletip
2024-05-18 10:57 ` Ihor Radchenko
2024-05-23 19:59   ` Clément Payard
2024-05-23 20:22     ` Ihor Radchenko
2024-05-23 21:01       ` Clément Payard [this message]
2024-06-11 10:29         ` Ihor Radchenko
2024-06-11 14:59           ` Clément Payard

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=CAD6d+LUJ7St5_muvwqzE80EfHSoiMmZD+qDTAojeN0L7v+zsCQ@mail.gmail.com \
    --to=payard.clement63@gmail.com \
    --cc=clement020302@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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

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