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: Tue, 14 May 2024 20:04:10 +0300 Message-ID: <86ttj0uxyt.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11955"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 14 19:05:07 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 1s6vaN-0002qy-5q for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 19:05:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6vZp-0002lM-Gy; Tue, 14 May 2024 13:04:33 -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 1s6vZa-0002iw-IM for help-gnu-emacs@gnu.org; Tue, 14 May 2024 13:04:22 -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 1s6vZZ-0005FN-Vq for help-gnu-emacs@gnu.org; Tue, 14 May 2024 13:04:18 -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=OTbZDRHqwKOtUdmhfw+58IpIFrknBvk4gbe+dODSG/0=; b=mnBynjEoRNeQ a/v3obVJFhpncOHkRjOFBGnFLK6CslSgXu6H5PpdXuWjS6A22+KCzQbDdbDFr/g751ErCOBQGH5Fl vWpHrKphsBnfDm4N9919bKQXNajJ5vVsOTKjv5gp+9belRMZjFju1JG24Ers36uuHOkyuLNy80pJe Vt5/Kfb5j8JJWAj60vJ7yCDqWbEJbeoXyMosoTqs4OPofOADyU2L9KadYjB5vKgnYosdlIJsE/Aa5 vXFobGZEbhgONC/agJ0FkS1FBgyweOEvxLA0rnoTm9gZdFnwv5uXM20KTC0Kveoa6SKP19jMkXN4Q OvK02Y/YEb2QiV9PCZorkA==; In-Reply-To: <48ikiozG2rCg-6_Hbm6wWOhcezLz9AhGwc7pwMUBJIUHwaIQ7zGRMkR3krVLbDHsBOdBACRKxmdvUe87uuaZfxKpcoS-4e8BCmizgJIUbrg=@protonmail.com> (message from Heime on Tue, 14 May 2024 14:19:57 +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:146731 Archived-At: > Date: Tue, 14 May 2024 14:19:57 +0000 > From: Heime > 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.