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 mI61Hk7SHmBfcgAA0tVLHw (envelope-from ) for ; Sat, 06 Feb 2021 17:30:54 +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 WGCRGk7SHmD4GAAA1q6Kng (envelope-from ) for ; Sat, 06 Feb 2021 17:30:54 +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 05DE9940251 for ; Sat, 6 Feb 2021 17:30:54 +0000 (UTC) Received: from localhost ([::1]:54686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8RQ4-00078p-UC for larch@yhetil.org; Sat, 06 Feb 2021 12:30:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8JhE-0005DA-2M for emacs-orgmode@gnu.org; Sat, 06 Feb 2021 04:16:04 -0500 Received: from mail-108-mta77.mxroute.com ([136.175.108.77]:41565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8JhC-0002Uv-8Q for emacs-orgmode@gnu.org; Sat, 06 Feb 2021 04:16:03 -0500 Received: from filter004.mxroute.com ([149.28.56.236] 149.28.56.236.vultr.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta77.mxroute.com (ZoneMTA) with ESMTPSA id 177769baea70006238.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 06 Feb 2021 09:10:50 +0000 X-Zone-Loop: fc6e281b8571e62ea2cbb633112dccf6e067da75edc0 X-Originating-IP: [149.28.56.236] Received: from friday.mxlogin.com (friday.mxlogin.com [159.69.65.104]) by filter004.mxroute.com (Postfix) with ESMTPS id 446CD3EADD for ; Sat, 6 Feb 2021 09:10:49 +0000 (UTC) From: "\"Joshua O'Connor\"" To: emacs-orgmode@gnu.org Subject: org-no-popups nilling display-buffer-alist Date: Sat, 06 Feb 2021 09:10:31 +0000 Message-ID: <87eehtwohk.fsf@joshuao.com> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: joshua@joshuao.com Received-SPF: pass client-ip=136.175.108.77; envelope-from=joshua@joshuao.com; helo=mail-108-mta77.mxroute.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Mailman-Approved-At: Sat, 06 Feb 2021 12:27:09 -0500 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 05DE9940251 X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: dJ16Lpa8LtH8 Hi, 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)) Thanks, Joshua