From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Danny Freeman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59929: [PATCH]: Eglot, request progress notification on server init Date: Sat, 25 Mar 2023 15:10:20 -0400 Message-ID: <87fs9s7iiq.fsf@dfreeman.email> References: <87y1rgtk78.fsf@dfreeman.email> <87k030tf4t.fsf@dfreeman.email> Reply-To: Danny Freeman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7684"; mail-complaints-to="usenet@ciao.gmane.io" To: 59929@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 25 20:13:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pg9KD-0001mX-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Mar 2023 20:13:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg9K3-0003cx-Vd; Sat, 25 Mar 2023 15:13:03 -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 1pg9K2-0003cp-BJ for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pg9K2-0004iP-1O for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pg9K1-000230-T1 for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Danny Freeman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Mar 2023 19:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59929-submit@debbugs.gnu.org id=B59929.16797715277794 (code B ref 59929); Sat, 25 Mar 2023 19:13:01 +0000 Original-Received: (at 59929) by debbugs.gnu.org; 25 Mar 2023 19:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:43509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg9J9-00021e-7E for submit@debbugs.gnu.org; Sat, 25 Mar 2023 15:12:07 -0400 Original-Received: from out-16.mta1.migadu.com ([95.215.58.16]:34404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg9J6-00021S-8o for 59929@debbugs.gnu.org; Sat, 25 Mar 2023 15:12:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfreeman.email; s=key1; t=1679771520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BS6DyXrrrkljLYwSCHr+fd7rDEVdncIr0Ra+yRbWku8=; b=ar03x8J16VtWEnCIDRXco7aoYE1hPhHaztUPNP1sRnx7LxZXRl4Dt9xG6/g0pTBQZ4HVUN 3hgBDjqeu6lQdRObZm9wwoI5wQXA+qsCmuuMdZVUq3AE4hssa1irMs6e7OIJbQk+7cUKrx XKRm7uIOqXtOhfBcUw0DpL5cJlBoje0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87k030tf4t.fsf@dfreeman.email> X-Migadu-Flow: FLOW_OUT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258618 Archived-At: Danny Freeman writes: > Another patch for consideration related to the first in this thread, > I've confirmed that clients can signal to servers that they are willing > to accept server initiated progress notifications with the client > capability in the attached patch. > > Note: there is still no server capability for this that can be ignored, > and the `eglot-report-progress` defcustom remains relevant here. Any > server initiated progress report will be ignored if > `eglot-report-progress` is `nil`. > > Server will send a `window/workDoneProgress/create` request, but nothing > needs to be done with it. That request will be followed by the already > implemented $/progress notifications. > > I need to find a server that I can test this with before this patch is > applied. I will report back in this thread once I've done that. I think this bug can be closed. It is old and I lost track of it, but some recent commits in Emacs I think addressed this - 82523dc621ace104d8f379509a436fcb03c48c26 - 47d8e4b0d3835f5e0b0b6ab76f242ef0aa25bda7 Thank you, Danny Freeman