Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-12 Thread Rémi Letot
Darlan Cavalcante Moreira darc...@gmail.com writes: You need to load org-crypt and call org-crypt-use-before-save-magic before you open the org file. I have this in my config: (add-to-list 'org-modules 'org-crypt) (require 'org-crypt) So I think that's what is done. I also checked

Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-12 Thread Jorge A. Alfaro-Murillo
Darlan Cavalcante Moreira writes: In my case I only have one file where I use org-crypt and I define the function below --8---cut here---start-8--- (defun my-find-senhas-org-heading nil (interactive) (require 'org-crypt) (find-file

Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-12 Thread Darlan Cavalcante Moreira
One note first, if you change org-modules manually like that you must make sure this change is done before org-mode is loaded. I prefer to use the customize interface just for org-modules for that reason. I also add org-crypt to org-modules like you do. If I open my password.org file and open it

[O] org-crypt doesn't automatically encrypt on save

2014-09-11 Thread Rémi Letot
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

Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-11 Thread Darlan Cavalcante Moreira
You need to load org-crypt and call org-crypt-use-before-save-magic before you open the org file. For instance, my configuration for org-crypt is --8---cut here---start-8--- (autoload 'org-decrypt-entry org-crypt.el Decrypt the content of the current