[Top][All Lists]

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

Re: undo weirdness with insert-file-contents

From: Bill Wohler
Subject: Re: undo weirdness with insert-file-contents
Date: Thu, 28 Feb 2008 21:50:57 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Glenn Morris <address@hidden> writes:

> Miles Bader wrote:
>> I define a "message-setup-hook" which for some reason has the unintended
>> side-effect of turning off undo in the result message-mode buffer
>> [buffer-undo-list has a value of t].
> Here's a simpler example of the same thing (?):
> http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02302.html
>   From:   Bill Wohler
>   Subject:     23.0.60; Disabled undo
>   Date:        Sat, 23 Feb 2008 22:07:26 -0800

Thanks, Glenn. Yes, I suspect that it is the same thing. My original
message, however, didn't get quite the same attention as Miles' :-).

Martin, I'll assume that I'd observe the same as Glenn. I'll be happy
to try out new patches.

> now works in both 22 and 23, but in 22 the buffer is marked as not
> modified after undo. It 23 it is marked as modified.

I agree with Martin; the buffer, which is now in its original pristine
state, should not be marked modified.

Bill Wohler <address@hidden>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

reply via email to

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