From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: set-frame-size should respect line-spacing!? Date: Sun, 13 Oct 2019 14:15:50 +0200 Message-ID: <6b419874-269e-b15d-3bdf-ac68420b2197@gmx.at> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="121295"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ingo.lohmar@posteo.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 14:17:08 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 1iJco7-000VMa-Pl for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 14:17:07 +0200 Original-Received: from localhost ([::1]:39260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJco5-0002NP-Nr for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 08:17:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38180) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJcn6-0002N1-O0 for emacs-devel@gnu.org; Sun, 13 Oct 2019 08:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJcn5-0001Wg-KT for emacs-devel@gnu.org; Sun, 13 Oct 2019 08:16:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:56037) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJcn3-0001T4-Q4; Sun, 13 Oct 2019 08:16:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570968952; bh=OqAz1e3EUEVylPLXS0EIGbBiFoupi7whRNpoC+lL4/M=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=AaHtesk4NK94cekjsyPMtc8w+rO45X4sx27NJH8AXABrALmXiOcRJ8ltARPDe7hP0 /R4oJtF6s6ksj+b+gv9lSGVCsoUAbi8z5S/9/L1yoD8zVNjfIEHfxfzLK/AoT8LCL7 kcss1oFKGUP7kfx0PzyiurKdd7SqDq0X51SfiKqA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.173]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mj8mV-1hplc52X4f-00f9et; Sun, 13 Oct 2019 14:15:52 +0200 In-Reply-To: <83pnj1ko44.fsf@gnu.org> Content-Language: de-AT X-Provags-ID: V03:K1:Gz1AJibE/r/IXpODv6ouFHj9NxTJBWEu57irQ9YYf9EfFLXr4Ds p195syvWEwTn2NnGRWbs6QHzq+ObffKM0hRCCwxXF0VBWmzcPMg0GfrjUT0NmeqmdsBB9fz ekI7MA9vuFKDrHWO5OzmiWytROasD3YqfwXBcJ8Ooo8pNcM0TlVKkh9qZ3k5MHtlo18QZxI LtUn0Rj51NuYHVaAiolkg== X-UI-Out-Filterresults: notjunk:1;V03:K0:dz0KpyKc0ww=:RAPDSByL7IFux9q5fXNL5Y nG1bh5SO2vrv/rmPB1QC3xU6R+nN8NFFBdq9JQ+WXIt7VpP/5F1Va+ibYwf8vPCnTYkf/uvUI XkoiCPEKo7XwtI21uqD/8hDhY6OvKeuSN5lP/oolts7zqLs62gngRcjucx5wr4XFS4eB0rnGI OxTMEzIg3VbIVCH1FvvQqnmNhUneOKdndJ5qltzx9nNhuOODpgPCAJ6Dgdjd893+hl6Xp/jTd oRB6JKM6lO0QjCJJ2G7H0idSHQWrFyyGyWyLYhUuJrxG3Xyx49Fz2/pcqydV/wFw3aFk+HiL1 dARhZloID9gKJb8936rcNF87YwBv2KIehkY8e8WdzuOHJj5AGPpi1N+nwR/E78ltCLVPoJ7rT g73JTUpIs1wlxfqelo0kFuM+fPhs7EYANV1B3Llwc1dWTtUd+1i1HbIEKOSE53auNXpHTk//o hxKWoOOkKm/vLpKNmXiljwwYnmKwZLSRDgJRUp1+UOfiasRo8klGzpstOtHyVqL3w7+1oA2Oz adelUwjW5/757amEPENjST5TAtpEngYHEG8D3QOoLSsp+oxVXvIHPQqytEu3YalJUQCmnN2Mm Cty5ydYsS0edLNhJrmRHSH/XlSO6AXBokhjv8Z+4NMoPP2I2P6VRs+qCV3Yi7n49npJ/yrzjw 0zvpr0Blx4Xt09t7KcpKjBlyIID3SIYCo66JGy4EdUYTMtN2GnhDYOHZy8RLfRv355moDrRU6 /gg7EGlQNU5g/EIW8ss2kzZxenuvKyk7iLZbdtdxGilardMsfe5CJi0Rbi+iV/qm2i6NP9e9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.19 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:240958 Archived-At: >> 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. 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. Please have a short look at the involved functions and tell me what you would do. martin