Questions tagged [eldoc]

25 questions
13
votes
1 answer

How to globally disable eldoc?

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's eldoc function. Is there a way to globally…
ideasman42
  • 8,375
  • 1
  • 28
  • 105
7
votes
1 answer

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 doesn't: dir( gives imformation import os gives…
Nathaniel Flath
  • 627
  • 6
  • 13
5
votes
1 answer

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-string ;; (pos-tip-show (apply 'format…
stardiviner
  • 1,888
  • 26
  • 45
4
votes
1 answer

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 is over load-dirs then eldoc will display the…
Nathaniel Flath
  • 627
  • 6
  • 13
3
votes
2 answers

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 following in my ~/.emacs file: (setq …
Typedragon33
  • 171
  • 5
3
votes
0 answers

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 "/ssh" (buffer-file-name)) (anaconda-eldoc-mode…
tsorn
  • 151
  • 3
3
votes
2 answers

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 in process filter: progn: Wrong number of…
robertpostill
  • 175
  • 1
  • 9
3
votes
1 answer

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 comprehensible name, "FooCorp". It's fairly easy to define a…
Gastove
  • 1,511
  • 9
  • 15
2
votes
1 answer

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 the default value of mode-line-format and I also…
tarsius
  • 25,298
  • 4
  • 69
  • 109
2
votes
1 answer

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\: isn\'t so -\> \"good\"\, you see. Blank lines are…
ideasman42
  • 8,375
  • 1
  • 28
  • 105
2
votes
2 answers

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-mode-hook 'lsp-ui-mode) to my init.el, which fixed…
agentofuser
  • 501
  • 3
  • 11
2
votes
1 answer

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 or delay of several seconds between movements.…
1
vote
1 answer

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 on a remote server and move the point…
1
vote
1 answer

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, rather 'let' alone pops up (2) When opening the…
tom_kp
  • 81
  • 4
1
vote
1 answer

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 height of the echo area at one line even if the…
Tobias
  • 32,569
  • 1
  • 34
  • 75
1
2