r/emacs•
fredmorcos

Eldoc and Flycheck constantly fighting for the minibuffer

Hello,

Is there a simple/elegant way to have flycheck only output text into the minibuffer if the minibuffer is empty? Or even better, is there a way to have all text going into the minibuffer at the same point in time get concatenated rather than replaced?

Thanks!

EDIT: My solution was to use flycheck-pos-tip: flycheck messages now show up in a tooltip and eldoc shows up in the minibuffer.

Posted Aug 19, 2016, 9:06 AM UTC · edited

92
zilongshanren•

Try to set flycheck-display-errors-delay to a larger value than eldoc-idle-delay. Such that the flycheck error message could override the eldoc message.

3
kcin•

I guess they both use the message function. You can try redeclaring it and concatenate the new and previous messages if the caller is flycheck or eldoc.

1