all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* '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/)]
@ 2015-10-04  9:29 Hassan Dar
  2015-10-13 20:54 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Hassan Dar @ 2015-10-04  9:29 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

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.

(have not shared my org-config as it is not really relevant to the issue
here -- others are also seeing the same problem per the stack exchange
questions I posted)

Emacs  : GNU Emacs 24.5.1 (x86_64-w64-mingw32)
 of 2015-05-16 on KAEL
Package: Org-mode version 8.2.10 (release_8.2.10 @ c:/Program
Files/emacs/share/emacs/24.5/lisp/org/)

[-- Attachment #2: Type: text/html, Size: 2222 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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/)]
  2015-10-04  9:29 '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/)] Hassan Dar
@ 2015-10-13 20:54 ` Nicolas Goaziou
  2015-10-13 22:19   ` 'org-switch-to-buffer-other-window' prevents customisation ofpop-up buffers by binding key variables [8.2.10 (release_8.2.10 @ c:/ProgramFiles/emacs/share/emacs/24.5/lisp/org/)] h
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-10-13 20:54 UTC (permalink / raw)
  To: Hassan Dar; +Cc: emacs-orgmode

Hello,

Hassan Dar <h@hassandar.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'org-switch-to-buffer-other-window' prevents customisation ofpop-up buffers by binding key variables [8.2.10 (release_8.2.10 @ c:/ProgramFiles/emacs/share/emacs/24.5/lisp/org/)]
  2015-10-13 20:54 ` Nicolas Goaziou
@ 2015-10-13 22:19   ` h
  0 siblings, 0 replies; 3+ messages in thread
From: h @ 2015-10-13 22:19 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

I worked around it by using an elisp ‘advice’ snippet another user suggested (http://emacs.stackexchange.com/questions/17112/prevent-org-todo-pop-up-window-from-displaying-in-new-frame-dedicated-window)

Before that I wasted several hours trying to ‘fix’ the problem in various ways. I imagine org is overriding default handling for a good reason, but it is frustrating to have to override said functionality with a code-snippet, which will undoubtedly break at some point while I scratch my head to understand how I can fix it!



From: Nicolas Goaziou
Sent: 13 October 2015 9:52 PM
To: Hassan Dar
Cc: emacs-orgmode@gnu.org
Subject: Re: 'org-switch-to-buffer-other-window' prevents customisation ofpop-up buffers by binding key variables [8.2.10 (release_8.2.10 @ c:/ProgramFiles/emacs/share/emacs/24.5/lisp/org/)]


Hello,

Hassan Dar <h@hassandar.com> 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



[-- Attachment #2: Type: text/html, Size: 4393 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-13 22:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04  9:29 '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/)] Hassan Dar
2015-10-13 20:54 ` Nicolas Goaziou
2015-10-13 22:19   ` 'org-switch-to-buffer-other-window' prevents customisation ofpop-up buffers by binding key variables [8.2.10 (release_8.2.10 @ c:/ProgramFiles/emacs/share/emacs/24.5/lisp/org/)] h

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.