[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo bug?
From: |
martin rudalics |
Subject: |
Re: undo bug? |
Date: |
Tue, 01 Apr 2008 13:43:39 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> (defun x3 ()
> (interactive)
> (delete-backward-char 3)
> (setq buffer-undo-list nil)
> (insert "A")
> (message "%s" buffer-undo-list))
Can you please test with (CVS) Emacs 23 whether
(defun x3 ()
(interactive)
(let ((undo-inhibit-record-point t))
(delete-backward-char 3)
(setq buffer-undo-list nil)
(insert "A")
(message "%s" buffer-undo-list)))
does what you want here? If it solves your problem then we probably
should consider a solution like the one I sketched in
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-03/msg00096.html
- undo bug?, Katsumi Yamaoka, 2008/04/01
- Re: undo bug?,
martin rudalics <=
- Re: undo bug?, Katsumi Yamaoka, 2008/04/01
- Re: undo bug?, Stefan Monnier, 2008/04/01
- Re: undo bug?, martin rudalics, 2008/04/01
- Re: undo bug?, Stefan Monnier, 2008/04/02
- Re: undo bug?, martin rudalics, 2008/04/01
- Re: undo bug?, Stefan Monnier, 2008/04/02
- Re: undo bug?, martin rudalics, 2008/04/02
- Re: undo bug?, Stefan Monnier, 2008/04/03
- Re: undo bug?, martin rudalics, 2008/04/03