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: Thu, 10 Nov 2022 18:52:47 +0200 Message-ID: <83leoirbts.fsf@gnu.org> References: <86fservpri.fsf@gnu.org> <83v8nnqchr.fsf@gnu.org> <83sfiqrg5g.fsf@gnu.org> <874jv6akg7.fsf@gmail.com> 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="29831"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arash@gnu.org, theophilusx@gmail.com, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 10 17:53:15 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 1otAnh-0007al-Rg for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Nov 2022 17:53:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otAnM-000646-Ku; Thu, 10 Nov 2022 11:52:52 -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 1otAnI-00063f-8j for emacs-devel@gnu.org; Thu, 10 Nov 2022 11:52:48 -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 1otAnG-00034L-Pm; Thu, 10 Nov 2022 11:52:46 -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=xUKza8s3omO0AQV6M5H5FWmOvUWjpXvLHUUklZ+3v7w=; b=aJG7rieZXZdcOjmlmNBO J2pMeDITJxVGo9T+yDDaeDXYAFsznZn3TVZa1MNiVj6Fc3ewP+MCJVV8PSo5wz6TEjIWpSO3/y1S9 f1scumCMYx0Figdv6LO0Il1pEjeRW7KBLIImVT43Fv+xc+wZTO/1aY0Ys0rfxH4gVTBz9d9g86Lwc a9PuEfuka00Ly17q483RxXs9sQm5rft5MN6+fuP10J6MeSJ2AkQrLnep5cunbmqAhoKU47FPMFgCT socdwFywqoJHBRfIrxtrYAN1uXXwG7FDuQ1ZXIvDOfL15x1Sh7i9SmOW3CCB6SFe1RjnmJKuROfCx jo8YhAm9r685Qg==; 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 1otAnF-0008Vk-Ub; Thu, 10 Nov 2022 11:52:46 -0500 In-Reply-To: <874jv6akg7.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Thu, 10 Nov 2022 15:38:32 +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:299497 Archived-At: > From: João Távora > Cc: arash@gnu.org, theophilusx@gmail.com, emacs-devel@gnu.org > Date: Thu, 10 Nov 2022 15:38:32 +0000 > > >> I agree, but a command is a not a solution IMO: this belongs in the > >> user's configuration file. > > > > ??? The user init file can call the command, cannot it? > > Yeah, but then why make it a command, i.e. an interactive function? For the same reason a defcustom doesn't force the user to make the changes permanent. > If > whatever you're proposing is going to be called interactively, it won't > persist through sessions. It could, but I don't see why it must. There's nothing magic in saving a customization. And the same command could be put in the user's init file, in which case no need for it to write anything.