From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Problem loading Python mode Date: Thu, 17 Sep 2009 14:16:53 +0200 Organization: Freie Universitaet Berlin Message-ID: <8763bhdave.wl%anselm.helbig+news2009@googlemail.com> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1253191266 10782 80.91.229.12 (17 Sep 2009 12:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 12:41:06 +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 14:40:59 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 1MoGIC-0003Qt-Hm for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 14:40:56 +0200 Original-Received: from localhost ([127.0.0.1]:45825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoGIC-0001Fj-21 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 08:40:56 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-X-Trace: news.uni-berlin.de GNLIYcampy0ueWB76WFCmgNyx1zbJLjaN3ygPQuwEHNyyWRCP6xhQOYsOx Cancel-Lock: sha1:JnVvclqtEVp1jVpcXCOlE8inVkA= In-Reply-To: Mail-Followup-To: Anselm Helbig Original-Xref: news.stanford.edu gnu.emacs.help:173113 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:68235 Archived-At: At Thu, 17 Sep 2009 13:26:06 +0200, bar tomas wrote: > > 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. Yes, but Emacs is looking for `python-mode.el'. `python-mode.el' is part of the python distribution while `python.el', which is a different piece of software, comes with recent emacsen. > 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) These lines don't look like they're related to your problem. > (global-font-lock-mode 1) > (add-hook 'org-mode-hook 'turn-on-font-lock) These lines should not be necessary since at least Emacs 22. HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com