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:49:05 +0100 Message-ID: References: <87o8j237ut.fsf@rub.de> <87k0tq375o.fsf@rub.de> <87ft4e36jj.fsf@rub.de> <87blf236f7.fsf@rub.de> <877dpq35ml.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="21505"; 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:50:17 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 1kn9Dt-0005Ud-Lb for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 00:50:17 +0100 Original-Received: from localhost ([::1]:59510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn9Ds-0006p9-My for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 18:50:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn9Cw-0006n8-DI for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 18:49:18 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:33287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn9Cn-0002D7-As for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 18:49:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607557746; bh=lJhXPK04sshzvrz4D7PL0Wm/202xFFGiJohJnf1G8YE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OsOxXopw5NoomAofFgvEYCV0h9NqEkujaVyvdi9EJGpavq1bMcIcLxAynDYnOn1SF HvU8nxBT008oBudE9WKwBJWW7tNyiIcK6+R3bogRewPq+LfFFC30dhY+yPuim1ai7n 17/z9hY/MTr8cCfdxrMEahhjpNmtkAJeZ2KfmyDk= 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:49:05 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <877dpq35ml.fsf@rub.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:H7riu3z/rMsbLzMNN1H3bvU5nztdU2G8KrGhVDQO/J5QlBnLxs/ZyCjx8E2F3dx0tsTzU VDmazVu7lkptWYhdxYpQfT/C9ELC/2sPnoJapGvkET/in+E6po7TyKSfiBRl4+GW6pW1WEskyxy0 WUVsxwa4STG5aUjAB0jMi1hJ0Lc68whmHuyCajaK2dYkRlue6t6CJJMJ0rkIo12BWmJw+CZyB8Bh 1ZcuLv/8+jPxuuHDuLaiYwBblv/Q2ZGXyC9u5qpHlW7MCQ5tqPQOksL4b8lB3IiDJ1PK8r9g8Ib6 N8= X-UI-Out-Filterresults: notjunk:1;V03:K0:eOQRuCFV0qQ=:fMAfwiCy2pEGOMmOofal6g 7Kb8DfxRXrZPfz+6/dTHBnk/2gYG+3gQraB0oVJAh7UBMaKQI/vnFKcpUBDJI41w6X7Q7YOmi +/b2FATPfQenWOQvU2BD90NoCDdpg9ZsZpyj5odCbVdumzj/K+0nmlP9DtcbDnLiZzc/62ry5 YMuMn8MQdWMDmGjibCNjP3M9PtiUsA3i0GcAlhKlvK1OIkJvHHAUfEfqrL3nud+n0jl2BSh08 KsM1m7L8Gjj09I+Zy8XEv7ldUu2+jMXAP5a6T3wrZkwWsxMOYLE69ziOAi1ZsjEN3ysa5sip3 aZwYzak9o85TJYhsWK2j95X8LXwZvkEsEuzQx6qR2bJ+RoKdEODtxCjafO3+VLx73+nS47xVW GewpbwOvtlGTbDe/TmCHV7EvS2h2nF37S6obFTXsLH2L4O0ggy4YXW3HJlzMcr0AaV8YVbdtg Ykmlcl11wMKXm0KTTJcLR3OdrdhtQDoB4B+y0h9oHt4TsisyiPoO2GnrJXrYZ67ZiVn0ThydV LbhDk4saVIFKD3SApiK0vRbdlz+plh4qLeJTkbPa8x8w3cUraORLb7MtyM/a/AZvmLJJdruNY 0/YqnGBUqsDU/qYvrSS6MUVEv2vqm6rSiqTTCpf0u+mnW8yjBGoqFBK/ViLlmLbvTGhNSeSS5 jBoy8mQ70dmb88pYK3iIV00q5 Received-SPF: pass client-ip=212.227.15.18; 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:126204 Archived-At: > Sent: Thursday, December 10, 2020 at 12:46 AM > From: "Stephen Berman" > To: steve-humphreys@gmx=2Ecom > Cc: "Help Gnu Emacs" > Subject: Re: set-frame-parameter > > On Thu, 10 Dec 2020 00:39:19 +0100 steve-humphreys@gmx=2Ecom wrote: >=20 > >> Sent: Thursday, December 10, 2020 at 12:29 AM > >> From: "Stephen Berman" > >> To: steve-humphreys@gmx=2Ecom > >> Cc: "Help Gnu Emacs" > >> Subject: Re: set-frame-parameter > >> > >> On Thu, 10 Dec 2020 00:26:24 +0100 Stephen Berman wrote: > >>=20 > >> > On Thu, 10 Dec 2020 00:19:40 +0100 steve-humphreys@gmx=2Ecom wrote: > >> > > >> >> Have used "emacs -Q" as instructed=2E > >> >> > >> >> Then executed the following three commands, one after the other=2E > >> >> > >> >> The last command beeps the frame to fullheight=2E > >> >> > >> >> (set-frame-parameter (selected-frame) 'fullscreen 'fullboth) > >> >> (set-frame-parameter (selected-frame) 'fullscreen 'fullheight) > >> >> (set-frame-size nil 58 13) > >> > > >> > I can only reiterate that it works for me=2E Perhaps your window m= anager > >> > is interfering somehow=2E The doc string of set-frame-size says: > >> > > >> > (set-frame-size FRAME WIDTH HEIGHT &optional PIXELWISE) > >> > =20 > >> > Set text size of FRAME to WIDTH by HEIGHT, measured in characters= =2E > >> > Optional argument PIXELWISE non-nil means to measure in pixels=2E= Note: > >> > When =E2=80=98frame-resize-pixelwise=E2=80=99 is nil, some window= managers may refuse to > >> > honor a WIDTH that is not an integer multiple of the default fram= e font > >> > width or a HEIGHT that is not an integer multiple of the default = frame > >> > font height=2E > >> > > >> > FWIW I'm using xfwm4=2E > >>=20 > >> I meant to add: What happens when you try (set-frame-size nil 58 13 t= )? > > > > > > Doing (set-frame-size nil 58 13) works only if emacs has not been max= imised=2E >=20 > And (set-frame-size nil 58 13 t)? (Note the `t' at the end=2E) If that > works, then I assume your window manager is preventing the non-pixelwise > resizing=2E If pixelwise resizing also doesn't work, then I'm out of > ideas=2E Maybe someone else will have a suggestion=2E Same thing happens when using (set-frame-size nil 58 13 t)=2E Only works = if emacs is not maximised=2E Thanks for bearing with me=2E=20 =20 > Steve Berman >=20 >=20 >