From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard 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 13:55:56 +0100 Message-ID: <87y5364gin.fsf@yahoo.fr> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1388148975 27133 80.91.229.3 (27 Dec 2013 12:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 12:56:15 +0000 (UTC) Cc: 16265@debbugs.gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 13:56:20 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 1VwWxg-0004rU-11 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 13:56:20 +0100 Original-Received: from localhost ([::1]:48894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwWxf-0003nm-MM for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 07:56:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwWxW-0003nC-Kr for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 07:56:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwWxP-0003fF-55 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 07:56:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwWxP-0003fA-21 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 07:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VwWxO-0005r5-JE for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2013 07:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2013 12:56: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.138814892222445 (code B ref 16265); Fri, 27 Dec 2013 12:56:02 +0000 Original-Received: (at 16265) by debbugs.gnu.org; 27 Dec 2013 12:55:22 +0000 Original-Received: from localhost ([127.0.0.1]:45641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwWwk-0005pw-10 for submit@debbugs.gnu.org; Fri, 27 Dec 2013 07:55:22 -0500 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:4608) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwWwf-0005pj-UP for 16265@debbugs.gnu.org; Fri, 27 Dec 2013 07:55:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EAKt3vVKkD4Nx/2dsb2JhbABYvXCBLnSCJQEBAQMBMgFGBQsIAyElDwEESROHbwEMCLAQkioBhgMXiAuGO1cHhDYEmBeGLotmgW+BPzuBLQ Original-Received: from geodiff-mac3.ulb.ac.be (HELO geodiff-mac3) ([164.15.131.113]) by smtp.ulb.ac.be with ESMTP; 27 Dec 2013 13:55:15 +0100 In-Reply-To: (Keith David Bershatsky's message of "Thu, 26 Dec 2013 21:57:14 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:82657 Archived-At: 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.