From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Documentation suggestion re: buffers containing crypted entries Date: Tue, 28 Jun 2011 10:29:20 -0300 Message-ID: <4e09d735.6aaeec0a.7fbb.0831@mx.google.com> References: <4dbe281d.218fec0a.0399.ffffaafa@mx.google.com> <8762nv5yvf.fsf@ucl.ac.uk> <87hb7febzu.fsf@gnu.org> <878vsrxs4g.fsf@ucl.ac.uk> <87wrg7tdpl.fsf@altern.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbYM7-0002SL-LG for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 09:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbYM5-00027x-Rj for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 09:29:31 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:53139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbYM5-00027i-E4 for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 09:29:29 -0400 Received: by gyg13 with SMTP id 13so104111gyg.0 for ; Tue, 28 Jun 2011 06:29:28 -0700 (PDT) In-Reply-To: <87wrg7tdpl.fsf@altern.org> 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: Bastien Cc: Dave Abrahams , emacs-orgmode@gnu.org I think we can disable auto-save locally using file variables, but what org-crypt seem to check is auto-save-default and its value probably won't change when auto-save is disabled locally. -- Darlan Cavalcante At Mon, 27 Jun 2011 18:56:54 +0200, Bastien wrote: > > Hi Eric, > > Eric S Fraga writes: > > > The question is where should this information be most appropriate to > > appear. In my view, this should be in the documentation (highlighted > > etc), not in the Emacs mini-buffer! I don't know enough texi (any at > > all, actually) so cannot suggest a patch. However, I would suggest that > > the warning that is in the code be moved into the entry for org-crypt.el > > in the info manual. > > I did so -- I added this to the config example in org.texi: > > ,---- > | (setq auto-save-default nil) > | ;; Auto-saving does not cooperate with org-crypt.el: so you need > | ;; to turn it off if you plan to use org-crypt.el quite often. > | ;; Otherwise, you'll get an (annoying) message each time you > | ;; start Org. > | > | ;; To turn it off only locally, you can insert this: > | ;; > | ;; # -*- buffer-auto-save-file-name: nil; -*- > `---- > > > Or, as originally proposed, the warning in the code > > could be wrapped in a customisable variable but this seems like overkill > > to me. > > To me too, unless we have a clean way to disable auto-save-mode locally. > > > Just my 2ยข! > > 2thx! > > -- > Bastien >