Hello Nicolas, For me, org-e-html-special-string-regexps does not (yet) play well.
On Sun, Jun 17, 2012 at 4:47 PM, Nicolas Goaziou <n.goaz...@gmail.com> wrote: > William Crandall <bc3141...@gmail.com> writes: > >> I've not been able to get special-strings working with >> the new exporter, > > I have no problem with > > (add-to-list 'org-e-html-special-string-regexps '("-nd-" . "--")) > > Could you elaborate? I have no problem with special strings > in any back-end so far. -------------------------------------------------- Certainly. If I add that one line to the end of init.el: -------------------------------------------------- Debugger entered--Lisp error: (void-variable org-e-html-special-string-regexps) add-to-list(org-e-html-special-string-regexps ("-nd-" . "--")) [etc.] -------------------------------------------------- And the attempted compile kicks off a renaming error, that I do not understand. That is, if I delete the new line, and try to compile: -------------------------------------------------- byte-compile-file: Renaming: permission denied, g:/dev/bin/emacs/.emacs.d/init.elc16464y, g:/dev/bin/emacs/.emacs.d/init.elc -------------------------------------------------- If I kill emacs, delete all init.elc* files, and restart, byte-compile proceeds without complaint. I've tried to wrap the line in two ways, but neither work: -------------------------------------------------- (eval-after-load 'org (add-to-list 'org-e-html-special-string-regexps '("-nd-" . "--"))) -------------------------------------------------- Same "void-variable" error, and "Renaming: permission denied" error, with multiple init.elc3996DWC, etc. And same if I wrap it like this (void and renaming errors), which is the syntax that works for the old exporter: -------------------------------------------------- (eval-after-load "org" '(setq org-e-html-special-string-regexps (append org-e-html-special-string-regexps '(("-nd-" . "--"))))) -------------------------------------------------- -------------------------------------------------- If I remove all code snippet from init.el, kill emacs, delete all init.elcXXX files, and restart, emacs is fine. But, if I repeatedly test different permutations, emacs hangs trying to open a plain text file, showing no text and a broken scroll bar, and corrupts the desktop file. That is to say, it doesn't (yet) work for me ;). Hope this helps! -BC Org-mode version 7.8.11 (release_7.8.11-80-gfca016) GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-06-18 on MARVIN Windows 7