emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "\"Joshua O'Connor\"" <joshua@joshuao.com>
To: emacs-orgmode@gnu.org
Subject: org-no-popups nilling display-buffer-alist
Date: Sat, 06 Feb 2021 09:10:31 +0000	[thread overview]
Message-ID: <87eehtwohk.fsf@joshuao.com> (raw)

I wanted to control the positioning of the *Org Select* buffer, so I
first went to add a rule to 'display-buffer-alist'.
But I found it didn't work, as the function in question calls
'org-switch-to-buffer-other-window', which in turn calls an odd macro
'org-no-popups', which appears to let-nil the 'display-buffer-alist'.

I was wondering what the reason is for this? To me I expected this
variable to be reserved for me as a user to choose where windows can go,
which I think is a good plan given that you cannot possible know all the
configurations a user may want the window to appear.

As it stands, I resorted to redefining this function and removing the
'org-no-popups' section, but I have a sinking feeling that it's going to
end up with some odd window behaviour one day.

  (defun org-switch-to-buffer-other-window (args)
  ;;  (org-no-popups
  ;;     (apply 'switch-to-buffer-other-window args)))
    (switch-to-buffer-other-window args))



             reply	other threads:[~2021-02-06 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-06  9:10 "Joshua O'Connor" [this message]
2021-02-08  4:42 ` Kyle Meyer

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=87eehtwohk.fsf@joshuao.com \
    --to=joshua@joshuao.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-no-popups nilling display-buffer-alist' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).