From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Sat, 12 Nov 2022 08:45:38 +0000 Message-ID: <87r0y8zhl9.fsf@posteo.net> References: <86fservpri.fsf@gnu.org> <87cz9v97lo.fsf@posteo.net> <86r0yb234t.fsf@gnu.org> <87o7te7lc7.fsf@posteo.net> <83sfioob7s.fsf@gnu.org> <87wn80zjiw.fsf@posteo.net> <83leogo9yw.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="16065"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, arash@gnu.org, emacs-devel@gnu.org, joaotavora@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 12 09:45:55 2022 Return-path: Envelope-to: ged-emacs-devel@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 1otm9D-0003yM-Gw for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Nov 2022 09:45:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otm95-0005Ud-9k; Sat, 12 Nov 2022 03:45:47 -0500 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 1otm91-0005UH-Ll for emacs-devel@gnu.org; Sat, 12 Nov 2022 03:45:44 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otm8z-0003Q3-Lg for emacs-devel@gnu.org; Sat, 12 Nov 2022 03:45:43 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0B667240028 for ; Sat, 12 Nov 2022 09:45:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668242739; bh=tziJvuKqLGCCxhrpv9QnVosOpmG7ZZym9AeGkuw6gtg=; h=From:To:Cc:Subject:Date:From; b=oUkmD4WE8mC96Y52UW+4P9xbdVuder+Y3HR5rig693JwfOZi9F72kK4dPo3IXovjt 0woPHn8CFDEk5hrVi7nS0Lklsaq1+QejZMZSB4VhFxANAmlylk2jnFEx8kSKnCWpJV K7SuXKWuRdVoKRM29cs1Qbm93AgkrO1sN+xtlgjar9FLg3TmYn6pSszZgV4J4DOlxn AN0pZH27s0l+W1mSZISBm75NcN6cmpgIOHFD9wxfdvpfUFl1TDBerfkgXLL1lBCKxc GhnreSKe3QfqYX0pWcdREiahKTcvyVRm9EXGJHG1ykWqGmJS6qpiHYxpuLltD6uOSe A1Q8dfXXIJ/Dw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N8Tg61C3Jz9rxM; Sat, 12 Nov 2022 09:45:38 +0100 (CET) In-Reply-To: <83leogo9yw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Nov 2022 10:25:43 +0200") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299633 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: Jim Porter , arash@gnu.org, >> emacs-devel@gnu.org, joaotavora@gmail.com >> Date: Sat, 12 Nov 2022 08:03:51 +0000 >>=20 >> Eli Zaretskii writes: >>=20 >> >> Date: Fri, 11 Nov 2022 19:47:52 -0800 >> >> Cc: emacs-devel , Jo=C3=A3o T=C3=A1vora >> >> >> >> From: Jim Porter >> >>=20 >> >> I think it would be super-helpful for there to be a way in the=20 >> >> Customize interface to indicate that you want to add A, B, C to a=20 >> >> defcustom list, and/or remove X, Y, Z. >> > >> > We already have that, AFAIU what you mean: see, for example >> > >> > M-x customize-variable RET image-load-path RET >>=20 >> My issue here is that while you can modify the list, when saved you will >> store the entire modified list, and no the modifications you made on the >> base variable. > > The way to do this is to have a basic value as a defvar, and store the > corrections to that in a defcustom. But in that case you need to load the library to get the default value, in which case you might as well store the default value in the defcustom. Also, I don't think this helps people who use the Customize interface?