emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-orgmode@gnu.org
Cc: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: window rearrangements when exporting to pdf
Date: Fri, 04 Feb 2011 14:03:14 +0000	[thread overview]
Message-ID: <29693.1296828194@maps> (raw)

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

             reply	other threads:[~2011-02-04 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 14:03 Stephen Eglen [this message]
2011-02-04 15:59 ` window rearrangements when exporting to pdf Lawrence Mitchell
2011-02-04 17:04   ` Stephen Eglen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29693.1296828194@maps \
    --to=s.j.eglen@damtp.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).