help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-frame-parameter


From: Stephen Berman
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 00:13:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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" <stephen.berman@gmx.net>
>> To: steve-humphreys@gmx.com
>> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
>> 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, like
>> this:
>>
>> (set-frame-size nil 58 13)
>
> I have tried it that way, but the frame stays at fullheight, rather than 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]