From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Harriss Newsgroups: gmane.emacs.help Subject: Emacs python-mode Date: Tue, 04 Jul 2006 20:59:05 -0500 Message-ID: <1152064745.13034.16.camel@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1152077488 21531 80.91.229.2 (5 Jul 2006 05:31:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jul 2006 05:31:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 05 07:31:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fxzyu-0006cd-A7 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jul 2006 07:31:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fxzyt-00005V-PL for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jul 2006 01:31:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxwfT-0000Pf-S4 for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 21:59:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxwfR-0000PH-Bf for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 21:59:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxwfR-0000PE-8m for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 21:59:05 -0400 Original-Received: from [216.47.143.102] (helo=students2.iit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxwtE-0006Od-NF for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 22:13:20 -0400 Original-Received: from dhcp185.ssv1.iit.edu (dhcp185.ssv1.iit.edu [198.37.24.185]) by students2.iit.edu (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J1W0014CQUG46@students2.iit.edu> for help-gnu-emacs@gnu.org; Tue, 04 Jul 2006 20:59:04 -0500 (CDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: Evolution 2.6.2 X-Mailman-Approved-At: Wed, 05 Jul 2006 01:31:12 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35820 Archived-At: 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