From: Ihor Radchenko <yantar92@posteo.net>
To: Amol Vaidya <amolvaidya06@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-Capture Window Behavior
Date: Sun, 22 Sep 2024 17:47:28 +0000 [thread overview]
Message-ID: <877cb3polr.fsf@localhost> (raw)
In-Reply-To: <CAHBJKyVGF5xL3PwiVZG4fxZU0hpLe4hW0CR_Ymk0M416Wwz-2w@mail.gmail.com>
Amol Vaidya <amolvaidya06@gmail.com> writes:
> I'm curious, then, why would what I've done in Test 2 nor corral it?
>
> (add-to-list 'display-buffer-alist '("\\*CAPTURE*"
> (display-buffer-same-window)))
Oops. I missed that part.
It does not work for very simple reason - "\\*CAPTURE*" regexp does not
match buffer name of the capture buffer.
Try
(add-to-list 'display-buffer-alist '("CAPTURE" display-buffer-same-window))
--
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>
next prev parent reply other threads:[~2024-09-22 17:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-16 0:31 Org-Capture Window Behavior Amol Vaidya
2024-09-16 19:24 ` Ihor Radchenko
2024-09-16 20:34 ` Amol Vaidya
2024-09-17 18:48 ` Ihor Radchenko
2024-09-17 21:28 ` Amol Vaidya
2024-09-22 8:22 ` Ihor Radchenko
2024-09-22 16:52 ` Amol Vaidya
2024-09-22 17:02 ` Ihor Radchenko
2024-09-22 17:33 ` Amol Vaidya
2024-09-22 17:47 ` Ihor Radchenko [this message]
2024-09-22 18:26 ` Amol Vaidya
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=877cb3polr.fsf@localhost \
--to=yantar92@posteo.net \
--cc=amolvaidya06@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).