From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Programmatically maximize Emacs during startup? Date: Fri, 04 Dec 2020 19:10:51 -0800 Message-ID: References: <87sg8mqary.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22522"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 04:11:47 2020 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 1klNz9-0005l7-1V for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 04:11:47 +0100 Original-Received: from localhost ([::1]:44054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klNz8-0003fP-3s for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 22:11:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klNyM-0003du-FX for help-gnu-emacs@gnu.org; Fri, 04 Dec 2020 22:10:58 -0500 Original-Received: from mail-dm6nam11olkn2097.outbound.protection.outlook.com ([40.92.19.97]:5472 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klNyI-0005ps-Rj for help-gnu-emacs@gnu.org; Fri, 04 Dec 2020 22:10:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OEzuvxEAKZUpjpPVD6I5doNc2lW5Z1+ZpZcg+5RbvftWGij0biy0J1jFUZtjKjLMk3ziM4dKgVEOnqKGqbL6WRwvrguJUyLUI20Dsx+U5IY2r5gFvNnvtZtDnI7H5b4g+QHc8SkoPekyG6KxAYGCoM33JZR7gwvWg32JsWdBYbBkFUsL1OzP17oRs4Jvm5UXFHLLfno7YBSE+933OEsihn0erIXiPnycZad0pBn0O63f/9Bmoc/wcDl0mU5bcCZ0wqpskejiNexL1GZjSQ06HjNCpUfCjjrLevBebilkE78ykY+MoVMNjpXScKMvLXY2Y8LZ2e8pjtFlEyrXuECE3A== 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-SenderADCheck; bh=j+j1TPST0vSm7/6d/nBNzwaTpM+lSWJEGecHnTNdCmw=; b=fyjX6hbyh/Y+di28IYZ9WGe02u7nVKz4bP65RSrBJ/J59A6PbLrUMsbiQ0hdvNWYaZvbsKWd+XDNHh7qTKlqOp1yggJr+SjJ7uvJ27PRwmtwolthDpxJphjYOtI8Lj+UMs/1RPugswdA3QrFSCEFQToyskPEwDAYj4j9LvO4TDtN/9fvFk2L5qVNieyniXGCiy6WGcMQ9OGoGnAwMvhqn02+fK1gq2mNsMgTr/aGn+QFtiLz3L/QraX2J88tOYAWBnAB37LcX82l4+fLRGJ6aH5J7wjPUcgKkHiSD2SbFMFTJ4DF5ZKlLRShkeZHZufdw0Cp2vpYIpy6hUOJuRynrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j+j1TPST0vSm7/6d/nBNzwaTpM+lSWJEGecHnTNdCmw=; b=bhkhDLenpSb4aLok5amMlQ3Bb4m+X2hWhjfbpzJYkDD0DcCDnbrhjezaqy9Do90vbzG2rdfVMPZBvnN9egSTDAzdoaYfnrI0UXcezqIr+9C/I01BLhJKz57CYroWh+fA2ZWRr/5BK4VqJdKfk+7vwi9QKtLLAoMRyzgIgB/E8joCWguVC7ix8LOMs66CUndyommFRag1vTfdcdVszHvERICzcNAaHmg2S4U3lV78gq6UM46FLJ0CnqIYz+pWvZzA+yzvdVeOdTN0Ojo+Sc9vZgtjdKKVzeKIok1dyJVBt7RDj4IW8V7smOXwbI8m3H3LH/YNzy54A9EnHeNZztZz3A== Original-Received: from CO1NAM11FT004.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::43) by CO1NAM11HT150.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Sat, 5 Dec 2020 03:10:53 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:3861::48) by CO1NAM11FT004.mail.protection.outlook.com (2a01:111:e400:3861::345) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sat, 5 Dec 2020 03:10:52 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:8BA5AE4E5E040121A50DD4F5710010480A11C57F015ABE0C75B2CED433D9CEF9; UpperCasedChecksum:A51404CDFA5129C8DC6747F33977855E0E3D6C51F16F1F46EDEE4AC1383F2535; SizeAsReceived:7591; Count:46 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::5484:196d:9c99:fa81]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::5484:196d:9c99:fa81%5]) with mapi id 15.20.3632.019; Sat, 5 Dec 2020 03:10:52 +0000 In-Reply-To: <87sg8mqary.fsf@fastmail.fm> (Joost Kremers's message of "Fri, 04 Dec 2020 08:38:38 +0100") X-TMN: [2cHo1prB0ZKoxFTTphaj9kWX8+BIGojc5Ymr5vyVUMCJH455axUIAZmYgLVhhN3k] X-ClientProxiedBy: BYAPR01CA0028.prod.exchangelabs.com (2603:10b6:a02:80::41) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87v9dhoslg.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:500:419:216:3eff:fee7:3d5d) by BYAPR01CA0028.prod.exchangelabs.com (2603:10b6:a02:80::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sat, 5 Dec 2020 03:10:52 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b8902965-66d2-4b25-08d9-08d898cb6006 X-MS-TrafficTypeDiagnostic: CO1NAM11HT150: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ObE6HjMy7skJXBZZ/HMT3bYp19YkpJOHrrFDoJnZlHxzX57qaemGvNZsbJsxXZkZaatb3Zm4QbKAjmyigO343mHYwiJKtJjccEqrS3RdCEgMXS/9jJz+F/LpdnUpZD4VuzM5794rkaP4UPN29isyx5Qm0xzj3KlnywF4VUEtlyk1Jk8CPVvfrIcrLFYNlnOl07nHMRIRkW9l/gleaUcQcQ== X-MS-Exchange-AntiSpam-MessageData: 18iakSUqRoBIW0zZ/WjSkRloog0N6Xfux9newenIZgBK6RJGe3IcHRj1+6caGBvZgJJtCnQY/F1Uvn2XgbctULb9GAv4h0uryolOG6cxX1yyqFiEu8IOCiBk2cW2+tL5J+ZZ9EceiFU0bA/uPzyf5uekPE1xelzB0fBTtUKMmuiKUEk93W4iwuN6AH+0z0uNKgnn+ksT3dyBtUaQKpks5g== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2020 03:10:52.8919 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: b8902965-66d2-4b25-08d9-08d898cb6006 X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT150 Received-SPF: pass client-ip=40.92.19.97; envelope-from=dsmasterson92630@outlook.com; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:125997 Archived-At: Joost Kremers writes: > On Fri, Dec 04 2020, David Masterson wrote: >> I'm an old Emacs from before window systems, so I do most of my work in >> one (maybe two) frames on my laptop. Old eyes don't see as well as they >> used to, so I invariably use a slightly larger font and hit the maximize >> button. I've configured my font -- now how do I maximize from within my >> startup file. > > I have the following line in my `~/.emacs.d/early-init.el`: > > (add-to-list 'default-frame-alist '(fullscreen . maximized)) > > It works in `~/.emacs.d/init.el` as well, but then the frame is first drawn and > subsequently maximised. In `early-init.el`, you only see the maximised > frame. Neat! -- David Masterson