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

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 "~/org/passwords

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

2014-09-12 Thread Rémi Letot
Darlan Cavalcante Moreira 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 org-mode-hook on a fre

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 head