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:18:55 +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=57651 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou0hM-0000tz-QK for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou0hK-0007ds-TB for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:19:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:38492) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou0hK-0007dM-Nj for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 06:19:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ou0hJ-0004FD-14 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 12:19:09 +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:19:09 +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:19:09 +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 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.