emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: when publish a project, it prompt error message (void-variable org-export-html-special-string-regexps) [8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)]
@ 2013-06-04 12:58 ryu
  2013-06-04 13:22 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: ryu @ 2013-06-04 12:58 UTC (permalink / raw)
  To: emacs-orgmode


As subject discribed, that's exactly what i encounted.

Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.4)
 of 2013-04-09 on allspice, modified by Debian
Package: Org-mode version 8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)

current state:
==============
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
		      org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe
		      org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
			  org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '((lambda nil
		  (org-add-hook (quote change-major-mode-hook)
		   (quote org-show-block-all) (quote append) (quote local))
		  )
		 (lambda nil
		  (org-add-hook (quote change-major-mode-hook)
		   (quote org-babel-show-result-all) (quote append)
		   (quote local))
		  )
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all
		    append local]
		   5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook
		    org-babel-show-result-all append local]
		   5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
			  org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
		  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-agenda-files '("/tmp/test.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-publish-project-alist '(("org-notes" :base-directory "~/org_temp/"
			      :base-extension "org" :publishing-directory
			      "~/public_html/" :recursive t
			      :publishing-function org-publish-org-to-html
			      :headline-levels 4 :auto-preamble t)
			     ("org-static" :base-directory "~/org_temp/"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-attachment)
			     ("org" :components ("org-notes" "org-static")))
 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: when publish a project, it prompt error message (void-variable org-export-html-special-string-regexps) [8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)]
  2013-06-04 12:58 Bug: when publish a project, it prompt error message (void-variable org-export-html-special-string-regexps) [8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)] ryu
@ 2013-06-04 13:22 ` Nick Dokos
  2013-06-04 13:39   ` ryu
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2013-06-04 13:22 UTC (permalink / raw)
  To: emacs-orgmode

ryu <liuyouchao111@gmail.com> writes:

> As subject discribed, that's exactly what i encounted.
>

The variable has been renamed in 8.03 to

  org-html-special-string-regexps.

The fact that the old name is being used somewhere probably
indicates that you are picking up the wrong version of org.
In particular, you are probably loading the old org-html.el
file, instead of (or in addition to) the current ox-html.el.
This is a recipe for disaster.

Note also org-publish-org-to-html does not exist any longer. It's
probably your use of it in org-publish-project-alist that is
causing org-html.el to be loaded. The new HTML publishing
function is org-html-publish-to-html, so try using that instead
and see if it fixes the problem.

Check Suvayu's document on Worg about 8.x changes:

      http://orgmode.org/worg/org-8.0.html

and Nicolas's announcement referenced therein.

-- 
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: when publish a project, it prompt error message (void-variable org-export-html-special-string-regexps) [8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)]
  2013-06-04 13:22 ` Nick Dokos
@ 2013-06-04 13:39   ` ryu
  0 siblings, 0 replies; 3+ messages in thread
From: ryu @ 2013-06-04 13:39 UTC (permalink / raw)
  To: emacs-orgmode

On 2013年06月04日 22:22, Nick Dokos wrote:
> ryu <liuyouchao111@gmail.com> writes:
>
>> As subject discribed, that's exactly what i encounted.
>>
> The variable has been renamed in 8.03 to
>
>    org-html-special-string-regexps.
>
> The fact that the old name is being used somewhere probably
> indicates that you are picking up the wrong version of org.
> In particular, you are probably loading the old org-html.el
> file, instead of (or in addition to) the current ox-html.el.
> This is a recipe for disaster.
>
> Note also org-publish-org-to-html does not exist any longer. It's
> probably your use of it in org-publish-project-alist that is
> causing org-html.el to be loaded. The new HTML publishing
> function is org-html-publish-to-html, so try using that instead
> and see if it fixes the problem.
>
> Check Suvayu's document on Worg about 8.x changes:
>
>        http://orgmode.org/worg/org-8.0.html
>
> and Nicolas's announcement referenced therein.
>
I am sorry for sending so many mails. because i just join into this 
group, and could receive others' mails successfully. but when i send my 
report through emacs i couldn't receive my own mail. so I think there 
may be something wrong with my emacs sending mail setup.. I am really 
sorry for this annoying mail...

as you said, i just use org-html-publish-to-html instead of 
org-publish-0rg-to-html, then this issue is resolved. thanks very much.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-04 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 12:58 Bug: when publish a project, it prompt error message (void-variable org-export-html-special-string-regexps) [8.0.3 (8.0.3-27-g53784e-elpa @ /home/ryu/.emacs.d/elpa/org-20130603/)] ryu
2013-06-04 13:22 ` Nick Dokos
2013-06-04 13:39   ` ryu

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).