From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: Subject: Explain a bit more on how to configure language server in Eglot's manual Date: Tue, 7 Mar 2023 09:18:36 +0100 Message-ID: References: <93634D82-DA70-41DD-85E3-C9F1EEE07AE3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32528"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 07 09:20:03 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 1pZSYF-0008Ke-9S for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Mar 2023 09:20:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZSXT-0004bo-VO; Tue, 07 Mar 2023 03:19:16 -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 1pZSXK-0004bM-Oc for emacs-devel@gnu.org; Tue, 07 Mar 2023 03:19:06 -0500 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZSXJ-00082G-4B for emacs-devel@gnu.org; Tue, 07 Mar 2023 03:19:06 -0500 Original-Received: by mail-ed1-x52d.google.com with SMTP id cy23so48860506edb.12 for ; Tue, 07 Mar 2023 00:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678177143; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7+GyyBkuBLQ6Hx4MzhN7sRs52k3NNKFSRIQP+DamcHI=; b=Y1f/vahAectxmAUc7HVgFvHGV+H4JViaGo8QOCdkLktVpkUhCfA3vNoNkM49AFDuqe U5SwUsBRnIJlxpDTDaAgKX4D3PBpyLAz8HtF+2+crbi/M9IR58KCQDDbmI8RT/sIHwBe vvIuiR/Eb8SK/O1gNc3KGMG/0nLAYzAYYtd0/HTuuWBc1YZGc8A+8Mnii2UDTXn1ZOUA ZTffmgWKmriairMN1zqab4ql6oEUf/i7ayo36Pi+Whvv2fceJGhz3tk5HHzueuXrAYG0 crfUvDCUbXwVTh0+sGd7uC1ogf6oqUkpggoP8OYUxK53DB5KQZncKtierrapXs4Zeff0 ysOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678177143; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7+GyyBkuBLQ6Hx4MzhN7sRs52k3NNKFSRIQP+DamcHI=; b=k0reuthNR/LVxPpEG7K7Y1NiCIo9BweNQ3/NKleyQeoUpqXaUMjvdStuYKMPJ87jWV pHuggU2AiKELkgYOwxpkpMiwjfZ8EO9JMWthFQwhaUPzyQL+WUEihN5JquZLe3oz9y6m Jj7CS++cI9rRnmfDkk3ZAAyyAWiWrW1uRxolQVi4sVVQU/iHtnRCVjShhrvDXu56Bi1a x3Wg/12Uw2mdN1n9ZdGX40Lb71ybza3dFLpF3T4BGHEcQBKiqlDkLm0TVbCeOP+faANg 5K29OXqNCuOlGBY3rR0bW5yElZPoGOLf4xVGlFUr1h/2KlqSreBXwtSDsUNS4yjtrqa9 WVXg== X-Gm-Message-State: AO0yUKUaVHbrIR6e2GpwQ7mTB5+mqzG5hCOEiuf+nGtUlayrqeT2M3q1 FHYytSi/1aUflQSOnRb/0naWdDYRzdDHswKyKSA= X-Google-Smtp-Source: AK7set8a1I9YknVZIt65Jyn5n/RTuy8P2nk2MxudYjIvHYWoUiPOzqnokdinKarhi1B41xGWD7Ipo1C/tqr5ak+T7wY= X-Received: by 2002:a17:906:5857:b0:8dd:76b6:65b3 with SMTP id h23-20020a170906585700b008dd76b665b3mr6797598ejs.4.1678177142923; Tue, 07 Mar 2023 00:19:02 -0800 (PST) In-Reply-To: <93634D82-DA70-41DD-85E3-C9F1EEE07AE3@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52d.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:304072 Archived-At: I've been asked a couple of times how to convert the .dir-locals.el example in the manual to a (setq ...) to be loaded from ~/.emacs.d/init.el So I guess it would be good to have the same example in both versions in the manual. Thanks, /PA On Tue, 7 Mar 2023 at 08:19, Yuan Fu wrote: > > > > > On Mar 6, 2023, at 12:58 AM, Pedro Andres Aranda Gutierrez wrote: > > > > That would be really helpful. The most confusing point for some > > 'non-experts' is to configure things in ".emacs.d/init.el" (Hyphens > > because it is not the actual file but the notion of it) vs. I > > configure in ".dir-locals.el" > > > > As a result of "some years" using Emacs, I tend to have a config which > > is 'valid in most situations' in init.el and only 'special configs for > > special purposes' and that's what I show people how to do. > > Alas, I=E2=80=99m familiar with dir-local variables, so I can=E2=80=99t c= an tell which specific part is confusing and how to improve it. > > Yuan --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet