From: Dominik Schrempf <dominik.schrempf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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/)]
Date: Thu, 25 Feb 2016 12:25:08 +0100 [thread overview]
Message-ID: <87d1rlghgr.fsf@gmail.com> (raw)
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
next reply other threads:[~2016-02-25 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 11:25 Dominik Schrempf [this message]
2016-02-25 13:57 ` 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/)] Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d1rlghgr.fsf@gmail.com \
--to=dominik.schrempf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).