From: Romain Ouabdelkader <romain.ouabdelkader@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 73863@debbugs.gnu.org
Subject: bug#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line
Date: Fri, 18 Oct 2024 18:24:31 +0200 [thread overview]
Message-ID: <CAJ8YTobBfX8DyZ6_mAnWTrh2hgEM46U1LWRXgn-spxUiEQ30iw@mail.gmail.com> (raw)
In-Reply-To: <86r08dmm0h.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 1683 bytes --]
I can reproduce using pyright, starting with emacs -Q:
M-x eglot
(setq flymake-show-diagnostics-at-end-of-line t)
Using the following file:
```
def print_hello():
print("hello")
unknown_function
def another_function():
pass
```
You need to resize your window so that flymake diagnostics are displayed on
multiple lines:
[image: Screenshot 2024-10-18 at 18.23.28.png]
Place your cursor on the `unknown_function` line, and then press down. Your
cursor will endup at the end of the current line instead of the next line.
Please tell me if you need more detail.
Thank you.
On Fri, Oct 18, 2024 at 6:09 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Romain Ouabdelkader <romain.ouabdelkader@gmail.com>
> > Date: Fri, 18 Oct 2024 17:09:19 +0200
> >
> > I found some unexpected cursor movement near diagnostics with
> flymake-show-diagnostics-at-end-of-line
> > enabled.
> > When the cursor is on a line with a diagnostic, pressing down will move
> the cursor to the end of the current
> > line instead of the next line.
> >
> > For example, pressing down here:
> > Screenshot 2024-10-18 at 16.57.29.png
> > Will move the cursor at the end of the line:
> > Screenshot 2024-10-18 at 16.58.09.png
> >
> > Also, when editing the last line of a buffer, new text will appear after
> the diagnostic until no key is pressed for a
> > few seconds:
> > Screenshot 2024-10-18 at 17.04.57.png
> >
> > Reproduced with emacs -Q on emacs 30.0.91
>
> Please show a full recipe for reproducing this issue, starting from
> "emacs -Q", preferably without the need to install any packages not
> included in Emacs.
>
> Thanks.
>
[-- Attachment #1.2: Type: text/html, Size: 2399 bytes --]
[-- Attachment #2: Screenshot 2024-10-18 at 18.23.28.png --]
[-- Type: image/png, Size: 134137 bytes --]
next prev parent reply other threads:[~2024-10-18 16:24 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 15:09 bug#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line Romain Ouabdelkader
2024-10-18 16:08 ` Eli Zaretskii
2024-10-18 16:24 ` Romain Ouabdelkader [this message]
2024-10-18 18:31 ` Eli Zaretskii
2024-10-18 19:10 ` Romain Ouabdelkader
2024-10-19 13:15 ` Eli Zaretskii
2024-10-19 13:41 ` Romain Ouabdelkader
2024-10-20 7:25 ` Eli Zaretskii
2024-10-20 9:28 ` João Távora
2024-10-20 11:22 ` Eli Zaretskii
2024-10-20 11:38 ` João Távora
2024-10-20 11:49 ` Eli Zaretskii
2024-10-20 14:42 ` João Távora
2024-10-20 15:01 ` Romain Ouabdelkader
2024-10-20 15:49 ` Eli Zaretskii
2024-10-20 16:23 ` Eli Zaretskii
2024-10-20 15:31 ` Eli Zaretskii
2024-10-20 15:39 ` João Távora
2024-10-20 16:30 ` Eli Zaretskii
2024-10-20 16:58 ` João Távora
2024-10-20 17:50 ` Eli Zaretskii
2024-10-20 18:05 ` João Távora
2024-10-20 18:28 ` Eli Zaretskii
2024-10-20 19:18 ` João Távora
2024-10-27 10:56 ` Eli Zaretskii
2024-10-30 23:57 ` Romain Ouabdelkader
2024-10-18 19:16 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18 19:25 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ8YTobBfX8DyZ6_mAnWTrh2hgEM46U1LWRXgn-spxUiEQ30iw@mail.gmail.com \
--to=romain.ouabdelkader@gmail.com \
--cc=73863@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.