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:05:10 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="319"; 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: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 04:05:46 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 1klNtK-000AYo-5n for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 04:05:46 +0100 Original-Received: from localhost ([::1]:42368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klNtJ-0002eS-7h for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 22:05:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klNsw-0002d8-3Y for help-gnu-emacs@gnu.org; Fri, 04 Dec 2020 22:05:22 -0500 Original-Received: from mail-dm6nam11olkn2022.outbound.protection.outlook.com ([40.92.19.22]:50336 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 1klNsr-0003h6-4o for help-gnu-emacs@gnu.org; Fri, 04 Dec 2020 22:05:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gbxo21HA1Krp2OZ4IlzH98DbBNzFKWrnhYV03sRUQssNZ9DUQoq7zyUhrv02Gy0UaNKs5+8/NRE46cHUkyf9Vs7XUCdHpA1zw0kIXuxYZOa3oheR6F5acVcUi1v+tix+cK+j3ViojYXzCYwZEGeAfBoLbyp4KwyNemS+6PSNn1P5/5OBT571NJuMOQ8Ob22UxxRGYx7S2t+RQLMJEIOGeHAvTZut3uu9Ifzy8CzumB5tiGmOF8W0J245tLSCT6ovER4kWINL7/Zp4+OeSTPhu5oEXIA/zYzOuroQWaSIq33v4UmMkuY7J8xCCHAPO0ba8nZ2hfx6IfIsyxsRVDT86g== 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=u9QwTyn34KmwLNJMMofQOuEiZKs4Cg1Q7Jm+JfyUsjI=; b=AYrkvB4QW/njNudU9DloZjkH57KuwFO2pXGTn6ryaZM05S2EWHQyVrzahvUyrnniW663VJ6uvFaBBohL1szYBYytoJYKTlWdrDMnDbVsx/NLnuhJEtuyJnqqh3Uw6/TbXHnoU1ide3Rw5Vs9yRHqmuL7O45vrw+dWnPyW6O7cA4OFVWMTc+JS6sfNMHXyCpv76h7xePhoZ9WsAeKa3E/jpfRWK9S5DET2na3Y2Mfy3kQ50dx70e9vRTZq/s1cNi7May2wWIer8vh8qPJ+oV73FUANxScP2km1R3+QuHy16xQYxrqDce+ojtGVBWk+ASMXkMKRYepqezQ8JhxvsvhIw== 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=u9QwTyn34KmwLNJMMofQOuEiZKs4Cg1Q7Jm+JfyUsjI=; b=Kw/DiIRGgWlYTeQTbTxelAG9ZmHb28nYcxzJjMUQc6WFN2d2pJTWep9xy33MnqYs3d7SMk+jsti5+yY8ICCXR8VDVV1OknTCOurc8EFWgjTOJDgslnwgKoHZJyA7EZoF/YQoiPgWtbtnZ4mV4bcHTqVJf7Kt0n4d0wgmS74ArRw41hJwpBxLJ1O9Y0+BEsHd2xHmd7gYH8Q4lNjQImD5tPSAn0Mr6DaFuX0ii8qirGOfAA8xLvaTJ1jHgY6wK/jXdMgQzp4Mx5ukt2Zyb7kID4feNKgiBRLqCGPdAEMSMv6vEIyh1Dfubr0lyRjQJvD+jIlErQQ9LXD+gxmtM3SB1w== Original-Received: from CO1NAM11FT004.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::52) by CO1NAM11HT255.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::391) 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:05:13 +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:05:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:9BDDD1473B07CC31D3F0985A9B908777EFC59125929FE3AB20E92E1D9B4102D2; UpperCasedChecksum:D3B703699CA1D62EA66943036EAA20A7BED68BF56BA13F01900C2790F3682623; SizeAsReceived:7718; 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:05:13 +0000 In-Reply-To: (Christopher Dimech's message of "Fri, 4 Dec 2020 05:04:29 +0100") X-TMN: [LjnA2+Mt/UO/BaNi3dP51LqHjnE25cuuFvOURhh8bsUFuXXxbxl9oMy8f+9wRC1S] X-ClientProxiedBy: BYAPR02CA0025.namprd02.prod.outlook.com (2603:10b6:a02:ee::38) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87a6utq7fd.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:500:419:216:3eff:fee7:3d5d) by BYAPR02CA0025.namprd02.prod.outlook.com (2603:10b6:a02:ee::38) 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:05:12 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: e402134d-71fc-4cea-1b71-08d898ca95ae X-MS-TrafficTypeDiagnostic: CO1NAM11HT255: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b2sWvrokBLYtz1adOnOVEN9ZyTIcAVjKesrmi8XYKm0Pj5P8umLkpMy9+vUvTVXRJZmPOmpZF2eGBNKTwM3P/w+GKy4OsJ+E51GSIu07TOLjOT3LrZV15yPsRB6NxaX2v1LvnEqMAIqbmGh+N8mOmOQ9i6ghZxDHT4dUxH5y5DlNqZ50PPJjzfoDpo+o3OoGGffG4WaGFHaZJvTz0LtFNA== X-MS-Exchange-AntiSpam-MessageData: Fm9SRG6sJRDXFdTiTwxiu5huMGVdSgHxcnenmKIhrlixu164LN+jKsb6BDAjaOu14KhZgjeoLraPrZuGDrQ8onthVE0eew4DiuNQwxTKAivD9P4CqxkeAqJh0/AK+f01QDiJhZTGDh0hkvjqoIytAwdn/7mYRTDrh6dLqcEVtaMcXwQdklbcjuHGvQrYOq1/V0ZQJyvacygJKb7hiQqQZQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2020 03:05:13.3861 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: e402134d-71fc-4cea-1b71-08d898ca95ae 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: CO1NAM11HT255 Received-SPF: pass client-ip=40.92.19.22; 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:125995 Archived-At: Christopher Dimech writes: > (require 'maximize) > > If you want to bind Hot-keys, add setting lines like below. > > (global-set-key [f9] 'maximize-toggle-frame-vmax) > (global-set-key [f11] 'maximize-toggle-frame-hmax) Thanks. Since I'm using a Chromebook, I don't have a (readily obvious) set of function keys, so, if needed, I'll find other keys. -- David Masterson