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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56 in the body.
You can then email your comments to 56 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#56; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Nikolaj Schumacher <n_schumacher <at> web.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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





Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Nikolaj Schumacher <n_schumacher <at> web.de>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 56-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 03 May 2008 14:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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