From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Customization list Date: Fri, 12 Jul 2024 12:59:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35453"; 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 Fri Jul 12 13:00:06 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 1sSE0U-00092l-6J for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jul 2024 13:00:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSDzu-0003ZK-6M; Fri, 12 Jul 2024 06:59:30 -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 1sSDzo-0003Vo-4W for help-gnu-emacs@gnu.org; Fri, 12 Jul 2024 06:59:25 -0400 Original-Received: from sonic313-13.consmr.mail.bf2.yahoo.com ([74.6.133.123]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSDzh-0002aA-Pq for help-gnu-emacs@gnu.org; Fri, 12 Jul 2024 06:59:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1720781948; bh=rG86W/gkdpaZyIrg/fRaTv9lMUEXl0tN7CfG/8Jq7Qc=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=L3pnC1pIijccBfu4rnc9OU1sy6ldyTUJVZse4RecB6jXBQEaeOSydk0eCwD8Ut8CP+a0Xr4vYoxoRuxQxKsTuVpFPXJbSUdtl6j83Olzgcw8aej7sSP91H+Q9dTpqrLet6THcyHaT63Zkiz21lwJ/wRAjSOn8al9lRQi/iEmiAM+Wcn6Qm9/4dYR5a0BsokELJZHdjj4h2oc7sXpm3J4dT/ZO+mZO0JcnpqQGWaaUtETWfwK9PvltykLqcEuXd6F02NOwO2un9SiD+HwC8VDwVng9AZv9egGXS1S/lAKrc1Vv3ZcP8bwMA7oX37Smp96IT3lm469gaFxqOZFfHuJ4A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720781948; bh=wLnn8puAVHz5xrxSJSs+AzcItKtVvgfDFDPi9taENfP=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=qZ+Y0be473gcYYo/GfzEXAF7JpSWxjpHg+Rjf/Hf/UtPind+xfBtWAcg9NSHST3wyCnEr8o1Rgb2DCRtkDYt/u7RnCzraBRX0VMZI+tvRRCzuAxAJm7ZyfPQN0o6UMyfLTKcGM/Te8tjQdQMlKEIXLsM1q8JY1wyScVPGAaZPXJWz6UdzY8fxfb5TURndfxelmX2menI9QAfjR3AAxr60JJjlzm8kRBBCodubvPVP74GQFgvSRnYgFm3uA4XfE5PrP9tX8t9ergwgM7CiJlCoks5YEa+V5Q2qAOHtNsECRmvkN1uPv0xTlaN9L3XAhVTsVvskhk+UDrLDIrcF1J7hA== X-YMail-OSG: YwnnMqgVM1kpoaIoVi0xmlhQEVQi7KpFvEC6bJV_e8D1SwP6d8bvP9ecFyPWN7a OSzEFnVN2P.ORJiBU5EFOL20VHzXYP.ZVIdhWRIZfPLWXJY_tqaUy8hsEiKC0ysAMUXh8qBY1uxW SbDyi8xKVKFcWU18QeUQdONc8ef26zFlncuyqkUuc476T9kuLMFQGrtBZ3jhL7U6P_2pQPlwoY34 U_0fehRClo4pj5fcKaecnYnwcrnOPNisAmbbzvBk.tRj1B1IKmqBqsK7NLwrzeLGkMwTfCd.wQgz jUfMtrDUmwfrlCpqKz4KezBmmQ0lPBvQAfIKXs9sX3SqFoNbigb_Wtc3sdz0j8ieLJAkLo3pGRvB TulEXmeAzVKjDcPPjEuyMe16pSVWZ2D9k_9mJ7SvZmb6lDoR6SLQccWvWvpi9KqaD_xD6Ky88Cra 8EuaRBeyfNvqgFh6XbqpQYWRxP7Tbc_lAEQ4oQLx1vhUJihCbOt2lBalwUv.ylca_usgFhvwfHru HTC.93sknQ86lFRfkxsjuGFIrjBuhaKZMi1v7mQv.F_pk82IeEko6RAf.nA5eYLEJaXIQpkrLO5S XkNuI13UWFh5zfXzKukYYGoZ49V30TKjYX9L2.qqYQdT6eJUxa.g0GkSxo8Jhgj7lGzwRmnVPypy H9KE7Mehr9xNHAJcoKiWI118Ao8cx8HAHqjkzRX2qtCk0_Dh53ZHvqnUVBvmBt3uiU78EgprZ5HU MFr0j6LpfPbLWV3hiM5JUkMlq6e4jZLAjqV8dgCmVjPXgaBLNCf.e97_rHx4OuXEeAowpbmUacme T6KbQwwR_5_qrSmkX3Horstnb0V8dDCAzTM5bIUBIr X-Sonic-MF: X-Sonic-ID: fcdd7d90-a87e-4576-be47-6cc7a04564ed Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.bf2.yahoo.com with HTTP; Fri, 12 Jul 2024 10:59:08 +0000 Original-Received: by hermes--production-ir2-57d49df6b5-sjcvz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d12e6643ad803c19d8ddcaae5a3b2ab9; Fri, 12 Jul 2024 10:59:03 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.22464 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.133.123; envelope-from=spacibba@aol.com; helo=sonic313-13.consmr.mail.bf2.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=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:147154 Archived-At: Hi: After some years in emacs I still have issues when creating customization variables: The examples in the documentation are very simple, but getting some typical simple behaviors is a bit hard to get from them. Suppose I have a variable: (defcustom my-features '(feature1 feature2 feature3) :type ???) This is a variable that may have a list of possible determined values, so I was expecting to get something like this in the customization menu: [x] feature1 [x] feature2 [x] feature3 [ ] feature4 [ ] feature5 So, when the user adds or removes one of the choices, the variable gets a final value associated. I was trying to use different combination of choice, radio, set, repeat and const, but there were some issues with each. Is this very simple "custom menu" approach possible? Is so, please, could you share some example (either inlined here or a variable name existent in vanilla) with such behavior. Thanks in advance, Ergus