From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cO0QKAe311/VdQAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 19:03:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sD/iIwe311+iTwAA1q6Kng (envelope-from ) for ; Mon, 14 Dec 2020 19:03:35 +0000 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 08CBD9402D4 for ; Mon, 14 Dec 2020 19:03:35 +0000 (UTC) Received: from localhost ([::1]:42628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kot89-0006FJ-TF for larch@yhetil.org; Mon, 14 Dec 2020 14:03:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kot3d-00034v-99 for emacs-orgmode@gnu.org; Mon, 14 Dec 2020 13:58:53 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:41519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kot3R-0002rf-Sg; Mon, 14 Dec 2020 13:58:52 -0500 Received: by mail-ed1-x531.google.com with SMTP id i24so18282980edj.8; Mon, 14 Dec 2020 10:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L15wSKP/DGiQQ9NJp1HKkSMfIwGJrF5Yf+1+e4D2y90=; b=OPz4AbWuXmpnP2dQBDzLKLeKxQFJaFW6JCcHt1F26a2TxizULoIe5iqRrs6N8Colhr Tq5i0aN6SwSJuRKNOsvmizfVyM44H9aYDy5skwg4XtdDv3usyj/FoIej4P83Vd289LUe CfhaAuGv/LVYwgJLHF5YjmK3giISVHEiMgwwKu0RMjbER0if+3RK55sERKUEotAMzU8y K90M0RNc3FDk69NbNwc49iQ1N1ESdsKt+HAFPyfFVa1sSO2e/EOnTjouFDGuc3T5169Z RdSp80Jd6SwfQ31lfyyQQbefBJIUUSdp2lxILsmQ7HzhhCSkas0vhwDhleIxeqtKmBCG WLrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L15wSKP/DGiQQ9NJp1HKkSMfIwGJrF5Yf+1+e4D2y90=; b=sBVPQfyM0M3xSIrYmgp5FP470ZVca47h6Dy59u/x6tWT17FKJAC6JXNNDXUanQz8Cp fkvTOsQt2rs0ut8dlOR2kbpCioYmnITe12zAcey4T5h3rWF0MbsVJ2ONjunnOYNdmvyr PRac/Pj2Ciu+BjhHAlEJ5LIOWypCu2BAJkHZhgVLOT08KcGDSUhx1szF4TxJhI6/wXlO jEv5a9MwlI68j1eY4tdK4fGIzuV4vUZbgAktSeXebDZ5IqD6C81/ahicQetD6E8QOwtz IIpOhViQcE+vHoDwkJzsIZ48syKetTVkSH/14sek4IRME6fFTyWldqZd9axOE3fFpB7L /x6Q== X-Gm-Message-State: AOAM533KYbrFc3McHWC6fVJTGxeEzciENfGFSCZXROFZcvQI0QkDReBC p1Sg+rIHFNQDBZO8oBHERUOaTEgsYsRerSbMer2mT4do3pyFcA== X-Google-Smtp-Source: ABdhPJwDIdmhWZEt+dIEPyeMrverK3uvtMmKQ/UYVTxthZoxmzQFVMkXSHjcgmbn8+ygumt0YNC7mOjB7txiM3dcgLU= X-Received: by 2002:aa7:cb10:: with SMTP id s16mr203528edt.304.1607972316993; Mon, 14 Dec 2020 10:58:36 -0800 (PST) MIME-Version: 1.0 References: <87blf0gq14.fsf@matem.unam.mx> <87tusqaoyz.fsf@gnu.org> In-Reply-To: <87tusqaoyz.fsf@gnu.org> From: =?UTF-8?Q?Omar_Antol=C3=ADn_Camarena?= Date: Mon, 14 Dec 2020 12:58:26 -0600 Message-ID: Subject: Re: Bug: org-capture does not work if called from minibuffer [9.4 (9.4-55-g706ba9-elpaplus @ /home/omarantolin/.emacs.d/elpa/org-plus-contrib-20201207/)] To: Bastien Content-Type: multipart/alternative; boundary="000000000000c35d8105b6713a83" Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=omar.antolin@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=OPz4AbWu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 08CBD9402D4 X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: D2x8NKfGUMGT --000000000000c35d8105b6713a83 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Would you be okay with a user-error message like "Cannot call org-capture from the minibuffer"? Oh, if I'm going to get an error message I don't care which one it is. Might as well leave things as they are currently. What I was hoping is that you would be able to fix org-capture so that you can also call it from the minibuffer, if enable-recursive-minibuffers is set to t. I like to think that I can call org-capture no matter what I am doing, take a quick note or reminder, and go back to whatever it was. It is almost like that: I can't interrupt myself if the minibuffer is open, but I can in all other cases. This is not a big deal, so if it's not easy to fix, just leave it as is. But if it happens to be easy to do I think it would be worthwhile, so that org-capture can live up to its reputation of being able to quickly capture something /no matter what you were doing at the time/! -- Omar On Sat, Dec 12, 2020 at 12:32 PM Bastien wrote: > Hi Omar, > > thanks for reporting this. > > Omar Antol=C3=ADn Camarena writes: > > > I have enable-recursive-minibuffers set to t, and just noticed that > > org-capture does not work if called from the minibuffer. > > > > Steps to reproduce: > > > > 1. run emacs -Q > > 2. evaluate (setq enable-recursive-minibuffers t) in the scratch buffer > > 3. Open the minibuffer, say by using C-x C-f > > 4. While still in find-file, run M-x org-capture and pick a template (t > for Task seems to be offered by default). > > > > You should get an error message saying "Can't expand minibuffer to > > full frame". > > Would you be okay with a user-error message like > > "Cannot call org-capture from the minibuffer" > > ? > > -- > Bastien > --=20 Omar Antol=C3=ADn Camarena --000000000000c35d8105b6713a83 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> W= ould you be okay with a user-error message like=C2=A0"Cannot call org-capture from the minibuffer"= ?

Oh, if I'm going to get an error message I don't= care which one it is. Might as well leave things as they are currently. Wh= at I was hoping is that you would be able to fix org-capture so that you ca= n also call it from the minibuffer, if=C2=A0enable-recursive-minibuffers is= set to t. I like to think that I can call org-capture no matter what I am = doing, take a quick note or reminder, and go back to whatever it was. It is= almost like that: I can't interrupt myself if the minibuffer is open, = but I can in all other cases.

This is not a big deal, so if it's= not easy to fix, just leave it as is. But if it happens to be easy to do I= think it would be worthwhile, so that org-capture can live up to its reput= ation of being able to quickly capture something /no matter what you were d= oing at the time/!

--
Omar


On Sat, Dec 12, 2020 at 12:32 PM Bastien <bzg@gnu.org> wrote:
Hi Omar,

thanks for reporting this.

Omar Antol=C3=ADn Camarena <omar@matem.unam.mx> writes:

> I have enable-recursive-minibuffers set to t, and just noticed that > org-capture does not work if called from the minibuffer.
>
> Steps to reproduce:
>
> 1. run emacs -Q
> 2. evaluate (setq enable-recursive-minibuffers t) in the scratch buffe= r
> 3. Open the minibuffer, say by using C-x C-f
> 4. While still in find-file, run M-x org-capture and pick a template (= t for Task seems to be offered by default).
>
> You should get an error message saying "Can't expand minibuff= er to
> full frame".

Would you be okay with a user-error message like

=C2=A0 "Cannot call org-capture from the minibuffer"

?

--
=C2=A0Bastien


--
Omar Antol=C3=ADn Camarena
--000000000000c35d8105b6713a83--