From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Documentation suggestion re: buffers containing crypted entries Date: Mon, 02 May 2011 00:42:17 -0300 Message-ID: <4dbe281d.218fec0a.0399.ffffaafa@mx.google.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGk1h-0007S5-Rl for emacs-orgmode@gnu.org; Sun, 01 May 2011 23:42:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGk1h-0006vV-1A for emacs-orgmode@gnu.org; Sun, 01 May 2011 23:42:25 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:60269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGk1g-0006vR-TD for emacs-orgmode@gnu.org; Sun, 01 May 2011 23:42:24 -0400 Received: by gwaa12 with SMTP id a12so2229054gwa.0 for ; Sun, 01 May 2011 20:42:23 -0700 (PDT) In-Reply-To: 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: Bill Day Cc: emacs-orgmode@gnu.org 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. -- Darlan At Sat, 30 Apr 2011 17:34:06 -0400, Bill Day wrote: > > [1 ] > I appreciate the warning about encrypted entries, and, I would like to add, > all the hard work and careful thought that has gone into making org-mode > such an incredible piece of software. > > I checked the documentation regarding turning off auto-save on pages > containing encrypted entries and saw that the warning was repeated but there > was no advice on how to implement it. See > http://orgmode.org/worg/org-tutorials/encrypting-files.html > > My eventual solution (there may be better ones) was to add a line at the top > of my encrypted page as follows: > > # -*- buffer-auto-save-file-name: nil; -*- > > This itself generates a warning every time I go to that page, but it seems > to inhibit auto-save. I would like to suggest that a little bit of > explanation of how to turn auto-save on and off be added to the > documentation on encryption with org-mode. > > Thank you. > > Sincerely, > > Bill Day > > -- > Bill Day > williamson.day@gmail.com > [2 ] >