Comment 2 for bug 572664

Revision history for this message
Chris Van Dusen (chris0123456789) wrote :

Hi, Lennart,

Thanks for the prompt reply.

1) GNU Emacs 24.0.50.4 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) of 2010-04-28 on profex.local

2) Yes.

3) I should have been more specific in my initial description.

It's only happened a few times, and usually takes a few hours to happen. What usually happens is that I'll be coding, and have erc open. After some hours, I'll start getting a Backtrace buffer with an error saying that adaptive-fill-regexp is too big, with the error originating from erc.

Originally, I thought that erc was the source of the problem, but could find nothing suspicious. Since nxhtml was the only other major mode that I had in fairly heavy use, I decided to look there.

I grep'ed through the files in my elisp directory for instances of adaptive-fill-regexp to see if something there was modifying it. I saw the couple of references to it in nxhtml, but couldn't see how they would change the value. I then looked through the lisp directory and saw a few references, but most were to things that I don't currently use (e.g., gnus, org). Also listed were cc-mode.el, cc-vars.el and cc-styles.el. Of these, cc-styles.el contains c-setup-paragraph-variables which does modify adaptive-fill-regexp.

I traced the function and whenever it was called, I checked the value of fill-adaptive-regexp. It was increasing each time.

I've attached the value of adaptive-fill-regexp after doing some navigating in a couple of files after running emacs-Q-nxhtml.