From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Using defcustom to set width and height for set-window-scroll-bars Date: Wed, 15 May 2024 05:35:48 +0300 Message-ID: <86bk57vm2j.fsf@gnu.org> References: <86ttj0x6f0.fsf@gnu.org> <69Pjs-4kZqyOQpRdZWauTLDUuKuFYUSmHn2QGw6V5SMBZuLAzXgP3XdcnV10CNhsHCNyYMB8wd_W9cnedSb_AFqeu8ZOmgQ2eWihKa4vx3M=@protonmail.com> <0BTA_y1dgK0FoWDfmuCJg-RPPScCJxdL3aoYwi5bCCtjDtIul7T4QgC9Ws_6KeVu3rppVmcLiKNqrPO5ozqFTEb6N5l00fCwvrcB_3FDn9U=@protonmail.com> <86bk58wrlc.fsf@gnu.org> <87bk58zfeh.fsf@yahoo.com> <861q64wkto.fsf@gnu.org> <48ikiozG2rCg-6_Hbm6wWOhcezLz9AhGwc7pwMUBJIUHwaIQ7zGRMkR3krVLbDHsBOdBACRKxmdvUe87uuaZfxKpcoS-4e8BCmizgJIUbrg=@protonmail.com> <86ttj0uxyt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 04:36:18 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s74V7-0002Qd-I0 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 04:36:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s74Uj-0003LA-W7; Tue, 14 May 2024 22:35:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s74Ui-0003KF-5I for help-gnu-emacs@gnu.org; Tue, 14 May 2024 22:35:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s74Uh-0001i7-T0; Tue, 14 May 2024 22:35:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sFU49Ft0d2C4GyJdZxU4+hbERw+IZ21kETW5ShK3cvE=; b=rzvpjZJi4yaY 6Hze60cAaGYEp2Lxb16jiGBTrmZJ1QcUduKrs1JfChpOEfuGImqlH8RSgtZhOadXRXUX6RVnJuQ3m yj/zOXBqVZ6ghxXYsydb+6cVEObpkyXcp229seqZCuKIv/hC0rtH9TOzt7W9X7m6AY1q/SeQBBA4u BXUCN+Vo4Yz0uVRDtI4Ov//oTlWZEy4ole1clPIiKyYucGTyuWcSsxc4mT9NbeTNsaFwUIwME6eks Q+cUgyeU2kAO+DVR2aRjKmpSFXgvE4BRkqHWUF9UwRaeDxGO+izq60PhGioRtW7QSB8KiZPoPoPjI iC4wOHGPFJlhL7o/IUNBJw==; In-Reply-To: (message from Heime on Tue, 14 May 2024 20:13:23 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146746 Archived-At: > Date: Tue, 14 May 2024 20:13:23 +0000 > From: Heime > Cc: help-gnu-emacs@gnu.org > > On Wednesday, May 15th, 2024 at 5:04 AM, Eli Zaretskii wrote: > > > > Date: Tue, 14 May 2024 14:19:57 +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-: