From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Programmatically maximize Emacs during startup? Date: Fri, 4 Dec 2020 16:03:45 +0100 Message-ID: References: <83wnxydl66.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 04 16:05:32 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 1klCeK-000509-6k for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 16:05:32 +0100 Original-Received: from localhost ([::1]:38488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klCeJ-0005v3-4k for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 10:05:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klCco-0005uw-3F for help-gnu-emacs@gnu.org; Fri, 04 Dec 2020 10:03:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:48113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klCch-0000kX-Hb; Fri, 04 Dec 2020 10:03:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607094225; bh=4LF85MCtOzi5sEpvDt00cR9xzAc0oGYCMPCBuGeyL0I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Et4+UR0UYOjLUNsq2JKbi0prH42+b5QKpTzHpKJARldfy2blDHhkucm/NKJL4Uml5 tp/rPlTu+3DJ50MNNMWeAVizRm7+E0D6z9EJQxBNdRQjTazIDYxgYVLpbiG41685pW Yr0kMCtSwYIKeKpSn2ge2tk/vB1zMeH3gcZaTz8g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Fri, 4 Dec 2020 16:03:45 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <83wnxydl66.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:LsNq4Sb5mLTZhxASCwaJ/PLzp3rCVqEaOqoqax9DOWYTvoomOTotdhmtZe/CwLt5aHojA jEeGmHELlF655lc8bFwKaOT31kuEA+ZraKRp5cxOMTjxvOicaBGDG/pWMJV/nQn4vc8EbNUXp8IX ZFrBLIfsmSqEFY86Rs5UJvrtoXfyOiS1PD0Ev+dsGO0j2Xe0SqZoOgpuZqeRKLH+TBJNQHgDkqy5 GTsN5/mY6fAqhH3EPZSMq7Exxw7U7g0Cnz42SAz4EZ0OheXIRiH5cn0gK35nO+BHSmiChGx4JyLj KI= X-UI-Out-Filterresults: notjunk:1;V03:K0:dMnbSLojDUk=:NQGWpwjOhGfjOOiwMJSP0m IiTHItpNrcqeYBeyPxsfG4c4Kv4wkoGyVBt32b9YwI4Izetj7DpCIj3sJzGcUT1KnA9Hpbw3D VUIGMw9wRxv5BXdt4IA8pA49UcMohNK8ywBTL0MQX4F82nAZVdvu5YNCDL/rGoD5+N3OvNrl/ VJgmZbPQ/uFE3gkm2jcFWKUvxV8pHo+fjnpk1xZrmT2bKStp6ZHcaOIOkuDA0Jx2JwzhyLRth xRm8HZaWbdBSG687LBPwMWYQfbwNlnMtyMu2uB1q5S0/O6hX2OamHdg7DlKLNiAZx3GgzLwkI 79Ki8WQNDl/klj82Pq5YYhPdZAaFRYGXGJn/rGJd4zc/XP2vXAOKeb4zvIYgYK2Lnb4FnzPAV 0Gv37zh1DYk0DwtYq+NOgKeGZULBWK3ma+x8BpXNRg4B7gnRFqfi344Rn+01F4daUh74r2fu4 jnuaXr8XPxx9cBhSSYFrCrl+XAbFlStF0o2+v+CphtOO0TOd1A2jA4okIvLxHfIpkDnfFDGfJ 4oW9FrAH5mp9wNjmMQyMZGY7hgIgH7UFMt9B/h0vfWj1nvoDVufPwNk0iajNY9YCEOiyyC61x xHrbsdZ4lqQn4= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:125976 Archived-At: > Sent: Friday, December 04, 2020 at 9:34 AM > From: "Eli Zaretskii" > To: help-gnu-emacs@gnu.org > Subject: Re: Programmatically maximize Emacs during startup? > > > From: Christopher Dimech > > Date: Fri, 4 Dec 2020 05:04:29 +0100 > > Cc: help-gnu-emacs@gnu.org > > > > > > (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) > > F11 is already bound to a similar, but more useful command, so I don't > see why the OP should rebind it. He should simply use it. Agreed