From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id APRgBSVzUGYNCAEAe85BDQ:P1 (envelope-from ) for ; Fri, 24 May 2024 12:59:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id APRgBSVzUGYNCAEAe85BDQ (envelope-from ) for ; Fri, 24 May 2024 12:59:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=V6hoPcB7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716548389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pMMlLl3GlmRd+m3rlVvgiQam0ilH6kyPTuparAUJJ+c=; b=UvS3ve747MJPWheRqHhDavyupxNy0JAF7UECKrO3OTAkTkYH0P7jb8VT++lp2HR9f6/HpL NKd5a2eAoHA5Alkjz1kt/FAiWqfAcEMzTNOFf3Ss4e3PbaeXfrndnBz332FDONakc6W8kE KIjyT5wTdbicm8C6ep8yuLIHSJe/FOJqS1UncnWrAsfALkssK2GuNOyeyaNyk4R5qg09HZ SuJ+Rtftn01qt+RO+7JizPEglF5cyjWtPmjG2tir8lO1hsGQXhCeF8XXZIBZ2wHkjsX4NX 8GAOU0mcTo5WHIGOjBm19Mf+BwtMjCeS2WjMY3zPxlSDNFOS90PF3z4RxeoW4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716548389; a=rsa-sha256; cv=none; b=e1OoOK4jyBCrdn5NArj3WZPmcHWmU4nVL9Ckif7DbilGUisHNKGERr5zTsevVW5sjifMiq 4RKtOp9rivvNpxuxuRU/FeXb4cjtKjfdhyP4SJORHWUZH+tnKim2cC7ShAp4JuXfbBtWac IHBpi/YYT5yXSXDUEIFv1MAHKJji//jw1zds9S0KImxtBit356iQIHakBZa61O1M1FK+Zo rIiiRZ5lqUsMDbLbO2pCsJL1AWoqm7dltz5B5xHdvdGfZwGlXrJIsrbu08KU8HtjiHsrgK Dmda4i6gTUFJIllb/cqZTSwsUDXJR+KTPfpxXo+SqstfFhlVIrSb2iC/kb0bVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=V6hoPcB7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ADFD07CECA for ; Fri, 24 May 2024 12:59:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sASde-0008Tn-DS; Fri, 24 May 2024 06:59:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAEbC-0000jb-VF for emacs-orgmode@gnu.org; Thu, 23 May 2024 15:59:39 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAEbB-0006Sk-4H for emacs-orgmode@gnu.org; Thu, 23 May 2024 15:59:38 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2e724bc466fso64370241fa.3 for ; Thu, 23 May 2024 12:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716494374; x=1717099174; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pMMlLl3GlmRd+m3rlVvgiQam0ilH6kyPTuparAUJJ+c=; b=V6hoPcB7NEJARv6RjXpQLg5DSeAQf3+KKCd65XxtptGupNdxSr3SvVEXWVS2qbHceG SdAbbn06BYnQ/ZXT4DeuwcEjoSXY0dwLz4Nn7ZnqTYJzO5T3sWXdvXDSHfh+pE5kisvq dePTJxuMLVBI7FYVU6TAfYd1Xirqn20IcNCT7ZozwGW6uhV7HQ54/Jufz9OZyJkj/UtU lF9bCM7h2fNllsiJOb4CoGsRd2tM7fmfhOEvkUHt/ZU7R6mXBeZpPBECxgA6Sqz3XXTS bKji9renQSGcaEh52om/BzeEg9MlfSdoM4ERkEAN26FEuX5XaVqZfUcitLiQdK9n8stq j9Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716494374; x=1717099174; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pMMlLl3GlmRd+m3rlVvgiQam0ilH6kyPTuparAUJJ+c=; b=wQRa9Fdyj+BpC5nAuLZ0zgJcoNcpQxqHksKs1cBXguufB2xAZ+Im0iY7LvJ6xu76fe fJOTx2rAPwz5lNfnoBa/STwR43dUjmZKfvEZYgmPT63dBaPxcAn5ED+tdRj5Nh/Uo05g Ib8XbiUFZkPWXfd0CGW+IR6xdu4oPJkSfHstw8q6cgkf6sAZXSvAouDJEihV60zpm4kG V7+cRgZiT01WV46fhVbSrWX6kiaAF15U0MmUaeSt0v4C/T65p3F2IZAcLe9z1l3a9mqT lwY5zxqqWWUcgXW24C5lZGcVa0g5sb/PwjfmDUimsPm/dhVtOfmyxlzn6dqGVyNuNYJ/ sCPQ== X-Forwarded-Encrypted: i=1; AJvYcCVZzlaovFhrXsCJ3gTraNmUgFElc8Rx2eowPjIZsdSVkImWqhKV7PIccpvZ0/WlwfiNNPllMZkQNqaDtWCfi2tm9fnTEdI= X-Gm-Message-State: AOJu0Yz/T+mQbbL9GK9l7xpGmOXjORdrB3afqV3XZNBmP04VLVgMasLN vTHhWOC3uPx2Ddn+vshFjuW8YP13V4t6n140pOLkBMCgBMLe8AcgUY4rK2j2h2Vb7C+nvwkUFCo jaruwxSXqGGpZlifHxaqKjxBgELs= X-Google-Smtp-Source: AGHT+IG0SItpdVFDjWyYdBO07hN2gpydoLtA7Lc4ngh9Aitqv2FraBrWWd1WgRkvPRqZ/OPV7fT5CiWbi02vBLThQ9c= X-Received: by 2002:a2e:9e10:0:b0:2df:1746:a338 with SMTP id 38308e7fff4ca-2e95b042c4amr1467271fa.11.1716494373447; Thu, 23 May 2024 12:59:33 -0700 (PDT) MIME-Version: 1.0 References: <87o793tmk8.fsf@localhost> In-Reply-To: <87o793tmk8.fsf@localhost> From: =?UTF-8?Q?Cl=C3=A9ment_Payard?= Date: Thu, 23 May 2024 16:59:22 -0300 Message-ID: Subject: Re: Bug: org-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975) To: Ihor Radchenko Cc: Cletip Cletip , Org Mode List Content-Type: multipart/alternative; boundary="0000000000006373b30619247d23" Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=payard.clement63@gmail.com; helo=mail-lj1-x234.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 24 May 2024 06:59:04 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.68 X-Spam-Score: -6.68 X-Migadu-Queue-Id: ADFD07CECA X-Migadu-Scanner: mx11.migadu.com X-TUID: 91hQepiSaAI9 --0000000000006373b30619247d23 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=9Cas expected=E2=80=9D, except t= hat 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 =E2=80=9CCapture abort: Selecting= deleted buffer=E2=80=9D). So you can't stack captures? Thanks again for your future answers. Le sam. 18 mai 2024 =C3=A0 07:55, Ihor Radchenko a = =C3=A9crit : > Cletip Cletip 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: > =E2=80=9C%^{Title}=E2=80=9D. > > When you call this capture, the minibuffer allows you to select the tit= le > > (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 fram= e. > > 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 . > Support Org development at , > or support my work at > --0000000000006373b30619247d23 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi !

