From: Dave Kuhlman <dkuhlman@pa...> - 2009-01-09 02:34:50
First, thanks much for rst.el. It makes my work much
easier and more pleasant.
Next, I had a problem using the rst.el from latest SVN.
When editing a .rst/.txt file, I get this message:
"Stack overflow in regexp matcher"
In rst.el, I found this::
;; There seems to be a bug leading to error "Stack overflow in regexp
;; matcher" when "|" or "\\*" are the characters searched for
(if (< emacs-major-version 21)
I changed that last line to the following::
which seemed to fix the problem.
Or, alternatively, adding the following to my .emacs file
eliminated the problem::
(setq font-lock-global-modes '(not rst-mode))
However, I'm guessing that doing this just disabled the
feature and eliminated the use of the regexp.
I'm using Emacs 22.2.1 on Ubuntu GNU/Linux.
Thanks again. Hope this helps. Let me know if there is
more testing I can do.
19 months (575 days) ago Dave Kuhlman wrote:
> Next, I had a problem using the rst.el from latest SVN.
> When editing a .rst/.txt file, I get this message:
> "Stack overflow in regexp matcher"
Your fix was not really correct. I knew this problem which occured
occasionally. I fixed it in the latest checkin (r6383).
> Thanks again. Hope this helps. Let me know if there is
> more testing I can do.
If you still have that file in the state where the problem occured you
are welcome to try it again.