From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: small patch for worg on encrypting files Date: Wed, 31 Jul 2013 18:22:58 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4ZB6-0006tf-FI for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 12:23:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4ZB1-0002j4-Av for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 12:23:08 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:45739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4ZB1-0002hV-37 for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 12:23:03 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode --=-=-= Content-Type: text/plain Hello, I just played with encrypting an org file, and I found a couple typos and corrections for this page. I attach the patch that would fix them. Best, Alan --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-encrypting-files-fix-typos.patch >From 6721b5dc19abdf02ad54e78c6edfa1d3ba26916d Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Wed, 31 Jul 2013 18:20:58 +0200 Subject: [PATCH] encrypting-files: fix typos --- org-tutorials/encrypting-files.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/org-tutorials/encrypting-files.org b/org-tutorials/encrypting-files.org index 74a04c4..a19bbe4 100644 --- a/org-tutorials/encrypting-files.org +++ b/org-tutorials/encrypting-files.org @@ -30,7 +30,9 @@ add the following to your .emacs: If you want to encrypt the whole file using gnupg, but still have the decrypted file recognized as an org file, you should make: -B-*- mode:org; epa-file-encrypt-to: ("me@mydomain.com") -*- +#+BEGIN_SRC org + # -*- mode:org; epa-file-encrypt-to: ("me@mydomain.com") -*- +#+END_SRC the first line in the file. Where "me@mydomain.com" is the email address associated with your default gnupg key. Note that gpg @@ -47,7 +49,7 @@ Encryption, you require both your private key and your pass phrase. EasyPG can use both methods of encryption. If you want to use symmetric encryption omitting the "epa-file-encrypt-to:" from your -.gpg file should do the trick. If this doesn't work, you may try +.gpg file or setting it to ~nil~ should do the trick. If this doesn't work, you may try setting the variable: #+BEGIN_SRC emacs-lisp -- 1.8.2.1 --=-=-=--