* Bug: Invalid search bound (wrong side of point) upon latex code execution [8.3.4 (release_8.3.4-607-gaa7815 @ /home/dominik/.emacs.d/org-mode/lisp/)]
@ 2016-02-25 11:25 Dominik Schrempf
2016-02-25 13:57 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Schrempf @ 2016-02-25 11:25 UTC (permalink / raw)
To: emacs-orgmode
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\b!\211.\307>\203Z.\310\311\310\312\b\"\".\310\313\b\"b\210\314\nw\210\315\316`\nW\205T.\317 .\306\v!\320=\205S.\310\321\v\"\322\230\205S.\f\204D.`\202S.`\310\313\v\"b\210\323\324x\210`|\210`)\"\210)\202\335. \325>\203\330.\310\326\b\"\211.\205l.\327.!\211.%\206v.\310\313\b\"b\210.%\203\222.\330.&!\203\212.\331.\x0e&\"\210\315\316`\"\210\202\324.\r\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.\x01\212\310\313\b\"d^b\210\314\324x\210\324y\210n\204\374.\341c\210\202.\x01m\204 .\310\342\b\"\343U\203.\x01\344c\210\202.\x01\324y\210\331\310\326\b\".&\"\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 "\b\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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-25 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 11:25 Bug: Invalid search bound (wrong side of point) upon latex code execution [8.3.4 (release_8.3.4-607-gaa7815 @ /home/dominik/.emacs.d/org-mode/lisp/)] Dominik Schrempf
2016-02-25 13:57 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.