From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: org-reveal (gpg crypt) and auto saving Date: Fri, 10 Sep 2010 20:46:23 +0800 Message-ID: <87bp85936o.fsf@ericabrahamsen.net> References: <8739thapht.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou2zv-0003TS-PX for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 08:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou2zu-00064g-17 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 08:46:31 -0400 Received: from lo.gmane.org ([80.91.229.12]:53877) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou2zt-00064a-Mb for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 08:46:30 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ou2zq-0007Xh-K1 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 14:46:26 +0200 Received: from 123.121.209.217 ([123.121.209.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 14:46:26 +0200 Received: from eric by 123.121.209.217 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 14:46:26 +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 On Fri, Sep 10 2010, Richard Riley wrote: > 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. Yeah, I've got this much set up, but something is borken with the agent and I've never bothered fixing it (still get a minibuffer prompt). If that would solve this problem, then that's motivation! > > And my problem solved : it was some junk lying around where I had > experimented with "real-auto-save". > > cheers > > r. > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode