GNU bug report logs - #73863
30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line

Previous Next

Package: emacs;

Reported by: Romain Ouabdelkader <romain.ouabdelkader <at> gmail.com>

Date: Fri, 18 Oct 2024 15:11:02 UTC

Severity: normal

Found in version 30.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Romain Ouabdelkader <romain.ouabdelkader <at> gmail.com>
Cc: 73863 <at> debbugs.gnu.org
Subject: bug#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line
Date: Sat, 19 Oct 2024 16:15:59 +0300
> 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.