From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Mon, 03 Oct 2022 17:35:51 +0100 Message-ID: <871qroooew.fsf@gmail.com> References: <83pmfdduix.fsf@gnu.org> <86sfk7hse3.fsf@gmail.com> <8735c6tq6t.fsf@posteo.net> <87r0zq2uea.fsf@posteo.net> <867d1hub5n.fsf@gmail.com> <87r0zpb1z6.fsf@posteo.net> <875yh1nl15.fsf@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="28409"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Philip Kaludercic , Tim Cross , emacs-devel@gnu.org, Richard Stallman To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 18:46:17 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 1ofOa8-00079J-KQ for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 18:46:16 +0200 Original-Received: from localhost ([::1]:33742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofOa7-0006NW-A0 for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 12:46:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofOP2-00087s-Qx for emacs-devel@gnu.org; Mon, 03 Oct 2022 12:34:48 -0400 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofOP0-0001sZ-Ro; Mon, 03 Oct 2022 12:34:48 -0400 Original-Received: by mail-wr1-x429.google.com with SMTP id j16so5626496wrh.5; Mon, 03 Oct 2022 09:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=yS4iTuSoBNPYsqaOn9VEYxN6pYhUjKS6B1hIKR+kB3M=; b=JUH/3DBv64ewXOoPyfuJbUYoH42ZLG1Qs51YQPqzowR0zujNOjgK6OeFuXMe+AvEaj 296629v9Kavlv8UvAtHY4fEsHRUdVSghdQRp5pYG8T8pt8Cr5ejYR5ADE35EZXMPpPJN gsLr+grn88b+KYRvzzEc8mY1aj15Q7FCHZ6rBFO1Nk05ZT7r9tHSeyyTEYE9uc1tb07I 1sDfs4AyvEEJMK+8VUjVpJ0R9Hw+UX7SkX0X9kSJfjrrS27Qs90+zaTBzL40IUQGBVzn mDsUo0xZaa0188x6X/0dyDz7+oPaLfbSqSlOBtCeD1oRRVTkhM7vpTzNasaNQ/yAz/G0 pUCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=yS4iTuSoBNPYsqaOn9VEYxN6pYhUjKS6B1hIKR+kB3M=; b=pvtZTdPcOjy+0t8XzvBF1SKVOlW7bY7B6XoPXTzbUO+SbhObUeClhFd5d8B2jwbmX1 yVRMEvSxsY2SDMAtoBkUyohPdwcSKQxlkKkfqm/a+gNMXWXbdHjoAVRhtm0DG9QFmvjl SLLtryAE6p29sqcgZKdncM0KgZ4OlqXGS87yZthJA77yBZAJSAxmqrMPAayw3nbzdFhp flOscBIC6hzwLAbcLm4Rld3xwVlShOa6AwYFqws0sOG0nKcRqG4imv5RA4Rxl6ZfwIC0 k1pg2ZEedJ/alvjR3VrwPSBUSXUM659aa0YfpcAYTGNC5XHICAVjtgvgBvC5fVsf76fB +smg== X-Gm-Message-State: ACrzQf0tun9HBjXulSSAy+wjIE27G/LB/ZnE5B9rtJ/9+pZCvhHuufjy Glpbav3B4a0h3rCuknt5qcrdjHvqEK0= X-Google-Smtp-Source: AMsMyM6XwvTSi4HTQK9iKNXIw6cRdmyD+83jIprZXF9Xt9lpz9VDxqaV72gPYj8tGbVE4S3IZ1qDfw== X-Received: by 2002:a5d:5a8c:0:b0:22c:bc97:6fe2 with SMTP id bp12-20020a5d5a8c000000b0022cbc976fe2mr13317662wrb.640.1664814882773; Mon, 03 Oct 2022 09:34:42 -0700 (PDT) Original-Received: from krug (87-196-72-203.net.novis.pt. [87.196.72.203]) by smtp.gmail.com with ESMTPSA id h11-20020adfe98b000000b0022c906ffedasm10180594wrm.70.2022.10.03.09.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 09:34:42 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 03 Oct 2022 09:18:39 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x429.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" Xref: news.gmane.io gmane.emacs.devel:296765 Archived-At: Stefan Monnier writes: >>> - The rebinding of `display-local-help'. I don't get why this is done. >> > Oh... help-at-pt... yes that one needs love (and maybe integration with > eldoc-mode). Yes, precisely, integration. Maybe its just a question of adding a default value of eldoc-documentation-functions that has help-at-pt's simplistic text-property-based logic. Then rebinding C-h . to some eldoc entry point that targets the echo area only. The latter can be done with eldoc-display-functions, but if full compatibility isn't absolutely essential, I'd say 'C-h .' is a pretty good candidate to be bound to M-x eldoc. >> I think you underestimate users' ability (and maybe also your own?) to >> remember a single 5 letter name. Eglot has few commands, few >> customization variables, no bindings. It's as minimalist as I and those >> who helped could make it. For a beginner, M-x eglot is all there is to >> it. > > I could also imagine auto-enabling Eglot when the circumstances are > right (e.g. when the major modes's own support code is not very well > developed, and when we can see that a good LSP server is available) > making even `M-x eglot` unnecessary. I'm on the fence about that. If hypothetically we did that, the problem would be that launching a future such Emacs to edit source code of a given mode in two different machine -- one has the server, the other hasn't -- has too much discrepant behavior. There are already other places where behavior is dependent on the availability of an external program, but I think it would be less pronouced than Eglot vs no-Eglot. Jo=C3=A3o