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 16:59:22 -0300	[thread overview]
Message-ID: <CAD6d+LX776OweCmkVVyXvrrWFJdCzK-v7EEG0QYW-wHnbHOBoA@mail.gmail.com> (raw)
In-Reply-To: <87o793tmk8.fsf@localhost>

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

Hi !

Sorry for the delay.

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?

Thanks again for your future answers.

Le sam. 18 mai 2024 à 07:55, Ihor Radchenko <yantar92@posteo.net> a écrit :

> Cletip Cletip <clement020302@gmail.com> writes:
>
> > It's almost the same as described here:
> > https://mail.gnu.org/archive/html/emacs-orgmode/2020-12/msg00199.html.
> BUT,
> > this only comes into play in the following case:
> >
> > Suppose you want to complete an org-capture template with this:
> “%^{Title}”.
> > When you call this capture, the minibuffer allows you to select the title
> > (in the minibuffer). But, if you want to capture "from" this minibuffer,
> it
> > crashes org-capture with the error (just after the choice of the second
> > template) :
> > org-capture: Capture template 'u': Can't expand minibuffer to full frame.
>
> Thanks for reporting!
> Do you see the problem when using the latest development version of Org
> mode?
>
> --
> 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: 2675 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 [this message]
2024-05-23 20:22     ` Ihor Radchenko
2024-05-23 21:01       ` Clément Payard
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+LX776OweCmkVVyXvrrWFJdCzK-v7EEG0QYW-wHnbHOBoA@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).