flycheck-pos-tip icon indicating copy to clipboard operation
flycheck-pos-tip copied to clipboard

Buggy interaction with flycheck-display-errors-function customization

Open bcc32 opened this issue 11 months ago • 0 comments

If a user customizes flycheck-display-errors-function to set it to flycheck-pos-tip-error-messages, or if they simply "save" the flycheck group customizations while flycheck-pos-tip-mode is enabled, flycheck-pos-tip will malfunction on the next Emacs session.

In particular, flycheck-pos-tip-mode will not add the correct hooks to dismiss the error tooltip because flycheck-display-errors-function is already set to the expected value.

No matter whether flycheck-pos-tip-mode is invoked on the next Emacs session, the errors are displayed by tooltip but the tooltip does not get dismissed automatically as expected.

bcc32 avatar Mar 12 '25 20:03 bcc32