[Orgmode] 6.29c bug: (void-variable org-export-html-special-string-regexps)

2009-08-10 Thread Leo
Hi all,

Here is how to reproduce the bug:

1. create a file kk.el with the following content:

(setq org-modules nil)
(define-key mode-specific-map [?a] 'org-agenda)
(define-key mode-specific-map [?l] 'org-store-link)
(setq org-agenda-files '(~/kk.org))
(setq org-export-with-LaTeX-fragments t
  org-highlight-latex-fragments-and-specials t)

2. create an empty file named kk.org

3. emacs -q -l kk.el

4. C-c a a

Backtrace:

Debugger entered--Lisp error: (void-variable 
org-export-html-special-string-regexps)
  org-compute-latex-and-specials-regexp()
  org-set-regexps-and-options()
  org-mode()
  set-auto-mode-0(org-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#buffer kk.org ~/kk.org nil nil ~/kk.org (1861876 
234881026))
  find-file-noselect(~/kk.org)
  org-get-agenda-file-buffer(~/kk.org)
  byte-code(.!ƒ\f.qˆ‚...!ˆ.!qˆ~ˆ. .. 
ˆ.\n\..\f.\..\...\..Š.ed..#ˆ..ƒc.ebˆ.#ƒc...!ƒG... 
..!.#ˆ‚G.ebˆ.. .Q.!..!..#ƒƒ...”..!.\#ˆ‚m.).  !‡ [file bmp 
org-todo-keywords-for-agenda org-todo-keywords-1 org-done-keywords-for-agenda 
org-done-keywords bufferp org-check-agenda-file org-get-agenda-file-buffer 
buffer-modified-p org-refresh-category-properties append remove-text-properties 
re-search-forward nil t org-on-heading-p add-text-properties point-at-bol 
org-end-of-subtree ^\\*+ + \\ 0 set-buffer-modified-p 
org-todo-keyword-alist-for-agenda org-todo-key-alist org-tag-alist-for-agenda 
org-tag-alist pall org-agenda-skip-archived-trees rea pa org-comment-string re 
pc] 4)
  org-prepare-agenda-buffers((~/kk.org))
  org-prepare-agenda(Day/Week)
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  byte-code(.. .   \\.p... 
!..�...@.‰.a.b.‰.c.d.e„.#ˆ..f.g.‰“ˆ.h.‰“ˆ#ˆp.i.j„z..!�...@.j.da.k.e„...kƒ.\fc#ˆ.k.=ƒ†...f.g.
 .“ˆ.H. .“ˆ‚...K.=ƒ..Š..F..!ˆ.G`.“ˆ.H..!.“ˆ)..!ˆ..J 
\‰.ƒ89„.8!ƒœ...8.A..8.B..8.CC#ˆ.A.=ƒC.\‚...A.=ƒC.\‚...A.=ƒC.\‚...A.=ƒC.\‚...A.=ƒ\...C.\‚...A.=ƒ1...C.\‚...a@...c.\‚...A.=ƒR..
 ˆ..C.\‚...A.=ƒd.. ˆ..C.\‚...A.=ƒv.. 
ˆ..C.\‚A!ƒ…...C.\‚A!ƒ”...C.\‚.A\‚.@.‰.laa)\‚...J.šƒ..\n...!‚...J.šƒ...Q.!‚...JR.šƒ...S.!‚...JT.šƒ...U.!‚...JV.šƒ..U..M†..W..M.N.M.O..N!+‚...JX.šƒ
 
..Y.!‚...JZ.šƒD.Y..M†4.[..M.N.M.O..N!+‚...J\\.šƒU..].!‚...J^.šƒ..P_.=„m..`.!ˆ.K?….\fC#ˆa..M.M.N.M.O..N!+‚...Jb.šƒ...c.!‚...Jd.šƒ...e.!‚...Jf.šƒ...g.!‚...h.!.
‡ [prefix-descriptions org-agenda-custom-commands 
org-agenda-custom-commands-orig buf bfn entry nil delq mapcar #[(x) A;ƒ\f.   
B..‡A@;ƒ..�...@„'@.‰.aa)bb...@.abb‡ [x prefix-descriptions nil ] 
4] buffer-file-name buffer-base-buffer put org-agenda-files org-restrict 
org-agenda-redo-command org-lprops org-agenda-get-restriction-and-command 
region t region-beginning region-end subtree org-back-to-heading 
org-end-of-subtree require calendar assoc 2 functionp 3 4 agenda org-let 
(org-agenda-list current-prefix-arg) alltodo (org-todo-list current-prefix-arg) 
search (org-search-view current-prefix-arg match nil) stuck 
(org-agenda-list-stuck-projects current-prefix-arg) tags (org-tags-view 
current-prefix-arg match) tags-todo (org-tags-view (quote ...) match) todo 
(org-todo-list match) tags-tree org-check-for-org-mode (org-match-sparse-tree 
current-prefix-arg match) ...] 6)
  org-agenda(nil)
  call-interactively(org-agenda nil nil)

-- 
Emacs uptime: 7 minutes, 29 seconds



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] 6.29c bug: (void-variable org-export-html-special-string-regexps)

2009-08-10 Thread Carsten Dominik

Fixed, thanks.

- Carsten
On Aug 10, 2009, at 1:47 PM, Leo wrote:


