flymake-posframe icon indicating copy to clipboard operation
flymake-posframe copied to clipboard

don't work on 28.2

Open 11111000000 opened this issue 3 years ago • 3 comments

error

Error in post-command-hook (flymake-posframe-display): (wrong-type-argument stringp nil)

11111000000 avatar Nov 01 '22 08:11 11111000000

I assume you are using eglot?

This code: :string (concat (propertize (pcase (flymake--diag-type diag) (:error flymake-posframe-error-prefix) (:warning flymake-posframe-warning-prefix) (:note flymake-posframe-note-prefix)) 'face 'warning) (flymake--diag-text diag)))

needs to add handlers for 'eglot-error', 'eglot-warning' and 'eglot-note'. Currently the prefix does not match the eglot-specific flymake errors, and errors out.

Is this repo still alive? Would an MR be accepted?

articuluxe avatar Nov 02 '22 16:11 articuluxe

Well, I've created an MR, hope it can be merged: https://github.com/Ladicle/flymake-posframe/pull/4

articuluxe avatar Nov 02 '22 17:11 articuluxe

I'm getting the same error, for the same reason -- using eglot. Would like to see this merged.

garyo avatar May 30 '23 19:05 garyo