bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70396: 30.0.50; Eglot, rust-analyzer buffer formatting, and track ch


From: Eli Zaretskii
Subject: bug#70396: 30.0.50; Eglot, rust-analyzer buffer formatting, and track changes errors
Date: Mon, 15 Apr 2024 16:57:11 +0300

> Date: Mon, 15 Apr 2024 08:35:23 -0500
> From:  Steven Allen via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> When formatting a specific rust file with with `eglot-format-buffer`
> (rust-analyzer LSP), I'm getting:
> 
> * Track changes errors (below).
> * An `args-out-of-range` error in `replace-buffer-contents`.
> 
> To reproduce:
> 
> 1. Checkout `https://github.com/Stebalien/xattr/`. I can try for a
>    minimal reproducer if necessary.
> 2. Install rust-analyzer.
> 2. Run `emacs -Q`
> 3. `M-x find-file "src/sys/linux_macos.rs"`
>    (https://github.com/Stebalien/xattr/blob/master/src/sys/linux_macos.rs).
> 4. `M-x rust-ts-mode`
> 5. `M-x eglot`
> 6. `M-x eglot-format-buffer`

Adding Stefan, as I think this might be related to the recent
track-changes changes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]