all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem loading Python mode
Date: Thu, 17 Sep 2009 14:16:53 +0200	[thread overview]
Message-ID: <8763bhdave.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <mailman.6858.1253186777.2239.help-gnu-emacs@gnu.org>

At Thu, 17 Sep 2009 13:26:06 +0200,
bar tomas <bartomas@gmail.com> 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


       reply	other threads:[~2009-09-17 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6858.1253186777.2239.help-gnu-emacs@gnu.org>
2009-09-17 12:16 ` Anselm Helbig [this message]
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

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

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

  git send-email \
    --in-reply-to=8763bhdave.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.