unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bar tomas <bartomas@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem loading Python mode
Date: Fri, 18 Sep 2009 09:55:58 +0100	[thread overview]
Message-ID: <fdcd75820909180155q280167dch6154fef15d43e035@mail.gmail.com> (raw)
In-Reply-To: <4AB27368.1010701@easy-emacs.de>

Many thanks!

On Thu, Sep 17, 2009 at 6:35 PM, Andreas Röhler
<andreas.roehler@easy-emacs.de> 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  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.
>>
>>
>>
>>
>
>




  reply	other threads:[~2009-09-18  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 11:26 Problem loading Python mode bar tomas
2009-09-17 17:35 ` Andreas Röhler
2009-09-18  8:55   ` bar tomas [this message]
     [not found] <mailman.6858.1253186777.2239.help-gnu-emacs@gnu.org>
2009-09-17 12:16 ` Anselm Helbig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fdcd75820909180155q280167dch6154fef15d43e035@mail.gmail.com \
    --to=bartomas@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).