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

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

Re: set-frame-parameter


From: steve-humphreys
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 00:43:44 +0100

In the beginning of my init file I am using 

(setq initial-frame-alist '((width . 75) (height . 32)))

> Sent: Thursday, December 10, 2020 at 12:29 AM
> 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 Thu, 10 Dec 2020 00:26:24 +0100 Stephen Berman <stephen.berman@gmx.net> 
> wrote:
> 
> > On Thu, 10 Dec 2020 00:19:40 +0100 steve-humphreys@gmx.com wrote:
> >
> >> 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)
> >
> > I can only reiterate that it works for me.  Perhaps your window manager
> > is interfering somehow.  The doc string of set-frame-size says:
> >
> >   (set-frame-size FRAME WIDTH HEIGHT &optional PIXELWISE)
> >   
> >   Set text size of FRAME to WIDTH by HEIGHT, measured in characters.
> >   Optional argument PIXELWISE non-nil means to measure in pixels.  Note:
> >   When ‘frame-resize-pixelwise’ is nil, some window managers may refuse to
> >   honor a WIDTH that is not an integer multiple of the default frame font
> >   width or a HEIGHT that is not an integer multiple of the default frame
> >   font height.
> >
> > FWIW I'm using xfwm4.
> 
> I meant to add: What happens when you try (set-frame-size nil 58 13 t)?
> 
> Steve Berman
>



reply via email to

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