From: Ian Barton <lists@manor-farm.org>
To: emacs-orgmode@gnu.org
Subject: org-crypt Error: org-crypt-use-before-save-magic
Date: Mon, 14 Mar 2011 07:08:55 +0000 [thread overview]
Message-ID: <4D7DBF07.4050004@manor-farm.org> (raw)
I am investigating using org-crypt in some of my files. In my .emacs I have:
#+BEGIN_SRC emacs-lisp
(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote ("crypt")))
; GPG key to use for encryption
(setq org-crypt-key "MyKey")
#+END_SRC
When I start Emacs I get:
Warning (initialization): An error occurred while loading
`/home/ian/.emacs':
Symbol's function definition is void: org-crypt-use-before-save-magic
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
The corresponding backtrace is:
Debugger entered--Lisp error: (void-function
org-crypt-use-before-save-magic)
(org-crypt-use-before-save-magic)
eval-buffer(#<buffer *load*<2>> nil "/home/ian/.emacs.d/blacky.el"
nil t) ; Reading at buffer position 28453
load-with-code-conversion("/home/ian/.emacs.d/blacky.el"
"/home/ian/.emacs.d/blacky.el" nil nil)
load("/home/ian/.emacs.d/blacky.el" nil nil t)
load-file("~/.emacs.d/blacky.el")
org-babel-load-file("~/.emacs.d/blacky.org")
eval-buffer(#<buffer *load*> nil "/home/ian/.emacs" nil t) ;
Reading at buffer position 208
load-with-code-conversion("/home/ian/.emacs" "/home/ian/.emacs" t t)
load("~/.emacs" t t)
#[nil "\b\205\264
I am using a recent git checkout.
I notice that org-crypt isn't documented in the manual and there is an
old message from Carsten asking for someone to document it. If I can get
it working I'll promise to document it:) Also I'll write something about
using ssh agent with org an Emacs, a topic that has cuased me some head
scratching recently.
Ian.
next reply other threads:[~2011-03-14 7:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 7:08 Ian Barton [this message]
2011-03-14 9:36 ` org-crypt Error: org-crypt-use-before-save-magic Julien Danjou
2011-03-14 15:55 ` Ian Barton
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=4D7DBF07.4050004@manor-farm.org \
--to=lists@manor-farm.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).