emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undo bug?


From: Stefan Monnier
Subject: Re: undo bug?
Date: Tue, 01 Apr 2008 11:07:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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

I'm wondering why we have to use last_point_position.
It seems to be asking for problems because it is delimited by command
processing, whereas the undo records are delimited by undo-boundary:
there is a correlation between the two, but no equivalence.

I.e. I suggest we introduce last_undo_boundary_pos and use it in place
of last_point_position in undo.c.
It'd be set to PT in Fundo_boundary (which could/should also set
last_undo_buffer).

WDYT?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]