On Sun, 25 Jan 2009 07:51:29 -0500 "Eric M. Ludlam" <eric@...> wrote:
>>>> DaveS <davls@...> seems to think that:
>>Since updating to the latest CVS I've been seeing a lot of:
>> "Idle Parse Error: "#<buffer ipemacs.py> - What is that?"
>>when editing python files. Here is a small file that
>>triggers the error and the result of "M-x semantic-analyze-debug-assist". I
>>am also seeing a lot of "`semantic-flex' is an obsolete function. Use
>>`define-lex' to create lexers.", but that doesn't seem to be as critical.
> Could you try:
I posted a follow-up indicating that I thought the problem was that the
newer version of python.el I was using defined major-mode as 'python-2-mode
or 'python-3-mode. That along with a response that suggested I use
define-child-mode to fix this seem to have vanished from the list.
Anyway, the suggestion worked. I added the lines to wisent-python.el and
everything started working again.
(define-child-mode python-2-mode python-mode "Python 2 mode")
(define-child-mode python-3-mode python-mode "Python 3 mode")