emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Crandall <bc3141592@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Inhibit converting "--" to "&ndash;"
Date: Mon, 18 Jun 2012 16:39:34 -0700	[thread overview]
Message-ID: <CAENLK5VhyUSsof-1_GCaTa2utTYw2upgMoCGue+BwZpNr-2BXg@mail.gmail.com> (raw)
In-Reply-To: <87y5nl4i1o.fsf@gmail.com>

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.goaziou@gmail.com> wrote:
> William Crandall <bc3141592@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

  reply	other threads:[~2012-06-18 23:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-17  3:15 Inhibit converting "--" to "&ndash;" William Crandall
2012-06-17 23:47 ` Nicolas Goaziou
2012-06-18 23:39   ` William Crandall [this message]
2012-06-19  0:04     ` Nicolas Goaziou
2012-06-19  0:39       ` William Crandall
2012-06-19  0:42         ` Nicolas Goaziou
2012-06-19  1:35           ` William Crandall
  -- strict thread matches above, loose matches on Subject: below --
2012-06-16 23:14 Tsunenobu Kai
2012-06-17  1:03 ` Michael Hannon
2012-06-17  2:11   ` Tsunenobu Kai
2012-06-17  2:18     ` Nick Dokos
2012-06-17  3:04       ` Tsunenobu Kai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAENLK5VhyUSsof-1_GCaTa2utTYw2upgMoCGue+BwZpNr-2BXg@mail.gmail.com \
    --to=bc3141592@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).