Stefan Monnier <[EMAIL PROTECTED]> writes: > The docstring doesn't mention anything about it. And really, when > defun-prompt-regexp is nil, then beginning-of-defun considers that "defun > starts when there is a char with open-parenthesis syntax at the beginning of > a line". So if open-paren-in-column-0-is-defun-start is nil, it's hard to > figure out what should be considered as a defun start. > > It's kind of like saying "I won't tell you what it is, I'll just tell you > that it's not what you think".
We could explicitly document that this situation (defun-prompt-regexp and o-p-i-c-0-i-d-s both nil) means "figure it out using syntactically", i.e. using ppss as Alan implemented. We have to bring this to a resolution; intricate changes can be postphone till after the release. I recommend the following: * Updating the relevant docstrings to say what defun-prompt-regexp and o-p-i-c-0-i-d-s both nil means. * Updating the Elisp manual, and mentioning that such a combination can be slow. * Checking in Martin's optimization to Alan's code. * Setting o-p-i-c-0-i-d-s to t for cc mode. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
