Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)") re-search-backward("^[ ]*#\\+begin_src[ ]+\\(tex\\|n3\\|xml\\|java\\|python\\|dot\\|sh\\|emacs-lisp\\)[ ]*\\([^\":\n]*\"[^\"\n*]*\"[^\":\n]*\\|[^\":\n]*\\)\\([^\n]*\\)\n\\([^]+?\\)#\\+end_src" 123 t) (and (re-search-backward org-babel-src-block-regexp progress-marker t) (setq progress-marker (match-end 0)) (org-babel-exp-do-export (org-babel-get-src-block-info) (quote block))) (or (and (re-search-backward org-babel-src-block-regexp progress-marker t) (setq progress-marker ...) (org-babel-exp-do-export ... ...)) (save-excursion (forward-line 0) (and ... ... ...)) (and (re-search-backward org-block-regexp progress-marker t) (setq progress-marker ...) (match-string 0)) (error "Unmatched block [bug in `org-babel-exp-src-blocks'].")) org-babel-exp-src-blocks(#("javac -cp \"lib/jena/lib/*:lib/pellet/lib/*\" test.java" 0 53 (fontified nil font-lock-fontified t)) #("sh" 0 2 (font-lock-fontified t fontified nil)) #(":results" 0 8 (font-lock-fontified t fontified nil)) #("output" 0 6 (font-lock-fontified t fontified nil)) #(":exports" 0 8 (font-lock-fontified t fontified nil)) #("results" 0 7 (font-lock-fontified t fontified nil))) apply(org-babel-exp-src-blocks #("javac -cp \"lib/jena/lib/*:lib/pellet/lib/*\" test.java" 0 53 (fontified nil font-lock-fontified t)) (#("sh" 0 2 (font-lock-fontified t fontified nil)) #(":results" 0 8 (font-lock-fontified t fontified nil)) #("output" 0 6 (font-lock-fontified t fontified nil)) #(":exports" 0 8 (font-lock-fontified t fontified nil)) #("results" 0 7 (font-lock-fontified t fontified nil)))) (if (memq type org-export-blocks-witheld) "" (apply func body headers)) (progn (if (memq type org-export-blocks-witheld) "" (apply func body headers))) (unwind-protect (progn (if ... "" ...)) (set-match-data save-match-data-internal (quote evaporate))) (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-match-data save-match-data-internal ...))) (save-match-data (if (memq type org-export-blocks-witheld) "" (apply func body headers))) (replace-match (save-match-data (if ... "" ...)) t t) (progn (replace-match (save-match-data ...) t t) (unless preserve-indent (indent-code-rigidly ... ... indentation))) (if (setq func (cadr ...)) (progn (replace-match ... t t) (unless preserve-indent ...))) (while (re-search-forward "^\\([ ]*\\)#\\+begin_\\(\\S-+\\)[ ]*\\(.*\\)?[ \n]\\([^]*?\\)[ \n][ ]*#\\+end_\\S-+.*" nil t) (setq indentation (length ...)) (setq type (intern ...)) (setq headers (save-match-data ...)) (setq body (match-string 4)) (setq preserve-indent (or org-src-preserve-indentation ...)) (unless preserve-indent (setq body ...)) (unless (memq type types) (setq types ...)) (save-match-data (interblock start ...)) (if (setq func ...) (progn ... ...)) (setq start (match-end 0))) (progn (fset (quote interblock) (function* ...)) (goto-char (point-min)) (setq start (point)) (while (re-search-forward "^\\([ ]*\\)#\\+begin_\\(\\S-+\\)[ ]*\\(.*\\)?[ \n]\\([^]*?\\)[ \n][ ]*#\\+end_\\S-+.*" nil t) (setq indentation ...) (setq type ...) (setq headers ...) (setq body ...) (setq preserve-indent ...) (unless preserve-indent ...) (unless ... ...) (save-match-data ...) (if ... ...) (setq start ...)) (interblock start (point-max))) (unwind-protect (progn (fset ... ...) (goto-char ...) (setq start ...) (while ... ... ... ... ... ... ... ... ... ... ...) (interblock start ...)) (if --cl-letf-bound-- (fset ... --cl-letf-save--) (fmakunbound ...))) (let* ((--cl-letf-bound-- ...) (--cl-letf-save-- ...)) (unwind-protect (progn ... ... ... ... ...) (if --cl-letf-bound-- ... ...))) (letf ((... ...)) (goto-char (point-min)) (setq start (point)) (while (re-search-forward "^\\([ ]*\\)#\\+begin_\\(\\S-+\\)[ ]*\\(.*\\)?[ \n]\\([^]*?\\)[ \n][ ]*#\\+end_\\S-+.*" nil t) (setq indentation ...) (setq type ...) (setq headers ...) (setq body ...) (setq preserve-indent ...) (unless preserve-indent ...) (unless ... ...) (save-match-data ...) (if ... ...) (setq start ...)) (interblock start (point-max))) (letf* ((... ...)) (goto-char (point-min)) (setq start (point)) (while (re-search-forward "^\\([ ]*\\)#\\+begin_\\(\\S-+\\)[ ]*\\(.*\\)?[ \n]\\([^]*?\\)[ \n][ ]*#\\+end_\\S-+.*" nil t) (setq indentation ...) (setq type ...) (setq headers ...) (setq body ...) (setq preserve-indent ...) (unless preserve-indent ...) (unless ... ...) (save-match-data ...) (if ... ...) (setq start ...)) (interblock start (point-max))) (flet ((interblock ... ...)) (goto-char (point-min)) (setq start (point)) (while (re-search-forward "^\\([ ]*\\)#\\+begin_\\(\\S-+\\)[ ]*\\(.*\\)?[ \n]\\([^]*?\\)[ \n][ ]*#\\+end_\\S-+.*" nil t) (setq indentation ...) (setq type ...) (setq headers ...) (setq body ...) (setq preserve-indent ...) (unless preserve-indent ...) (unless ... ...) (save-match-data ...) (if ... ...) (setq start ...)) (interblock start (point-max))) (let ((case-fold-search t) (types ...) indentation type func start body headers preserve-indent progress-marker) (flet (...) (goto-char ...) (setq start ...) (while ... ... ... ... ... ... ... ... ... ... ...) (interblock start ...))) (save-window-excursion (let (... ... indentation type func start body headers preserve-indent progress-marker) (flet ... ... ... ... ...))) org-export-blocks-preprocess() run-hooks(org-export-preprocess-hook) (save-current-buffer (set-buffer (get-buffer-create " org-mode-tmp")) (erase-buffer) (insert string) (setq case-fold-search t) (let (...) (remove-text-properties ... ... ...)) (org-export-kill-licensed-text) (let (...) (org-mode)) (setq case-fold-search t) (org-install-letbind) (run-hooks (quote org-export-preprocess-hook)) (org-export-preprocess-apply-macros) (run-hooks (quote org-export-preprocess-after-macros-hook)) (untabify (point-min) (point-max)) (org-export-handle-include-files) (run-hooks (quote org-export-preprocess-after-include-files-hook)) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags (plist-get parameters :select-tags) (plist-get parameters :exclude-tags)) (run-hooks (quote org-export-preprocess-after-tree-selection-hook)) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when (plist-get parameters :footnotes) (org-footnote-normalize nil t)) (setq target-alist (org-export-define-heading-targets target-alist)) (org-export-remove-or-extract-drawers drawers (plist-get parameters :drawers) backend) (when (plist-get parameters :skip-before-1st-heading) (goto-char ...) (when ... ... ... ...)) (when (plist-get parameters :add-text) (goto-char ...) (insert ... "\n")) (org-export-remove-headline-metadata parameters) (setq target-alist (org-export-handle-invisible-targets target-alist)) (run-hooks (quote org-export-preprocess-before-selecting-backend-code-hook)) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) (org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) (run-hooks (quote org-export-preprocess-after-blockquote-hook)) (unless (plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq target-alist (org-export-attach-captions-and-attributes backend target-alist)) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (run-hooks (quote org-export-preprocess-before-normalizing-links-hook)) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when (plist-get parameters :emph-multiline) (org-export-concatenate-multiline-emphasis)) (when org-export-table-remove-special-lines (org-export-remove-special-table-lines)) (run-hooks (quote org-export-preprocess-before-backend-specifics-hook)) (when latexp (require ... nil) (org-export-latex-preprocess parameters)) (when asciip (org-export-ascii-preprocess parameters)) (when htmlp (org-export-html-preprocess parameters)) (when docbookp (require ... nil) (org-export-docbook-preprocess parameters)) ...) (with-current-buffer (get-buffer-create " org-mode-tmp") (erase-buffer) (insert string) (setq case-fold-search t) (let (...) (remove-text-properties ... ... ...)) (org-export-kill-licensed-text) (let (...) (org-mode)) (setq case-fold-search t) (org-install-letbind) (run-hooks (quote org-export-preprocess-hook)) (org-export-preprocess-apply-macros) (run-hooks (quote org-export-preprocess-after-macros-hook)) (untabify (point-min) (point-max)) (org-export-handle-include-files) (run-hooks (quote org-export-preprocess-after-include-files-hook)) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags (plist-get parameters :select-tags) (plist-get parameters :exclude-tags)) (run-hooks (quote org-export-preprocess-after-tree-selection-hook)) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when (plist-get parameters :footnotes) (org-footnote-normalize nil t)) (setq target-alist (org-export-define-heading-targets target-alist)) (org-export-remove-or-extract-drawers drawers (plist-get parameters :drawers) backend) (when (plist-get parameters :skip-before-1st-heading) (goto-char ...) (when ... ... ... ...)) (when (plist-get parameters :add-text) (goto-char ...) (insert ... "\n")) (org-export-remove-headline-metadata parameters) (setq target-alist (org-export-handle-invisible-targets target-alist)) (run-hooks (quote org-export-preprocess-before-selecting-backend-code-hook)) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) (org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) (run-hooks (quote org-export-preprocess-after-blockquote-hook)) (unless (plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq target-alist (org-export-attach-captions-and-attributes backend target-alist)) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (run-hooks (quote org-export-preprocess-before-normalizing-links-hook)) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when (plist-get parameters :emph-multiline) (org-export-concatenate-multiline-emphasis)) (when org-export-table-remove-special-lines (org-export-remove-special-table-lines)) (run-hooks (quote org-export-preprocess-before-backend-specifics-hook)) (when latexp (require ... nil) (org-export-latex-preprocess parameters)) (when asciip (org-export-ascii-preprocess parameters)) (when htmlp (org-export-html-preprocess parameters)) (when docbookp (require ... nil) (org-export-docbook-preprocess parameters)) ...) (let* ((htmlp ...) (asciip ...) (latexp ...) (docbookp ...) (backend ...) (archived-trees ...) (inhibit-read-only t) (drawers org-drawers) (outline-regexp "\\*+ ") target-alist rtn) (setq org-export-target-aliases nil) (setq org-export-preferred-target-alist nil) (setq org-export-code-refs nil) (with-current-buffer (get-buffer-create " org-mode-tmp") (erase-buffer) (insert string) (setq case-fold-search t) (let ... ...) (org-export-kill-licensed-text) (let ... ...) (setq case-fold-search t) (org-install-letbind) (run-hooks ...) (org-export-preprocess-apply-macros) (run-hooks ...) (untabify ... ...) (org-export-handle-include-files) (run-hooks ...) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags ... ...) (run-hooks ...) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when ... ...) (setq target-alist ...) (org-export-remove-or-extract-drawers drawers ... backend) (when ... ... ...) (when ... ... ...) (org-export-remove-headline-metadata parameters) (setq target-alist ...) (run-hooks ...) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) (org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) (run-hooks ...) (unless ... ...) (setq target-alist ...) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (run-hooks ...) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when ... ...) (when org-export-table-remove-special-lines ...) (run-hooks ...) (when latexp ... ...) (when asciip ...) (when htmlp ...) (when docbookp ... ...) ...) (kill-buffer " org-mode-tmp") rtn) org-export-preprocess-string(#("* test\n\n#+begin_src java -n :exports none :tangle test.java \nprivate void abcdefghi throws IOException \n#+end_src\n\n#+begin_src sh :results output :exports results\njavac -cp \"lib/jena/lib/*:lib/pellet/lib/*\" test.java\n#+end_src\n" 0 2 (fontified nil) 2 6 (fontified nil) 6 8 (fontified nil) 8 69 (fontified nil font-lock-fontified t) 69 70 (fontified nil font-lock-fontified t) 70 112 (fontified nil font-lock-fontified t) 112 113 (fontified nil font-lock-fontified t) 113 122 (fontified nil font-lock-fontified t) 122 124 (fontified nil) 124 171 (fontified nil font-lock-fontified t) 171 172 (fontified nil font-lock-fontified t) 172 225 (fontified nil font-lock-fontified t) 225 226 (fontified nil font-lock-fontified t) 226 235 (fontified nil font-lock-fontified t) 235 236 (fontified nil)) :emph-multiline t :for-LaTeX t :comments nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclude-tags ("noexport") :LaTeX-fragments nil) org-export-as-latex(nil nil nil nil nil nil) org-export-as-pdf(nil) org-export-as-pdf-and-open(nil) call-interactively(org-export-as-pdf-and-open nil nil)