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


Message #17 received at 73863 <at> debbugs.gnu.org (full text, mbox):

From: Romain Ouabdelkader <romain.ouabdelkader <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 73863 <at> debbugs.gnu.org
Subject: Re: bug#73863: 30.0.91; Unexpected cursor movement with
 flymake-show-diagnostics-at-end-of-line
Date: Fri, 18 Oct 2024 21:10:02 +0200
[Message part 1 (text/plain, inline)]
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();
```
[image: 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
```

[image: 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.
[Message part 2 (text/html, inline)]
[Screenshot 2024-10-18 at 21.02.10.png (image/png, inline)]
[Screenshot 2024-10-18 at 21.06.43.png (image/png, inline)]

This bug report was last modified 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.