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:03:51 +0000 Message-ID: <87wn80zjiw.fsf@posteo.net> References: <86fservpri.fsf@gnu.org> <87cz9v97lo.fsf@posteo.net> <86r0yb234t.fsf@gnu.org> <87o7te7lc7.fsf@posteo.net> <83sfioob7s.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="23753"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jim Porter , 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:04:49 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 1otlVR-0005zZ-Bi for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Nov 2022 09:04:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otlUh-0002lm-As; Sat, 12 Nov 2022 03:04:03 -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 1otlUc-0002km-2S for emacs-devel@gnu.org; Sat, 12 Nov 2022 03:03:58 -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 1otlUa-0001iI-AE for emacs-devel@gnu.org; Sat, 12 Nov 2022 03:03:57 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4C71240027 for ; Sat, 12 Nov 2022 09:03:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668240233; bh=A1xvz2N+iHNE/2DdZvca3j7j05OtrtsxfASGNH4zvVQ=; h=From:To:Cc:Subject:Date:From; b=ZgUfgAGUAokeEQsU64sPBfYuWKVLtI77b1B087uJ1I+q4t70+Vg2k4mZWwm9eUJKV RWTXV0lUFaFzBhacAMexe/7ZqU6TmigYc6i2351cku1f47V6kTYI/fuiX546Q+uWni eQ2RcKDoq0c7O0Hh8cSPtjjTtLGiDAV4s4RcjXL6NgdbmrDQzGI7MBqaB5DWPJKJ/Z 9J7Zm8vHHb3HYAkNLtlnAgW1Lk6AnedD04oI00yICG+abJFYJDYbcEP2i7ik/mbXck GIBI7uEDlZ8pCKt9hHH8Oaapq9ES9V3ID2rdSsHmhci2G6aoyd93dNHy31zr9l94m5 u7gYRkjz3D0Gg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N8Skt63QHz6tqn; Sat, 12 Nov 2022 09:03:50 +0100 (CET) In-Reply-To: <83sfioob7s.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Nov 2022 09:58:47 +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:299626 Archived-At: Eli Zaretskii writes: >> 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 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. E.g. considering `eglot-server-programs', just because I want to an additional server entry, I don't want to fix the list of servers in a `custom-set-variables' block and ignore any future updates that have nothing to do with the additional entry.