emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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)

(setq org-tags-exclude-from-inheritance (quote ("crypt")))
; GPG key to use for encryption
(setq org-crypt-key "MyKey")

When I start Emacs I get:

Warning (initialization): An error occurred while loading 

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 
   eval-buffer(#<buffer  *load*<2>> nil "/home/ian/.emacs.d/blacky.el" 
nil t)  ; Reading at buffer position 28453
"/home/ian/.emacs.d/blacky.el" nil nil)
   load("/home/ian/.emacs.d/blacky.el" nil nil t)
   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.


             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:

  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 \


* 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


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