Hello, if I try to execute the following latex code block after a list item and followed by two blank lines I get an error. If I remove one blank line the code executes fine.
---------------------------------------------------------------------- - Very convenient for typesetting the integral variable =dx=: #+BEGIN_SRC latex :exports code :results html \newcommand{\ud}{\,\mathrm{d}} #+END_SRC ---------------------------------------------------------------------- The error message is: Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)") re-search-forward("^[ ]*#\\+RESULTS\\(?:\\[\\(?:\"<\\\\([0-9]\\\\{4\\\\}-[0-9]\\\\{2\\\\}-[0-9]\\\\{2\\\\} ?[^.\n>]*?\\\\)>\"\\)?\\([[:alnum:]]+\\)\\]\\)?:[ ]*$" 387 t) byte-code("\212\214~\210\306!\211.\307>\203Z.\310\311\310\312\"\".\310\313\"b\210\314\nw\210\315\316`\nW\205T.\317 .\306!\320=\205S.\310\321\"\322\230\205S.\f\204D.`\202S.`\310\313\"b\210\323\324x\210`|\210`)\"\210)\202\335. \325>\203\330.\310\326\"\211.\205l.\327.!\211.%\206v.\310\313\"b\210.%\203\222.\330.&!\203\212.\331.&\"\210\315\316`\"\210\202\324. \204\324.m\204\324.\332 .'\212\310\333.'\"b\210\334 ).(.)\335P.*\336.+\337.*.(\336#,\203\324.\340 \210\330.&!\203\317.\331\324.&\"\210\315\316`\"\210*\202\335.\315\316\324\"\210+\f\205.\212\310\313\"d^b\210\314\324x\210\324y\210n\204\374.\341c\210\202.m\204 .\310\342\"\343U\203.\344c\210\202.\324y\210\331\310\326\".&\"\210`)\207" [context val limit result insert name org-element-type (inline-babel-call inline-src-block) org-element-property :contents-end :parent :end " \n" throw :found org-element-context macro :key "results" " " nil (babel-call src-block) :name org-babel-find-named-result org-babel--clear-results-maybe org-babel--insert-results-keyword org-element-at-point :post-affiliated line-end-position "$" t re-search-forward beginning-of-line "\n\n" :post-blank 0 "\n" named-results hash next end org-babel-result-regexp empty-result-re case-fold-search] 7) org-babel-where-is-src-block-result(nil ("latex" "\\newcommand{\\ud}{\\,\\mathrm{d}}" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "html replace") (:hlines . "no") (:session . "none")) "" nil 388)) org-babel-remove-result(("latex" "\\newcommand{\\ud}{\\,\\mathrm{d}}" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "html replace") (:hlines . "no") (:session . "none")) "" nil 388)) #[nil "\302=\203 .\303 \207\304 !\207" [type info inline org-babel-remove-inline-result org-babel-remove-result] 2]() org-babel-exp-do-export(("latex" "\\newcommand{\\ud}{\\,\\mathrm{d}}" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "html replace") (:hlines . "no") (:session . "none")) "" nil 388) block nil) org-babel-exp-src-block(("latex" ":exports" "code" ":results" "html")) org-babel-exp-process-buffer(#<buffer programming.org<2><2>>) org-export-execute-babel-code() org-export-as(html nil nil nil (:output-file "./programming.html")) org-export-to-file(html "./programming.html" nil nil nil nil nil) org-html-export-to-html(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Package: Org-mode version 8.3.4 (release_8.3.4-607-gaa7815 @ /home/dominik/.emacs.d/org-mode/lisp/) Thanks, Dominik