From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help 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 Message-ID: <871t9ynib3.fsf@web.de> References: <871ta28zj3.fsf@mbork.pl> <877fjs92y2.fsf@web.de> <874mew32pf.fsf@mbork.pl> <87io3bwkz6.fsf@web.de> <87vb7brv03.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451877591 23924 80.91.229.3 (4 Jan 2016 03:19:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 03:19:51 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 04:19:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFvgM-0004iW-Pm for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 04:19:42 +0100 Original-Received: from localhost ([::1]:43685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFvgM-0003Sv-13 for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 22:19:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFvfb-0002Nw-2J for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 22:18:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFvfX-0007ql-SQ for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 22:18:55 -0500 Original-Received: from mout.web.de ([212.227.17.11]:62782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFvfX-0007q5-IJ for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 22:18:51 -0500 Original-Received: from drachen.dragon ([90.186.0.84]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0Laky4-1ZnAR035B2-00kMQD; Mon, 04 Jan 2016 04:18:43 +0100 In-Reply-To: <87vb7brv03.fsf@mbork.pl> (Marcin Borkowski's message of "Sun, 03 Jan 2016 08:18:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:txRgiW1FWoqShIblo0+grRYosgrKycUkqybOpQ3os9dczUL1Z13 rol/I2M74tVtAeuCPiEdhaODSjGAyYpyWCPzNfqSJ+tfR01cAw7oz0JclnZCjWkEwlp6wbR 8uuZ4dEo31slTJPuPxSd1u+kCNv7ZLdJrUgAKP1/ShgPDYp4sAcYSuamy1GZrlDIGXqTzCc n5CsyNTWHxdxVCPsxx3xw== X-UI-Out-Filterresults: notjunk:1;V01:K0:miargAC2IbU=:bXy31ExPOsXqnFDtmXCEo9 lfOZL4S0J9GMz4pkE9uEOXi8+dlAHlE6wYnt5bJAdTWKmUODETIAQSFnclHc27Jz7f5uhLosr xDMY0bLRAjh49H0IiOGOHjeAudUPV2vIKlUgY6Gu+xf8C40Q87wqchPA33n91lF6XHIpAmsQB rFDbQQgPwQMo91XZEirfCnrUWwI9x0nWWFI7XAiOnIKKzQA2u+l48r6Y/avPQGjrqy/ZDj4Dc Yi5a+rnvJ2RLcUFOo+46CtY6J6/9L/e1dt2gaW41hZufrYWV1T/ffSHxvVNy02TIQBHH+AspR i1DVaYIKojFha3kC/WsJbGNVqxWVgHPXxVcIxwL9dqm1pGw0NazRXqs9fg3Tfe8zj7lB/853E XfQSkmrD5egIy/TJna/htNCUmOrH5ZFe6ypAU3zep9zH0zU3ESn7Dn3BtiL1QsuCQP/KBfXnY tAoLTKnO9FLmq00yy2HTK/6VkxZ80OXnHm6dg0b280wRUnB8wkNh9TMDadjNbA5a53vWLY5wY IapameVq846Mip7XDObxbmsDeqFrTgtAA7orMk69oC36FcM1j0sBXGymET6tB7VqvXb88h/BU 3vpdbcyo6e/c64gi5iDCVj7OY3hLsdHZiSAM0fYr7l8OEPDWHAAwLINJi9Tg5gwiXHVS7aW/W glNwSzJ6FlG3qEtUncZpwXFyzDctlZe+0fePYu8ultjd6boZflkaE1vpnoLZlXBW4y/ySxPq7 6xeqQA7KrSX505uvFZCF/dy4w0UnmeCuLLMO21LMB4XKQggCZTtl51OdS3WEeeyACStvlEoY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108599 Archived-At: Marcin Borkowski 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.