python-mode on OS X

Chris Fonnesbeck spam at fisher.forestry.uga.edu
Mon Jun 2 21:26:49 EDT 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/Emacs.app/Contents/Resources/share/emacs/21.3.50/lisp/python-mode.el
at Mon Jun  2 21:18:37 2003
Entering directory `/Applications/Emacs.app/Contents/Resources/share/emacs/21.3.50/lisp/'
python-mode.el:619:14:Warning: assignment to free variable
zmacs-region-stays

In python-mode: python-mode.el:970:41:Warning: assignment to free
variable
add-log-current-defun-function
python-mode.el:1006:15:Warning: reference to free variable
py-which-shell

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
free
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 21.3.50.4 on
OS X 10.2.6




More information about the Python-list mailing list