From mboxrd@z Thu Jan 1 00:00:00 1970 From: hobbes@poukram.net (=?utf-8?Q?R=C3=A9mi?= Letot) Subject: org-crypt doesn't automatically encrypt on save Date: Thu, 11 Sep 2014 21:44:08 +0200 Message-ID: <87y4tqkkmv.fsf@poukram.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSAMB-0000ZT-E8 for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 15:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSAI2-0003WQ-Ip for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 15:44:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:45822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSAI2-0003Tx-CJ for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 15:44:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XSAI0-0007aN-6W for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 21:44:20 +0200 Received: from 233.38-243-81.adsl-dyn.isp.belgacom.be ([81.243.38.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Sep 2014 21:44:20 +0200 Received: from hobbes by 233.38-243-81.adsl-dyn.isp.belgacom.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Sep 2014 21:44:20 +0200 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: emacs-orgmode@gnu.org Hello org-mode World, is anyone successfully using org-crypt with org-crypt-use-before-save-magic ? I set it up as per the docs, but apparently the org-mode before-save-hook is not populated with org-encrypt-entries as it should when I open an org buffer, meaning that crypt tagged headlines are not encrypted when I save the file *but* it works if I manually call M-x org-mode after opening the file... In summary: C-x C-f test.org / M-x org-decrypt-entry / C-x C-s does not reencrypt the entry C-x C-f test.org / M-x org-mode / M-x org-decrypt-entry / C-x C-s does work as expected. Any idea ? I'm using the Emacs Starter Kit, so that might interfere, but I can't see how and where... Thanks, -- RĂ©mi