GNU bug report logs - #56357
Request for font size adaptation that fits window

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: carlmarcos@HIDDEN; dated Sat, 2 Jul 2022 12:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 15:54:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 11:54:44 2022
Received: from localhost ([127.0.0.1]:48512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o8OPM-0007xe-25
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 11:54:44 -0400
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:46286)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1o8OPH-0007xR-HH
 for 56357 <at> debbugs.gnu.org; Mon, 04 Jul 2022 11:54:43 -0400
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 264D24rX001934;
 Mon, 4 Jul 2022 15:54:38 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=qrx19Muv15PZNSb8vG0ncWs91Sj7zCitpNI8OrrPvr4=;
 b=JqecDg1R/tLqo6ed5o0xChC7jA3PFeX2QSF1s8XG8tQELn67328/RtIafTGcep5Zzdw2
 /jV0ZVvv8TbtJ6rSYqX0dS35uc8pNpkvaa/k41iRo/VHex5A2K7C961sAb3KQfOTKYQT
 e62E5ZVGme6rkp5lBXg0p6EaWiUtzbaskSa0FiiJWzY0zKAgCcMOQp2+h4wxKsdE72ci
 fkHK8jlkua8BEnhsHyDgwoArEo/YqCG4oL4M221TepBGRLZ2f2lXqG9tql3DIzBFDPbB
 eiqthjxNLbDLsUYz8XCbrnz8sYtR5kT0bs4T3uxVF6C0Mkd2oOxz+Sr2bfhDy5ZLv/jr mg== 
Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta02.appoci.oracle.com [147.154.114.232])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3h2eju3rcg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 04 Jul 2022 15:54:37 +0000
Received: from pps.filterd
 (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2)
 with SMTP id 264FjErW030270; Mon, 4 Jul 2022 15:54:37 GMT
Received: from nam12-mw2-obe.outbound.protection.outlook.com
 (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45])
 by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id
 3h2cf1q8wc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 04 Jul 2022 15:54:37 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=FlOySSclyyTxrIIosIdXRzRByTeBgvK2cNnB2lvX9oUGh9BNTQ22bsJhp6i67i1qRmlGFcl2wjsa9HRNkS+WgUtw5nWG66CZZrD8+f2MA1MpJOVDzdfzf9LQFXMJNUXdL9XCxp+GyqQhBNuziSWRBSgNAPHMUF5hWZ60riIB8KJ1zs4J4EEh4H+O2FHzoGIrJLMuGI1qdIXRv0HqXEWYktp3q9dHjaZuky5o32ROHY2zFBwNV+Dv5r+jCIZqTNlaD6YhVEhRYgvy3ynuFhCzc3sbpjYVoeyLcL8fouY7aZ0/9BCvwBY/DdyYCwjjqFXVqQwun3GfVkrN0ysBFNbR2Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=qrx19Muv15PZNSb8vG0ncWs91Sj7zCitpNI8OrrPvr4=;
 b=gg1MnWvGQbhvEdRB4e7k8OvN6WOwpeZ46Q+hTe9WmXU7lqce8WdVfXTMJ+Fqc3I6dBROiu9Q9aG94HuH2aZ4v+HHNDZCe7alvbxCGMPbWp7SsNbnv9FajEwFqGVAsd/8DgBPcN3b2a4dpNnxFytUt9Fi9hjEQBAi/mfORCgc7MuuPDfOfakSHgOKaHD5Dox5dYND1u/9CaFZoMvKLrQB8IFgD5B8uuebLSunWGyySZCEjpZ5rypx9agT3LqPF949k8aPVcffvTu1Y0RXWuz1FAnI66O+5icJMyEcitWfPAv5GXzN6xVUC26X046CJxbRk3Uy8jWS1GzqMh+9T4Tgdg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qrx19Muv15PZNSb8vG0ncWs91Sj7zCitpNI8OrrPvr4=;
 b=0O2lnebdaF1J2ZHj089AeWpnAF16HtxgAGLyXd84mO8LuKIUAdX+6I0zYiRzfnM4/SEUCAFJ7vrE+UjBA0e9iWWMtHSoMnW9M8EVU0QGfgJ5JrP5ZaBfaRvffh9OzVmbafarf4ty072q86Ml0ytGOefBJazNkMy/nJqjSi6hKKo=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by BL3PR10MB6138.namprd10.prod.outlook.com (2603:10b6:208:3b9::17)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Mon, 4 Jul
 2022 15:54:35 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::581b:ae2f:16b9:80fb]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::581b:ae2f:16b9:80fb%7]) with mapi id 15.20.5395.021; Mon, 4 Jul 2022
 15:54:34 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>, "carlmarcos@HIDDEN"
 <carlmarcos@HIDDEN>
