From: Simon Thum <simon.thum@gmx.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: VCard export problems
Date: Sat, 06 Apr 2013 16:03:38 +0200 [thread overview]
Message-ID: <51602B3A.2080203@gmx.de> (raw)
Hi,
I just updates to the latest org and found the vcard export no longer
works. I get
Exporting...
let*: Symbol's function definition is void: org-install-letbind
Debug gets me:
Debugger entered--Lisp error: (void-function org-install-letbind)
(org-install-letbind)
(let* ((filename (or file org-contacts-vcard-file)) (buffer (if
to-buffer (get-buffer-create to-buffer) (find-file-noselect filename))))
(message "Exporting...") (set-buffer buffer) (let ((inhibit-read-only
t)) (erase-buffer)) (fundamental-mode) (org-install-letbind) (when
(fboundp (quote set-buffer-file-coding-system))
(set-buffer-file-coding-system coding-system-for-write)) (loop for
contact in (org-contacts-filter name) do (insert
(org-contacts-vcard-format contact))) (if to-buffer (current-buffer)
(progn (save-buffer) (kill-buffer))))
org-contacts-export-as-vcard()
I use make and emacs 24.2.1.
I'm not sure it's related but on my server I get the same error - after
changing the invocation. I now use
emacs -batch -l ~/.emacs.d/init.el -f org-contacts-export-as-vcard --kill
leading to aforementioned error. Before the update, I had to invoke
emacs someOrgFile.org -batch -l ~/.emacs.d/init.el -f
org-contacts-export-as-vcard --kill
because otherwise it would fail to load some stuff required by
org-contacts. Other exporters never had this issue. I suspect some
require is missing in org-contacts.
Anyway, if I invoke this line now it fails, although interactively
things load fine with the org file on the command line:
emacs someOrg.org -batch -l ~/.emacs.d/init.el
[...]
Symbol's value as variable is void: org-list-allow-alphabetical
To me, all of this points to some incorrect dependencies of load logic
to -batch. Unfortunately I don't know how to diagnose such problems.
It's not urgent but seems like a clear bug to me.
Cheers,
Simon
next reply other threads:[~2013-04-06 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-06 14:03 Simon Thum [this message]
2013-04-06 20:53 ` VCard export problems Bastien
2013-04-06 22:33 ` Simon Thum
2013-04-07 6:21 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51602B3A.2080203@gmx.de \
--to=simon.thum@gmx.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.