From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: pop-to-buffer / switch-to-buffer-other-window Date: Sun, 7 Jun 2020 20:20:56 +0900 Message-ID: <4282B5A5-C5B0-4973-A254-8019872C125F@traduction-libre.org> References: <4A063A0F-C208-4689-9E28-AB7DD56583D9@traduction-libre.org> <91CED84B-6628-4458-92E0-9A6AD7BCC9DF@gnu.org> <4BD7D31A-E321-433A-B561-20AB3953EAB2@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 07 13:21:42 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhtMz-0000ME-SH for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jun 2020 13:21:41 +0200 Original-Received: from localhost ([::1]:38516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhtMy-0006ay-Uw for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jun 2020 07:21:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhtMR-0005tE-Ov for emacs-devel@gnu.org; Sun, 07 Jun 2020 07:21:07 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhtMQ-0005jX-8a; Sun, 07 Jun 2020 07:21:07 -0400 X-Originating-IP: 111.89.103.91 Original-Received: from [10.0.1.13] (pl22363.ag1313.nttpc.ne.jp [111.89.103.91]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6AE281C0003; Sun, 7 Jun 2020 11:21:00 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=217.70.183.197; envelope-from=jean.christophe.helary@traduction-libre.org; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/07 07:21:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252003 Archived-At: > On Jun 7, 2020, at 18:57, Eli Zaretskii wrote: >=20 > On June 7, 2020 9:55:12 AM GMT+03:00, Jean-Christophe Helary = wrote: >>=20 >>=20 >>> On Jun 7, 2020, at 15:18, Eli Zaretskii wrote: >>>=20 >>> Please see "Splitting Windows" in the ELisp manual, it describes how >> Emacs decides whether to split vertically or horizontally. >>=20 >> Do you mean this: >>=20 >> split-window &optional window size *side* pixelwise >>=20 >> It just says that the side argument affects the function, not what in >> pop-to-buffer causes that argument to be set. And I don't find any >> reference to splitting in pop-to-buffer for that matter. >=20 > Thrn I guess you should read "Choosing Window Options". My point is = that this is described in the manual. Interesting. There is this 'split-window-sensibly function that tries to = adapt to the display. But the impression I get from reading the manuals is that there is a = general preference for vertical splitting. The issue with is that with rectangular displays and considering that = most documents have a given reasonable width, choosing to split the main = window vertically is rarely the best solution in terms of screen space = use. I'll try to be more careful and see in which case I see unpleasant = behavior and see if I can do this about it. Thank you. --=20 Jean-Christophe Helary @brandelune http://mac4translators.blogspot.com