emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-crypt Error: org-crypt-use-before-save-magic


From: Ian Barton
Subject: [O] org-crypt Error: org-crypt-use-before-save-magic
Date: Mon, 14 Mar 2011 07:08:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]