From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#41531: 27.0.91; Better handle asynchronous eldoc backends Date: Tue, 30 Jun 2020 12:31:10 +0100 Message-ID: <87sgecssch.fsf@gmail.com> References: <875zckuet9.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="36553"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Monnier , andreyk.mad@gmail.com, Dmitry Gutov To: 41531@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 30 18:41:51 2020 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 1jqIxV-0008k9-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jun 2020 18:18:09 +0200 Original-Received: from localhost ([::1]:33622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqEW1-0007e1-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jun 2020 07:33:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqEUc-0006QK-Rd for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 07:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqEUc-0002fn-HR for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 07:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqEUc-0006Rb-D7 for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 07:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jun 2020 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41531 X-GNU-PR-Package: emacs Original-Received: via spool by 41531-submit@debbugs.gnu.org id=B41531.159351668222730 (code B ref 41531); Tue, 30 Jun 2020 11:32:02 +0000 Original-Received: (at 41531) by debbugs.gnu.org; 30 Jun 2020 11:31:22 +0000 Original-Received: from localhost ([127.0.0.1]:50342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqETy-0005uA-0G for submit@debbugs.gnu.org; Tue, 30 Jun 2020 07:31:22 -0400 Original-Received: from mail-wm1-f67.google.com ([209.85.128.67]:37216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqETv-0005oF-Sf for 41531@debbugs.gnu.org; Tue, 30 Jun 2020 07:31:21 -0400 Original-Received: by mail-wm1-f67.google.com with SMTP id o2so19250802wmh.2 for <41531@debbugs.gnu.org>; Tue, 30 Jun 2020 04:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=LVuAsIci5xxFQPp0JLCOkrOuIMwzgb8Nsyc0ubuUT+k=; b=hk3GCQO5/2nLJ3JilndH7UkgrJjFKJ4c3OfrNcssSBv1BKwTx0NCzutMbR3kSnCOe0 C3Wqg/lKsoA16JOt0R2JgcBq5sDTy0nVcPEiFw9vvEmmDsoBIG5kcw9V12KV07X7Xoas GmehTrl3KZaG2Wr8buzHTg4bHL8hYtquJBd2a57aeE1AL6dAqoYMYj68PeFwky3Yl37q uqSi0PjVQoB+0Q8uJP8fojzv/DjZWd7c3hH+BTRdvfE7fraSWyVy+OOyxqQZS8Xx6Lti tAyMHP3ixMbMQvlcwPdvYwv6vefdM/OxnXH0MbJ9dtC9gG496Q5bFgSGR03zt0y7Z2PJ nFkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=LVuAsIci5xxFQPp0JLCOkrOuIMwzgb8Nsyc0ubuUT+k=; b=GMEH+8V/IJ2nEmZ204xZ3SBWIoiOoB184xwxeoi7DZXHX/W1el7Kt1dvx0k6LZ1kk6 pSnrS1a0qGYgxdr8ZEktRjt+SkWXKWjLu1bfbjlQ7Nu/N0YaVdPG+6hwZcls1hcjdyPS 3E2lUXA/an7VCAkhhggCKs67Ef1rHVjHE9/FpEtxFnmLZucffUfJY4XrFA1Q8xmJBSmf B7gzxiCi+72fbsVtIYBZPEHFNq4pl7+Kq2bimZSanRTA0gUIiubSa+Is7kYTSwPJHzQl GLF5LCjiHo2PR5z0WkaKYMJqqfDILus9TGg3/Ssz36kHP51s0qG6pTHtRH0eMJ9Z/lQC FJ/g== X-Gm-Message-State: AOAM531eWqaxR22WJWmTjvKkp/JoBd2Qi9rCCUK1kg8QM7uYh4TMmJX4 yCGYzwBoZ2laQAZXJ4zctcM= X-Google-Smtp-Source: ABdhPJwWdBhoy0gYLj6ujuzd2qc5rAXZT4ZNIQy3xQ+ZlWJVlLth1HQmQonS1Uf4M303FJSRHCF/JQ== X-Received: by 2002:a1c:345:: with SMTP id 66mr6053391wmd.31.1593516673946; Tue, 30 Jun 2020 04:31:13 -0700 (PDT) Original-Received: from krug ([89.180.148.126]) by smtp.gmail.com with ESMTPSA id g16sm3696913wrh.91.2020.06.30.04.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 04:31:12 -0700 (PDT) In-Reply-To: <875zckuet9.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Mon, 25 May 2020 18:04:02 +0100") X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" Xref: news.gmane.io gmane.emacs.bugs:182564 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > Hi Stefan, Dmitry, Andrii and maintainers, > > Moving the discussion that started in > https://github.com/joaotavora/eglot/pull/459 to the bug tracker, and > attaching the two patches that contain what I think is a decent > short-term solution to the eldoc/async problems. Hello again, The work that started with this discussion is now mostly complete. It has been sitting in the scratch/eldoc-async branch of the Savannah repo for a while, but I've been very busy and didn't have time to annouce it. I've cleaned it up to to a four commit effort which. 99fd115a8c Make more parts of Emacs use new Eldoc capabilities aaf5dfc71e * lisp/emacs-lisp/eldoc.el (Version): Bump to 1.1.0 62dc1d4824 New M-x eldoc for on-demand and interactive documentation re= quests 6c54414d5f Better handle asynchronous Eldoc sources I had good feedback on and off-list about it. It works with a version of Eglot in its scratch/work-with-new-eldoc branch. There is of course a lot that can still be fixed or added, especially in the domain of controlling the outlets for documentation (which now are restricted to the echo area, and poorly formatted buffer). Anyway I think my efforts are ready to push to master. I'll do so soon unless someone raises a serious problem about it. Dmitry has expressed his intent to make the new eldoc.el work with a new futures/promises library. He prototyped one of those libraries. I have nothing against that in the future. However, 1. I don't have the resources to make the eldoc.el prototype work with Dmitry's or other libraries; 2. We should revisit the purpose and the details of that and other libraries in a separate discussion. For now it's high time we advance the Eldoc libray;. Thanks, Jo=C3=A3o