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: Need help with eldoc: Date: Thu, 24 Mar 2022 23:28:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000029b73e05daff3024" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 25 00:28:16 2022 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 1nXWsK-0002Z4-8u for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Mar 2022 00:28:16 +0100 Original-Received: from localhost ([::1]:45550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXWsI-00082R-UI for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Mar 2022 19:28:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXWrV-0007Na-Ki for emacs-devel@gnu.org; Thu, 24 Mar 2022 19:27:25 -0400 Original-Received: from [2607:f8b0:4864:20::32d] (port=39889 helo=mail-ot1-x32d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXWrU-0000Ps-6d for emacs-devel@gnu.org; Thu, 24 Mar 2022 19:27:25 -0400 Original-Received: by mail-ot1-x32d.google.com with SMTP id a17-20020a9d3e11000000b005cb483c500dso4380844otd.6 for ; Thu, 24 Mar 2022 16:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VhxphDOXt8X/wWm9oYz1ZuwE9MeN+GClsFX1WzU1Iq0=; b=fF/DjgP5fic+71a/0Ond1xac6Tt7Gh05P1RX/7Krruc4oEP1NTafF1OfRo5ivGa7cN zt+TsBUyMxo80taaZIQ6wCsu0p7fZZhL9HCqcQZobcrnYrr07q1xW0Lgh2FaEa0Ojqs+ ScxpzvRbvMKEGMuE78DV4w+VyFqIcf8wcr0finrpyx9VYoKx/Eypx0zbZCv4oqDlEhg+ YdeHXa4USqPYA4OH62D5Cn6ftCvaaNLvM3oAYlY0jOnw1DzPPxMaVIM+OeaMp/1Hiv2f zIcWkeTuXT92OrtBgk4DqwGYW0LjQqc6+yBK3E71m0BUbg24nSbGESC/ZV7W556XJ90K D94w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VhxphDOXt8X/wWm9oYz1ZuwE9MeN+GClsFX1WzU1Iq0=; b=P+PGrIRhHsPnGxLSL7lQyTM2CUwF+oAjsIGL4ECtvvjI5ufmofObeHeSXuffYTllHw 5IUifIcFF5PVTZhnaTq1xRGfGQleUD2DvI9fXaFkstOGS5NQD/9IuFH96QbJY1+Eekbp 0op8HHB8SIPNrTd1No8mUBJ2WS0CTz40GcOwwCLDKyefojtNSdpgdDYfGaGFqEMd5XJv rYqGWQy/q/YJM1rQ3H9uc18fiR/B2QLMiqmBWXMfAquXcPzqR61e1uOVyjtxfnbf+05D n1y+nvaGXNHTTsot9kCj4d/Q/lD/dEb+MjmeP9ETDkgyNtt9m3qFCVEMHep6+pX/Tjg/ R+Mw== X-Gm-Message-State: AOAM530HnQjti8r5G0RqJ/LNKb2Jz+cSSktlhfUx/ILK8x7UIustyRd2 Qdxg85jDix57pJmVCxG8BYdXZls7hEnnSK3FDB0= X-Google-Smtp-Source: ABdhPJzGoX9hrENLMAASHoDJfElF8o91rUSbN/Vm0FQnYw3FHBwlFDW2a0kvZbyHEtFrzS60B5Poh2F445hR1o0b5wU= X-Received: by 2002:a9d:6e13:0:b0:5ad:3397:a4ac with SMTP id e19-20020a9d6e13000000b005ad3397a4acmr3177682otr.340.1648164443108; Thu, 24 Mar 2022 16:27:23 -0700 (PDT) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::32d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=joaotavora@gmail.com; helo=mail-ot1-x32d.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:287424 Archived-At: --00000000000029b73e05daff3024 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > Could the current maintainer of eldoc give some pointers on what might > be breaking? > Hello Raman, I'm not formally the maintainer of Eldoc (I think) but I have worked on it recently (read more than one year ago). The changes I introduced make it so that the documentation-generating functions in eldoc-documentation-functions (plural!) can now be asynchronous (i.e. not return doc results immediately)= . eldoc-documentation-default should not be called directly from elisp libraries other than eldoc.el itself, which handles this possible asynchronicity. It is a function value to be put into eldoc-documentation-function which is then called by the eldoc.el machinery (such as M-x eldoc) that gives it context. So can you tell me what are you trying to accomplish? Maybe I can help. Jo=C3=A3o --00000000000029b73e05daff3024 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Could the current maintainer of eldoc give some pointers on what might
=C2=A0 =C2=A0be breaking?

He= llo Raman,

I'm not formally the maintaine= r of Eldoc (I think) but I have worked on it
recently (read more = than one year ago).=C2=A0 The changes I introduced make it
s= o that the documentation-generating functions in eldoc-documentation-functi= ons
(plural!) can now be asynchronous (i.e. not return doc r= esults immediately).

eldoc-document= ation-default should not be called directly from elisp libraries other
than eldoc.el itself, which handles this possible asynchronicity.=C2= =A0 It is a function value to
be put into eldoc-documentatio= n-function which is then called by the eldoc.el machinery
(such = as M-x eldoc) that gives it context.

So can you te= ll me what are you trying to accomplish?=C2=A0 Maybe I can help.
=
Jo=C3=A3o


--00000000000029b73e05daff3024--