GNU bug report logs - #70396
30.0.50; Eglot, rust-analyzer buffer formatting, and track changes errors

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Mon, 15 Apr 2024 13:37:06 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Allen <steven <at> stebalien.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70396 <at> debbugs.gnu.org
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 <at> 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.




This bug report was last modified 1 year and 94 days ago.

Previous Next


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