-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable symbol documentation in minibuffer? #1782
Comments
@vspinu Are you referring to the docs which are displayed for |
This is exactly how Elisp's eldoc works, although it shouldn't resize or recenter the display. Can you share some repro steps for this?
Obviously we can do this, but I don't want to add a config option for absolutely anything someone might have an issue with. If more people find this behaviour problematic then a defcustom would make more sense. Right now I'd rather focus on what exactly is problematic for @vspinu and try to address it. |
Not only. I am seeing blinking doc for functions as well. For instance when I navigate to This blinking is not comming from eldoc. It shows as a message in the
Not quite. Elisp eldoc never shows the full docstring, only the first line. This doesn't resize minibufer or recenter the display. BTW, eldoc function should respect
For example (def blabla
"Some doc.
Another line.
Another line"
nil) Go to last visible line in the script window and insert The blinking of In the repl the behavior is different. I don't see the blinking doc here but the behavior is still incorrect. Go to repl and center the buffer such that the last line is on the bottom (3 times I am on master's head both for cider and cider-nrepl. |
Show me a screenshot, as I'm having a hard-time figuring out what exactly are you seeing. |
@vspinu This should be a problem for everyone IMO. https://github.com/clojure-emacs/cider/blob/master/cider-eldoc.el#L150 is what you're looking for, till we consider |
@cskksc weren't we supposed to show just the first line exactly like Elisp's eldoc works? Something looks pretty wrong to me here. |
The font faces always look off and there should definitely be nothing in |
Hey there. Looks like it's an issue with the mouse-over functionality. |
@Malabarba You're saying, eldoc strings being printed in |
I got interrupted while writing that message, so I couuldn't finish. @vspinu The message you're seeing looks a lot like the message that gets displayed as a tooltip when the user mouses-over a symbol. Maybe you've configured your emacs to show tooltips in the echo area and show echo-messages according to cursor position (instead of mouse position)? |
Hmm. Not what I am aware of. I have a couple of tooltip settings but all those are innocent AFAICT. Also when I move my mouse over a symbol I do see a proper tool tip with the doc. So it's not that, but might be related. I am almost sure it's not eldoc as it happens before eldoc function enters. I will debug it in the night. |
@Malabarba hit the nail on the head. I tracked it down to I guess there is nothing cider can do about it as there is no way to distinguish between tooltip and other consumers of |
Given that the feature is super intrusive in that case, and given that it's a built-in emacs option, maybe we should disable the tooltip when that variable is the. |
Makes sense. |
@cskksc Did we ever add a check for the current value of |
@bbastov I dint get a chance to work on anything in the last couple of days. Let's finish this too, before 0.13 ? This shouldn't take a lot of time. The other upgrade ticket would be done by Tuesday. I'll finish this off after that. |
Sounds good. |
I find display of the documentation in the minibuffer a non-feature. It's almost never useful, interferes with eldoc, and it constantly resizes/recenteres the display. How do I disable that? Thanks.
The text was updated successfully, but these errors were encountered: