GNU bug report logs -
#73863
30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line
Previous Next
Full log
View this message in rfc822 format
> From: Romain Ouabdelkader <romain.ouabdelkader <at> gmail.com>
> Date: Fri, 18 Oct 2024 21:10:02 +0200
> Cc: 73863 <at> debbugs.gnu.org
>
> I can reproduce the issue on a C source file with clangd:
>
> emacs -Q
> M-x eglot
> (setq flymake-show-diagnostics-at-end-of-line t)
>
> ```
> unknown_function
> void func();
> ```
> Screenshot 2024-10-18 at 21.06.43.png
>
> I can also reproduce on a elisp file without using eglot or any additional packages:
>
> emacs -Q /tmp/test.el
> M-x flymake-mode
> (setq flymake-show-diagnostics-at-end-of-line t)
>
> ```
> ;;; test.el --- Test for flymake diagnostics -*- lexical-binding: t -*-
> ;;; Commentary:
>
> ;;; Test file
>
> very_long_variable_name_to_make_flymake_diagnostics_on_multiple_line
>
> ;;; Code:
>
> (provide 'test)
> ;;; test.el ends here
> ```
>
> Screenshot 2024-10-18 at 21.02.10.png
>
> Make sure that the diagnostic is displayed on multiple lines (resize your window if necessary). Place your
> cursor on `very_long_variable_name_to_make_flymake_diagnostics_on_multiple_line` and then press down.
So this problem only happens when the window is not wide enough, and
the diagnostic wraps to the next screen line?
This bug report was last modified 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.