unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Harriss <harrkev@iit.edu>
Subject: Emacs python-mode
Date: Tue, 04 Jul 2006 20:59:05 -0500	[thread overview]
Message-ID: <1152064745.13034.16.camel@localhost.localdomain> (raw)

I am trying to setup python mode in emacs21 for linux.  I have
python-mode.el, pycomplete.el, and doctest-mode.el in ~/elisp.  In
my .emacs I have the following lines:

(add-to-list 'load-path "~/elisp")
(autoload 'python-mode "python-mode" "Python mode" t)
(setq auto-mode-alist (append '(("\\.py$" python-mode))
 auto-mode-alist))

Whenever I open emacs I get this error File mode specification error:
(invalid-function (python-mode)).

Thanks in advance,

Kevin

             reply	other threads:[~2006-07-05  1:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-05  1:59 Kevin Harriss [this message]
2006-07-06  6:28 ` Emacs python-mode Edward O'Connor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152064745.13034.16.camel@localhost.localdomain \
    --to=harrkev@iit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).