GNU bug report logs - #56
undo boundaries

Previous Next

Package: emacs;

Reported by: Nikolaj Schumacher <n_schumacher <at> web.de>

Date: Sat, 15 Mar 2008 20:50:04 UTC

Severity: normal

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: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Nikolaj Schumacher <n_schumacher <at> web.de>
Subject: bug#56 closed by Stefan Monnier <monnier <at> iro.umontreal.ca> (Re: 
 undo boundaries)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#56: undo boundaries

It has been closed by Stefan Monnier <monnier <at> iro.umontreal.ca>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Monnier <monnier <at> iro.umontreal.ca> by
replying to this email.


-- 
56: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=56
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 56-done <at> debbugs.gnu.org
Subject: Re: undo boundaries
Date: Fri, 04 Apr 2008 13:01:11 -0400
I've just installed on the trunk a patch which fixes it.


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Nikolaj Schumacher <n_schumacher <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: undo boundaries
Date: Sat, 15 Mar 2008 18:16:00 +0100
Hello,

according I brief discussion on help-gnu-emacs, this appears to be a bug in
Emacs 22:

(defun test ()
  (interactive)
  (insert "a")
  (undo-boundary)
  (insert "b"))

If I do M-x test, I get:
ab
  ^

Then, if I undo once in Emacs 22, I get:
a
^

What I was expecting (and what happens in Emacs 21):
a
 ^


Also note:

bojohan+news <at> dd.chalmers.se (Johan Bockgård) wrote:

> The likely suspect is this change:
>
> undo.c
> revision 1.55
> date: 2002-04-04 22:42:56 +0200;  author: monnier;
> (record_point): New fun.
> (record_delete, record_insert): Use it.



regards,
Nikolaj Schumacher




This bug report was last modified 17 years and 109 days ago.

Previous Next


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