From: Alex Branham <alex.branham@gmail.com>
To: "João Távora" <joaotavora@gmail.com>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>, 47388@debbugs.gnu.org
Subject: bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc
Date: Fri, 26 Mar 2021 15:08:59 -0400 [thread overview]
Message-ID: <87czvlraus.fsf@gmail.com> (raw)
In-Reply-To: <87im5dg36l.fsf@gmail.com> ("João Távora"'s message of "Fri, 26 Mar 2021 18:50:10 +0000")
On Fri 26 Mar 2021 at 18:50, João Távora <joaotavora@gmail.com> wrote:
> 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.
next prev parent reply other threads:[~2021-03-26 19:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 14:05 bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc Alex Branham
2021-03-26 18:27 ` Basil L. Contovounesios
2021-03-26 18:50 ` João Távora
2021-03-26 19:08 ` Alex Branham [this message]
2021-03-26 19:57 ` João Távora
2021-03-26 20:23 ` Alex Branham
2021-03-26 20:34 ` João Távora
2021-03-27 12:06 ` Alex Branham
2021-03-27 12:53 ` João Távora
2021-03-28 11:23 ` Alex Branham
2021-03-28 14:50 ` João Távora
2021-03-28 16:05 ` Alex Branham
2021-03-28 18:45 ` João Távora
2021-03-28 16:37 ` Stefan Monnier
2021-03-28 18:56 ` João Távora
2021-03-28 19:09 ` Stefan Monnier
2021-03-28 19:15 ` João Távora
2021-03-28 19:36 ` Stefan Monnier
2021-03-28 19:37 ` Stefan Monnier
2021-03-28 19:39 ` Stefan Monnier
2021-03-26 19:52 ` bug#47388: (no subject) QuietApe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czvlraus.fsf@gmail.com \
--to=alex.branham@gmail.com \
--cc=47388@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.