Sorry for the delay.

Version: Org mode = version 9.7-pre (9.7-pre-n/a-g1c5492)=C2=A0
(I hope it's the last, = I use elpaca).

No, the behavior is not actually the same: for me (h= oping my configuration doesn't interfere), everything goes =E2=80=9Cas = expected=E2=80=9D, except that the second capture cancels the first.
In other words, I can insert, in the title of the first one (using org-roa= m-node-insert):

[[id:idOfTheSecondCaptureAlreadyDid][aDescription, t= he second capture]]

BUT, when I finish the first one, I get the erro= r:
Error running timer 'org-capture': (error =E2=80=9CCapture ab= ort: Selecting deleted buffer=E2=80=9D).

So you can't stack capt= ures?

Thanks again for your future answers.
Le=C2=A0= sam. 18 mai 2024 =C3=A0=C2=A007:55, Ihor Radchenko <yantar92@posteo.net> a =C3=A9crit=C2=A0:
Cletip Cletip <clement020302@gmail.= com> writes:

> It's almost the same as described here:
> https://mail.gnu.org/archi= ve/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: =E2=80= =9C%^{Title}=E2=80=9D.
> When you call this capture, the minibuffer allows you to select the ti= tle
> (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 secon= d
> 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 mod= e?

--
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>
--0000000000006373b30619247d23--