From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: disable "org-decrypt: auto-save-mode may cause leakage" Date: Mon, 29 Aug 2011 11:09:04 +0200 Message-ID: <80ei04h9e7.fsf@somewhere.org> References: <2011-07-14T14-11-51@devnull.Karl-Voit.at> <20110714131745.GC2823@soloJazz.com> <80hb6pgezl.fsf@somewhere.org> <87bowxym68.fsf@praet.org> <808vs0hqj1.fsf@somewhere.org> <878vs0zws9.fsf@praet.org> <80mxgckklh.fsf@somewhere.org> <874o2jw5d4.fsf@gnu.org> <877h5y6czw.fsf@praet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Pieter, Pieter Praet wrote: > On Tue, 19 Jul 2011 01:12:23 +0200, Bastien wrote: >> "Sebastien Vauban" writes: >> >> > I simply call C-c C-x C-j to jump to the current clocking entry, and the >> > question "org-decrypt: auto-save-mode may cause leakage. Disable it for >> > current buffer? (y or n)" pops up -- while the current buffer has nothing >> > special, as said above. >> >> Weird. >> >> Maybe you have some hook in `org-clock-goto-hook' that makes Org visit some >> buffer containing encrypted entries? > > Apparently not config-related. > > I don't use org-clock.el (and as such don't have any org-clock related > config, `org-clock-goto-hook' is nil), but due to a recent freak accident > involving spastic typing, I've managed to trigger the issue. Apologies for > dismissing it earlier, Sebastien. No problem, Pieter. I did not expand the thread further by lack of time, and -- at this point in time -- I can't prove yet whether you're wrong or right (saying it could be config-related) in my case. > `org-clock-goto' erroneously causes `org-decrypt-entry' to be called, though > it's not immediately obvious how or why this would happen. Your analysis and patch seems right to me, just from reading it. However, in my case, I have the question coming up even when org-clock-goto'ing to/from a buffer that does not contain any :crypt: entry! But, as stated, by lack of time, I simply can't try to reduce the problem to an ECM right now. So, I'll first test your patch, when pushed to the repo, and report any new observation. Best regards, Seb -- Sebastien Vauban