When I run anything-c-etags-select command with relatively big TAGS file, I always get the error message like Stack overflow in regexp matcher inside the mini buffer on Emacs. In *Messages*
buffer, there appears the log message as follows:
File TAGS is large (9MB), really open? (y or n)
Loading tag file...70%
and: Stack overflow in regexp matcher
It seems that Emacs doesn't have enough stack size to read whole tag data. Is there any way to increase stack size for Emacs?
I tried this with 2 versions of Emacs:
But, both of them showed the same error message.
Thanks in advance!
Possibly easy workarounds for you:
- http://www.emacswiki.org/emacs/MultilineRegexp
Better yet: [\0-\377[:nonascii:]]* avoids “Stack overflow in regexp matcher” for huge texts, e.g., > 34k.
... and/or ...
- http://www.svi.nl/EmacsProgrammingTips
My tags tables are in different places, depending on the code I'm working with. I found it easy to have an environmental variable $DEVELOP pointing to the directory I'm working in, which has TAGS for Emacs and tags for vi.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With