From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: 'org-switch-to-buffer-other-window' prevents customisation of pop-up buffers by binding key variables [8.2.10 (release_8.2.10 @ c:/Program Files/emacs/share/emacs/24.5/lisp/org/)] Date: Tue, 13 Oct 2015 22:54:01 +0200 Message-ID: <87zizmxzfa.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm6YV-0005kV-Jf for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 16:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm6YU-0000Bw-MD for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 16:52:19 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:58676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm6YU-0000Ba-Ft for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 16:52:18 -0400 In-Reply-To: (Hassan Dar's message of "Sun, 4 Oct 2015 10:29:44 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hassan Dar Cc: emacs-orgmode@gnu.org Hello, Hassan Dar writes: > As seen in the following StackExchange questions: > > http://emacs.stackexchange.com/questions/14817/how-to-control-where-the-org-todo-keywords-buffer-displays > > http://emacs.stackexchange.com/questions/17112/prevent-org-todo-pop-up-window-from-displaying-in-new-frame-dedicated-window > > The org-no-popups macro (which is leveraged by ' > org-switch-to-buffer-other-window' let-binds key variables such as > "display-buffer-alist" to 'nil'. > > This ultimately prevents a user from > customising pop-ups generated by org in the same way they would with > other pop-up windows. I'm not a big fan of Org's opinionated way to handle windows either. However, couldn't you use `display-buffer-overriding-action' in this case? It is checked before `display-buffer-alist'. Regards, -- Nicolas Goaziou