From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: Explain a bit more on how to configure language server in Eglot's manual Date: Thu, 09 Mar 2023 09:18:53 +0100 Message-ID: <871qlyfic2.fsf@gmail.com> 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> 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="21373"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stephen Leake , Emacs developers To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 09 09:19:50 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 1paBV8-0005N0-45 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Mar 2023 09:19:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paBUM-0003CI-AB; Thu, 09 Mar 2023 03:19:02 -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 1paBUK-0003Bo-BR for emacs-devel@gnu.org; Thu, 09 Mar 2023 03:19:00 -0500 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paBUI-0000FR-Rs for emacs-devel@gnu.org; Thu, 09 Mar 2023 03:19:00 -0500 Original-Received: by mail-ed1-x52c.google.com with SMTP id a25so3907144edb.0 for ; Thu, 09 Mar 2023 00:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678349936; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TCp0g8iha4se3RL+3NfmoIBNxSe1TMt1apR9cUtHkvg=; b=qU/vlOSZApFcJYgzYQ1k++09TweNhgHG7F6jbpXu6KPmoMSzcoDxru3f6qbTx+L1qh o+2DAbJfocVCX8R9mqDAWDoIcY38A7Mme9l3DdqveXHiiQ5fs17Uu9qRT8YpKhbzukHS 3q+8X6HXtm8Q2sqDgQNJGmsa76mFMYdFygNDpHITjzJxloOWdi/8UWmDMesYVlXYiAOY Z59D+xD6yHcaQ8y+KAuOFDjWaoh6aRWZu5/wSvZWPx3EnZxH7PcY8Ujl7vZV5JlgMOtF v0BS28eIR7Q7I5S4I5GxvGC98bghhFQP2XLRV06rJpHsIRFWJNm87fsUTmkJfGAcLsh0 jzAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678349936; 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:message-id:reply-to; bh=TCp0g8iha4se3RL+3NfmoIBNxSe1TMt1apR9cUtHkvg=; b=VEk3nCg6kOzoYGmKtVzO754Ga1LRrqAZlYO/e3d/4M3KGh3X6pJaWTxLfa3aCckCgD Hke2o0UNjBdyJWR4u3454h4DQWcfkch4gA9ORXiPn5FFXan0HzEbuSQy+0m7q1m1XMh8 Y6McLJahLjuXDXT68DuQG/SLE9xboeozjcOe78l6CNWDBTey8t7/o9aV05HSjLjSerx5 4dOjDXqQLl2sXKvCGQ9/MF1qcxFIBSY7C/z3fnEbYUoILSWRXkhhfQNbKp0e4MW/ZXC6 vZQwvqgCHAWm1jXoIMka0lnuNZYfzWDWauKziYeKTN2GZSSYZ1R5dc5mPiE5Qvca8Bt4 TKeQ== X-Gm-Message-State: AO0yUKVVvWKojj0XLxZV8ChrcjTkChDVX/B2Fn79PJb+9B/8wTi0IlYj cwza71o/DJXSRfKzpD52fyg8ATr2xbHMDQ== X-Google-Smtp-Source: AK7set+gpBBQuQ753Ig5Mgng/xC1YZxpDOKmHxquIaS0wpVs36KBh6GvzkGLsG/EkRl+tIe7b11j3Q== X-Received: by 2002:a17:907:6089:b0:8b1:3554:25 with SMTP id ht9-20020a170907608900b008b135540025mr25162955ejc.61.1678349936653; Thu, 09 Mar 2023 00:18:56 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8b3a]) by smtp.gmail.com with ESMTPSA id k26-20020a508ada000000b004af6b93f00asm9164121edk.23.2023.03.09.00.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:18:56 -0800 (PST) In-Reply-To: <6866252E-DA6D-4399-B4CD-06C0E44B3A03@gmail.com> (Yuan Fu's message of "Wed, 8 Mar 2023 15:19:02 -0800") Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52c.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:304169 Archived-At: On Wed, 8 Mar 2023 at 15:19, Yuan Fu wrote: > Orthogonal to Augusto=E2=80=99s function, but I think something like this > 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. P= lus > 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.