From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith David Bershatsky Subject: bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wrong side of point)") Date: Wed, 01 Jan 2014 17:30:12 -0800 Message-ID: References: Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyX7s-00035P-TQ for emacs-orgmode@gnu.org; Wed, 01 Jan 2014 20:31:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyX7n-0006iW-JP for emacs-orgmode@gnu.org; Wed, 01 Jan 2014 20:31:08 -0500 In-Reply-To: Sender: "Debbugs-submit" Resent-Message-ID: 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: Eli Zaretskii Cc: theonewiththeevillook@yahoo.fr, 16265@debbugs.gnu.org Yes, the issue has indeed been resolved in the latest version of Emacs Trunk that I built today. I used my example to conduct the test, and it works now with `cache-long-scans` enabled. Great job -- thank you Eli, and thanks again Nicolas! Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Wed, 01 Jan 2014 19:50:12 +0200, Eli Zaretskii wrote: > > > Date: Tue, 31 Dec 2013 09:37:15 -0800 > > From: Keith David Bershatsky > > Cc: 16265@debbugs.gnu.org > > > > So my recommendation would be that the Emacs team return the default value of `cache-long-scans` to `nil` > > Unlikely to happen. > > > or, fix it somehow so that it doesn't interfere with popular functions like `re-search-forward` and `re-search-backward` after calling `org-capture`. > > I think I fixed this in trunk revision 115826, please try the latest > version of the code. (I only verified that the simplified test case > works after the fix.) > > Thanks.