From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: Using defcustom to set width and height for set-window-scroll-bars Date: Tue, 14 May 2024 21:33:58 +0800 Message-ID: <87bk58zfeh.fsf@yahoo.com> References: <86ttj0x6f0.fsf@gnu.org> <69Pjs-4kZqyOQpRdZWauTLDUuKuFYUSmHn2QGw6V5SMBZuLAzXgP3XdcnV10CNhsHCNyYMB8wd_W9cnedSb_AFqeu8ZOmgQ2eWihKa4vx3M=@protonmail.com> <0BTA_y1dgK0FoWDfmuCJg-RPPScCJxdL3aoYwi5bCCtjDtIul7T4QgC9Ws_6KeVu3rppVmcLiKNqrPO5ozqFTEb6N5l00fCwvrcB_3FDn9U=@protonmail.com> <86bk58wrlc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11836"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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 Tue May 14 15:34:45 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 1s6sIk-0002lC-Tk for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 15:34:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6sIV-0000Y3-1Q; Tue, 14 May 2024 09:34:27 -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 1s6sIT-0000U4-0l for help-gnu-emacs@gnu.org; Tue, 14 May 2024 09:34:25 -0400 Original-Received: from sonic305-21.consmr.mail.ne1.yahoo.com ([66.163.185.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6sIR-0006bl-HV for help-gnu-emacs@gnu.org; Tue, 14 May 2024 09:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715693662; bh=xhH5G2Xl1BNomkjbWnUfD/OQKFeljFGAjGolp5PtWMY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=QZYVNqaNaTCJrUstJkfFuWFs2pStNuqqmx2kC+NoQoI0DUmID1bMiEgQHxPTshL1ApFCc+XTTUu6H/ii3EcV766+rwsoX1l7YccCwJy4ifm+63hjcpRRthpoPr2BiUT1l7lDOpiWu/NXMhKf1Vcx82YhJ9TGstj1T4mczIWGfTdKH9Au3iLDq/xOU33i/4eMGxuxAT1BqjeQk0xThGJAW2XpNh08WRk6nXCwU/qn9Zyr5UQJ1aJ2uWGSicoWqM1//Z7eKCdKkVRVnoF0aqInJc29FghcFTF2hwLusFQcR0CPYm3rRvQS035JVKc5puSu1lZrnp9N/R3f8R4uq0Qtzg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715693662; bh=ulQhM76ARpcioNQo9ZOX19jYlfAmL/Vl3dRUq8CpASF=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QU65927CXAu3oUsOHULA48ar9fPpm9s31Uf0W7zYFeO5rywnaIknhEtQu4l4oIxFRCOMOIfPDBhThIB3FU39OsBLE0mJ3BTk//zoBY0Ri36+xJwRGZ+6kYX7J0/S75vZoCtqIS2guF/3TngRokoHEmjUggEW0a2P9/ge5psk0Wdb9Q+SqvLRlaemvSC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4fab-b1a7-feaa02f2b049 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Tue, 14 May 2024 13:34:22 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-86wsl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d75c09f7f240e4f475a3d985deacc4c7; Tue, 14 May 2024 13:34:15 +0000 (UTC) In-Reply-To: <86bk58wrlc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 14 May 2024 14:38:55 +0300") X-Mailer: WebService/1.1.22321 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.147; envelope-from=luangruo@yahoo.com; helo=sonic305-21.consmr.mail.ne1.yahoo.com 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:146725 Archived-At: Eli Zaretskii writes: >> Date: Tue, 14 May 2024 11:14:59 +0000 >> From: Heime >> Cc: Eli Zaretskii , help-gnu-emacs@gnu.org >> >> Is defcustom with ":type 'integer", the right thing to do in order to allow >> users to customise width and height ? > > If you want them to be able to specify values that are not numbers, > then no. GTK builds don't implement the scroll-bar-width or scroll-bar-height parameters, and as usual, through no fault of our own.