Questions tagged [eldoc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

How to derive eldoc or company documentation from docstring in Clojure/script-mode?

For some reason, documentation support is very vague in Clojure/script-mode and CIDER. Cider-doc, eldoc, lsp, company, xref and similar offer solutions to automatically view documentation, through ...
user avatar
  • 11
1 vote
1 answer
19 views

Python Eldoc fails when editing a remote file with a local shell open

Problem: Eldoc constantly spews FileNotFoundErrors into the minibuffer when editing a remote python file if you have a local python shell open. To Recreate: > emacs -Q M-x run-python open a file ...
user avatar
1 vote
1 answer
117 views

How to disable eldoc doc minibuffer?

While using eldoc, it constantly updates the minibuffer with the symbol on point. I like it, but would like the displayed lines to be lesser, as it covers a lot of my window. I tried putting the ...
user avatar
0 votes
0 answers
63 views

Can eldoc display in a dedicated window?

Currently eldoc pops up a window, mostly it's fine but with large docs it gets intrusive & jarring to loose so much screen space. Is there a way to have eldoc use it's own dedicated window? (which ...
user avatar
  • 7,267
2 votes
1 answer
105 views

How does eldoc (>= 1.1.0) display arguments in the mode-line during eval-expression

I am unable to determine how eldoc is displaying arguments (or other information) in the mode-line while eval-expression is reading user input in the minibuffer. I could not find a relevant element in ...
user avatar
  • 24.4k
0 votes
0 answers
196 views

no such file or directory: org-eldoc

I recently discovered that my org-roam installation is no longer working. When I try to open a new file, I get this error message: helm-M-x-execute-command: Cannot open load file: No such file or ...
user avatar
  • 153
2 votes
1 answer
609 views

How to improve eldoc + lsp-mode output with C/C++ comments?

When using eldoc with lsp-mode, there are some irritations with the default output. Various characters are backslash escaped, so: /* This: isn't so -> "good", you see. */ Displays as: This\: ...
user avatar
  • 7,267
3 votes
0 answers
171 views

How to disable eldoc when using TRAMP (editing files over SSH)

Eldoc really bogs down the editor when used over SSH with TRAMP. I want to disable it in those cases. What I've tried is this: (defun no-tramp-eldoc () (interactive) (when (string-prefix-p "...
user avatar
  • 151
1 vote
1 answer
596 views

ELDoc and company-tern are not working properly in JS2-mode (.js buffer in node) and Javascript, in Emacs

In my Emacs configuration for JavaScript/ JS2-mode, specifically .js buffer in node: (1) company-tern and ELDoc are NOT working properly. For eg. when I type 'console.l', 'log' does not pop up, ...
user avatar
  • 81
2 votes
2 answers
676 views

How to find in which hook(s) a certain function is called?

I'm using the lsp layer on Spacemacs with javascript-backend 'lsp and it activates two modes I don't like: lsp-ui-mode and eldoc. I found lsp-ui-mode inside lsp-mode-hook and added (remove-hook 'lsp-...
user avatar
3 votes
2 answers
328 views

Debugging a recalcitrant eldoc function

I'm using SLIME and common LISP (SBCL) for some weekend hacking. I've just upgraded to emacs 26.1 on Mac OS X 10.13.5. Now I've run into a problem with the setup where I'm suddenly getting: error ...
user avatar
1 vote
1 answer
554 views

Multi-line echo area for displaying function signature with semantic-idle-summary-mode

Description I've got some c-functions with long argument lists. Even if that is bad style I would like semantic-idle-summary-mode to help me with those bad style functions. Pityingly it keeps the ...
user avatar
  • 30.4k
13 votes
1 answer
3k views

How to globally disable eldoc? [duplicate]

Using Rust/Racer/Eldoc is causing performance problems while navigating around the file (hanging while eldoc is fetching the docs). Running eldoc-mode reports that it's disabled but still runs Racer'...
user avatar
  • 7,267
5 votes
1 answer
672 views

display eldoc help info behind point

I have the following code to replace default eldoc display function: (defun my-eldoc-display-message-momentary (format-string &rest args) "Display eldoc message near point." (when format-...
user avatar
  • 1,778
1 vote
1 answer
332 views

Adding eldoc support to js2-mode

Since js2-mode does not have eldoc-mode support, I was wondering if I could get some similar functionality to js2-mode with the help of tern-mode. tern-mode has a command tern-get-type which will ...
user avatar
2 votes
1 answer
488 views

eldoc error: (error Variable binding depth exceeds max-specpdl-size)

I am editing org-mode files with a lot of source code blocks. These blocks contain my own pseudo code that looks like this: (A) {B} (C) (D) {F} (Z) When moving within these blocks there is a pause ...
user avatar
1 vote
0 answers
280 views

Org-mode and python source code block -> ElDoc error wrong-type-argument

When inside a python source code block in an .org file, I get the following error displayed on my mini buffer: eldoc error: (wrong-type-argument symbolp #[128 \300\301"\206�\300\302"\207 [apply ...
user avatar
  • 3,403
3 votes
1 answer
262 views

Displaying information for string under point

At work, I very commonly have to look up bits of information about strings in my code. For instance, we might use an incomprehensible ID, "a587fg", to refer to a customer with a perfectly ...
user avatar
  • 1,501
7 votes
1 answer
4k views

eldoc in python-mode

I'm trying to get eldoc-mode to work in python-mode. If I enter a python buffer and do M-x eldoc-mode M-x python-mode-switch-to-shell This seems to work for some built-in functions, but mostly ...
user avatar
1 vote
2 answers
658 views

How to disable eldoc for `eval-expression`?

After a recent update eldoc is turned on by default, even for emacs -Q. I don't appreciate the noise it generates when I'm using eval-expression. How do I turn it off?
user avatar
  • 13.6k
4 votes
1 answer
450 views

have flycheck override eldoc faster

I have both eldoc and flycheck enabled in a .el buffer. I have a line, eg: (setq load-dirs (concat emacs-repos-dir "internal")) Here, load-dirs is underlined by flycheck as an error, but if point ...
user avatar