emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* small patch for worg on encrypting files
@ 2013-07-31 16:22 Alan Schmitt
  2013-07-31 17:02 ` Josiah Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Schmitt @ 2013-07-31 16:22 UTC (permalink / raw)
  To: Org-Mode

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: small patch for worg on encrypting files
  2013-07-31 16:22 small patch for worg on encrypting files Alan Schmitt
@ 2013-07-31 17:02 ` Josiah Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Josiah Schwab @ 2013-07-31 17:02 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: Org-Mode

Alan Schmitt writes:

> 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.

Applied.

Josiah

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-31 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 16:22 small patch for worg on encrypting files Alan Schmitt
2013-07-31 17:02 ` Josiah Schwab

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).