On 2015-08-14, at 19:54, Jorge A. Alfaro-Murillo 
<jorge.alfaro-muri...@yale.edu> wrote:

> Peter Davis writes:
>
>> I'd like to store information in an org page that gets 
>> automatically encrypted when I save it, and decrypted when I 
>> open it. Is there some built-in functionality or hooks for this?
>
> You could save the file as .gpg, and put as its first line
>
> # -*- mode: org-mode -*-

In my setup (and I didn't do anything special, just installed gpg from
Ubuntu repos), it is enough to name the file foo.org.gpg (of course,
I have this: (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))).
 
> Best,

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Reply via email to