From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Problem loading Python mode Date: Thu, 17 Sep 2009 19:35:36 +0200 Message-ID: <4AB27368.1010701@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253209068 11272 80.91.229.12 (17 Sep 2009 17:37:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 17:37:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bar tomas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 19:37:41 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 1MoKvL-000490-5e for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 19:37:39 +0200 Original-Received: from localhost ([127.0.0.1]:52404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoKvK-0005xt-Kh for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 13:37:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoKux-0005xa-Gz for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 13:37:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoKus-0005xG-2f for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 13:37:14 -0400 Original-Received: from [199.232.76.173] (port=45405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoKur-0005xD-Sg for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 13:37:09 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:62552) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoKuq-0005c0-18 for help-gnu-emacs@gnu.org; Thu, 17 Sep 2009 13:37:09 -0400 Original-Received: from [192.168.178.27] (p54BE8A3D.dip0.t-ipconnect.de [84.190.138.61]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MKuxg-1MoKum3xLo-0001OY; Thu, 17 Sep 2009 19:37:05 +0200 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: X-Provags-ID: V01U2FsdGVkX1+ZWOdTSFiPg+Z9gw5WO7CL1fWHwSKpwTjEFp1 V0LbTvzrlreu7kyhcuNgQw4mrAOikeS76iTo6l9yfNhpuXXK03 zsw0O2NxQfN5Xqtp0T7myqvKqp8CkqWzxqXGuUWRd4= X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:68247 Archived-At: 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") > > Seems a bug. With GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2009-07-25 on Suse 10.3, it doesn't occur. > I have checked in the lisp/prog-mode folder and there is a file called > python.el. > > Putting (load "YOUR-PATH\python.el") into your init file should load it. In case of remaining difficulties, there is another python-mode, called python-mode.el at https://launchpad.net/python-mode > 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. > > > >