emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Automatically encrypt on save, decrypt on open?


From: Marcin Borkowski
Subject: Re: [O] Automatically encrypt on save, decrypt on open?
Date: Fri, 14 Aug 2015 21:11:19 +0200

On 2015-08-14, at 19:54, Jorge A. Alfaro-Murillo <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]