emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposing changes to adjust_frame_size


From: martin rudalics
Subject: Re: Proposing changes to adjust_frame_size
Date: Wed, 5 May 2021 18:45:16 +0200

> Start Emacs with the iconic switch on like
>
> emacs -Q -iconic --load foo.el
>
> where foo.el contains
>
> (set-frame-height nil 20)
> (set-frame-width nil 90)
> (set-frame-parameter nil 'toolbar-lines 0)
>
> After that deiconify the frame.  What are the frame's height and width
> now - 20 and 90?

And after fixing my latest thinko in Fframe_parameters as in commit
e9baa733b8cac00e008cb834abc8712c8c00beed please try with

emacs -Q

in *scratch* evaluate first

(setq frame (make-frame '((width . 60) (height . 20) (tool-bar-lines . 0) 
(visibility . nil))))

then

(make-frame-visible frame)

and tell me what

(frame-width) and (frame-height) give for that frame.

Thanks again, martin



reply via email to

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