From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs 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 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1388165775 9036 80.91.229.3 (27 Dec 2013 17:36:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 17:36:15 +0000 (UTC) Cc: 16265@debbugs.gnu.org To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 18:36:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VwbKc-0006R5-4h for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 18:36:18 +0100 Original-Received: from localhost ([::1]:49825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwbKb-00005f-P4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 12:36:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwbKT-0008VF-9C for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 12:36:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwbKN-00072S-19 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 12:36:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwbKM-00072N-Ps for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 12:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VwbKM-0006AO-3G for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 12:36:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2013 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16265 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16265-submit@debbugs.gnu.org id=B16265.138816574423673 (code B ref 16265); Fri, 27 Dec 2013 17:36:02 +0000 Original-Received: (at 16265) by debbugs.gnu.org; 27 Dec 2013 17:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:46829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwbK3-00069k-Hk for submit@debbugs.gnu.org; Fri, 27 Dec 2013 12:35:43 -0500 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:43192) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwbK1-00069c-4E for 16265@debbugs.gnu.org; Fri, 27 Dec 2013 12:35:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Cc:Subject:To:From:Message-ID:Date; bh=DDif60CQbGRXH4mW4c03zWpFCPJkJD4EdGnsMZ1o6UY=; b=uVfYHMAHepumgZLJXS8kCoMLk0LpE9lIH/WlEW20xk3MAOupL7vWR/OsTho8NK82JKb3RaHGemogU/cwksKE/a8JZsUo/bNQzyO3RciSe8xxj4jPdt6pCmTZlIIpcmDP; Original-Received: from cpe-75-85-5-102.socal.res.rr.com ([75.85.5.102]:49779 helo=MP.local) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1VwbJy-0001p2-RM; Fri, 27 Dec 2013 12:35:39 -0500 User-Agent: / () / () APEL/10.8 Emacs/24.3.50 (x86_64-apple-darwin10.8.0) MULE/6.0 (HANACHIRUSATO) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82661 Archived-At: 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 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.