From: Keith David Bershatsky <esq@lawlist.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 16265@debbugs.gnu.org
Subject: bug#16265: 24.3.50; re-search-forward (error "Invalid search bound (wrong side of point)")
Date: Tue, 31 Dec 2013 09:37:15 -0800 [thread overview]
Message-ID: <m2eh4sgbw4.wl%esq@lawlist.com> (raw)
In-Reply-To: <m2fvpezvid.wl%esq@lawlist.com>
Nicolas:
Yes, `(setq-default cache-long-scans nil)` does indeed fix the problem. In a version of Emacs Trunk built on October 5, 2013, the default value for `cache-long-scans` is `nil`. In the recent version of Emacs Trunk built on December 23, 2013, the default value for `cache-long-scans` is `t`.
I would suspect that anyone who uses `org-capture` will have significant problems performing various operations on the `org-agenda-files` subsequent to the initial call. So my recommendation would be that the Emacs team return the default value of `cache-long-scans` to `nil`; 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`.
Thank you very much for your hard work tracking down the issue.
Keith
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
At Tue, 31 Dec 2013 15:16:40 +0100,
Nicolas Richard wrote:
>
> Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:
> > I'll bisect this (I tested 24.3, it works there) and post the result
>
> bisection is done.
> # first bad commit: [f56f1e3993fd79240e03666cf8390f489b4a2435] Switch cache-long-scans to t by default.
>
> and indeed, running
> emacs -Q --batch --eval '(setq-default cache-long-scans nil)' -l filenamehere
> worked for me.
>
> Keith, can you test if it fixes the problems your are seeing as well ?
> (If it doesn't then I guess we'll need another bug report.) If it does,
> the next step is to understand why things break when the caching
> mechanism is enabled -- I give up there.
>
> --
> Nico.
next prev parent reply other threads:[~2013-12-31 17:38 UTC|newest]
Thread overview: 16+ 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
2013-12-27 17:35 ` Keith David Bershatsky
2013-12-28 8:00 ` Keith David Bershatsky
2013-12-28 20:44 ` Keith David Bershatsky
2013-12-31 12:07 ` Nicolas Richard
2013-12-31 14:16 ` Nicolas Richard
2013-12-31 17:37 ` Keith David Bershatsky [this message]
2014-01-01 9:46 ` Nicolas Richard
2014-01-01 9:46 ` Nicolas Richard
2014-01-01 17:50 ` Eli Zaretskii
2014-01-01 17:50 ` Eli Zaretskii
2014-01-02 1:30 ` Keith David Bershatsky
2014-01-02 3:38 ` Eli Zaretskii
2014-01-02 3:38 ` Eli Zaretskii
2014-01-02 1:30 ` Keith David Bershatsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2eh4sgbw4.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=16265@debbugs.gnu.org \
--cc=theonewiththeevillook@yahoo.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.