From mboxrd@z Thu Jan 1 00:00:00 1970 From: phil Subject: Re: Org-mode & EasyPG: How to enable both on a per-file-basis? Date: Sun, 8 Apr 2007 18:29:03 +0200 Message-ID: <82AF985C-8113-4630-A5B9-5B4861533F3D@snapup.net> References: <92571663-E4F9-4748-9299-A3E74EB61534@snapup.net> <87ps6f7xq2.fsf@goat.bogus.local> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HaaK8-0000mx-3p for emacs-orgmode@gnu.org; Sun, 08 Apr 2007 12:33:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HaaK7-0000m7-EX for emacs-orgmode@gnu.org; Sun, 08 Apr 2007 12:33:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HaaK7-0000lj-7Q for emacs-orgmode@gnu.org; Sun, 08 Apr 2007 12:33:03 -0400 Received: from chi.asmallorange.com ([70.85.217.130]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HaaGN-00038r-JC for emacs-orgmode@gnu.org; Sun, 08 Apr 2007 12:29:11 -0400 In-Reply-To: <87ps6f7xq2.fsf@goat.bogus.local> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Olaf Dietsche Cc: emacs-orgmode Thanks! > -*- mode: org; epa-file-encrypt-to: ("KEY-ID") -*- Is working like a charm - Everytime I save my .org-file it will be stored gnupg-encrypted. Pretty nice, when you take your data with you - in case of lost. Should be a must-have for org-mode-users. - P hil On Apr 8, 2007, at 4:21 PM, Olaf Dietsche wrote: > phil writes: > >> Any ideas how I can use both settings on a per file basis: >> >> 1. telling Emacs that this file is a org-mode file, and >> 2. telling Emacs which GPG-Key it should choose when encrypting? > > Maybe > -*- mode: org; epa-file-encrypt-to: ("EMAIL-ADRESS OR KEY- > ID") -*- > works? > > Regards, Olaf.