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(# "~/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..!‰.D@.J.DA.K.E„...Kƒ.....\fC#ˆ.K.=ƒ†...F.G. .“ˆ.H. .“ˆ‚...K.=ƒ..Š..F..!ˆ.G`.“ˆ.H..!.“ˆ)..!ˆ..J \"‰.ƒ....89„.....8!ƒœ...8.A..8.B..8.C....C#ˆ.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\"‚....A@.‰.LAA)\"‚...J.šƒ..\n...!‚...J.šƒ...Q.!‚...JR.šƒ...S.!‚...JT.šƒ...U.!‚...JV.šƒ..U..M†..W..M.N.M.O..N!+‚...JX.šƒ ..Y.!‚...JZ.šƒD.Y..M†4.[..M.N.M.O..N!+‚...J\\.šƒU..].!‚...J^.šƒ..P_.=„m..`.!ˆ.K?….....\fC#ˆa..M.M.N.M.O..N!+‚...Jb.šƒ...c.!‚...Jd.šƒ...e.!‚...Jf.šƒ...g.!‚...h.!. ‡" [prefix-descriptions org-agenda-custom-commands org-agenda-custom-commands-orig buf bfn entry nil delq mapcar #[(x) "A;ƒ\f. B..‡A@;ƒ..‡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