emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Org-Mode <emacs-orgmode@gnu.org>
Subject: small patch for worg on encrypting files
Date: Wed, 31 Jul 2013 18:22:58 +0200	[thread overview]
Message-ID: <m2txjaitr1.fsf@polytechnique.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-encrypting-files-fix-typos.patch --]
[-- Type: text/x-patch, Size: 1410 bytes --]

From 6721b5dc19abdf02ad54e78c6edfa1d3ba26916d Mon Sep 17 00:00:00 2001
From: Alan Schmitt <alan.schmitt@polytechnique.org>
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


             reply	other threads:[~2013-07-31 16:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 16:22 Alan Schmitt [this message]
2013-07-31 17:02 ` small patch for worg on encrypting files Josiah Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2txjaitr1.fsf@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).