Am Sa., 8. Feb. 2025 um 08:32 Uhr schrieb Eli Zaretskii <
eliz@gnu.org>:
> From: Johann Höchtl <johann.hoechtl@gmail.com>
> Date: Fri, 7 Feb 2025 21:14:54 +0100
>
> When I edit a markdown file using markdown-mode AND enable eglot in that buffer, at least one text
> operation corrupts the buffer.
>
> When I am on an markdown list item:
>
> - some text a
> - some text b [] <-point
>
> and press C-c <up> (which swaps the current list item with the preceding one), the buffers content gets
> messed up: Parts of the preceding text are not properly swapped but "bleeds into" the swapped line.
>
> Possibly eglot and the interaction with "track-changes" is at fault: When I eglot-shutdown, I never see this
> corruption.
I'm guess the information about the LSP server you are using might be
relevant?
> This is not a visual problem: When I check the eglot logs changes transfered to the language server or save
> and revert the buffer I see that the buffer contains garbled text.
Adding João and Stefan to the discussion.
> Using emacs as of commit 5e12843fa32150d2f18ce21fc6f3ae58732df6a7
Is that from the master branch of the Emacs Git repository? (Your
report elided all version and configuration information, so it's hard
to tell.)
Does emacs-build-description provide enough details? The output is
In GNU Emacs 31.0.50 (build 1, x86_64-w64-mingw32) of 2025-02-02 built
on fv-az521-368
Repository revision: 5e12843fa32150d2f18ce21fc6f3ae58732df6a7
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.22631
System Description: Microsoft Windows 10 Enterprise (v10.0.2009.22631.4751)
Configured using:
'configure
--prefix=/d/a/emacs-build/emacs-build/pkg/5e12843-ucrt-x86_64
'CFLAGS=-O2 -fno-semantic-interposition -floop-parallelize-all
-ftree-parallelize-loops=4 -g3 ' --disable-build-details
--without-dbus --enable-link-time-optimization --enable-build-details
--with-compress-install --with-small-ja-dic --with-gif --with-gnutls
--with-harfbuzz --with-jpeg --with-json --with-lcms2 --with-mps
--with-native-compilation --with-png --with-rsvg --with-tree-sitter
--with-xml2 --with-xpm --with-zlib --without-cairo --without-tiff'
Thanks.