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: Yuuki Harano
Subject: Re: Proposing changes to adjust_frame_size
Date: Mon, 10 May 2021 00:30:15 +0900 (JST)

On Sun, 9 May 2021 15:47:55 +0200,
        martin rudalics <rudalics@gmx.at> wrote:
>> (frame-width)
>> 56
> 
> Do you have any ideas why this misses 4 character widths ...
> 
>> (frame-height)
>> 20
> 
> ...  while the usually more complicated height is right?

I tried:

----
(setq frame (make-frame '((width . 60) (height . 20)
                          (tool-bar-lines . 0)
                          (left-fringe . 0) (right-fringe . 0)
                          (vertical-scroll-bars . nil)
                          (visibility . nil))))

(make-frame-visible frame)
----

Then, I got:

----
(frame-width)
60

(frame-height)
20
----

So I think the difference is by fringes and scrollbar.

-- 
Yuuki Harano



reply via email to

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