[Top][All Lists]

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

Re: repairing allout auto-save decrypted-topic protection before emacs 2

From: ken manheimer
Subject: Re: repairing allout auto-save decrypted-topic protection before emacs 24 release
Date: Mon, 4 Jul 2011 18:24:46 -0400

ok, done.  with the bonus that regular file writes with included topics pending encryption are handled much better, as well.


On Mon, Jul 4, 2011 at 2:59 PM, ken manheimer <address@hidden> wrote:
hi, all.  i've discovered a problem with an allout provision to protect against auto-saves of outlines with encrypted topics that are currently decrypted, and should have a fix soon.  however, with the imminent emacs 24, i wanted to let you know that i'm working on a fix, and hope to check it in before the release happens.  i should have the fix done by the end of the day, and don't expect that the release really is that imminent, but figured it wouldn't hurt to mention it.

incidentally, the problem i discovered has to do with the way that auto-save-hook is used.  apparently it isn't checked in the context of each buffer where auto-save is happening, and it offers no provision for gracefully preventing an auto-save per individual buffer, like eg write-contents-functions does.  so i'm going to be transiently settting buffer-saved-size to -1 while there are decrypted items to exempt such buffers from auto-save - should have that done by the end of the day.  (suggestions about the approach are welcome.)

ken manheimer

reply via email to

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