From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: deskpot@despammed.com (Vasily Korytov) Newsgroups: gmane.emacs.help Subject: Re: cannot select python mode manually Date: Sat, 30 Aug 2003 17:47:08 +0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <877k4vmf4z.fsf@unix.home> References: <6R04b.1871$bC1.366@newsfep4-winn.server.ntli.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1353996511==" X-Trace: sea.gmane.org 1062261882 22615 80.91.224.253 (30 Aug 2003 16:44:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2003 16:44:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 18:44:40 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 19t8q8-0001Yq-00 for ; Sat, 30 Aug 2003 18:44:40 +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 19t8pS-0003KZ-3a for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Aug 2003 12:43:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19t8nP-0001xf-Db for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 12:41:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19t8n5-0001UN-0r for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 12:41:34 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19t8lz-0007WL-BB for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 12:40:23 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by mx20.gnu.org with esmtp (Exim 4.22) id 19t8bS-0006ou-1I for help-gnu-emacs@gnu.org; Sat, 30 Aug 2003 12:29:30 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19t8c4-0002Ii-00 for ; Sat, 30 Aug 2003 18:30:08 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19t65h-0001Bj-00 for ; Sat, 30 Aug 2003 15:48:33 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19t652-0001jc-00 for ; Sat, 30 Aug 2003 15:47:52 +0200 Original-Lines: 39 Original-X-Complaints-To: usenet@sea.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:V19/wubd/Qo3KUpf5P0ZhaOaB38= 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:12200 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12200 --===============1353996511== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable 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 year= s.=20 > 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. =2D-=20 I accept RFC3156 and RFC2440-compatible encrypted mail. PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/UKrfoPg1JPzYGEERArYbAJ9/XIQUl2UjLub0gOkxx85vIYyjjQCgtk91 p646plVWF97tn8qqzAv7+4E= =KflD -----END PGP SIGNATURE----- --=-=-=-- --===============1353996511== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============1353996511==--