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: Sat, 4 Jul 2020 10:37:50 +0100 Message-ID: References: <875zckuet9.fsf@gmail.com> <87sgecssch.fsf@gmail.com> <83k0zjvi4c.fsf@gnu.org> <83blkvvd7q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000085c58905a99a659c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8676"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41531@debbugs.gnu.org, Stefan Monnier , andreyk.mad@gmail.com, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 04 11:39:10 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 1jredZ-00029f-RO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 11:39:09 +0200 Original-Received: from localhost ([::1]:59606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jredY-0005vR-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 05:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jredS-0005vI-2y for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 05:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jredR-0006WT-Ol for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 05:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jredR-0003eB-M5 for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 05:39:01 -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: Sat, 04 Jul 2020 09:39:01 +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.159385548413952 (code B ref 41531); Sat, 04 Jul 2020 09:39:01 +0000 Original-Received: (at 41531) by debbugs.gnu.org; 4 Jul 2020 09:38:04 +0000 Original-Received: from localhost ([127.0.0.1]:58078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrecW-0003cy-77 for submit@debbugs.gnu.org; Sat, 04 Jul 2020 05:38:04 -0400 Original-Received: from mail-il1-f172.google.com ([209.85.166.172]:45081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrecU-0003cV-Bp for 41531@debbugs.gnu.org; Sat, 04 Jul 2020 05:38:03 -0400 Original-Received: by mail-il1-f172.google.com with SMTP id o3so11697202ilo.12 for <41531@debbugs.gnu.org>; Sat, 04 Jul 2020 02:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eJCEPdd5HLzCOUFFbN8BZBu3wRwL6iq83UVPpcxXoPI=; b=POle9iPshb8GvArqtBGtS5Pbo9F+KAjHksOhL7ifIVinDaReCp5AysDNRdy+P+7rme qn657l4LEZ65TCnWkstJoz3tzb+uSJzStbZc0bHCYj1lrm9O2WgTh0nknLNuvuL7JQMc Fsh71BP/DyLViwZwcX97qzGcJbH9HQ6zz4mG2FSMUegBay+dERhBFjwFmaqnAcCh7eAN icbYobwOlzd8g1rKUwY8WPVT7LioIp9TTv59YOklmC3fYq1fj9XtShcBw603pEIiXBiX AS341lOhU1CxZMciVqUiqVEyEgBnlgVMF1aSSaOfOIO5M+LzBfjIe1WFUSkdQ6CINgKd 3Egg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eJCEPdd5HLzCOUFFbN8BZBu3wRwL6iq83UVPpcxXoPI=; b=DH32bkzA2PV/7eqPeV7ITrDpcC4HeQ8LTKd7zgE4sYu8wtqVGeRwtygycE5idiCCha Yo3ObdkcwZO6S4/jOELrVAluZv7FWl2p89U3909UBTxgePgtXmWl3JOaQ+lBo07LxErz mrFjmDxNWgSGGQSsvrAPTaKn+2Q6sThji1js9QQ51Cyfw6a6AsMZ33bQd3ee8r903dhV bDzIdXXYFrc8pyz9TjG+ejUU4vh38XJsmx+lUBo7d+g+TH9a381YsafLtCVN98EilMmF eSG9kAwiYsOdCbHmln97NNyHB/cSdLJcTjGci0+tFNz+JeWZdpfbniPIQxXvaa+53ufe d20Q== X-Gm-Message-State: AOAM533zSrblYzZ6XDLhAQrZV2jQJI3CBaEHXNjsGmbVCsxEUFASfeHB dqElZNcPuyXO/UDSc0jpdkfR8Mr/VIXCnxlgcNDz7A== X-Google-Smtp-Source: ABdhPJwocdD8D71Z+sn8l8uryYkDj9tq+SDvwoGSKPVttxwAwJFXQThpqQYkuFYywf+bpQay1vsxuBkFPolpJ+dKQZQ= X-Received: by 2002:a05:6e02:1212:: with SMTP id a18mr19598863ilq.97.1593855476874; Sat, 04 Jul 2020 02:37:56 -0700 (PDT) In-Reply-To: <83blkvvd7q.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:182686 Archived-At: --00000000000085c58905a99a659c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah, ok I see what you mean. I didn't feel it was necessary to enter into details since it is backwards compatible. But I can add some things to mention that async is now supported in a "first class" sense. Jo=C3=A3o On Sat, Jul 4, 2020, 10:31 Eli Zaretskii wrote: > > From: Jo=C3=A3o T=C3=A1vora > > Date: Sat, 4 Jul 2020 10:21:43 +0100 > > Cc: 41531@debbugs.gnu.org, Stefan Monnier , > andreyk.mad@gmail.com, > > dgutov@yandex.ru > > > > I'm surprised the NEWS entry I had written got lost. In the git rebasin= g, > > maybe. > > There is a NEWS entry in the branch, but it only says this: > > -*** 'eldoc-documentation-function' is now a user option. > -Modes should use the new hook instead of this user option to register > -their backends. > +*** New user option 'eldoc-documentation-strategy' > +The built-in choices available for this user option let users compose > +the results of 'eldoc-documentation-functions' in various ways. The > +user option replaces 'eldoc-documentation-function', which is now > +obsolete. > > I don't see how by reading this anyone could understand that the > change allows significant new functionality. maybe you wrote more > than that, and it did get lost somehow? > > (FTR, I did "git diff ...origin/scratch/eldoc-async" to see the > changes on the branch.) > --00000000000085c58905a99a659c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah, ok I see what you mean.
<= br>
I didn't feel it was necessary to enter into= details since it is backwards compatible. But I can add some things to men= tion that async is now supported in a "first class" sense.
<= div dir=3D"auto">
Jo=C3=A3o

On Sat, Ju= l 4, 2020, 10:31 Eli Zaretskii <eliz@gnu= .org> wrote:
> From: Jo= =C3=A3o T=C3=A1vora <joaotavora@gmail.com>
> Date: Sat, 4 Jul 2020 10:21:43 +0100
> Cc: 41531@debbugs.gnu.org, Stefan Monnier <monnier@iro= .umontreal.ca>, andreyk.mad@gmail.com,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0dgutov@yandex.ru
>
> I'm surprised the NEWS entry I had written got lost. In the git re= basing,
> maybe.

There is a NEWS entry in the branch, but it only says this:

=C2=A0 -*** 'eldoc-documentation-function' is now a user option. =C2=A0 -Modes should use the new hook instead of this user option to regist= er
=C2=A0 -their backends.
=C2=A0 +*** New user option 'eldoc-documentation-strategy'
=C2=A0 +The built-in choices available for this user option let users compo= se
=C2=A0 +the results of 'eldoc-documentation-functions' in various w= ays.=C2=A0 The
=C2=A0 +user option replaces 'eldoc-documentation-function', which = is now
=C2=A0 +obsolete.

I don't see how by reading this anyone could understand that the
change allows significant new functionality.=C2=A0 maybe you wrote more
than that, and it did get lost somehow?

(FTR, I did "git diff ...origin/scratch/eldoc-async" to see the changes on the branch.)
--00000000000085c58905a99a659c--