* window rearrangements when exporting to pdf
@ 2011-02-04 14:03 Stephen Eglen
2011-02-04 15:59 ` Lawrence Mitchell
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Eglen @ 2011-02-04 14:03 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Stephen Eglen
I've found the following odd behaviour in windows being re-arranged
within a frame. It is not bothering me too much (yet), but I thought
I'd report it in case others see it.
If I start emacs, and maximise it on my desktop machine, it is wide
enough to allow two full windows side-by-side (i.e. left-to-right) when
I do C-x 3.
(window-width) reports 103 in each window.
If I view say *scratch* in my left window, and an org buffer in the
right window, then do "C-c C-e", the org buffer is then shown in the
left window, and the temp buffer (*Org Export/Publishing Help*) appears
in the right window. So, the org buffer temporarily switches from left
to right. When I then hit say 'd' to complete the export (to tex->pdf),
the original window configuration (*scratch* in left, org in right)
returns.
Is this desired behaviour? It seems a little odd that the org buffer
would be pushed temporarily into a different window whilst the help is
displayed. I would expect the help buffer to appear in the left window.
(If I start with the org buffer in the left window, the temp
buffer appears in the right window, as expected.)
(emacs-version)
"GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
of 2010-05-24 on maps"
My guess would be that org-fit-window-to-buffer is doing this.
Stephen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: window rearrangements when exporting to pdf
2011-02-04 14:03 window rearrangements when exporting to pdf Stephen Eglen
@ 2011-02-04 15:59 ` Lawrence Mitchell
2011-02-04 17:04 ` Stephen Eglen
0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Mitchell @ 2011-02-04 15:59 UTC (permalink / raw)
To: emacs-orgmode
Stephen Eglen wrote:
[...]
> (emacs-version)
> "GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
> of 2010-05-24 on maps"
> My guess would be that org-fit-window-to-buffer is doing this.
It seems more likely that the call to delete-other-windows in
org-export is the cause of the problem. Can you try removing it
to see what happens. I presume it is there in case you have an
Org buffer and /many/ other small buffers, in that case you don't
want to pop up the help message in one of the small buffers,
because you might not see it all.
Lawrence
--
Lawrence Mitchell <wence@gmx.li>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: window rearrangements when exporting to pdf
2011-02-04 15:59 ` Lawrence Mitchell
@ 2011-02-04 17:04 ` Stephen Eglen
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Eglen @ 2011-02-04 17:04 UTC (permalink / raw)
To: emacs-orgmode
>> My guess would be that org-fit-window-to-buffer is doing this.
>
> It seems more likely that the call to delete-other-windows in
> org-export is the cause of the problem. Can you try removing it
> to see what happens. I presume it is there in case you have an
> Org buffer and /many/ other small buffers, in that case you don't
> want to pop up the help message in one of the small buffers,
> because you might not see it all.
>
Thanks Lawrence -- you were right! If I comment out that call to
(delete-other-windows) in org-export, all works just nicely.
Stephen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-04 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 14:03 window rearrangements when exporting to pdf Stephen Eglen
2011-02-04 15:59 ` Lawrence Mitchell
2011-02-04 17:04 ` Stephen Eglen
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).