From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: set-frame-size should respect line-spacing!? Date: Sun, 13 Oct 2019 15:18:43 +0300 Message-ID: <83imoslty4.fsf@gnu.org> References: <87blun57wt.fsf@kenko.localhost.com> <83o8ymo3cx.fsf@gnu.org> <877e5al9ny.fsf@kenko.localhost.com> <26dd3c24-f21d-bbef-a975-86318a8eaf80@gmx.at> <8336fynvq4.fsf@gnu.org> <1d1e1131-19ca-687c-8383-35a5fb8e3021@gmx.at> <83zhi6m7ls.fsf@gnu.org> <9b1761cd-5877-16b8-39a0-b68e20e4b0cb@gmx.at> <83pnj1ko44.fsf@gnu.org> <6b419874-269e-b15d-3bdf-ac68420b2197@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133504"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ingo.lohmar@posteo.net, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 14:20:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJcqq-000YYC-RI for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 14:19:56 +0200 Original-Received: from localhost ([::1]:39268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJcqp-00033T-C6 for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 08:19:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38385) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJcpp-000332-Fb for emacs-devel@gnu.org; Sun, 13 Oct 2019 08:18:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJcpp-0002hf-BV; Sun, 13 Oct 2019 08:18:53 -0400 Original-Received: from [176.228.60.248] (port=1193 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJcpm-0006KM-P5; Sun, 13 Oct 2019 08:18:51 -0400 In-reply-to: <6b419874-269e-b15d-3bdf-ac68420b2197@gmx.at> (message from martin rudalics on Sun, 13 Oct 2019 14:15:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240959 Archived-At: > Cc: emacs-devel@gnu.org, ingo.lohmar@posteo.net > From: martin rudalics > Date: Sun, 13 Oct 2019 14:15:50 +0200 > > >> So you mean that OT1H we should handle the case where 'split-window' > >> tells us that the window is too small and OTOH not handle the case > >> where 'window-resize' says that it cannot resize the window? > > > > No, I'm saying that we should handle the case with split-window > > without affecting set-frame-size in general. > > Sorry for my insistence but 'window-resize' has nothing to do with the > frame size. But this discussion was about set-frame-size, at least that's what I thought. > My concerns are that we call 'window--size-to-pixel' when > we resize or split a window. So if we want to special-code the split > window case and _not_ the 'window-resize' case, I have to either > special-code 'window--size-to-pixel' too or call some other function > instead. What is the window-resize case?