From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc Date: Fri, 26 Mar 2021 15:08:59 -0400 Message-ID: <87czvlraus.fsf@gmail.com> References: <871rc35nwr.fsf@gmail.com> <87o8f53h3q.fsf@tcd.ie> <87im5dg36l.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="40012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , 47388@debbugs.gnu.org To: =?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 Fri Mar 26 20:11:23 2021 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 1lPrrf-000AIF-Tg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Mar 2021 20:11:23 +0100 Original-Received: from localhost ([::1]:39262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPrre-0007bM-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Mar 2021 15:11:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPrqN-0006Xs-EK for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2021 15:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPrqL-000185-Qc for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2021 15:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPrqL-0006Mn-JP for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2021 15:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Mar 2021 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47388 X-GNU-PR-Package: emacs Original-Received: via spool by 47388-submit@debbugs.gnu.org id=B47388.161678574824397 (code B ref 47388); Fri, 26 Mar 2021 19:10:01 +0000 Original-Received: (at 47388) by debbugs.gnu.org; 26 Mar 2021 19:09:08 +0000 Original-Received: from localhost ([127.0.0.1]:42508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPrpU-0006LR-5P for submit@debbugs.gnu.org; Fri, 26 Mar 2021 15:09:08 -0400 Original-Received: from mail-qt1-f173.google.com ([209.85.160.173]:39833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPrpS-0006Kx-R4 for 47388@debbugs.gnu.org; Fri, 26 Mar 2021 15:09:07 -0400 Original-Received: by mail-qt1-f173.google.com with SMTP id g24so5008192qts.6 for <47388@debbugs.gnu.org>; Fri, 26 Mar 2021 12:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=rEsqgceKOV+6Jt7D6orwUJhLPhaxcENAfb8NiBqAb9I=; b=Rvv1xKhlKKo9YpuAJlEhDt+zyWJoq5wyTE15woIAUCUYh6Yis9gtooksJ+jdwpBmxU OV6vdv7iUOvni89yVv0l79NuVZeaaycJ8Cu6X5dt7m0B1hh//vTe1tuPV9K50hojHGtc KdmzWY3W5g1uPD6WeB40IxrySrRQQYEsmGleaVwuAP6Ym+QuED9slV/B6y2bAHdSaDo0 qedBDTzLFuBYYNhIwievnQEgI6dgg0ZQ4tTURKC7O7QMTTTTMwG+Th9Cf+XfpqO1R0F+ ovxNI3U8jTREWRxGBfDhoNZCSPdNsYD6WolA+J3+JDLF2xwS1xItQEeQUQ3M9gz5ChHr 77/A== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=rEsqgceKOV+6Jt7D6orwUJhLPhaxcENAfb8NiBqAb9I=; b=M0i9hFSMpzoV3bLPdXNx0vk4r7BD4miK6keNahBAx+HWe8hO4k3aQIBzXwU8tPlrxY ANeRM1GAS2uYpQopKucjPShPux1gMf0oMD7fdEU67eSx3NSiJndiSMx7kLrezcLcGkXh 2MA/AsqOUFAJMVtHsFzBl1BuueMAX3hInMoHqwMmHPK4e4oWFGqo1JokmIzshPpL0aNS xJi9+pDKeACd5Z4uhimipWpL0vNak+1lsmKinblVzeaeL5ujj6jkGpsg5B1Y4umlNbad 8hSu7MaCoF3O3li6pSF0f687zX+FKXSk3AmCMQw4hVAeEwyQjeG+XX1H9zB+/DdbS2u2 SWEA== X-Gm-Message-State: AOAM531FF+qpMpZL0U6DmwJVDWuUEhjDEIh91f+JTNEhT1XUgo8tKb5J mLw4A7tlqqoTWx2wpgTH+a3yISBkLlaK3w== X-Google-Smtp-Source: ABdhPJz5yCHOs2XT1+GGSl4xg9/QxaFU1A9eBa7iYpANZzJAB4DMlIzmzV2gAZgmW6WdJ3JZmXLoUQ== X-Received: by 2002:a05:622a:1115:: with SMTP id e21mr13258185qty.192.1616785740948; Fri, 26 Mar 2021 12:09:00 -0700 (PDT) Original-Received: from earth (c-73-163-194-78.hsd1.dc.comcast.net. [73.163.194.78]) by smtp.gmail.com with ESMTPSA id g2sm6430282qtu.0.2021.03.26.12.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 12:09:00 -0700 (PDT) In-Reply-To: <87im5dg36l.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 26 Mar 2021 18:50:10 +0000") 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:203068 Archived-At: On Fri 26 Mar 2021 at 18:50, Jo=C3=A3o T=C3=A1vora w= rote: > Alex, exactly under what circunstances do you see that "There is no > ElDoc support in this buffer"? In what buffer, doing what? I > appreciate that you have investigated the implementation, but I need to > be able to understand -- and potentially reproduce -- the problem > exactly as it happened to you, so please provide as clear a recipe as > possible, perhaps starting with "downloaded Emacs 27.1, then cleared my > ELPA directory, ..., installed Eglot from xyz, ..., ". Sure thing (though note I'm not the person who originally ran into the bug, just was able to reproduce). From a clean install of 27.1 (no init file, no packages), you should be able to reproduce by: 1. Add MELPA to package-archives 2. Install ESS 3. Update eldoc (potentially by installing eglot) 4. Restart Emacs 5. (require 'eglot) 6. Open an R file (eg ~/test.R) 7. At this point, eldoc-documentation-function will be #'ignore so eg M-x eldoc-mode will show "There is no ElDoc support in this buffer". That's because ESS sets up eldoc in R buffers like so: (if (boundp 'eldoc-documentation-functions) (add-hook 'eldoc-documentation-functions #'ess-r-eldoc-function nil t) (add-function :before-until (local 'eldoc-documentation-function) #'ess-r-eldoc-function)) so we don't touch eldoc-documentation-function in newer eldoc versions where it is supposed to be a user-facing customization. > Meanwhile (but not excluding the earlier valuable exercise), can you > show the output of: > > C-h v eldoc-documentation-function RET > C-h v eldoc-documentation-strategy RET Unfortunately I can't at the moment but from memory eldoc-documentation-strategy was an obsolete alias for eldoc-documentation-function and the value was the function ignore. Hope that helps.