unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: How do I display pdfs to the right and not below the current window?
Date: Mon, 04 Jan 2016 04:18:40 +0100	[thread overview]
Message-ID: <871t9ynib3.fsf@web.de> (raw)
In-Reply-To: <87vb7brv03.fsf@mbork.pl> (Marcin Borkowski's message of "Sun, 03 Jan 2016 08:18:36 +0100")

Marcin Borkowski <mbork@mbork.pl> writes:

> The question that remains is whether `split-window-right' should set
> `window-size' or `window-total-size' or something else yet.  (My opinion
> is `window-size', but I may be wrong.)  Eventually, it seems to rely on
> `split-window', which is too scary for me to look into now (235 lines,
> excluding the docstring;-)).

Seems this resizes the windows after creating them, using, at the end,
`set-window-new-normal'.  The rest are preliminaries, condition checking
and calculations.

It's probably easier for the primitives to not take scroll bars
etc. into count, dunno.  My guess is that it would be very hard to
change the behavior, and it is relatively easy to calculate a size
according to what you expect yourself, so I would do the latter.


Regards,

Michael.



      reply	other threads:[~2016-01-04  3:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-31 14:26 How do I display pdfs to the right and not below the current window? Marcin Borkowski
2016-01-02  1:37 ` Michael Heerdegen
2016-01-02  6:39   ` Marcin Borkowski
2016-01-03  0:43     ` Michael Heerdegen
2016-01-03  7:18       ` Marcin Borkowski
2016-01-04  3:18         ` Michael Heerdegen [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871t9ynib3.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /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.
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).