emacs-sideline / sideline-flymake

Show flymake errors with sideline
GNU General Public License v3.0
19 stars 9 forks source link

Error displaying in echo-area + sideline #11

Closed gchape closed 3 months ago

gchape commented 3 months ago

Can we enable to only display error messages with sideline-flymake?

As you see, errors are also appended in echo-area in tandem with the sideline position.

imageedit_0_6609021960

jcs090218 commented 3 months ago

sideline doesn't echo anything by default, and I'm not able to reproduce this. 🤔 I know flycheck does echo messages by default, so make sure you only have flymake on and not flycheck.

gchape commented 3 months ago

sideline doesn't echo anything by default, and I'm not able to reproduce this. 🤔 I know flycheck does echo messages by default, so make sure you only have flymake on and not flycheck.

It is Flymake that bounds eldoc-documentation-functions to errors and etc. After looking in, I found solution: (setq eldoc-documentation-functions (remove #'flymake-eldoc-function eldoc-documentation-functions))

You may consider disabling it along with sideline, because having both does not make sense.