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:42:37 +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="37675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: steve-humphreys@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 04:44:41 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 1knCsi-0009iT-Mu for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 04:44:40 +0100 Original-Received: from localhost ([::1]:47408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knCsh-0001zS-OG for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 22:44:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCqr-0001xs-CJ for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 22:42:46 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:54725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCql-00053V-6X for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 22:42:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607571757; bh=oicieD1qpjL12MiXWvsBjY+5vjULt0oqFr/N42tPmq4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=APu30938BYqFbgHyhPMaZ/eZJf5vJsqrvWeBuGd8H0fLy+N/yBI/+9nh6QJ5eBduG DUacxwkdrwFS3Nsi6X4rGwFWMxmeFMO5wKLPEi9o3CIkH296vOZOA0GjTGfYT31F+4 54UdeD2jMgzfAVN9uBao7BtF/mrR3mKSUtqN+Htk= 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:42:37 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:fFZy5EEgnLSg2Xzowkqf/QjoNi7WfysPA/NWUtY3GNziZ/s1CUJWcz23MTOCIZpZa0iCA igfMuTUgk42NhoqmI7b7YSbcljWZ3WKG9cKccA3QQurLyZKJG7J4JHLJoFxxGhcybR75w9bKjSxR HsBpscY6NHz47PzXKc2AvkrPX118a0aNlk7oTxHHFMuqg8TAxov/Z8DKQp6me2jPWhyRmmwB0aD5 0zKxMNdGJxADcf/z9AvKU+hv3TpGqxHcydA947DfmuHUracjpud4E8zE1Ouuu3+dpzpMkNZ1WpKS oI= X-UI-Out-Filterresults: notjunk:1;V03:K0:5fgKvP9wnxU=:88Yux2Bpk8SBZ1JQNgL1Cl fHlaDB/1n8vpYfdgJDf8jaqrQNnU+SJbet5RgcbAfR6nfpOj56Ag1l93/wPh/HPAJGYZKAqWv msQLnnQ3B3liL4HCFZ3UyQSm9wd5aFk5I5I7oO9bnZXI3Jipie5c7xI3ziankc+FmC7t0mTV6 qO4QNeyAtRDMjb/Xpjc4qLirr8mrFG4GT9M78wZkUFCjaH4ItbWM9Yq+3b0c0h2kBn27YcRYs 32mkAi1EeUOSujv2HXlshVg93tw6utTjsxh0a3zT5uXO51h2buFYz8FUmDdZPo/4uPxjZTwiQ kWHU7KYQBQhCJCFwNlKxQ7apOVuVE6GeWLZsJ1sC0QqM7H0JsDrpPkPqK4pN5xk6b/yObGolL si9JW3zHqNaN44fb4Oo4/zgDAge40FLO7B9IAQy/bSyN3n6zyTBgwE7Y/K4gX1IAHKaU/PAus Cz3luIMt6PU5q/g2E2JSCKT3EI/gBYPfRMzPXyTmJ48VOzNH+6ea5LWzyisUs+1Llit+B5s00 8rcwNHzccl8AzHaRRAuk/feFWXEofhDGI0uClI9iVcHK8Cvw+cQWt1or5w24UEmmXHUchVWqd hyThNzhUokVCM= Received-SPF: pass client-ip=212.227.17.22; 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:126213 Archived-At: I have solved one problem, of not removing the maximise-minimise frame by = using (set-frame-parameter (selected-frame) 'fullscreen 'maximised) > Sent: Thursday, December 10, 2020 at 4:17 AM > From: steve-humphreys@gmx.com > To: "Michael Heerdegen" > Cc: help-gnu-emacs@gnu.org > Subject: Re: set-frame-parameter > > > > 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-siz= ing > > > 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? > > Would like some advice of when I should use (selected-frame). Is it cor= rect > to do as I have done? Then for set-frame-size I use nil. > > > Regards, > > > > Michael. > > > > > > > >