From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: set-frame-parameter Date: Thu, 10 Dec 2020 04:08:25 +0100 Message-ID: References: <87o8j237ut.fsf@rub.de> <87mtymy0ke.fsf@web.de> <87h7ouxzps.fsf@web.de> <87im9a749t.fsf@web.de> 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="12440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 04:09: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 1knCKi-00039O-GQ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 04:09:32 +0100 Original-Received: from localhost ([::1]:53204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knCKh-0007sx-FD for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 22:09:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCJi-0007si-2R for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 22:08:30 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:41035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCJf-0008SZ-NF for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 22:08:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607569705; bh=6/2IusGx8w+m8KoEpyr7zGKIw+FOhFVE+EPk2+wrM04=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=fxFfBJymEcVLOBhbYc5AF7RiyQS/gsknGS2jwo2EtRlgXMxJi1l2cxDZWGg5F8tAn 42C+ic8JSZ5j6SA3E1OcR47C6toFtUVaKmLosc4WwJF+sQckOizesM31bxD/Pe0CnG m1JVdX/WLzsQbiJBqL9u/fg9wdt4AYkowVyA2I1U= 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-bs13.server.lan [172.19.170.181]) (via HTTP); Thu, 10 Dec 2020 04:08:25 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87im9a749t.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:drKqpDc/+BAVrFLRymHwEkSwEvkZ6Wzp0MUIdI22gSaqL59YeBx+kFAFIyUhLuuG2k8vc t3Nq8pe2QfamCOtOLR9SrX18Jq3u/g4xYyjpYh3vB8AR0H/zHXQKb5G1Bqzo8Wr35yQWeUCb4TM6 vVcRGE9cXyoT3i6Vfp9HmK82izoGbnKtI/Gdb8ULq3KWavNnnLNMNANB1RrNhaxfpn9Hq5+2afH3 21JoKqdhDzaL7QGSLTufebQXi8O80wC8/Rqb6t8nl3jA1df6CppHVdueha2dHCmr/Lb4MhJ/pyog p0= X-UI-Out-Filterresults: notjunk:1;V03:K0:rGQ9SD0bucA=:cwRD4kkeV77cuLAweMrZmj dC8sCnUz/Pn827zi9yNJgUNd7MfERSzVxsobf0Zjso373WqGYCFlzS4b+7FTp7FRad1zh+7d8 RwG0IDR3goUT8voZoIIQ3ayjeYymCUVP5QuqZbQaIOreIcAldyt2DqUgx6TfN9lSh+Aeh4Sym pmurZE0HFY8GLgGCz/P+AEJfvQhNbLjot1Y9racq6kcDbuKfhwnwX45abmKVk+Durg2R/uEHA OAW/OVDakTUL3axg2nmYs3vFU8p8+0YIQTBQcVnQAADFd7ZyYreuGUHe91XzF5TpOsKwE/q5Z 0A8G2VALs71VTD7FYnah9nh6++5EmeHb+bCIrO9ul1+bb+eONtkVzlgxBYp0+9TrO7bxfh4Eq spr/hSnCMoUQpjTk3AK1WfJipJobW3GfXB6TjSb6qVhUHXpfAPyM/rfpSH5QofCY+VVciCPQU 1CUPRAqtAdux19pYYE8olpoISLrWWVgOaoOSizo9kSXP1ODmlJ9nUTM0mZlUvpHuv1sd3YAiq FhDeFq1sKYtNNeyRGw6lJa+uez+mlVsAy+RgUSjiwvcKY1oDsfAA2Oz1cbGovGMNgcG8YJy+r rP30g57FzNT0c= Received-SPF: pass client-ip=212.227.17.20; envelope-from=steve-humphreys@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:126211 Archived-At: > Sent: Thursday, December 10, 2020 at 4:01 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: set-frame-parameter > > steve-humphreys@gmx.com writes: > > > I wonder which way I should do things for fullscreen and re-sizing. > > > > Is it good to use set-frame-parameter for fullscreen, and for re-sizin= g > > using set-frame-size? > > > > > > Have done as follows to make same size frame using set-frame-size. > > > > (let ((w (frame-width)) (h (frame-height))) > > (set-frame-parameter (selected-frame) 'fullscreen nil) > > (set-frame-size nil w h)) > > I don't understand that code. You resize the frame to its...current > size? Yes because the first time I go fullscreen, I remove the menu and edit bar= s. > Regards, > > Michael. > > >