From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56357: Request for font size adaptation that fits window Date: Mon, 04 Jul 2022 17:05:17 +0300 Message-ID: <83sfnh7z36.fsf@gnu.org> References: <871qv187lr.fsf@gnus.org> <83y1x985p4.fsf@gnu.org> <87let96l0b.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8856"; mail-complaints-to="usenet@ciao.gmane.io" Cc: carlmarcos@tutanota.com, 56357@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 04 16:33:46 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o8N8z-00024m-Kt for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 16:33:45 +0200 Original-Received: from localhost ([::1]:33646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8N8y-00026N-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 10:33:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8MiA-0001Nb-6U for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 10:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8Mi9-00022J-U4 for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 10:06:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8Mi9-000512-NU for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 10:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2022 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56357 X-GNU-PR-Package: emacs Original-Received: via spool by 56357-submit@debbugs.gnu.org id=B56357.165694353719246 (code B ref 56357); Mon, 04 Jul 2022 14:06:01 +0000 Original-Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 14:05:37 +0000 Original-Received: from localhost ([127.0.0.1]:48284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Mhl-00050M-FI for submit@debbugs.gnu.org; Mon, 04 Jul 2022 10:05:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Mhk-000508-0O for 56357@debbugs.gnu.org; Mon, 04 Jul 2022 10:05:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Mhe-0001zm-Aq; Mon, 04 Jul 2022 10:05:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nA9slNV8B+Egao4LRAX/9/83bmyx13RmzNCV266qy90=; b=U06xj+y0jvM+ /oKDQO+84d5FZGwMH/p0T8RCd/2AjHvDW3aigY0s8Q2MF7LFFTbatfqrWZQxe0gjNSv2pv295uGbY E+8nHZOIUzTJlSBUjWBlwr/shJOJRCX5bfAJg603M6OOE7MPOcG3q/ANZFTZ7IfN8AcyMafj0EHQW zoIGtDjT7kgFnNspBqxMVrxpKY4vVoZzuITI1kpbK9vqbnJTRJneM91HRIO2phb25PTCJBVW4M81n Qzo9QMj5jZXpM+aoQPiX3/QlbshyZ7uf8oGcvSIkQKYhHgavzsrVfS/bDx+46ifJvD97nOaobi+FV SVeY1e5hAQZbkz/ikuPsbA==; Original-Received: from [87.69.77.57] (port=4062 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Mhc-0000Jm-OG; Mon, 04 Jul 2022 10:05:30 -0400 In-Reply-To: <87let96l0b.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 04 Jul 2022 15:54:44 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236059 Archived-At: > From: Lars Ingebrigtsen > Cc: carlmarcos@tutanota.com, 56357@debbugs.gnu.org > Date: Mon, 04 Jul 2022 15:54:44 +0200 > > Eli Zaretskii writes: > > > With your proposal, how would you determine the target value? If it's > > just an arbitrary value (80 sounds like an arbitrary one to me), then > > the recently-added global-text-scale-adjust-resizes-frames variable > > does the same, just from the other end: the user enlarges the font and > > the frame follows suit. And since our default frame width is already > > set for 80 characters, it sounds like we already have the feature you > > envisioned, no? > > I think the user wants to be able to drag a frame to be bigger and get > the font to be resized to have the same number of columns, so it's not > the same feature at all. I'm asking why it matters how you "drag the frame": whether by actually dragging its edge or by C-M-wheel-up. The results is the same, no? And that actually gives an idea: make dragging the frame call the same function that C-M-wheel-up does.