From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Fri, 11 Nov 2022 19:47:52 -0800 Message-ID: References: <86fservpri.fsf@gnu.org> <87cz9v97lo.fsf@posteo.net> <86r0yb234t.fsf@gnu.org> <87o7te7lc7.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29425"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Philip Kaludercic , Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 12 04:48:38 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 1othVW-0007ZJ-Bg for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Nov 2022 04:48:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1othUy-00054F-Ky; Fri, 11 Nov 2022 22:48:04 -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 1othUw-00053r-Ee for emacs-devel@gnu.org; Fri, 11 Nov 2022 22:48:02 -0500 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1othUu-00016j-SK; Fri, 11 Nov 2022 22:48:02 -0500 Original-Received: by mail-pl1-x632.google.com with SMTP id p21so5708816plr.7; Fri, 11 Nov 2022 19:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Kl/m0pOhCbcKcuj20zkg2yK4uFzTcAoUoxaCRoRS+3E=; b=SElK42XKtWcOeiis1Fh7Gu5YPeFGnLZYucymcX3BoDIVFYv4eF4eoZ/s3Flbv7buif IhsLFp/XNTRJOeyi83/Et/YPrnlA9prbT7AQqsnDzs2sTFSJ1IPzfpEry/nYEOylLXpM k4L7vYzMmq6oyq8dnMUQUwgTCAzKBNxEzkIKDbBCun2E7MWGeoYxhEQ349N81h63bswZ /9+tHjZqlpxHxrEeiAmuJEx7ZDqsUfkF4WvRFOkx2DVFySbNrBA6FXz+4SDvCenRs4Oi Kfeck1kw1K5LVuo103qr2gPvpy4NQpRVfcgmsAjMb9D2O17SJPRi5I8z1vM83Bjem5nK SDjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kl/m0pOhCbcKcuj20zkg2yK4uFzTcAoUoxaCRoRS+3E=; b=4dBI5DvOca5J/Co7TsTSOBI1WGtaRt/N2K+cT/he12xcigR2C6L8sRT0R6nCF02w8J zcxhORRb6DI134OekWH9mnNYPyyyUmY/U1ZiU8c4SwdvWqbWRS8uTrDLvhHwKUrnDmYF g6iybPjXCgvF9tCm8H/WynKEVVvC67L1/UYRroZcZgANYSqEDsG4h1bG1aeXdBa7Oa+P cu/J1fm3R5qGo/Vvf52sxPt6+qvRPt45O08IO+MqXVB57h8mPhc9w8/bQYdMK9xhV9KC 7SDJDn56Y0b6lg6eoyyRjzAaa8ey9hA29H37seeFiNl0f8xujGCNJoerCyGIQVlMsSuv ZD4w== X-Gm-Message-State: ANoB5pmnpdo7XzKF/vkrb+mEGalj3MnhfRa31dNuC8n7xgbnZ74ZQ3xR x9eiYRrf4ZdTWRWtWjJyH04= X-Google-Smtp-Source: AA0mqf7i5T9CNqbYkXIkbMz9FmbrGuVC/sN4H/Lv1PUWyp+a41zgWhZ+fULvzmXy0cDPlFG9s+lLDg== X-Received: by 2002:a17:902:9695:b0:177:faf5:58c5 with SMTP id n21-20020a170902969500b00177faf558c5mr5337983plp.166.1668224878728; Fri, 11 Nov 2022 19:47:58 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id ot17-20020a17090b3b5100b0020b21019086sm9874278pjb.3.2022.11.11.19.47.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 19:47:57 -0800 (PST) Content-Language: en-US In-Reply-To: <87o7te7lc7.fsf@posteo.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x632.google.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, 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:299602 Archived-At: On 11/10/2022 9:47 AM, Philip Kaludercic wrote: > Honestly, I think that there should be a command like `add-to-option' > that can handle these things automatically and defer loading if > possible. There are plenty of cases where you would either do something > like this, or have a ...-user-list that is appended together with some > build-in list, and even though the actual problem is shared among all > user options. Assuming I understand what you mean, I agree that this would be very useful. 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. For another example where this would be helpful, see bug#54977. (For people who build their Emacs configs by writing Elisp, this probably isn't too big a deal, since they probably know enough to do the right thing, but it couldn't hurt to make this easier in Elisp too. Although use-package already makes this about as easy as can be, since you can do all this in a ':config' block, and it Just Works.)