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: Re: Problem loading Python mode Date: Fri, 18 Sep 2009 09:55:58 +0100 Message-ID: References: <4AB27368.1010701@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253264204 10073 80.91.229.12 (18 Sep 2009 08:56:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 08:56:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?Andreas_R=F6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 10:56:37 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 1MoZGd-0007PJ-Hv for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 10:56:35 +0200 Original-Received: from localhost ([127.0.0.1]:53273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoZGc-0005qL-UP for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 04:56:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoZGC-0005qG-7b for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 04:56:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoZG7-0005q4-IE for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 04:56:07 -0400 Original-Received: from [199.232.76.173] (port=52692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoZG7-0005q1-Cw for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 04:56:03 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:54542) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoZG6-0001TP-W3 for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 04:56:03 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoZG6-0004YV-4w for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 04:56:02 -0400 Original-Received: by ewy7 with SMTP id 7so1102087ewy.31 for ; Fri, 18 Sep 2009 01:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Cwig4o/tQFbJ2FUqWSole2RbyQNSoxUgUmgrN3JFb2Q=; b=dMYSdUNOkDOP1hGPLUnJpyl01aPvNKPBrR6OMKwIcgBGsHGQG1Fczh9+ffJvWfuPoV sPuE5SFxnGNAGaCbLqDECWxNGKWVLmStbtQ4B4FAk5EVFvPfQmoruYFC7v9LKlFgirso tX85kqu2Pyf5Cr2vDnea4obfv7r+DmV5I7/s0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=njupVWStozhFMhDuVS2xD70dIXW4euTE7GTnBu/PXfESQ97QJdfNk0Qz9N3B+cqcqp 7UIVkBMixyjdaQyBlm37Yqjg1IEEMLnyT1J+kYwvUl8Rjlty0SOl0asNiP6G1La61k2C KF5P72I9lWPcDfh61h/YwAt+zTfIGptoWXeD4= Original-Received: by 10.216.90.208 with SMTP id e58mr440528wef.57.1253264158951; Fri, 18 Sep 2009 01:55:58 -0700 (PDT) In-Reply-To: <4AB27368.1010701@easy-emacs.de> X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:68255 Archived-At: Many thanks! On Thu, Sep 17, 2009 at 6:35 PM, Andreas R=F6hler wrote: > bar tomas wrote: >> Hi, >> I'm using Emacs 22.3 on Wind XP. >> When I open a Python file (with py extension) I get =A0the 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 : >> >> =A0 =A0 =A0(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) >> =A0 =A0 =A0(global-set-key "\C-cl" 'org-store-link) >> =A0 =A0 =A0(global-set-key "\C-ca" 'org-agenda) >> =A0 =A0 =A0(global-set-key "\C-cb" 'org-iswitchb) >> >> >> =A0 =A0 =A0(global-font-lock-mode 1) >> =A0 =A0 =A0(add-hook 'org-mode-hook 'turn-on-font-lock) >> >> >> Do you know what may be wrong? >> Many thanks. >> >> >> >> > >