[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] elisp: link type isn't working
From: |
Nick Dokos |
Subject: |
Re: [O] elisp: link type isn't working |
Date: |
Tue, 24 Jan 2012 23:28:13 -0500 |
Alan E. Davis <address@hidden> wrote:
> --f46d0442829ce6a93e04b750a2ca
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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?
>
M-x toggle-debug-on-error
and post the backtrace.
Nick