From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: python mode Date: Mon, 24 Apr 2006 20:11:43 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87k69f1dwg.fsf@tiger.rapttech.com.au> References: <87irp2ovxy.fsf@localhost.localdomain> <873bg3uzqr.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145875225 19664 80.91.229.2 (24 Apr 2006 10:40:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2006 10:40:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 24 12:40:24 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXyUP-0001ZE-Cw for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Apr 2006 12:40:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXyUO-0004Lq-PI for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Apr 2006 06:40:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-10!sn-xt-sjc-09!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:WsPzLs2xOGg6/bUyPzEjtEz7hlM= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 33 Original-Xref: shelby.stanford.edu gnu.emacs.help:139004 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34623 Archived-At: Stefan Monnier writes: >> I opened a file.py but emacs 21.4.1 on debian testing didn't switch >> the mode to the python mode. what do I need to do to fix this. > > >> http://www.emacswiki.org/cgi-bin/wiki/PythonMode >> Gnu Emacs post 21 has its own python mode (python.el). > > Emacs-21.4 is in the family "Emacs-21", so it's not *post*-Emacs-21. > There is no released Emacs version with built-in python mode. You can use > Emacs-CVS or install python.el manually. > > also, Debian 'unstable' has emacs-snapshot, which is the latest CVS emacs and is updated approximately weekly. I've been using it exclusively as my emacs for the past month and it works very nicely. My base system is Debian testing (etch), but I have unstable apt repositories in my apt sources file (and a apt setting specifying that testing is my preferred distribution). This prevents apt-get from trying to update all of the packages in unstable - once you choose a package from unstable, it will only install whatever prerequisites that package needs from unstable and then only upgrade those when necessary - outcome is you can use package from both testing and unstable (but don't get too carried away!). Tim -- tcross (at) rapttech dot com dot au