all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Using defcustom to set width and height for set-window-scroll-bars
Date: Wed, 15 May 2024 14:24:13 +0300	[thread overview]
Message-ID: <867cfvuxlu.fsf@gnu.org> (raw)
In-Reply-To: <r5Nj3fWj_F2SD3nd7F_0n_bQneLq_uuEYEQhdGnczlqbWfpPz1ZLdnEgWwn3-XuTQEIlDkC2M-ptuGDiLSL87cxZO6YZ_6dP83GJBpoef8k=@protonmail.com> (message from Heime on Wed, 15 May 2024 02:48:05 +0000)

> 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	other threads:[~2024-05-15 11:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14  0:34 Using defcustom to set width and height for set-window-scroll-bars Heime
2024-05-14  6:18 ` Eli Zaretskii
2024-05-14 11:03   ` Heime
2024-05-14 11:14     ` Heime
2024-05-14 11:37       ` Heime
2024-05-14 11:55         ` Eli Zaretskii
2024-05-14 11:38       ` Eli Zaretskii
2024-05-14 11:43         ` Heime
2024-05-14 12:00           ` Eli Zaretskii
2024-05-14 13:19             ` Heime
2024-05-14 13:33               ` Eli Zaretskii
2024-05-14 13:33         ` Po Lu
2024-05-14 13:54           ` Heime
2024-05-14 14:05             ` Eli Zaretskii
2024-05-14 14:09               ` Heime
2024-05-14 16:53                 ` Eli Zaretskii
2024-05-14 18:08                   ` How to tell if Emacs's built with GTK? [was: Using defcustom to set width and height for set-window-scroll-bars] Pierre Rouleau
2024-05-14 18:25                     ` Eli Zaretskii
2024-05-14 19:12                       ` Pierre Rouleau
2024-05-14 19:25                         ` Eli Zaretskii
2024-05-14 20:01                           ` Pierre Rouleau
2024-05-15  2:34                             ` Eli Zaretskii
2024-05-14 14:19               ` Using defcustom to set width and height for set-window-scroll-bars Heime
2024-05-14 17:04                 ` Eli Zaretskii
2024-05-14 20:13                   ` Heime
2024-05-15  2:35                     ` Eli Zaretskii
2024-05-15  2:48                       ` Heime
2024-05-15 11:24                         ` Eli Zaretskii [this message]
2024-05-14 21:33           ` Heime
2024-05-14 11:37     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867cfvuxlu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.