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: Re: Explain a bit more on how to configure language server in Eglot's manual Date: Sun, 12 Mar 2023 13:09:24 +0100 Message-ID: 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="38254"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 12 13:10:40 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 1pbKXA-0009j3-DV for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Mar 2023 13:10:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbKWR-0001ec-Dm; Sun, 12 Mar 2023 08:09:55 -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 1pbKWQ-0001eS-M3 for emacs-devel@gnu.org; Sun, 12 Mar 2023 08:09:54 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbKWP-0001GQ-5Y for emacs-devel@gnu.org; Sun, 12 Mar 2023 08:09:54 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id er25so10030357edb.5 for ; Sun, 12 Mar 2023 05:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678622991; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KxDrfnpN7AVi45WG+QydE2TUIabvUMEhnRQORUfHJeo=; b=Odq57abJpYRYSwuRImPJLNU+76Ah24/dXHWqBfQuS3zMw3ngmFW8jNUSImGDpWwJTW 6bOkHPgpKBe4kyacM5S2ss/5+d5WM4x5OFqKptThoFWkSszKgJ+ALvkYeII00J15pWi7 VV4bgrzl2WQPTCMuCdPJEVLT+mqOayuGEAUAt9hTqBwzXrOTKs2//bF4GQmcffC5osyb rTuJIlaBCeMDsZAeuvxPaJS0x77L8sDaQmcXodvrDMMbomYV4Z++74y7KhB7YFKdtEJf 2l4IGEypL42+jAIqd/B485vJABbEkPTYH3XfKb7QgYMk4rACDNaa19p4vhLSZFiL+H+C /oiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678622991; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KxDrfnpN7AVi45WG+QydE2TUIabvUMEhnRQORUfHJeo=; b=hvB9qPiNb8zUapxc9ODUYpBLilIBLp/3U884TGU0AN0jF5q0dn5cQ88TWA2MUOJVAg vc13UWzWm64wn07cD952ETkcaA6i5d3J3R73GRE/BawHQu5FEIwqY0RNousBYq9189rJ ci9rWi4V+Pb/yRdfH3ATkPqFMLbxbTWsHNGHKh8MWFZ95fsZls7uOTNiYsfa0YvmagEv L9OF/6lzTLs0ZQI5ThwMd9OJJM1+MfiZXmUaxfF+FkVh83Tt00pzurmn3MoFBbRV3/z0 o/UTbIJ8O48DakdBj6XUkVu0Gh7JPlXC9oIoGmyWY697e88PwPnxOvdgRN6UbbPVlTGL 9h7g== X-Gm-Message-State: AO0yUKUEXabKu55/ZDhw4Qe/vCCtVL0sgOWuR9kkC2U2XgR17OuEVc7i W1WWVXU26HJjrtlRzP6fSjW1oUsgjpZIayfiFtQ= X-Google-Smtp-Source: AK7set/2omHDymDtu1pfKHvvDWV9rnJnMKgCFZMHChxmfXPt0Y/ufM9QLNo+IsD2zGHHNvsS/6hOBSsFz5ld4dx9I3k= X-Received: by 2002:a17:906:d041:b0:8bf:e82a:2988 with SMTP id bo1-20020a170906d04100b008bfe82a2988mr16192947ejb.4.1678622990642; Sun, 12 Mar 2023 05:09:50 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=paaguti@gmail.com; helo=mail-ed1-x536.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:304364 Archived-At: Hi Joao, I've been looking at the write-eglot-manual-for-advanced-server-config branch in savannah and it looks great. My .2 cents to it is that would be great if you included something in the line of ----- cut here ------- You can create a basic eglot configuration to use (by default) in most of your projects in your Emacs initialisation like below: (setq-default eglot-workspace-configuration '(:pylsp (:configurationSources ["pycodestyle"] :plugins (:mccabe (:threshold 30))) :gopls (:usePlaceholders t))) and then use .dir-locals.el for a project or directory that needs specific settings. ----- cut here ------- That would cover sone newbie questions. In addition to this, it would also be nice to document a 'canonical' way to disable/customise the mouse code actions. If I use something, it's just the import organiser in Python... Disabling it, moving it to another binding would be great. TIA, /PA -- 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