From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: font-lock error on html export with src blocks Date: Thu, 27 Feb 2014 10:00:01 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c1183466728004f364936e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ2RS-0002Ma-RA for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 10:00:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJ2RO-00059m-SK for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 10:00:06 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:51572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ2RO-00059C-No for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 10:00:02 -0500 Received: by mail-qg0-f50.google.com with SMTP id z60so5966674qgd.9 for ; Thu, 27 Feb 2014 07:00:02 -0800 (PST) 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 --001a11c1183466728004f364936e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone, I'm having trouble exporting an org file to html, or any html-derived backends (deck, wordpress, etc). I've attached a version of the offending file but I've also narrowed the error down to one php source block: #+BEGIN_SRC php /* Register SoundCloud shortcode ------------------------------------------------------------------------= -- */ add_shortcode("soundcloud", "soundcloud_shortcode"); /** * SoundCloud shortcode handler * @param {string|array} $atts The attributes passed to the shortcode like [soundcloud attr1=3D"value" /]. * Is an empty string when no arguments are given. * @param {string} $content The content between non-self closing [soundcloud]=E2 EURO |[/soundcloud] tags. * @return {string} Widget embed code HTML */ function soundcloud_shortcode($atts, $content =3D null) { #+END_SRC The error seems to be related to font locks, and I guess must have something to do with php-mode somehow: -----*Messages*------- Wrote /home/matt/test.org org-babel-exp process php at line 14... org-babel-exp process php at line 26... org-babel-exp process html at line 36... org-babel-exp process php at line 41... face-attribute: Wrong type argument: symbolp, (quote font-lock-constant-fac= e) -------------- Does anyone else have any suggestions? thanks! Matt --001a11c1183466728004f364936e Content-Type: application/vnd.lotus-organizer; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hs65kc030 IytCTE9HOiBoaAojK1BPU1RJRDogMzc4OQojK0RBVEU6IFsyMDE0LTAyLTI2IFdlZCAxNjo1MF0K IytPUFRJT05TOiB0b2M6bmlsIG51bTpuaWwgdG9kbzpuaWwgcHJpOm5pbCB0YWdzOm5pbCBeOm5p bAojK0NBVEVHT1JZOiAKIytUQUdTOgojK0RFU0NSSVBUSU9OOgojK1RJVExFOiBEaXJ0eSBIYWNr czogIEEgV2Fsa3Rocm91Z2gKClllc3RlcmRheSBpbiBjbGFzcywgdGhlIE9ITSBncm91cCB3ZXJl IHRyeWluZyB0byBnZXQgdGhlaXIgYXVkaW8gcGxheWVyIHRvIGRpc3BsYXkgaW4gYSBwYXJ0aWN1 bGFyIHdheS4gIEl0IHR1cm5lZCBvdXQgdG8gYmUgZnJ1c3RyYXRpbmdseSBkaWZmaWN1bHQsIGFu ZCBJIGdvdCBzdWNrZWQgaW4gdG8gdGhlIHByb2Nlc3MuIEkgd2FudGVkIHRvIHRyYWNlIHdoYXQg SSBkaWQgLS0gd2hpY2ggd2FzIGlsbHVtaW5hdGluZyBtb3N0bHkgYmVjYXVzZSBpdCBzaG93cyBo b3cgbGl0dGxlIGFjdHVhbCBrbm93bGVkZ2UgaXMgaW52b2x2ZWQgaW4gdGhlIGtpbmQgb2YgaGFj a2luZyB0aGF0IEkgZG8sIGFuZCB0aGF0IEkgd2FudCB5b3UgdG8gbGVhcm4gdG8gZG8uICAKCioq IEZpc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