From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Documentation suggestion re: buffers containing crypted entries Date: Fri, 24 Jun 2011 07:57:01 -0400 Message-ID: <87y60rsar6.fsf@norang.ca> References: <4dbe281d.218fec0a.0399.ffffaafa@mx.google.com> <8762nv5yvf.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa50h-0006GE-IG for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 07:57:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa50c-0007aa-9o for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 07:57:19 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:62037 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa50b-0007ZJ-70 for emacs-orgmode@gnu.org; Fri, 24 Jun 2011 07:57:13 -0400 In-Reply-To: <8762nv5yvf.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 24 Jun 2011 11:04:36 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Dave Abrahams , emacs-orgmode@gnu.org Eric S Fraga writes: > Dave Abrahams writes: > >>> I was hit by this last week when I was investigating why my emacs >>> initialization was taking so long. Later I found out that org-crypt was the >> >>> culprit, since it added a "sit for 5s" in order for the user to actually >>> see this warning. >>> >>> The problem is that org-crypt tests the value of the auto-save-default >>> variable during loading time. This reflects the default behavior and not >>> the actual auto-save status of the current buffer. >>> >>> Maybe a variable to disable this warning could be introduced so that the >>> user could disable it after understanding the problem. >> >> Oh, yes please! I'm finding the delays introduced by this problem >> almost intolerable. Call me picky but I've gone to great lengths to >> make emacs very responsive and this sit-for really interferes! > > +1 > > I have found this (sit-for 5) annoying enough that I have deleted it > from my copy of org. 5 seconds is a large percentage of my emacs start > up time! I also have removed this wait in my local copy of org-mode. I use org-crypt for one subtree in each of my org files which contains passwords and other sensitive data. I rarely decrypt these entries so leaving auto save on for my use case isn't much of a security issue for me. I tend to decrypt the entry, look up the detail I need, and then resave the file which reencrypts the entry immediately. Just my 2 cents :) -- Bernt