GNU bug report logs - #14824
24.3.50; Regression: problem with undo in Mail mode

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Mon, 8 Jul 2013 17:30:03 UTC

Severity: important

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 14824 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>
Cc: 14824 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#14824: 24.3.50; Regression: problem with undo in Mail mode
Date: Tue, 09 Jul 2013 13:58:35 -0400
Glenn Morris wrote:

> As another data point, the problem only happens with buffers that are
> not visiting files.

I think the issue might be:

buffer-undo-list has an element of the form:

 (t 0 0 0 -2000)

I don't know where -2000 picosecs comes from.

In undo.c, the test was:

  EMACS_TIME_NE (mod_time, base_buffer->modtime)

Now the test is:

(equal time (visited-file-modtime))

But visited-file-modtime returns 0 rather than -2000 picoseconds.




This bug report was last modified 12 years and 12 days ago.

Previous Next


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