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: Explain a bit more on how to configure language server in Eglot's manual Date: Thu, 9 Mar 2023 17:40:05 +0000 Message-ID: References: <86sfeisu49.fsf@stephe-leake.org> <87356gvkkb.fsf@gmail.com> <87r0tz8jag.fsf_-_@gmail.com> <87lek78eyq.fsf@gmail.com> <6866252E-DA6D-4399-B4CD-06C0E44B3A03@gmail.com> <871qlyfic2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000052e9bc05f67b2377" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38861"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Stephen Leake , Emacs developers To: Augusto Stoffel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 09 18:40:57 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 1paKG9-0009zg-8j for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Mar 2023 18:40:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paKFa-0006zl-NP; Thu, 09 Mar 2023 12:40:22 -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 1paKFZ-0006zV-5W for emacs-devel@gnu.org; Thu, 09 Mar 2023 12:40:21 -0500 Original-Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paKFX-0000md-I4 for emacs-devel@gnu.org; Thu, 09 Mar 2023 12:40:20 -0500 Original-Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-176d93cd0daso3099004fac.4 for ; Thu, 09 Mar 2023 09:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678383617; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OYzqHeJHCyA3706o30LzrtgZyzD2EiFk0MasdrK37aI=; b=VJCG3Z3VuFdKDlgohLVdPR5OWSl38pToi4YU2qvVfKpfEwKWQaZbFMYF75vdVa0OvJ LCqk0YnqY/c7HD8cU0PPIhho4Ub3OTPv1ELRI7qqdFzoqc4zji4A0saXo+p/COuNC/y+ ZAcOP6Bmp95TbF+XaEDIzPqM8wr0KrsXpOqOniRr35w/4saqJWkPssGIiFVZ8AmXo08j Lf90XROHxHptfqw00qWEgVJ6FIxqTLopY/OlDyPjAZQNcfLOHOmRAi+2NILCsJ5KfQyC dgx2T2cYmKSpCHzpyrO+A3LjTE6gCEfqK1kuqGGuZhKJyAyFsJa7h2B2snMCFGhXyy0E V70g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678383617; h=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=OYzqHeJHCyA3706o30LzrtgZyzD2EiFk0MasdrK37aI=; b=DDmFmX3fR9klwQ2LwxxrrUul5X4Or5CFTAbtk61z/wr9cWPuMLHcDFgE3SFQ8+NJAs tHGZnriLLJ85kEBJVnAxTdBbCWuN1SZnLVQ0ZD5zP4q1tsifdGfn5CRhKwbBW29MzmkS /XW6EfldoZKzNXUypALFb8BsD2gTh5mEMjJCadkZ7V8etKGg7A6bHk/HWjbYpcK6/60v /HBraY3JnCNP9+IAtR1ly2++fBND3DWp19oRZfnGJwk/UzqDPjSUCcXI96CqrM6kzzrX pULedE96AmQ/Q9xADcgO2+v7/ZXJMz8LamB4GMW2/p1yaicBsCBAc7qlbvqZW5ebCbEA lXrw== X-Gm-Message-State: AO0yUKUODO37m2eSp++ur9BFAxRx9RYmaBQvYFyGxNP8iAzmBZSeWaUl 0rKkUdmao8eFcJHv2qFWhTyuzFoJ+P0ybmrtdRE= X-Google-Smtp-Source: AK7set/n5RuINcSbPkwOiw74NC/4oIq0S/H5WBh6rly8yXaAVToFGacp8tys09OSvBE4iYmPIhK8NO5xAm0Bxk27CdU= X-Received: by 2002:a05:6870:7729:b0:176:3897:6928 with SMTP id dw41-20020a056870772900b0017638976928mr7671002oab.5.1678383617595; Thu, 09 Mar 2023 09:40:17 -0800 (PST) In-Reply-To: <871qlyfic2.fsf@gmail.com> Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=joaotavora@gmail.com; helo=mail-oa1-x36.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, HTML_MESSAGE=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:304222 Archived-At: --00000000000052e9bc05f67b2377 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 9, 2023, 08:18 Augusto Stoffel wrote: > On Wed, 8 Mar 2023 at 15:19, Yuan Fu wrote: > > > Orthogonal to Augusto=E2=80=99s function, but I think something like th= is > > would be nice: a function that pops up a buffer and enters recursive > > edit for arbitrary input and edit, and when you hit C-c C-c, it > > returns the buffer content, kind of like Magit=E2=80=99s commit buffer.= Plus > > buffer content validator (eg, validate JSON), and arbitrary major > > modes in the buffer, etc. > > This sounds like a generally useful thing for Emacs. There should be a > version without recursive edit which calls a callback function when > quitting. > Of course, that won't work as a drop-in replacement for the read-* family that uses the minibuffer. Jo=C3=A3o > --00000000000052e9bc05f67b2377 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Mar 9, 2023, 08:18 Augusto Stoffel <arstoffel@gmai= l.com> wrote:
On Wed,=C2=A0 = 8 Mar 2023 at 15:19, Yuan Fu wrote:

> Orthogonal to Augusto=E2=80=99s function, but I think something like t= his
> would be nice: a function that pops up a buffer and enters recursive > edit for arbitrary input and edit, and when you hit C-c C-c, it
> returns the buffer content, kind of like Magit=E2=80=99s commit buffer= . Plus
> buffer content validator (eg, validate JSON), and arbitrary major
> modes in the buffer, etc.

This sounds like a generally useful thing for Emacs.=C2=A0 There should be = a
version without recursive edit which calls a callback function when
quitting.

Of course, that won't work as a drop-in replacement for the r= ead-* family that uses the minibuffer.

Jo=C3=A3o
=
--00000000000052e9bc05f67b2377--