From: JV <misc@jeffvalk.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-agenda-tree-to-indirect-buffer does not respect org-indirect-buffer-display value
Date: Thu, 9 May 2024 13:40:52 -0400 [thread overview]
Message-ID: <1a4c7a04-8536-40c7-899e-ba433a1252fd@jeffvalk.com> (raw)
`org-agenda-tree-to-indirect-buffer' does not respect the
`org-indirect-buffer-display' value of 'current-window unless invoked
with a prefix arg.
The function does respect all other values for
`org-indirect-buffer-display'. And it does respect the value
'current-window when the function is called with a prefix arg.
However, without prefix arg, 'current-window and 'other-window are
treated the same and call to `split-window' is made.
Modifying the initial lines of `org-agenda-tree-to-indirect-buffer':
(if current-prefix-arg
(org-agenda-do-tree-to-indirect-buffer arg)
to be:
(if (or current-prefix-arg
(eq org-indirect-buffer-display 'current-window))
(org-agenda-do-tree-to-indirect-buffer arg)
produces the behavior I would expect. This may or may not be the ideal
fix, but it seems viable and simple.
Org mode version 9.6.29
GNU Emacs 29.3
- Jeff
next reply other threads:[~2024-05-09 20:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 17:40 JV [this message]
2024-05-11 13:26 ` [BUG] org-agenda-tree-to-indirect-buffer does not respect org-indirect-buffer-display value Ihor Radchenko
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=1a4c7a04-8536-40c7-899e-ba433a1252fd@jeffvalk.com \
--to=misc@jeffvalk.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).