Subject: RE: [External] : bug#56357: Request for font size adaptation that
 fits window
Thread-Topic: [External] : bug#56357: Request for font size adaptation that
 fits window
Thread-Index: AQHYj5WFjHuBvYwU1UGgYH0lXZ+xvq1uV7zQ
Date: Mon, 4 Jul 2022 15:54:34 +0000
Message-ID: <SJ0PR10MB5488B95226B31A9A8128FFBDF3BE9@HIDDEN>
References: <N5yq7Tu--3-2@HIDDEN> <871qv187lr.fsf@HIDDEN>
In-Reply-To: <871qv187lr.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5a1e8c13-54cf-4eef-a428-08da5dd57df4
x-ms-traffictypediagnostic: BL3PR10MB6138:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9hj0efVyecgPFFm/0n4cLXurEWtLOwTSeSYLkxfnzuvwn69YSWm37KYx9qr+mT7q469SdrYmqAjIjpiiiqhrpa6fYCcqZWgVXh+NRa1YlHjmZ0BDhqmIdvIvjHG1MWtB5gl9g3BKUty4mXpi2E9IGw6eX0FSkX7kf1i1Yq+3qhM6j1s3c/OyJGiEqRIgRs1F6udoviTj0fDOp6JfZm7PlpLZk+abj4WG4jQhyqW8pUWrHaSEG1z2YiXTUevVCcqvApvkFUYuuUxv/AZWpLUdChLP5GsDbXPtP0+TIMZLIUABh0VihlTBd6FuJDjcF2xd1wkidc33LtkgGyXFmnaPFh2wGWzlqMV3dX3+U+x5tGuwl7oozEPwijJKVV5LrCkokBwuxMGt9otdkCF9S1aaznEpMbTsMgZ9g0OZciU3WKqsSg0YSsaIMDUOPrG5dJrKekqPxRW2CBDy/CCMMtnQp8AE+EygdD0jWQSkaVHJhY0Ofv9ntFSRdbruTAy9fh05uZ6WNsyZmDqFeg9C7NFonJ0f7KZlDRd4wkmK7TUjzjNWWjurIUCEbU6CU5B0bUvU24Iy6qsAuPAj8u1WxDGLNOTb8UmskdYoHjBAaJlcBz+pagDCCw4LYj/o5WIaYCwgPuXw094j5JDYEwI7AV1nvVBf6JOeHpHRjGSZkklhm39ibCWcFkkdGRPBS6vEOSoh7vG60fbhLOU6YosTgj6Ir85E+gkzZ91zHdL5vp9xAZy2Vje+J6VNEgwP8FZrzFTHdkPClp9g9+eKl2EbbLpTJ7bLbM49aawKdjkVXvffvvzJXoNoyKTqHWfuWkRAz/7n6RsVvKjuuIinys9uq9k786p85uHVaGgcl7USVrPK3Gs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230016)(366004)(396003)(136003)(346002)(376002)(39860400002)(83380400001)(110136005)(44832011)(8936002)(5660300002)(33656002)(2906002)(86362001)(52536014)(8676002)(66556008)(66446008)(316002)(186003)(38100700002)(38070700005)(122000001)(55016003)(66946007)(66476007)(64756008)(76116006)(4326008)(7696005)(6506007)(41300700001)(478600001)(26005)(966005)(9686003)(71200400001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XMwdJmod92bTEp+vhRnqr7JzBkg9MsLCDFMtgEMiZJIwn6jbr5xdc7rkdWiX?=
 =?us-ascii?Q?38XD88sQ2Vkpm3bBngG+bFSVHoBabeGGvzmfLQfU36iE9Qrzj169+t52urpM?=
 =?us-ascii?Q?q7vA3zhuTdcVLKvk0CxDJhX3PV22Nw/g1DckQwiNvz2nBLbd64wrtlDGf2xZ?=
 =?us-ascii?Q?JBaTdkupUv/vESIIUyRw5JOPvEbbXmb0x9gKIWMsUNfpS/7buT7muuS73+Fm?=
 =?us-ascii?Q?PJyDory/0NY2ZRjQXMXx2NwbjO6d+BfifOQYp0Z3/iPzHClIgot+PqY7kUbQ?=
 =?us-ascii?Q?fSG9+6cpFVP73g9MA0J9b2SIDJmEaQ29cNrO2Xau+cWS6Q2G06WIshFjRAdw?=
 =?us-ascii?Q?2tMbC+ubJ72ZCux0N68J69ezknDnzO4pGfkbXu80ReJGU5mV1vIvdJI4Dt/H?=
 =?us-ascii?Q?NhcVTXc1W38i2AbStV5bdZEB1Wgei6moktOESng5DBHxSkeuqrvHFY6YWTi5?=
 =?us-ascii?Q?qj5qtyXpa2Liv6YL/SiBOjxarPZyfyeyW4zwL9rkWo3nWo6csc/TJBNs/Kb1?=
 =?us-ascii?Q?PzaZ6NT9yKe+1q9aO6e+OzJKsNk6m6flsV1bgbsR+DOhBluyqORurAH2cYTI?=
 =?us-ascii?Q?wefAWXQY92kOG/eBSrWNYDD8wSlXj+bXzmqjc7qXpHKYFv8u7YA3JsyMvFCI?=
 =?us-ascii?Q?sZhPhkEEtzyYEUgCQeWogrOcvaXGRH2ZWS05H3zTAHzVl0Cacw4vUXSs+FtP?=
 =?us-ascii?Q?4AhLPcCKbVt0qDZUPfXFhU7FPO08oN2Kd0gxTJoTyr7KEnVi8Liwr9zMj1sG?=
 =?us-ascii?Q?nMCZw5uCK69xSjq04jcn1ZoV9nGqfEqnjyun9lp7JYDVPYqzLV1CM8O4RvXV?=
 =?us-ascii?Q?aiNoWWX4aWF7lLCX32QEhj0fiwPHrWZGhWIJoshc/w4Sl1qKkFOeXkz3q6K3?=
 =?us-ascii?Q?o2soz3CuxgvYnbBDBrcYRl6FIps8nsV01bfXVBOKaaWlUPlgTGh6Eb5TKIZB?=
 =?us-ascii?Q?GuWEr2daciJBcMbk/2zvJQeWpsESMmq2+bjsnCm2bQpntu5O+NAT7+UUOVCU?=
 =?us-ascii?Q?wTI7Bn/aZd56+sUEN7Pt9k2/uLfeqXHRzYjGh7Q8k2W1iBLlg9+UJTJcb1pg?=
 =?us-ascii?Q?dVi8T+ldfWKtBUy0dzrXT5DtZftGO449jOktPBEXi88obLdu7QZ5PT7+Zvq4?=
 =?us-ascii?Q?2F0jIXW1q476ITP/EBoDEvHiTsplgx2VeiFjJHrFvwV3ysoc4tuENmZfgsUL?=
 =?us-ascii?Q?pU1coxoicKWMtU8uAl6HAU4xYz5+aCeZaZGLbvqjgpxxbK40cc1qnesOofAJ?=
 =?us-ascii?Q?lhRREkgSNHQa44LzzbLeztzKTRxI1YSdKXWeUK5+iexIAZHWKVNnp+0PPGLo?=
 =?us-ascii?Q?bX32K2gyRRVcMiZnjwB4uo/GyjKb8pu7rdgHnWbkyr3VWjnVLhKPIYNzd5lH?=
 =?us-ascii?Q?/tsNMIHng5vfGvlvISLlWSC6Jtq6fiYRdZ3NL2YR4jT985X6GKRG3GX13k/w?=
 =?us-ascii?Q?eqlZVb7U0QXoocvu+uCmT3adCd5f0l/rINbkfUcTKczsDnZKJB1jqS8gshHc?=
 =?us-ascii?Q?Oh83Z26pEpbk0s963AlRk9WG6Now2cwLvq1FuS/GJ0AZq6bqrnABnbVUIKHI?=
 =?us-ascii?Q?O8igVrrYN6EvBGgXE0A+C7orKDIut46tvNa/QrWC?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5a1e8c13-54cf-4eef-a428-08da5dd57df4
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2022 15:54:34.8792 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: AOmqeS8vSq6oKWbFuhRtKGYwm9JCaycDfqkk4bYcjCCJ7sjNIY/vdB6n+u2ADm3oHL7/yeBxi0jnkRvE0gkyyg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6138
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883
 definitions=2022-07-04_16:2022-06-28,
 2022-07-04 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 spamscore=0 adultscore=0
 mlxlogscore=999 bulkscore=0 malwarescore=0 mlxscore=0 phishscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000
 definitions=main-2207040069
X-Proofpoint-GUID: j6417P80kyvM8ZFh3_Nl5_1415SvOGVY
X-Proofpoint-ORIG-GUID: j6417P80kyvM8ZFh3_Nl5_1415SvOGVY
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 56357
Cc: "56357 <at> debbugs.gnu.org" <56357 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> > Suppose a user uses a 13 pt font size.  Let there be some space
> > between the longest line in the buffer and the edge of the window.
> > It would be super if the font size could be automatically increased,
> > such that the difference between the longest line and the window=20
> > size in minimised.
>=20
> I think that sounds like a useful feature, and I'm kinda surprised that
> it doesn't exist yet.  Or does it?  Anybody know?
>=20
> To implement this, I guess the obvious thing would be to have a global
> minor mode that'd listen to frame size changes, and then adjust the
> font size up/down to reach the desired number of characters in a frame?
> So we'd have a user option font-size-adjust-target (defaulting to 80)
> and a font-size-adjust-mode?

Not sure, but I have a feeling this feature might be
related to what you're thinking about / looking for.
It doesn't sound like it's exactly what this report
has requested.  But it sounds like it's related and
it might even address the underlying need/problem.

My library `face-remap+.el' introduces option
`text-scale-resize-window', which automatically resizes
the selected window (horizontally, vertically, or both)
when text is resized.  This means that when you resize
text the way the window fits the text remains relatively
constant.  Shrinking the text in one window shrinks that
window, giving more space to adjacent windows.

IOW, it keeps whatever relation currently exists between
the apparent text size and the window size.  That also
means that it lets you take advantage of the space freed
up by resizing (text-scaling) to a smaller font.

I offered this feature to Emacs dev _long_ ago (as soon
as text-scaling was added to Emacs).  It was summarily
rejected, with a no-one-would-ever-want-to-do-that
dismissal.  But personally, I wouldn't use text scaling
without such a feature.

I see, and saw, no reason not to give users the choice,
as opposed to hard-coding the behavior so as to always
waste screen real estate with added blank space when
text is shrunk.

The code is trivial - a tweak to `text-scale-increase'
to respect the new user option.  The code is here:

https://www.emacswiki.org/emacs/download/face-remap%2b.el




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 14:05:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 10:05:37 2022
Received: from localhost ([127.0.0.1]:48284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o8Mhl-00050M-FI
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 10:05:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1o8Mhk-000508-0O
 for 56357 <at> debbugs.gnu.org; Mon, 04 Jul 2022 10:05:36 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1o8Mhc-0000Jm-OG; Mon, 04 Jul 2022 10:05:30 -0400
Date: Mon, 04 Jul 2022 17:05:17 +0300
Message-Id: <83sfnh7z36.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87let96l0b.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 
 04 Jul 2022 15:54:44 +0200)
Subject: Re: bug#56357: Request for font size adaptation that fits window
References: <N5yq7Tu--3-2@HIDDEN> <871qv187lr.fsf@HIDDEN>
 <83y1x985p4.fsf@HIDDEN> <87let96l0b.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56357
Cc: carlmarcos@HIDDEN, 56357 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: carlmarcos@HIDDEN,  56357 <at> debbugs.gnu.org
> Date: Mon, 04 Jul 2022 15:54:44 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 13:54:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 09:54:58 2022
Received: from localhost ([127.0.0.1]:46424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o8MXS-0004Em-6e
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 09:54:58 -0400
Received: from quimby.gnus.org ([95.216.78.240]:33208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o8MXQ-0004EW-4b
 for 56357 <at> debbugs.gnu.org; Mon, 04 Jul 2022 09:54:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=0lIsRvkKVUAxuYPDYk4R5guHsjxiUfxeiasxtcS69r8=; b=BHOqxdgWVcP7QZN5fz2dkZSqKT
 Xo0oUjY69PUBG3i+QA1IxMZdDa7RSXtlstafuYaqi7onNg7IjDqxxgV/noYMFHS+1IIUEy5UmOtmF
 KEEaxTUWsmr6VwZrTaU8kGuZdUX/N22NOQgqIy4H+jBU8vKT3JG+UfEKz+R6Nvs7A2Ms=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1o8MXG-0007nx-Ni; Mon, 04 Jul 2022 15:54:49 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#56357: Request for font size adaptation that fits window
In-Reply-To: <83y1x985p4.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 04 Jul
 2022 14:42:31 +0300")
References: <N5yq7Tu--3-2@HIDDEN> <871qv187lr.fsf@HIDDEN>
 <83y1x985p4.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEUtEAgMCAMyLCVc
 HA+dKhXQNBrlOhyXk4lZWVH1QyH///8/dARjAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YHBA01BJwP
 jIQAAAGRSURBVDjLjZKxbtswEIZ5kWx0vAOd7JGHdiRBJkA3GTwR8BbApPaiVl7BHdss0VggQJ+3
 lBIkkkwDOVGCqE+8/+4nhUhBQMMYA8UYV4IuxKeAZJcHmxjrfCq2LgvQFnlgG+b3sqegLuNB6gww
 Nugyt0JYp01Oo2CnNZVNgAUo2QmQbfd4WFYVHcC6Y/uoZwA5pDaawJZ3ixVcEzrLztQLr5wmjEMc
 FpbsCLDrmLufcwBpgjFYbh7m4lCkp2dmvxAnle7rLnYdLLcW02het2smPhoorVl4JVBNHcXTr1P/
 fPqTFJBmoKq2v7fmllAZqTCVli6BQypumnvWtF799ent7uiOYb/SgrR/uWmZxPouHPH+3ybwj+9t
 m0AMjd+z9r5tvd+vQnw5hrBPoNBSSQNSGVEnfVWABMBpucV4dL72T33/3N9O+xgb+1I9VdW3Cman
 hDITBATKgfS1hAzAwYNdBow/m0tglmsKrvUFsLkIzlPJce/kufhGqbdDMgeoqUj+njc4uFGovCVn
 IT6Kos+t+A/9H3V61JWcPAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNy0wNFQxMzo1MzowMysw
 MDowMDeO6NoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDctMDRUMTM6NTM6MDMrMDA6MDBG01Bm
 AAAAAElFTkSuQmCC
X-Now-Playing: Joe Jackson's _Body and Soul_: "Heart of Ice"
Date: Mon, 04 Jul 2022 15:54:44 +0200
Message-ID: <87let96l0b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> 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-fr
 [...] Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56357
Cc: carlmarcos@HIDDEN, 56357 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 11:42:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 07:42:51 2022
Received: from localhost ([127.0.0.1]:46353 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o8KTb-0000n8-15
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 07:42:51 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56564)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1o8KTZ-0000ms-C6
 for 56357 <at> debbugs.gnu.org; Mon, 04 Jul 2022 07:42:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51342)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1o8KTT-0001jV-Lm; Mon, 04 Jul 2022 07:42:43 -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=S93ZDlKpP+y1tpfb80XL7KrUq3Dx8Ltr657+iz0xu1c=; b=ONCkuSOHREZl
 XeZSeQmZb+FhZmjMcIaiKDQ7KG7oC64xXtbkX4fINEliyjPdoJM+pyw7tP3HKdmyFvThRI61gG5xS
 tMPBCQYb1OKvKSSwdLmctnQaNSOKUwZ4fKMmYl6BkZcRRvkxlIAI6TPwJlXRlPcTV+OA7JWEphmtY
 JhySRpwhcWL/f55imGFe34LwhVxdQ8xsofEY1/9NB2G71pxa9umkfjeIFifSRcnEev9Pp1KMoWGat
 /dZfIfa6zu65uvkNapUayFWkvaD3iFQiW1V3NzHNcU0LM/YaVxWJ4B3ejVxBBWdq6+q4jCv4XxCnR
 jfFP5uOaAG2hjKYIgfo+Jg==;
Received: from [87.69.77.57] (port=2916 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1o8KTT-00022z-34; Mon, 04 Jul 2022 07:42:43 -0400
Date: Mon, 04 Jul 2022 14:42:31 +0300
Message-Id: <83y1x985p4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <871qv187lr.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 
 04 Jul 2022 13:01:20 +0200)
Subject: Re: bug#56357: Request for font size adaptation that fits window
References: <N5yq7Tu--3-2@HIDDEN> <871qv187lr.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56357
Cc: carlmarcos@HIDDEN, 56357 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 56357 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Mon, 04 Jul 2022 13:01:20 +0200
> 
> carlmarcos@HIDDEN writes:
> 
> > Suppose a user uses a 13 pt font size.  Let there be some space
> > between the longest line in the buffer and the edge of the window.  It
> > would be super if the font size could be automatically increased, such
> > that the difference between the longest line and the window size in
> > minimised.
> 
> I think that sounds like a useful feature, and I'm kinda surprised that
> it doesn't exist yet.  Or does it?  Anybody know?
> 
> To implement this, I guess the obvious thing would be to have a global
> minor mode that'd listen to frame size changes, and then adjust the font
> size up/down to reach the desired number of characters in a frame?  So
> we'd have a user option font-size-adjust-target (defaulting to 80)
> and a font-size-adjust-mode?

That's not what the feature request asked for, AFAIU: it wanted
dynamic resizing, and it wanted the size to depend on the "longest
line" (not clear if "longest in the window" or "longest in the
buffer").

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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 4 Jul 2022 11:01:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 07:01:31 2022
Received: from localhost ([127.0.0.1]:46272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o8Jpa-0002xM-NI
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 07:01:30 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o8JpZ-0002rt-E2
 for 56357 <at> debbugs.gnu.org; Mon, 04 Jul 2022 07:01:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Uc3B5AjCczn8AaIy62JGoLG4YHbZkLrij8paakiQoKM=; b=jMFL2yX5/oU/WA0wcbqyXuASo6
 U+zoM0ERXMj5gYMhoI17ZoX8KL7EqBTT3ZWS06/JPZrA6JGFt4/TzaKfIIE+c2EzrmF1RWmxVN/eX
 3pxMcMVq/OrSpwocVTB034cyHR9NdyNXNdzVLReIqYsfMU6Y4KjwWloV5z/n3Mwe+auc=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1o8JpQ-0006Z9-M5; Mon, 04 Jul 2022 13:01:23 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: carlmarcos@HIDDEN
Subject: Re: bug#56357: Request for font size adaptation that fits window
In-Reply-To: <N5yq7Tu--3-2@HIDDEN> (carlmarcos@HIDDEN's message of
 "Sat, 2 Jul 2022 14:17:51 +0200 (CEST)")
References: <N5yq7Tu--3-2@HIDDEN>
X-Now-Playing: Joe Jackson's _Big World_: "(untitled)"
Date: Mon, 04 Jul 2022 13:01:20 +0200
Message-ID: <871qv187lr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  carlmarcos@HIDDEN writes: > Suppose a user uses a 13
 pt font size. Let there be some space > between the longest line in the buffer
 and the edge of the window. It > would be super if the font size could be
 automatically increa [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56357
Cc: 56357 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

carlmarcos@HIDDEN writes:

> Suppose a user uses a 13 pt font size.  Let there be some space
> between the longest line in the buffer and the edge of the window.  It
> would be super if the font size could be automatically increased, such
> that the difference between the longest line and the window size in
> minimised.

I think that sounds like a useful feature, and I'm kinda surprised that
it doesn't exist yet.  Or does it?  Anybody know?

To implement this, I guess the obvious thing would be to have a global
minor mode that'd listen to frame size changes, and then adjust the font
size up/down to reach the desired number of characters in a frame?  So
we'd have a user option font-size-adjust-target (defaulting to 80)
and a font-size-adjust-mode?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at 56357 <at> debbugs.gnu.org:


Received: (at 56357) by debbugs.gnu.org; 3 Jul 2022 03:39:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 02 23:39:44 2022
Received: from localhost ([127.0.0.1]:43110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o7qSV-000684-QL
	for submit <at> debbugs.gnu.org; Sat, 02 Jul 2022 23:39:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59330)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rms@HIDDEN>) id 1o7qSQ-00067n-V4
 for 56357 <at> debbugs.gnu.org; Sat, 02 Jul 2022 23:39:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59568)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rms@HIDDEN>)
 id 1o7qSL-0007yE-Ko; Sat, 02 Jul 2022 23:39:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=WKSPH3U/E1QB2cCwK7WhpclE/pR0PUiCuWTDoeH0rOo=; b=RWTF0gimr0K6
 X0fllPQ3PFJnXeWzNuk8A4fpPCaeFI3Gc18cRAB5rdG/pkKoh9HEVTp7ta9cgCqsDXRPMVr4yhdcx
 gyjfepE6SUR/K3+FSag0fWug+5amt3ufmnEJieCx0LCR/wfryphuFPPqn6Sf59UCo0JWLDp7EeyOY
 2+hwfTxlF6P+9wtCGI22nrAwbuLo4/pZyiIbC/ZNQIYk5StEi2naCzBanMFOb+FQvGA4EG1ByE9b1
 zCWtVYudvkzKSuUJdqfLljQP62H7DXGNd6/jR5k7d+LN0uVGHHFVOuzRFcNYrF85LN6K/oIoa9AWZ
 S2WDXc7EnpA0MCq3RoU2aQ==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@HIDDEN>)
 id 1o7qSL-0001Mv-3N; Sat, 02 Jul 2022 23:39:33 -0400
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
To: carlmarcos@HIDDEN
In-Reply-To: <N5yq7Tu--3-2@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#56357: Request for font size adaptation that fits window
References: <N5yq7Tu--3-2@HIDDEN>
Message-Id: <E1o7qSL-0001Mv-3N@HIDDEN>
Date: Sat, 02 Jul 2022 23:39:33 -0400
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56357
Cc: 56357 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I am basically an old fart who cannot read small fonts anymore. 
  > Could you think of a way to automatically maximise the font size. 

You're not the only person who has this problem.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Jul 2022 12:18:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 02 08:18:01 2022
Received: from localhost ([127.0.0.1]:40097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o7c4X-0006sz-3U
	for submit <at> debbugs.gnu.org; Sat, 02 Jul 2022 08:18:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:44874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlmarcos@HIDDEN>) id 1o7c4S-0006r5-P5
 for submit <at> debbugs.gnu.org; Sat, 02 Jul 2022 08:18:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59512)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <carlmarcos@HIDDEN>)
 id 1o7c4S-0002Aj-KN
 for bug-gnu-emacs@HIDDEN; Sat, 02 Jul 2022 08:17:56 -0400
Received: from w1.tutanota.de ([81.3.6.162]:49308)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <carlmarcos@HIDDEN>)
 id 1o7c4Q-000615-Ml
 for bug-gnu-emacs@HIDDEN; Sat, 02 Jul 2022 08:17:56 -0400
Received: from w3.tutanota.de (unknown [192.168.1.164])
 by w1.tutanota.de (Postfix) with ESMTP id 31551FBF8BF
 for <bug-gnu-emacs@HIDDEN>; Sat,  2 Jul 2022 12:17:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656764271; 
 s=s1; d=tutanota.com;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender;
 bh=WL3D1K+rb/fCO4nEx5ePEJVWGBV8kr94w+I9YdnoY78=;
 b=RMKrxTMNm+vmvDPB8Dda3ifdhJ0BrTNvXmNayZ8eCWO/uT7TYocHQNB9nk5pKWxU
 2BbMvBVUQ7kr9K7ro6PNnOXxF1/TM7SMPo8Qnp4yRZo03thpBEzu3IiwuDJ5zd41+Ts
 PXXsdWsFKFi5ipdEJMq89Z5iZapZar1AQ7UmbSJl7VDX7aF37UzLNGltU+jo28dgSzq
 USUPcjnn1HEH2IG/N/pR5qCofVs9i/71AZjAwMRn2RupSTvsajcmLAx0VAKCWMnf+NX
 zWq3RzR6XlPMncL3DmEQ+B05PtJn+4LJppuSylUybRRI+/Epc4/5dxv4GONczrJ/3a4
 5nkDLs+lyw==
Date: Sat, 2 Jul 2022 14:17:51 +0200 (CEST)
From: carlmarcos@HIDDEN
To: Bug Gnu Emacs <bug-gnu-emacs@HIDDEN>
Message-ID: <N5yq7Tu--3-2@HIDDEN>
Subject: Request for font size adaptation that fits window
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary="----=_Part_1041437_577873484.1656764271184"
Received-SPF: pass client-ip=81.3.6.162; envelope-from=carlmarcos@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

------=_Part_1041437_577873484.1656764271184
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable


I am basically an old fart who cannot read small fonts anymore.=C2=A0 Could=
 you think of a way to automatically maximise the font size.=C2=A0=20

Suppose a user uses a 13 pt font size.=C2=A0 Let there be some space betwee=
n the longest line in the buffer and the edge of the window.=C2=A0 It would=
 be super if the font size could be automatically increased, such that the =
difference between the longest line and the window size in minimised.

Many thanks for reading this.

------=_Part_1041437_577873484.1656764271184
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><br></div><div>I am basically an old fart who cannot read small fonts anymore.&nbsp; Could you think of a way to automatically maximise the font size.&nbsp; <br></div><div dir="auto"><br></div><div dir="auto">Suppose a user uses a 13 pt font size.&nbsp; Let there be some space between the longest line in the buffer and the edge of the window.&nbsp; It would be super if the font size could be automatically increased, such that the difference between the longest line and the window size in minimised.<br></div><div dir="auto"><br></div><div dir="auto">Many thanks for reading this.<br></div>  </body>
</html>

------=_Part_1041437_577873484.1656764271184--




Acknowledgement sent to carlmarcos@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#56357; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Jul 2022 16:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.