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

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

Re: Using defcustom to set width and height for set-window-scroll-bars


From: Eli Zaretskii
Subject: Re: Using defcustom to set width and height for set-window-scroll-bars
Date: Wed, 15 May 2024 14:24:13 +0300

> Date: Wed, 15 May 2024 02:48:05 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > > > > > What do default-font-height and default-font-width return in your
> > > > > > case?
> > > > > 
> > > > > (face-attribute 'default :height nil 'default)
> > > > > 
> > > > > gives me
> > > > > 
> > > > > 58 (#o236, #x9e)
> > > > 
> > > > That's not what I asked you to do. It doesn't answer the question of
> > > > how many pixels does each column and each screen line take. If you do
> > > > what I asked, we will have our answers in hand in no time.
> > > 
> > > What commands do I have to rum to get the information you asked ?
> > 
> > 
> > The ones I mentioned above, default-font-width and
> > default-font-height.
> > 
> > But those are not commands, they are functions, so you invoke them via
> > M-:
> 
> I get
> 
> 13 (#o15, #xd, ?\C-m)
> 25 (#o31, #x19, ?\C-y)

Then 3 and 5 you got from window-scroll-bars was not far off the
target.



reply via email to

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