emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Omar Antolín Camarena" <omar.antolin@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
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/)]
Date: Mon, 14 Dec 2020 12:58:26 -0600	[thread overview]
Message-ID: <CAL03oyL8aJyEt4PUeVkobUvVm83=1feZgrex3n6K6VwbK0X7Zw@mail.gmail.com> (raw)
In-Reply-To: <87tusqaoyz.fsf@gnu.org>

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

> 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/!


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

> Hi Omar,
> thanks for reporting this.
> Omar Antolín 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 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

Omar Antolín Camarena

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

  reply	other threads:[~2020-12-14 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 18:23 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/)] Omar Antolín Camarena
2020-12-12 17:55 ` Bastien
2020-12-14 18:58   ` Omar Antolín Camarena [this message]
2020-12-14 19:14     ` Jean Louis
2020-12-15  0:40       ` Omar Antolín Camarena
2020-12-15  4:51         ` Jean Louis

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:

  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='CAL03oyL8aJyEt4PUeVkobUvVm83=1feZgrex3n6K6VwbK0X7Zw@mail.gmail.com' \
    --to=omar.antolin@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \


* 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


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