From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-mode 7.9.4 now returns org-strip-protective-commas Date: Fri, 22 Mar 2013 16:54:40 -0400 Message-ID: <6002.1363985680@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ8zA-0007x2-Ud for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 16:54:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ8z9-0001MB-Ln for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 16:54:48 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:37527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ8z9-0001Ky-Ds for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 16:54:47 -0400 In-Reply-To: Message from Luke Crook of "Fri, 22 Mar 2013 20:17:35 -0000." 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: Luke Crook Cc: emacs-orgmode@gnu.org Luke Crook wrote: > I updated org-mode to 7.9.4, and now a I receive the following error from Emacs > when I try to generate Latex output; > > Code block evaluation complete. > org-export-select-backend-specific-text: Symbol's function definition is void: > org-strip-protective-commas > > > > Any ideas what might be going on? > > > My guess is that you have a seriously mixed-up installation. org-strip-protective-commas was removed on Sept. 30, 2012 with this commit and at the same time org-export-select-backend-specific-text was modified to use the new function org-unescape-code-in-region: ,---- | commit fac86b03fe19d5bb6fe018c3cbc3becac6263b0e | Author: Nicolas Goaziou | Date: Sun Sep 30 17:20:27 2012 +0200 | | Normalize comma-escaping of src-blocks and example-blocks | | * lisp/org-src.el (org-escape-code-in-string, | org-unescape-code-in-string, org-escape-code-in-region, | org-unescape-code-in-region): New functions. | (org-edit-src-code, org-edit-src-exit): Use new functions. | * lisp/org.el (org-strip-protective-commas): Removed function. | * lisp/org-exp.el (org-export-select-backend-specific-text): Use new | function. | * lisp/ob.el (org-babel-parse-src-block-match, | org-babel-parse-inline-src-block-match, org-babel-insert-result): | Always escape produced blocks, independently on the language of the | block, if any. Use new functions. | * doc/org.texi: Update documentation. | * testing/lisp/test-ob.el: Update test. `---- So the fact that your org-export-select-backend-specific-text calls org-strip-protective-commas means that you are picking up an old org-exp.el, and the fact that the latter is missing means that you are picking up a new org.el. I hope that's enough to let you figure it out, because beyond that my crystal ball is completely opaque. If you need more help, you will need to provide more detail: emacs and org versions and enough of your setup to be able to see what's going on. Also try to figure out from which file(s) these things are loaded. My usual method is M-x locate-library but M-x list-load-path-shadows may be a better way to go. Nick