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 00:19:40 +0100 Message-ID: References: <87o8j237ut.fsf@rub.de> <87k0tq375o.fsf@rub.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="14845"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 00:20:20 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 1kn8ku-0003mh-GI for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 00:20:20 +0100 Original-Received: from localhost ([::1]:46216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn8kt-0007tm-Ic for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 18:20:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn8kK-0007te-L8 for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 18:19:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn8kI-0007Ca-OG for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 18:19:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607555980; bh=AV71kmF5U1zBaI0YjXUdYv8Gzl7IhpaJgcd6BM942Hw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=kYK1x11pCPBrwaNflzZrbQrK4BVuGpO4ESqSjXdJ1qeZC3KTemQvguAsrSLH/K3vJ zkjqddf7P90qZ7Ki7kLkkoNvdk/70BESIuwTZPGIq3c+oaxvDwEXR1Mwkls1EATWZ4 vjSaOo9FAmluG3fqN0WLyuMdz/r3rAA0pQuca4Jk= 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-bs14.server.lan [172.19.170.182]) (via HTTP); Thu, 10 Dec 2020 00:19:40 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87k0tq375o.fsf@rub.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Hy62mN6gp5Vr8ANZ4rSDLk3kphwsxtdydgjf1Pe7OckGYAdqhJr5ELj06j+foinzP2YG/ kDWrRSBOgzTODYG3P/fYbyB2YRlqO1Hus4ZOUN6HOaIf/y6U4COPpqvkggWDjcWxW6aCtGETmjKs UYS40jVFerH4TfoF1y0JioR5Zgf5guAXQdMfOX5VA9dkgX22UksL86mkpRbpqH3X4bjgJgFUiEKk sw5rbSjMQhMXd+4Fe3OomyTH2wZ4XgQBhy2srttFK+6cc1YLSvOzomquqBp9hKDIOY2GP8K2pril Rg= X-UI-Out-Filterresults: notjunk:1;V03:K0:jbAPfnFTI/U=:x3yFg5Ws9GZjx3LmdzFYoS 8gH+hvR6n3XHHU7Ijsz1xxby3IAlrQcnLbdvqytIkGw5pIJUSGFJw9cUCvLLeSWwqBRKEp9CY YRoWvTjDRMB+/QAigAeaBCXShJ6g1V9uJvuR/azfy4mg95HkgsZLkwSVmrMYgodpU9IRy7Npr 3XsZOFmqeb7Qygm36K9FIX/aG78WDTlEGanXRzhVShR2a8dME6897wz77xOWMhlQVlVm7sZrc TaOISaO3Ez8LZMld9v1tcq7miUWx//AUKVTlB5eHZ+7z0MB3BueGqIw4Xnjh5XAZQv7EOQLK/ d1OFcUlyXv4BQyb/3qLjVGlcHCv7S812GDTEM0vBN23/VGOkZy4NDYgl1Smrt+6tZge4h539i 1xq240He3tGruFcBwLcsdzd3xwkW9Tb8jR3vShpg7Tiu7HkBL/IvSi4tsgm5Diz9YOpHYRm6e kWMZlWa95Ogz/H+NsrdijeY/X37LVCw/vdwgnhDX3JJOOVzSSVJHaNzpYaLon1ZbcD/K3vL/4 HNW2jpTdeSFZ51EKrOVWA8EyWvrJ7zzTzQ0woCRYNh9Mf7ylqYsSUghuJTcjgexupCg2fmTX3 BVhHvxU2wWZWo= 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:126196 Archived-At: Have used "emacs -Q" as instructed. Then executed the following three commands, one after the other. The last command beeps the frame to fullheight. (set-frame-parameter (selected-frame) 'fullscreen 'fullboth) (set-frame-parameter (selected-frame) 'fullscreen 'fullheight) (set-frame-size nil 58 13) > Sent: Thursday, December 10, 2020 at 12:13 AM > From: "Stephen Berman" > To: steve-humphreys@gmx.com > Cc: "Help Gnu Emacs" > Subject: Re: set-frame-parameter > > On Thu, 10 Dec 2020 00:04:53 +0100 steve-humphreys@gmx.com wrote: > > >> Sent: Wednesday, December 09, 2020 at 11:58 PM > >> From: "Stephen Berman" > >> To: steve-humphreys@gmx.com > >> Cc: "Help Gnu Emacs" > >> Subject: Re: set-frame-parameter > >> > >> On Wed, 9 Dec 2020 23:24:39 +0100 steve-humphreys@gmx.com wrote: > >> > >> > Have started using fullscreen > >> > > >> > (set-frame-parameter (selected-frame) 'fullscreen 'fullboth) > >> > > >> > Then to maximised position > >> > > >> > (set-frame-parameter (selected-frame) 'width 75) > >> > (set-frame-parameter nil 'fullscreen 'fullheight) > >> > > >> > But then doing the following small frame gets me an error > >> > > >> > (set-frame-size nil 'width 58) > >> > (set-frame-size nil 'height 13) > >> > >> The WIDTH and HEIGHT arguments of set-frame-size should be numbers, l= ike > >> this: > >> > >> (set-frame-size nil 58 13) > > > > I have tried it that way, but the frame stays at fullheight, rather th= an being > > set to 13. > > It works for me with emacs-26, emacs-27 and emacs-28 (master). Did you > try it after starting Emacs with -Q to suppress any customizations from > your init file? > > Steve Berman > >