From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Thu, 10 Nov 2022 20:22:00 +0200 Message-ID: <6a4d4605-88dd-0950-e2a1-e4597bc979f7@yandex.ru> References: <86fservpri.fsf@gnu.org> <83v8nnqchr.fsf@gnu.org> <83sfiqrg5g.fsf@gnu.org> <83mt8yrbxs.fsf@gnu.org> 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="3994"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: joaotavora@gmail.com, arash@gnu.org, theophilusx@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 10 19:23:02 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 1otCCb-0000od-M6 for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Nov 2022 19:23:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otCCK-0008Ax-Gf; Thu, 10 Nov 2022 13:22:44 -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 1otCCI-0008AY-7z for emacs-devel@gnu.org; Thu, 10 Nov 2022 13:22:42 -0500 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otCC8-0004rK-HX; Thu, 10 Nov 2022 13:22:41 -0500 Original-Received: by mail-wr1-x42f.google.com with SMTP id bk15so3451098wrb.13; Thu, 10 Nov 2022 10:22:05 -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:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=jDylnNIDQdtzbmzyMpkwHqinXREBCsUCMnsyg4Ug8/I=; b=c5ikLLEU7nLPh38hNOwYzjtmt0iwjiN73/Z9xlwdicXi58bjpBlojiGRWGJCQm4L8f /uLuCSy/zTh9bFL8hja0TaMchKAQcAOInqkCUBOBJFMHz/EEqB18l2uYw81iDclBDBuE /pmF00p9/ldmKifXWvIwn3mQEhpjsjW+lkNQbCMCOYNov7nXTsPCbivNGXsOllQvjrME i8Wfo6S1Naf9NEztWI2DoUxxUpVXmfbhG1F4jY0yoD8EJAHeQtuVce6ESXw/cq2/Yy95 Ly467GnuKnzJpadvErD8GO5rwoCG07klIUp5mMIpBzgYPHOAXUbhtMw8VzTavCjlsqLO XflQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jDylnNIDQdtzbmzyMpkwHqinXREBCsUCMnsyg4Ug8/I=; b=EZ+V5bZkSliRlo+1eGVLfR9mJ1TnMTdQ+NIzZrpJp2UErPx2SDDUuZ8JaTM1AtvDLD hGwiYabmPEXKBSKS059/ii+ev9psrsTA+tkXAVKFFZVBXGlttf6yXXR/zJlcX0F3RNFf 1rOkl3nZeXYkmn7dbokDCh/vecpXXUaTg2ovNNejmviVI8KuAoDcqemwami9SstNLXc2 9DXMTh/Wt2nW7EeXr/4BCOg//YyEz4S575t7Y3am3Y7IanVN+EndYzHjog7JLDW4hK3h Yz3ZGRyP1BPL06oTQGmTvriKP+RxzwRuEeKUF7Qjlzdll6ry2cW8jL/vGT5PkHdq72cb 0IUw== X-Gm-Message-State: ACrzQf2Awkn28lhe6Ek0P+9xHX7HqXQaAiUf0ZK9roIRWGWyhxCAxBHc cmLQNsvqCRfdz4TRhZWT5ZUOLodsYBA= X-Google-Smtp-Source: AMsMyM42jOhQwsivZn4i6Bjz/MgwADzoOAnTBHzA6nx4TLQQJ/cGzQdbIXxfJkeQyu88Hcoo5ItwmQ== X-Received: by 2002:adf:ed82:0:b0:236:62cc:77ce with SMTP id c2-20020adfed82000000b0023662cc77cemr44236926wro.271.1668104524618; Thu, 10 Nov 2022 10:22:04 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id q11-20020a05600000cb00b00236e9755c02sm16461072wrx.111.2022.11.10.10.22.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 10:22:04 -0800 (PST) Content-Language: en-US In-Reply-To: <83mt8yrbxs.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:299513 Archived-At: On 10.11.2022 18:50, Eli Zaretskii wrote: >> Date: Thu, 10 Nov 2022 17:35:55 +0200 >> Cc:arash@gnu.org,theophilusx@gmail.com,emacs-devel@gnu.org >> From: Dmitry Gutov >> >> If you just have a command (to be used interactively, right?), it will >> only affect the value in the current session. > The command could do whatever we want it to do, including writing to > the user's init file, if the user wants that. And if the command is > invoked from the init file, it will affect the current session, in > every session. The user can normally choose where the customizations are stored (inside the init file, or in some file alongside it). If you're suggesting the proposed command reimplements that logic (and honors the value of custom-file? ignores it?), that seems like a poor choice in my POV. No opinion on the rest of this discussion.