From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: cannot select python mode manually Date: Sat, 30 Aug 2003 17:33:34 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8011-Sat30Aug2003173334+0300-eliz@elta.co.il> References: <6R04b.1871$bC1.366@newsfep4-winn.server.ntli.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1062255084 12239 80.91.224.253 (30 Aug 2003 14:51:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2003 14:51:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 16:51:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19t74U-0006Gx-00 for ; Sat, 30 Aug 2003 16:51:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19t74P-0006bW-Kz for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Aug 2003 10:51:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19t6tp-0008O4-IN for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 10:40:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19t6tD-0007hF-B4 for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 10:39:44 -0400 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.22) id 19t6nh-0005LM-Kf for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 10:34:01 -0400 Original-Received: from zaretski (pns03-197-178.inter.net.il [80.230.197.178]) by legolas.inter.net.il (Mirapoint Messaging Server MOS 3.3.5-GR) with ESMTP id AEP29645; Sat, 30 Aug 2003 17:33:58 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <6R04b.1871$bC1.366@newsfep4-winn.server.ntli.net> (message from Ray on Sat, 30 Aug 2003 13:37:21 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12198 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12198 > From: Ray > Newsgroups: gnu.emacs.help > Date: Sat, 30 Aug 2003 13:37:21 +0000 > > 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] Probably because python-mode.el is not loaded yet. Does it help to put the following line into your .emacs? (autoload 'pyton-mode "pyton-mode" "Enter Pyton mode." t)