[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
undo boundaries
From: |
Nikolaj Schumacher |
Subject: |
undo boundaries |
Date: |
Sat, 15 Mar 2008 18:16:00 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin) |
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@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
- undo boundaries,
Nikolaj Schumacher <=