GNU bug report logs - #76997
31.0.50; Freplace_buffer_contents

Previous Next

Package: emacs;

Reported by: nat chapman <nat.chapman <at> proton.me>

Date: Thu, 13 Mar 2025 16:28:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

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: nat chapman <nat.chapman <at> proton.me>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 76997 <at> debbugs.gnu.org
Subject: bug#76997: 31.0.50; Freplace_buffer_contents
Date: Thu, 13 Mar 2025 22:22:26 +0200
> Date: Thu, 13 Mar 2025 16:27:13 +0000
> From:  nat chapman via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> under certain circumstances, Freplace_buffer_contents seems to introduce
> gibberish into the buffer. i noticed it in org-mode and followed it to
> Freplace_buffer_contents with debug, then confirmed with git bisect that
> commit 40d8650d517 introduced the problem.
> 
> emacs -Q
> C-x b test RET
> M-x org-mode RET
> 
> #+begin_src emacs-lisp
>   (+ 1 2|)
> #+end_src
> 
> with point at |, two or three RET begins introducing garbage into the
> buffer. sometimes this crashes emacs, but i think that's to do with the
> garbage getting read.

Thanks, should be fixed now.

Stefan, would you please eyeball the fix?




This bug report was last modified 67 days ago.

Previous Next


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