[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wron
From: |
Keith David Bershatsky |
Subject: |
bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wrong side of point)") |
Date: |
Fri, 27 Dec 2013 09:35:39 -0800 |
User-agent: |
/ () / () APEL/10.8 Emacs/24.3.50 (x86_64-apple-darwin10.8.0) MULE/6.0 (HANACHIRUSATO) |
Nicolas:
I will put together a recipe for reproducing the error and provide a full
backtrace. I am away from the computer today, and will start working on it
tonight and provide it once it is completed.
Thanks,
Keith
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
At Fri, 27 Dec 2013 13:55:56 +0100,
Nicolas Richard wrote:
>
> Keith David Bershatsky <esq@lawlist.com> writes:
> >So my best guess is that the problem is with
> > re-search-forward` or a function that it relies upon -- however it's
> > written in "C" which is out of my league.
>
> The given error happens when you search forward but set a limit before
> point, e.g. (re-search-forward "." (1- (point))). It'd be very
> surprising that the code throws that error wrongly.
>
> > The error comes about when calling `org-capture` a second time after
> > creating the first todo.
>
> I tried calling org-capture twice but couldn't reproduce. Do you have a
> recipe ?
>
> > Debugger entered--Lisp error: (error "Invalid search bound (wrong side of
> > point)")
> > re-search-forward("^\\(?:\\*+
> > \\|\\[\\(?:[0-9]+\\|fn:[-_[:word:]]+\\)\\]\\|[
> > ]*\\(?:$\\|\\(?:|\\|\\+-[-+]\\)\\|[#:]\\|-\\{5,\\}[
> > ]*$\\|\\\\begin{\\([A-Za-z0-9]+\\*?\\)}\\|\\(?:\\(?:CLO\\(?:CK\\|SED\\)\\|DEADLINE\\|SCHEDULED\\):\\)\\|\\(?:[-+*]\\|\\(?:[0-9]+\\)[.)]\\)\\(?:[
> > ]\\|$\\)\\)\\)" 40674 m)
> > org-element-paragraph-parser(40674)
>
> org-element-paragraph-parser calls "end-of-line" before calling
> re-search-forward, perhaps that's a problem in this situation ? I don't
> know where the limit comes from.
>
> > org-element--current-element(40674 element nil nil)
> > byte-code("\306\303 \n$\211@\307
> > \211:\203$
>
> This backtrace looks incomplete.
>
> --
> Nico.