emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* elisp: link type isn't working
@ 2012-01-25  2:00 Alan E. Davis
  2012-01-25  4:28 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Alan E. Davis @ 2012-01-25  2:00 UTC (permalink / raw)
  To: org-mode

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

I've been using an elisp function to open an encrypted file.  I borrowed
this setup from, I think, Sacha Chua's blog.  It's worked unfailingly for
at least a couple of years, until tonight.   I keep some sensitive
information in a file, "junk.org."  when encrypted using bcrypt, the file
is renamed "junk.org.bfe."

In my init files is a little function that runs bcrypt on the file,
prompting for the password:

(defun open-encrypted-file (fname)
  (interactive "FFind file: \n")
  (let ((buf (create-file-buffer fname)))
    (shell-command
     (concat "echo " (read-passwd "Decrypt password: ") " | bcrypt -o "
fname)
     buf)
    (set-buffer buf)
    (kill-line)(kill-line)
    (toggle-read-only)
    (not-modified)b)
  )

I use a file of links as a directory to some of my projects.   In this file
is a headling that stores this link (an org file):

[[elisp:(open-encrypted-file "~/WB/org/junk.org.bfe")][PassWord]]

Anymore, as of today, when I try to run this link, the following is
received:

" Symbol's function definition is void: org-in-clocktable-p"

I don't do anything with clocks.

Can someone suggest what might be going on?

Alan Davis

[-- Attachment #2: Type: text/html, Size: 1393 bytes --]

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

end of thread, other threads:[~2012-01-25  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25  2:00 elisp: link type isn't working Alan E. Davis
2012-01-25  4:28 ` Nick Dokos
2012-01-25  5:33   ` Nick Dokos

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