From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Sat, 12 Nov 2022 10:25:43 +0200 Message-ID: <83leogo9yw.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5065"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, arash@gnu.org, emacs-devel@gnu.org, joaotavora@gmail.com To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 12 09:26:24 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 1otlqI-00014m-Uw for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Nov 2022 09:26:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otlpd-0001Jt-Iq; Sat, 12 Nov 2022 03:25:41 -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 1otlpb-0001JU-Pz for emacs-devel@gnu.org; Sat, 12 Nov 2022 03:25:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otlpb-0007J8-Es; Sat, 12 Nov 2022 03:25:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wQqBE3BmEpBU+ziaPmoMZKfz8lN6ak6tujLCR75iBxg=; b=cX4oOCa8A91CRUNHN4XA BLk0rlesLthLt1SyCTnfVmEkvqWw8cn54F+6HZjq7oLMuCa3pU1fmHsFmho41aQyNa8qoO/bzfg9e KdMqSODFbFuZi6/czLtSbbIFib56gUnDALy4TlET/aFLQSpUH1tdEGXEDpijExuIvYNw4Sag5QNv0 m0kuUcOpkgw6YFqm+3aXuPGeUbaaGEmA0AnQOFtoFamu9Fb6aRPNAZdquPCHDDedK0F13thoYLW8g tZVOzkRmgmILWBTJRVQMIVBjWCDVY29MvSk9r7nxnTJwZeG5vVLXZxPDdVVkJqklT0kk5PqzIHgcH s28XwBjX4LEhdA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otlpa-0002AH-AI; Sat, 12 Nov 2022 03:25:38 -0500 In-Reply-To: <87wn80zjiw.fsf@posteo.net> (message from Philip Kaludercic on Sat, 12 Nov 2022 08:03:51 +0000) 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:299630 Archived-At: > 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 > > Eli Zaretskii writes: > > >> Date: Fri, 11 Nov 2022 19:47:52 -0800 > >> Cc: emacs-devel , João Távora > >> > >> From: Jim Porter > >> > >> I think it would be super-helpful for there to be a way in the > >> Customize interface to indicate that you want to add A, B, C to a > >> 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. The way to do this is to have a basic value as a defvar, and store the corrections to that in a defcustom.