From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: weber Newsgroups: gmane.emacs.help Subject: Re: Automatic Python self completion Date: Thu, 10 Apr 2008 16:17:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1207870886 1200 80.91.229.12 (10 Apr 2008 23:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2008 23:41:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 11 01:41:58 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jk6Oy-0005sv-Eb for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Apr 2008 01:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jk6OK-0007J4-MB for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Apr 2008 19:41:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!x41g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 201.21.216.108 Original-X-Trace: posting.google.com 1207869461 4974 127.0.0.1 (10 Apr 2008 23:17:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 10 Apr 2008 23:17:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x41g2000hsb.googlegroups.com; posting-host=201.21.216.108; posting-account=7GrjgQoAAAD6slWURausdJnhFDkmQYC8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 stargate.datacom:3128 (squid/2.6.STABLE5) Original-Xref: shelby.stanford.edu gnu.emacs.help:157864 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:53233 Archived-At: On Apr 10, 7:06=A0pm, "Jake Eakle" wrote: > Hello, > I'm relatively new to emacs lisping, and I'm wondering how to go about > adding a but of functionality to python-mode. I want emacs to, whenever I > type '[tab]def (', automatically append the text 'self, > '.Thanks! > > Jake Eakle > > -- > A warb degombs the brangy. Your gitch zanks and leils the warb. Instead of giving you a specific solution, I guess you'd benefit more from installing yasnippet so you can define your own snippets that expand with tab or whatever. There are also several snippets for python included. http://code.google.com/p/yasnippet/ HTH, Hugo