help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot select python mode manually


From: Ray
Subject: Re: cannot select python mode manually
Date: Sat, 30 Aug 2003 19:30:25 +0000
User-agent: KNode/0.7.2

Vasily Korytov wrote:

> On Sat, 30 Aug 2003 13:37:21 +0000, address@hidden wrote:
> 
>> A bit of an EMACS newbie here, despite having used it on and off for
>> years. So forgive me if this is really simple!
>>
>> If I edit a python file the python mode comes in automatically and works
>> fine.  However,if I have another file and want to engage python mode
>> manually (M-x python-mode) Emacs replies [no match]
>>
>> python-mode.el and .elc are in /usr/share/emacs/site-lisp along with
>> other modes that work fine when invoked with M-x !
>>
>> Can any one give me some pointers as to what to check?
> 
> Just (autoload 'python-mode "python-mode" nil t) or
> (require 'python-mode).
> 
> I don't know, if this is documented somewhere in the FAQs, but usually
> major modes do have a comment, explaining, how to install it.
> 

Excellent.  Thank you and the other poster for that.  (require 'python-mode)
worked.  I am using the standard .emacs (and other related files!) that
came with SuSE, so I probably ought to read around a bit more as all sorts
of stuff is going on in them :/

Yours,
-- 
Ray


reply via email to

[Prev in Thread] Current Thread [Next in Thread]