From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bar tomas Newsgroups: gmane.emacs.help Subject: Problem loading Python mode Date: Thu, 17 Sep 2009 13:26:06 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1253186827 28556 80.91.229.12 (17 Sep 2009 11:27:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 11:27:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 13:27:00 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoF8c-0001UQ-EX for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 13:26:58 +0200 Original-Received: from localhost ([127.0.0.1]:58759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoF8a-0007j0-Jl for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 07:26:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoF7v-0007f5-Ga for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 07:26:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoF7p-0007ar-A1 for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 07:26:13 -0400 Original-Received: from [199.232.76.173] (port=35345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoF7o-0007aT-Od for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 07:26:08 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:64128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoF7o-0003dy-7y for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 07:26:08 -0400 Original-Received: by ewy7 with SMTP id 7so280703ewy.31 for ; Thu, 17 Sep 2009 04:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xlLFHKTq5/XFQS7SPPDSw9rLBn6r3v62wsSF4u+ZXxg=; b=mZ6Z109nmAIaTnppw3VFkPkxGMaE5le4eXn6PUITgWrbwYJz/a8i6Tq7OFbEA8281p tArDS2RasJyYeklPNRywSghnC3J9xR2gwVjUX/XJ06mETSx+Dg+7xAP3aEsLYBQJoVVi pGrSzcY8VvGRFY4Uxk0lARvuSPxsp7QQY5uoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vrpvi6dh5/ozcf180Ktul/SwFQ3bQQQQow6Sy/WQ7b/ngE2SGkSYLXue0ncH/YHf8K bNBsxREyNLzWx+qniy7wCizPvthoEYniBYUkgGGl1Gj5xYXRrwA8oDIdgrh/Yz7KaqWy r+TmqKvG6k4FD9GefpF4TQSZZTg8YFhiPfbPM= Original-Received: by 10.216.15.70 with SMTP id e48mr142257wee.1.1253186766246; Thu, 17 Sep 2009 04:26:06 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:68234 Archived-At: Hi, I'm using Emacs 22.3 on Wind XP. When I open a Python file (with py extension) I get the following error warning: File mode specification error: (file-error "Cannot open load file" "python-mode") I have checked in the lisp/prog-mode folder and there is a file called python.el. The only modification I have done to the init.el file (in .emacs.d) is to paste the followiing lines at the end of the file for org mode : (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (global-font-lock-mode 1) (add-hook 'org-mode-hook 'turn-on-font-lock) Do you know what may be wrong? Many thanks.