From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Question Regarding How To Adjust Default Zoom Level In Every New Buffer Date: Tue, 24 May 2022 18:52:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="674"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" To: Samuel Banya , Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 24 20:54:23 2022 Return-path: Envelope-to: geh-help-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 1ntZfj-000AV9-46 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 May 2022 20:54:23 +0200 Original-Received: from localhost ([::1]:38128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntZfh-0001TR-Ps for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 May 2022 14:54:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntZef-0001S1-5I for help-gnu-emacs@gnu.org; Tue, 24 May 2022 14:53:18 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:16614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntZeb-0003kn-9h for help-gnu-emacs@gnu.org; Tue, 24 May 2022 14:53:15 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24OIiZbY001484; Tue, 24 May 2022 18:53:03 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 : mime-version; s=corp-2021-07-09; bh=aUOmAaYkyD1OqosLgyLYcX00Rxezgn6laYqNhlAdRZ0=; b=q8LpjuMDaI+wsMBp16MidzRnhrVWKEDJjb9mm3lv2640wzxktj43IzBzsSFwG3f/+FwS FnMFF2nWBdVsvdbT1JYv9S0l4AM6u6OydUhGHkO7EdeVHCKpii/z9j5rXIQDcKZRKGJu 5v9dkmaKiTQHGTY0MMrAifXcj1foGJzMOl1ou31S+1ubpLJLv42fIet6qCZXDdCo09OW EgacI0G6KApYy9wpFRaZJh2vhLYOT0bPSAlgk4zJ4pRPb77kwO6v4t5kz3fR3jQl62pC ZeFkALtclw3ZyVNpmgYncp9qbXT9JKEBULD/TGc3z8RN1yjRXItojZxJ9q9BIrR/19LW 4w== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3g93tbr6u5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 May 2022 18:53:02 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24OIjrAT009199; Tue, 24 May 2022 18:53:00 GMT Original-Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3g93wy1rx2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 May 2022 18:53:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ILlR8kWZ9vX3FpVzApDRTPILkBU7g/QazLQCklx8CNKZKRJt6M6pXkFe3I34v4QSjpcLno5RA4ghUn4FvSE4xqgwPdgT5SbEVO0hifs63sV2zjd44j4tSgfS87h5nQhl8V1VZzNrpZqIV8LYDON18+mGLsXBE3HmWoUmsv3R06ao4xnq/2BsvfAWuLa/USPzeOreq7mwKtUriQBWZOEZkZ8Bo+sG3g09aefIcfvs+FN9MiSpcDJj2aMAVKHI2x9wMRSME0P67R0Sazb9VxA0EAxpcTs5b6HJvZ1PmVPccWVJDHJvQEQ0zIckUMoHteBsaDjR7QaGy3L9B4WPzv4+lg== 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=aUOmAaYkyD1OqosLgyLYcX00Rxezgn6laYqNhlAdRZ0=; b=XIJTkhO4VLTPKBetSPddC/+tRCj7ZjS7ErxGLxnuZUfL+23eTWvDISvl5Rq6YXe4cvwtgFgbSfshY7j7cB/24Sj7ZPyu3tqyWNk2VS64FkAx1qMjgOpbUuMxspTzeyWFYGK9kdNDBi7hrSLRcBkgAzsaoK52yrtq5WZKm2oIMHdaM6H9Mv13EzyXIL4oMntx+Py1jD8wzCzW6JNb1qmjBdt7+nXjJwemzwM5g4xxhptqMurKAQdW2SkcNBNFZzZgW9T1AiVY/IWk244+Dc9LFMJFf2/bHcHzYepc8UEgRUBGyy6/hmpkMIRiDWAitJTRrZA3q+tVQyixPIPBOo/ARQ== 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=aUOmAaYkyD1OqosLgyLYcX00Rxezgn6laYqNhlAdRZ0=; b=ECeHRmFortU1OQqxUs+okVXnVxXXtAfOiQzmkvoWrXv4m04k4tebUpgzfbsKkYTVBXe19oJiiwr91bANKJ+0bvqSAAaz0eQNPon6a5tFcW66TM7ThBfJRboChE8hl/Yk2Pt2sGGOmpAFeXYxL93NKvw7GQ5W8TSYealp710hots= Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com (2603:10b6:5:355::21) by BN8PR10MB3201.namprd10.prod.outlook.com (2603:10b6:408:c3::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.14; Tue, 24 May 2022 18:52:58 +0000 Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::c18a:eefe:2b3d:4ef5]) by CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::c18a:eefe:2b3d:4ef5%9]) with mapi id 15.20.5293.013; Tue, 24 May 2022 18:52:58 +0000 Thread-Topic: [External] : Question Regarding How To Adjust Default Zoom Level In Every New Buffer Thread-Index: AQHYb4+eWfUbFOhnz0a7E0PGztQa8a0uW/nA In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 65662bf9-356a-485b-db03-08da3db69eb7 x-ms-traffictypediagnostic: BN8PR10MB3201:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5AgvruZ4HxyQw0ZU4C+sJ2yGewBCaUT7FgGwqJVe/59ZG0ydkBbTaFtlEvFaVsFwxS0KDvu++Ik42PHlvyhVoyXK6aMWJDO5jk6gWt2brV9JKo1oxS1fxFnEd/lgRDQzjKnsuObdKCVBEl6FUac2stVQFyKMUfWsEKBFJygDvD2PXeZo49o5cHhJK/sDfe9BCw6pZtLg4hlgourL+JsNTYXPmZChj3xQWokMGXRzrZC8kY75Vpxs1l7zJtjGI8mdoAGg6XvwxQLXcX1qIWnttqkIWfL9/Hp5Wn9QlE95DtSRPtgUjM13DXULPk0Pky79402DKISV4W2r4obba7IZXl7M+Nb6EoKbSCuDN2aS7xG1fwm4WInrQHbXDbw8YUj7VZ9X5SFIl8Jd6aucesacAcP4D0DAe/a4ka0qoDzZxd31IVjrKr+yzf7Hl9nbSnZ2JciGPaeN7g3vIA+eqQDhrRSGtKjSvUXk1296NxRe8ThI5SVr7MXsBf46gPfUaj74cgPVeDK75c9NIzaDj7Cp483QRjvDpnhXX1CAjn+WhNz2Br4Gn0wC3Y+IQ95qgSXPGxGVniVH8DgonXU31pTwqLhJve3M5GDz2n8GnSSUUC9QKx4K3T9q0bBWwh0YRBbXHLWpAn+8iPFCiYT3qoSFTYwL5RZB6ZeoIBeLAo9cP0XjeQnYtCLuTb3IrdVyhp2xesY3rYQ43EfSH/fSBX2y4w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR10MB5473.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(316002)(38070700005)(8936002)(66946007)(86362001)(5660300002)(76116006)(55016003)(52536014)(44832011)(2906002)(110136005)(4326008)(66446008)(66556008)(66476007)(8676002)(64756008)(508600001)(26005)(6506007)(122000001)(9686003)(7696005)(186003)(33656002)(71200400001)(83380400001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VM9gd9QZ6oj62DbLnv1BHQ9tX5mujPqNnHThszSrx1ElVZBCcIG5WqhtRJuc?= =?us-ascii?Q?3esnmO1HE4h3WoM9GR3su+jet5NS65xyFF2QBoqBLmbqK3crOYgrr49viAk9?= =?us-ascii?Q?qMm3ryMUHJHLuCF1nVRLeqmEzIsTvgnCskOOqH+PVdNMHs22P72GgvnqSN4w?= =?us-ascii?Q?VIy9lwfADUQKe+b1jKnwo6RjjDTZqJ7bIL4mJbyL8bvUysF8MWpwfganlWvr?= =?us-ascii?Q?5fowbT9V7AafkCI0i7x5fmKbGh2rUmnX/zxizOkLPi/xAsnqxvhwkK4bhK48?= =?us-ascii?Q?6UOB9qfCnoAY5WXYQxQMXMVqMYlg98hLqcRJ1F19RoR//oDECgDlmk7KPzkN?= =?us-ascii?Q?0ZrcwWjWApgQqVvjM3Wvm37cUuQl3lC3Fo8BM5ySMspYkOmanexa6IgtODXL?= =?us-ascii?Q?ED/I+fxug/0yOcRdBmlskgrHWB4J9Dq9jdv/beaRPqF8jHHLI1IDC50TGx//?= =?us-ascii?Q?jj2hZVsKxYSwiBLEBUKz0avUXeELbEYNlurF08nTBEBY7E1+mDkLSXSN6uJ0?= =?us-ascii?Q?ZXKbFYxnbaXgNooIMI0YvzFZYFmprDjNMk8LDFT82UTgab8Dh2WMsWEfikTL?= =?us-ascii?Q?gO2UN1MZLhWPt87mPdeHMDLfJRN/YVKr5X4GtLXJfe8Gt/Xm4PVbpAzrRWSJ?= =?us-ascii?Q?OD X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5473.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65662bf9-356a-485b-db03-08da3db69eb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 18:52:58.2225 (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: QlMTaiuK+pk/LzVP0dXdGYZe3uDBLIFZqu/IHifJ8FrP/H/x4XBO/QSBev73ICdatOBl0D4TmUSEoMY1xwDFFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR10MB3201 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.874 definitions=2022-05-24_07:2022-05-23, 2022-05-24 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2205240092 X-Proofpoint-GUID: mm1eQP4-EoQBqboL0ubz5ghC22FXcA9S X-Proofpoint-ORIG-GUID: mm1eQP4-EoQBqboL0ubz5ghC22FXcA9S Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137392 Archived-At: No, I don't think you did. You mentioned why you don't want the font to app= ear too small, by default. That's not the same as saying why you want `text= -scaling' to default to +1. If you want to recalibrate zooming so that what you now see as +1 becomes t= he new normal (aka 0), then change the default font size. Why do you want to "adjust the default zoom level", instead of adjusting th= e default font size? The default font size is set for a frame by frame attribute `font', and by = default for all frames by option `default-frame-alist'. And that's equivale= nt to what Eric suggested: setting attribute `font' of face `default'. Maybe you really want to see "+1" in the mode-line, as your starting point?= Maybe you want `C-x 0' to continue to reset to the global default, and not= to your "+1" scaling default? Maybe you have some other reason? So far, you haven't said why you want to do what you asked, "as opposed to.= .." `text-scale-adjust' works off of the default face height. Why don't you wan= t to just change that default? I mentioned the reason 'Why' in my initial post. Is it possible to adjust the default zoom level of any new buffer to +1 by = default? > Is there a way to adjust an Emacs config so that it adjusts the default > zoom level to +1 or +2? > > I ask because on my work Macbook, the default fonts are so small, but > this is a limitation because of how dumb Macbooks interpret screen > resolution when you connect two monitors to it since its based upon the > laptop screen's resolution as the standard. Otherwise, you would have > to blow up the text and font size of everything within the MacOS > settings which makes web browsers look really jenky. > > With this in mind, is there any way to adjust the 'text-scale-adjust' > value so that it starts at +1 no matter what? Why do you want to start with +1 `text-scale-adjust', as opposed to just setting the font with the size you want in `default-frame-alist'? That will give you the baseline size you want for text-scaling (as zero, not as +1). (You could adjust that setting to whatever platform you're currently running Emacs on.)