GNU bug report logs - #59068
29.0.50; noverlay causing indirect append issues

Previous Next

Package: emacs;

Reported by: Michael Kleehammer <michael <at> kleehammer.com>

Date: Sun, 6 Nov 2022 05:11:02 UTC

Severity: normal

Found in version 29.0.50

Done: Matt Armstrong <matt <at> rfc20.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Michael Kleehammer <michael <at> kleehammer.com>
Cc: 59068 <at> debbugs.gnu.org
Subject: bug#59068: 29.0.50; noverlay causing indirect append issues
Date: Mon, 07 Nov 2022 07:59:57 +0100
Michael Kleehammer <michael <at> kleehammer.com> writes:

> Michael Kleehammer <michael <at> kleehammer.com> writes:
>
> I've extracted enough from edit-indirect to reproduce the problem and attached
> it.  Eval the file and follow the instructions at the bottom.
>
> With the noverlay builds of Emacs, each commit is inserted above the original
> text.  With previous builds it is not.
>
> Let me know if I can help or if the example is not clear enough.  I'm still
> working on my elisp skills, so making it a unit-test style function would take
> me quite a while.

Thanks, Michael.

I'm afraid, I can't yet reproduce this.  This is with an Emacs from
23dd27a97953bab3ffab86dcc83b4e3b139657aa.  Here is what I did:

emacs -Q
C-x C-f test.el RET
M-x eval-buffer RET
M-: (test-create-indirect)
C-x b *test* RET
;; Add "- 1" to line 2
M-: (test-commit-indirect) RET
C-x b test.el RET

The lines at the top of the file are as expected

;; one
;; two - 1
;; three

(setq test-beg 1
...

Did I miss something?




This bug report was last modified 2 years and 186 days ago.

Previous Next


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