From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Using defcustom to set width and height for set-window-scroll-bars Date: Wed, 15 May 2024 02:48:05 +0000 Message-ID: References: <86bk58wrlc.fsf@gnu.org> <87bk58zfeh.fsf@yahoo.com> <861q64wkto.fsf@gnu.org> <48ikiozG2rCg-6_Hbm6wWOhcezLz9AhGwc7pwMUBJIUHwaIQ7zGRMkR3krVLbDHsBOdBACRKxmdvUe87uuaZfxKpcoS-4e8BCmizgJIUbrg=@protonmail.com> <86ttj0uxyt.fsf@gnu.org> <86bk57vm2j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33867"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 04:49:08 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 1s74hY-0008ec-Ga for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 04:49:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s74gj-0006mY-KS; Tue, 14 May 2024 22:48:17 -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 1s74gh-0006mC-0X for help-gnu-emacs@gnu.org; Tue, 14 May 2024 22:48:15 -0400 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s74gf-00065r-3W for help-gnu-emacs@gnu.org; Tue, 14 May 2024 22:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1715741290; x=1716000490; bh=WaqOuUwWv7DLvgL0aiJzwNt4SU2GTNcKMI84yGeFFQY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=OPqN06BpxvFzC7DlXLc4Yf87Tve1vjrGWX6KIBOM50qNmtxke16YteMc6Bu+hpMF2 qk3X8DjbQGqZIVLP+hbEvrWKsX0Fj6Tkc513VeV1k85kDqeTaGeUXL0MF4n223fhjt WLn44kMgweVBYHmnwTCh2iPLPOAw7zYBvOdTN4E9z+B7rVhQmu3IEIjCPfKriF6nxE Pr3mETgGViG/NgvotC1sy9X7tg+eSf4ung54ZMJRO49SlaO3J627KJgSOjCz1AKe8x L4ZNVHzy9NzogaMdDgkN4UER5qBpYqZNYR/kXoM7wTA6Ay7fN9M+SL683Kq1NHR0Bg glTOQmAHNMkVA== In-Reply-To: <86bk57vm2j.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 17ea49b78f5335c3ec13c7839cf9bda6e41e586d Received-SPF: pass client-ip=185.70.40.135; envelope-from=heimeborgia@protonmail.com; helo=mail-40135.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:146748 Archived-At: Sent with Proton Mail secure email. On Wednesday, May 15th, 2024 at 2:35 PM, Eli Zaretskii wrote= : > > Date: Tue, 14 May 2024 20:13:23 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: help-gnu-emacs@gnu.org > >=20 > > On Wednesday, May 15th, 2024 at 5:04 AM, Eli Zaretskii eliz@gnu.org wro= te: > >=20 > > > > Date: Tue, 14 May 2024 14:19:57 +0000 > > > > From: Heime heimeborgia@protonmail.com > > > > Cc: help-gnu-emacs@gnu.org > > > >=20 > > > > > What do default-font-height and default-font-width return in your > > > > > case? > > > >=20 > > > > (face-attribute 'default :height nil 'default) > > > >=20 > > > > gives me > > > >=20 > > > > 58 (#o236, #x9e) > > >=20 > > > 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. > >=20 > > What commands do I have to rum to get the information you asked ? >=20 >=20 > The ones I mentioned above, default-font-width and > default-font-height. >=20 > 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)