From: Ray <rayj@tau-re.org>
Subject: Re: cannot select python mode manually
Date: Sat, 30 Aug 2003 19:30:25 +0000 [thread overview]
Message-ID: <5064b.2113$bC1.838@newsfep4-winn.server.ntli.net> (raw)
In-Reply-To: mailman.1315.1062261733.29551.help-gnu-emacs@gnu.org
Vasily Korytov wrote:
> On Sat, 30 Aug 2003 13:37:21 +0000, rayj@tau-re.org 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
prev parent reply other threads:[~2003-08-30 19:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 13:37 cannot select python mode manually Ray
2003-08-30 13:47 ` Vasily Korytov
2003-08-30 15:33 ` Eli Zaretskii
[not found] ` <mailman.1315.1062261733.29551.help-gnu-emacs@gnu.org>
2003-08-30 19:30 ` Ray [this message]
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='5064b.2113$bC1.838@newsfep4-winn.server.ntli.net' \
--to=rayj@tau-re.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).