emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-agenda-list opens new frame with org-agenda-window-setup other-window and split-window-vertically [9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)]
@ 2022-12-24  7:52 Jean Louis
  2022-12-24 11:04 ` Max Nikulin
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Louis @ 2022-12-24  7:52 UTC (permalink / raw)
  To: emacs-orgmode

When I set following:
(setq org-agenda-window-setup 'other-window) with intention to get
agenda in other window, together with following:

(setq split-window-preferred-function 'split-window-vertically)

then

(org-agenda-list)

is not going to show itself in other window but in new or other frame.

Only when I leave following variable:

(setq split-window-preferred-function 'split-window-sensibly)

Then agenda would show in other window.

Expected action is not that agenda shows in other frame but in other
window no matter how split-window-preferred-function is set.

What is happening may be seen on the video:
https://gnu.support/images/tmp/2022-12-24/2022-12-24-10:43:52.ogv


Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars)
 of 2022-12-22
Package: Org mode version 9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)
-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/


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

* Re: [BUG] org-agenda-list opens new frame with org-agenda-window-setup other-window and split-window-vertically [9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)]
  2022-12-24  7:52 [BUG] org-agenda-list opens new frame with org-agenda-window-setup other-window and split-window-vertically [9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)] Jean Louis
@ 2022-12-24 11:04 ` Max Nikulin
  2022-12-24 12:50   ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: Max Nikulin @ 2022-12-24 11:04 UTC (permalink / raw)
  To: emacs-orgmode

On 24/12/2022 14:52, Jean Louis wrote:
> When I set following:
> (setq org-agenda-window-setup 'other-window) with intention to get
> agenda in other window, together with following:
> 
> (setq split-window-preferred-function 'split-window-vertically)
> 
> then
> 
> (org-agenda-list)
> 
> is not going to show itself in other window but in new or other frame.

Is half of window width enough to display agenda? I do not see anything 
related to `split-window-preferred-function' and 
`split-window-vertically' in org, so it might be emacs specifics. 
However it might be indirect result of the `org-no-popups' hack.



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

* Re: [BUG] org-agenda-list opens new frame with org-agenda-window-setup other-window and split-window-vertically [9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)]
  2022-12-24 11:04 ` Max Nikulin
@ 2022-12-24 12:50   ` Jean Louis
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Louis @ 2022-12-24 12:50 UTC (permalink / raw)
  To: Max Nikulin; +Cc: emacs-orgmode

* Max Nikulin <manikulin@gmail.com> [2022-12-24 14:06]:
> On 24/12/2022 14:52, Jean Louis wrote:
> > When I set following:
> > (setq org-agenda-window-setup 'other-window) with intention to get
> > agenda in other window, together with following:
> > 
> > (setq split-window-preferred-function 'split-window-vertically)
> > 
> > then
> > 
> > (org-agenda-list)
> > 
> > is not going to show itself in other window but in new or other frame.
> 
> Is half of window width enough to display agenda? I do not see anything
> related to `split-window-preferred-function' and `split-window-vertically'
> in org, so it might be emacs specifics. However it might be indirect result
> of the `org-no-popups' hack.

Then it is probably not Org related, though affects also Org. P

lease close it as bug in Org.

I have reported is main Emacs bug as it does not behave logically, it
behaves as other-frame not as other-window


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/


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

end of thread, other threads:[~2022-12-24 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24  7:52 [BUG] org-agenda-list opens new frame with org-agenda-window-setup other-window and split-window-vertically [9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/)] Jean Louis
2022-12-24 11:04 ` Max Nikulin
2022-12-24 12:50   ` Jean Louis

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).