python-mode on OS X

Chris Fonnesbeck spam at
Tue Jun 3 03:26:49 CEST 2003

I'm having tremedous difficulty getting python-mode and syntax
highlighting working on emacs in OS X. I byte-compiled python-mode.el,
with the following warnings:

Compiling file /Applications/
at Mon Jun  2 21:18:37 2003
Entering directory `/Applications/'
python-mode.el:619:14:Warning: assignment to free variable

In python-mode: python-mode.el:970:41:Warning: assignment to free
python-mode.el:1006:15:Warning: reference to free variable

In py-pdbtrack-track-stack-file: python-mode.el:1142:44:Warning:
reference to
free variable comint-last-input-end

In py-electric-delete: python-mode.el:1692:16:Warning: reference to
variable delete-key-deletes-forward

In end of data:
python-mode.el:3252:11:Warning: the following functions are not known
to be defined: make-extent,
    set-extent-property, buffer-syntactic-context, event-point,
    event-buffer, extent-at, extent-property, delete-forward-p

I put the following in .emacs to load python-mode on startup:

'(autoload 'python-mode "python-mode" "Python editing mode" t)

but I get the error "Wrong type argument: symbolp, 80" when emacs
starts up, and no python-mode.

Any assistance most welcome; I am running emacs version on
OS X 10.2.6

More information about the Python-list mailing list