From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Unexpected macro error Date: Wed, 19 Nov 2014 07:20:15 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr8vp-0001sv-S9 for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 12:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr8vi-0004OO-KM for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 12:20:41 -0500 Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:55806) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Xr8vi-0004Ny-6N for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 12:20:34 -0500 Received: from [98.155.255.145] (port=59136 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1Xr8vT-00049K-Fq for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 10:20:19 -0700 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: Org-mode Aloha all, A document I've been working on for several weeks broke recently without changes on my part. However, I've been tracking the master git branch every once in a while and I suspect some change in Org is the culprit. Org-mode version 8.3beta (release_8.3beta-580-g787733 @ /Users/dk/.emacs.d/src/org-mode/lisp/) I haven't tried to make an ECM because I don't know what the problem could be. Here is a backtrace: Debugger entered--Lisp error: (error "Undefined Org macro: ad; aborting.") signal(error ("Undefined Org macro: ad; aborting.")) error("Undefined Org macro: %s; aborting." "ad") org-macro-replace-all((("author" . #("Thomas S. Dye" 0 13 (:parent (#("Thomas S. Dye" 0 13 (:parent #4)))))) ("date" . "\\today") ("email" . "tsd@tsdye.com") ("title" . #("Dating human dispersal in Remote Oceania: A view from Hawai`i" 0 61 (:parent (#("Dating human dispersal in Remote Oceania: A view from Hawai`i" 0 61 (:parent #4))))))) finalize) org-export-as(latex nil nil nil (:output-file "./dispersals.tex")) org-export-to-file(latex "./dispersals.tex" nil nil nil nil nil #[(file) "\301!\207" [file org-latex-compile] 2]) org-latex-export-to-pdf(nil nil nil nil) (org-open-file (org-latex-export-to-pdf nil s v b)) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) The error message refers to a macro, ad. I don't have an "ad" macro. Where does this come from? The next header line, after the headers that become macros, is #+ADDRESS:, which starts with "ad", although the case is different. Also, the string "ad" occurs frequently in my writing as the path in a custom link that sets the path as small caps in LaTeX output, e.g. [[sc:ad][AD]]. You can see that I'm groping in the dark. Any suggestions how I might go about debugging this? All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com