From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Just an uninformed question Date: Sat, 21 Oct 2023 04:59:23 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39734"; mail-complaints-to="usenet@ciao.gmane.io" To: Pedro Andres Aranda Gutierrez , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 21 14:00:24 2023 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 1quAeW-000ADe-Bm for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Oct 2023 14:00:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quAde-0000Ez-MG; Sat, 21 Oct 2023 07:59:30 -0400 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 1quAdb-0000Er-MP for emacs-devel@gnu.org; Sat, 21 Oct 2023 07:59:27 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quAda-0007ao-3c for emacs-devel@gnu.org; Sat, 21 Oct 2023 07:59:27 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c50fbc218bso24140251fa.3 for ; Sat, 21 Oct 2023 04:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697889564; x=1698494364; darn=gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=ue+NphgZHk9lVHJq2LUxgpSPcoS30z+zM4FDxSDKvfs=; b=asrZ3xEG87HBGYnIqxfMo5ozOLJmRpUEgJnZgNMtWIPd77MxUTgTFW/ogJ3LpkCDs6 OPauVW2eE8+TNWoUvkEFApbEexJX9TRugTvX665YhEnrMo48EvzXbwAxe97VkME0gcc8 BpQyyVmfzgLYeFnQ+Sv+oVcXiXMoNnvLQB4JUnPe0yu0Rb8PHrQOS702uLxsAERzW7o6 t7qcSHHltq5SZIyyc/7tHET+OzWsan+3PURdc3Yj+y9v7D7lffcukmF20hMN98AIR4bb wJyIom37Dm9ETxSB11RaJ7NN1i4vRJTVab6B2RqVPMkZI7Jp7/OQAaQL3aEElfl8/20n CnMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697889564; x=1698494364; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ue+NphgZHk9lVHJq2LUxgpSPcoS30z+zM4FDxSDKvfs=; b=Li4wkQpJD2xcI7tS80PfLOT69VIc1opmcC0pft8ke9NkC2vpgxeiRj58CUxTd3RsgF pZ0F5oYkymiA+10K9BlDd2ppVKm3lZmQoqbEyPmswr+Zw/9fjv69+50ebVD6d98cL/hl vzKaG/w1YdEYaCLRUX9ywdCwApQCc2ilZ066IwwleV0zFWv+9No27TB62UA93g5TyCWt PqfVO4c3SHF7smW6FbIPoXctKM5yZXBMvitQJrHkgox+IhyzGhUn+7KzH4Dp0hSv3u7f tOATXYErtlAKDvDBX9QkoncCJuJYnFu306blCYLlE+AGerbXXA+JcPAzI3NVyc9CEIB/ OYEw== X-Gm-Message-State: AOJu0YwSTpBUzH7ON+0dvPDibNamviWP7MLPD9xxwQ9H8DoEsDxKiCoK oyDURSEiLYj24OEr7Q9HGIdnGgCtzr+65L18YgY= X-Google-Smtp-Source: AGHT+IGkKkdfcQHDfibIImrerl4Xm7AAwQdlxSRwJ+QBZkpRwOfeulGsMHPPqZhl4/KlXmHhbV5fyTtLnLH+PiRS0bo= X-Received: by 2002:a05:651c:221b:b0:2b6:fa3f:9230 with SMTP id y27-20020a05651c221b00b002b6fa3f9230mr3660036ljq.46.1697889564165; Sat, 21 Oct 2023 04:59:24 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 21 Oct 2023 04:59:23 -0700 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x22f.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:311648 Archived-At: Pedro Andres Aranda Gutierrez writes: > I've been using eglot for some time now and that has implied playing around > with different LSPs and their configurations. Before going for the "complex > things", like project specific settings, I'm working on a one-fits-all my > needs config and, yes, I've been writing this in elisp, which was somehow > convoluted (and maybe not optimal for newbies). > > How difficult/acceptable would it be to have a e.g. > `(locate-user-emacs-file "eglot.json")` file holding the basic one-fits-all > configuration in JSON? This files will always be overwritten with a > .dir-locals.el file for specific projects, of course. Sorry, I don't understand what are you proposing. Do you want to customize Emacs/eglot in JSON instead of in Emacs Lisp? Could you please clarify?