From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Thum Subject: VCard export problems Date: Sat, 06 Apr 2013 16:03:38 +0200 Message-ID: <51602B3A.2080203@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOTiY-0002NW-DH for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 10:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOTiW-0001au-UU for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 10:03:42 -0400 Received: from mout.gmx.net ([212.227.17.22]:51040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOTiW-0001ad-Lz for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 10:03:40 -0400 Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MY1JW-1U2X0N3MoK-00UpG9 for ; Sat, 06 Apr 2013 16:03:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode 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