From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf 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 Message-ID: <87d1rlghgr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYu2r-0004l1-P0 for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 06:25:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYu2n-0006j7-IA for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 06:25:21 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYu2n-0006it-8b for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 06:25:17 -0500 Received: by mail-wm0-x22d.google.com with SMTP id a4so22978373wme.1 for ; Thu, 25 Feb 2016 03:25:16 -0800 (PST) Received: from arbeitsbaer (i122mc151.vu-wien.ac.at. [193.171.97.93]) by smtp.gmail.com with ESMTPSA id xx3sm7454647wjc.32.2016.02.25.03.25.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Feb 2016 03:25:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 =3Ddx=3D: #+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 p= oint)") 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=0B!\320=3D\205S.\310\321= =0B\"\322\230\205S.\f\204D.`\202S.`\310\313=0B\"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.=0E&\"\210\315\316`\"\210\202\32= 4.=0D\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.=01\212\310\313\"d^b\210\314\324x\= 210\324y\210n\204\374.\341c\210\202.=01m\204 .\310\342\"\343U\203.=01\344c= \210\202.=01\324y\210\331\310\326\".&\"\210`)\207" [context val limit resu= lt insert name org-element-type (inline-babel-call inline-src-block) org-el= ement-property :contents-end :parent :end " \n" throw :found org-element-c= ontext 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-s= earch-forward beginning-of-line "\n\n" :post-blank 0 "\n" named-results has= h 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 . "n= o") (:tangle . "no") (:exports . "code") (:results . "html replace") (:hlin= es . "no") (:session . "none")) "" nil 388)) #[nil "\302=3D\203 .\303 \207\304 !\207" [type info inline org-babel-rem= ove-inline-result org-babel-remove-result] 2]() org-babel-exp-do-export(("latex" "\\newcommand{\\ud}{\\,\\mathrm{d}}" ((:= comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "n= o") (:tangle . "no") (:exports . "code") (:results . "html replace") (:hlin= es . "no") (:session . "none")) "" nil 388) block nil) org-babel-exp-src-block(("latex" ":exports" "code" ":results" "html")) org-babel-exp-process-buffer(#<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