From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Re: Problem with org-crypt Date: Fri, 02 Sep 2011 10:45:19 +0200 Message-ID: <4E60979F.5000804@witte.net.au> References: <4E5E0744.5080905@witte.net.au> <874o0v72sg.fsf@praet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzPNP-0004kB-D5 for emacs-orgmode@gnu.org; Fri, 02 Sep 2011 04:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzPNM-0005O5-Qn for emacs-orgmode@gnu.org; Fri, 02 Sep 2011 04:45:27 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:37738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzPNM-0005Nb-FZ for emacs-orgmode@gnu.org; Fri, 02 Sep 2011 04:45:24 -0400 Received: by bkbzt4 with SMTP id zt4so2658803bkb.0 for ; Fri, 02 Sep 2011 01:45:22 -0700 (PDT) In-Reply-To: <874o0v72sg.fsf@praet.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: Pieter Praet Cc: Org Mode On Fri 02 Sep 2011 10:43:11 AM CEST, Pieter Praet wrote: > On Wed, 31 Aug 2011 12:04:52 +0200, Christopher Witte wrote: >> Hi all, >> >> I've been using org-crypt and find it a great little addition to >> org-mode, but I have been noticing some weird behaviour. When I'm in a >> file that has NO encrypted entires (or :crypt: tags) and I archive a sub >> tree, I get asked the question "org-decrypt: auto-save-mode may cause >> leakage. Disable it for current buffer?". This must mean >> org-decrypt-entry is being run but I don't understand why. I've noticed >> that org-decrypt-entry is added to the org-reveal-start-hook, I'm not >> sure why that is. When I don't add it to that hook, I no longer get >> asked that question and org-crypt still apears to work as expected, but >> I'm not sure if this will have broken something else. >> >> Does anyone know why org-decrypt-entry is added to the >> org-reveal-start-hook and if it would break anything if I don't add it? >> >> Thanks for the help >> Chris. >> > > It's a known issue; Patch available [1]. > > Bastien's AFK until the 5th, so won't be fixed in mainline before then. > > Dropping the `add-hook' line is also a good temporary fix, won't break > anything, only prevents `org-reveal' (`C-c C-r') from decrypting entries. > > > Peace Thanks, I'll look into that patch. Chris -- Dr Christopher Witte Postdoctoral Research Fellow Molecular Imaging Group Leibniz-Institut für Molekulare Pharmakologie (FMP) Campus Berlin-Buch Robert-Roessle-Str. 10 13125 Berlin, Germany Phone: 00493094793-279