Hi all,

Here is how to reproduce the bug:

1. create a file kk.el with the following content:

(setq org-modules nil)
(define-key mode-specific-map [?a] 'org-agenda)
(define-key mode-specific-map [?l] 'org-store-link)
(setq org-agenda-files '(~/kk.org))
(setq org-export-with-LaTeX-fragments t
 org-highlight-latex-fragments-and-specials t)

2. create an empty file named kk.org

3. emacs -q -l kk.el

4. C-c a a

Backtrace:

Debugger entered--Lisp error: (void-variable org-export-html-special- 
string-regexps)

 org-compute-latex-and-specials-regexp()
 org-set-regexps-and-options()
 org-mode()
 set-auto-mode-0(org-mode nil)
 set-auto-mode()
 normal-mode(t)
 after-find-file(nil t)
 find-file-noselect-1(#buffer kk.org ~/kk.org nil nil ~/ 
kk.org (1861876 234881026))

 find-file-noselect(~/kk.org)
 org-get-agenda-file-buffer(~/kk.org)
 byte-code(.!ƒ\f.qˆ‚...!ˆ.!qˆ~ˆ. .. ˆ.\n\..\f.\.. 
\...\..Š.ed..#ˆ..ƒc.ebˆ.#ƒc...!ƒ 
G... ..!.#ˆ‚G.ebˆ.. .Q.!..!..#ƒƒ...”..!.\#ˆ‚m.).	!‡ [file bmp org- 
todo-keywords-for-agenda org-todo-keywords-1 org-done-keywords-for- 
agenda org-done-keywords bufferp org-check-agenda-file org-get- 
agenda-file-buffer buffer-modified-p org-refresh-category-properties  
append remove-text-properties re-search-forward nil t org-on-heading- 
p add-text-properties point-at-bol org-end-of-subtree ^\\*+ + \ 
\ 0 set-buffer-modified-p org-todo-keyword-alist-for-agenda org- 
todo-key-alist org-tag-alist-for-agenda org-tag-alist pall org- 
agenda-skip-archived-trees rea pa org-comment-string re pc] 4)

 org-prepare-agenda-buffers((~/kk.org))
 org-prepare-agenda(Day/Week)
 org-agenda-list(nil)
 call-interactively(org-agenda-list)
 byte-code(..	.	 
\\.p 
... !..‰ 
@.‰ 
.A 
.B 
.‰ 
.C 
.D.E„.#ˆ..f.g.‰“ˆ.h.‰“ˆ#ˆp.i.j„z..!Â...@.j.da.k.e„...kƒ. 
\fC 
#ˆ.K.=ƒ†...F.G. .“ˆ.H. .“ˆ‚...K.=ƒ..Š..F..!ˆ.G`.“ˆ.H..!.“ˆ)..!ˆ..J	 
\‰.ƒ89„.8!ƒœ...8.A..8.B..8.CC#ˆ.A.=ƒC. 
\‚...A.=ƒC.\‚...A.=ƒC.\‚...A.=ƒC.\‚...A.=ƒ\...C. 
\‚...A.=ƒ1...C.\‚...a@...c.\‚...A.=ƒR.. ˆ..C.\‚...A.=ƒd..  
ˆ..C.\‚...A.=ƒv.. ˆ..C.\‚A!ƒ
...C.\‚A!ƒ”...C.\‚.A\‚.@.‰.laa)\‚...J.šƒ.. 
\n 
...!‚ 
...J 
.š 
ƒ 
... 
Q 
.!‚ 
...JR.šƒ...S.!‚...JT.šƒ...U.!‚...JV.šƒ..U..M†..W..M.N.M.O..N! 
+‚...JX.šƒ ..Y.!‚...JZ.šƒD.Y..M†4.[..M.N.M.O..N!+‚...J\ 
\.šƒU..].!‚...J^.šƒ..P_.=„m..`.!ˆ.K?
.\fC#ˆa..M.M.N.M.O..N! 
+‚...Jb.šƒ...c.!‚...Jd.šƒ...e.!‚...Jf.šƒ...g.!‚...h.!. 
‡ [prefix-descriptions org-agenda-custom-commands org-agenda-custom- 
commands-orig buf bfn entry nil delq mapcar #[(x) A;ƒ\f.	 
B..‡A@;ƒ..Â...@„'@.‰.aa)bb...@.abb‡ [x prefix-descriptions nil  
] 4] buffer-file-name buffer-base-buffer put org-agenda-files org- 
restrict org-agenda-redo-command org-lprops org-agenda-get- 
restriction-and-command region t region-beginning region-end subtree  
org-back-to-heading org-end-of-subtree require calendar assoc 2  
functionp 3 4 agenda org-let (org-agenda-list current-prefix-arg)  
alltodo (org-todo-list current-prefix-arg) search (org-search-view  
current-prefix-arg match nil) stuck (org-agenda-list-stuck-projects  
current-prefix-arg) tags (org-tags-view current-prefix-arg match)  
tags-todo (org-tags-view (quote ...) match) todo (org-todo-list  
match) tags-tree org-check-for-org-mode (org-match-sparse-tree  
current-prefix-arg match) ...] 6)

 org-agenda(nil)
 call-interactively(org-agenda nil nil)

--
Emacs uptime: 7 minutes, 29 seconds



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode