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: Stefan Monnier
Subject: bug#70396: 30.0.50; Eglot, rust-analyzer buffer formatting, and track changes errors
Date: Mon, 15 Apr 2024 10:07:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> 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`

Thanks for the nice bug report.
Will look into it ASAP,


        Stefan






reply via email to

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