From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: org-reveal (gpg crypt) and auto saving Date: Fri, 10 Sep 2010 12:26:49 +0200 Message-ID: References: <8739thapht.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36793 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou0p1-0002gJ-4c for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou0p0-0000le-47 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:27:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:54121) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou0oz-0000lT-To for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:27:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ou0oy-00083d-CP for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 12:27:04 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 12:27:04 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 12:27:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Richard Riley writes: > Eric Abrahamsen writes: > >> On Fri, Sep 10 2010, Richard Riley wrote: >> >>> I just opened an org file which has some CRYPT tagged items. When I >>> org-reveal them (C-c C-r) they are properly decrypted and visible for a >>> second or two but something is triggering a buffer save which then >>> causes the "revealed item" to vanish back into gpg haze once more. >>> >>> What might be triggering this auto-save? I grepped my code for org-save >>> but nothing came up. >>> >>> Anyone else using this please confirm it does or doesn't happen to >>> you! >> >> Well, this doesn't happen to me, but that's because I use >> org-decrypt-entry (bound to C-c C-/ at my house) rather than org-reveal. >> That goes entry by entry, and once they're decrypted, they stay >> decrypted until I explicitly save the buffer. Maybe you could try that? >> >> And if the gods are listening: wouldn't it be nice if >> org-decrypt-entries (plural) only asked for your passphrase once for a >> whole buffer, when multiple individual entries were encrypted with the >> same key? Would that be possible? > > It is. It shouldnt have to ask you at all in fact. > > gpg-agent. > I forgot to add : org-crypt-key. And my problem solved : it was some junk lying around where I had experimented with "real-auto-save". cheers r.