From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: 16265@debbugs.gnu.org
Subject: bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wrong side of point)")
Date: Fri, 27 Dec 2013 13:55:56 +0100 [thread overview]
Message-ID: <87y5364gin.fsf@yahoo.fr> (raw)
In-Reply-To: <m2fvpezvid.wl%esq@lawlist.com> (Keith David Bershatsky's message of "Thu, 26 Dec 2013 21:57:14 -0800")
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\b\303 \n$\211@\v\307
> \x1a^[\211:\203$
This backtrace looks incomplete.
--
Nico.
next prev parent reply other threads:[~2013-12-27 12:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 5:57 bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wrong side of point)") Keith David Bershatsky
2013-12-27 12:55 ` Nicolas Richard [this message]
2013-12-27 17:35 ` Keith David Bershatsky
2013-12-28 8:00 ` Keith David Bershatsky
[not found] ` <m2eh4sgbw4.wl%esq@lawlist.com>
2014-01-01 9:46 ` Nicolas Richard
2014-01-01 17:50 ` Eli Zaretskii
2014-01-02 1:30 ` Keith David Bershatsky
2014-01-02 3:38 ` Eli Zaretskii
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5364gin.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=16265@debbugs.gnu.org \
--cc=esq@lawlist.com \
/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.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).