From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.help Subject: Re: comments line width Date: Sun, 30 Apr 2006 11:52:46 +0100 Message-ID: References: <87zmi4m7dz.fsf@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146394413 3065 80.91.229.2 (30 Apr 2006 10:53:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 10:53:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 30 12:53:31 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 1Fa9YL-00063b-0N for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2006 12:53:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa9YK-0005iD-K5 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2006 06:53:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fa9YA-0005hy-HL for help-gnu-emacs@gnu.org; Sun, 30 Apr 2006 06:53:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fa9Y8-0005hj-7j for help-gnu-emacs@gnu.org; Sun, 30 Apr 2006 06:53:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa9Y7-0005hg-W2 for help-gnu-emacs@gnu.org; Sun, 30 Apr 2006 06:53:12 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fa9bh-000649-0g for help-gnu-emacs@gnu.org; Sun, 30 Apr 2006 06:56:53 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fa9Xw-0005zl-HK for help-gnu-emacs@gnu.org; Sun, 30 Apr 2006 12:53:00 +0200 Original-Received: from host-137-205-24-227.res.warwick.ac.uk ([137.205.24.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Apr 2006 12:53:00 +0200 Original-Received: from rupert.swarbrick by host-137-205-24-227.res.warwick.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Apr 2006 12:53:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-137-205-24-227.res.warwick.ac.uk User-Agent: Mail/News 1.5 (X11/20060228) In-Reply-To: <87zmi4m7dz.fsf@localhost.localdomain> X-Enigmail-Version: 0.94.0.0 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:34724 Archived-At: Gary Wessle wrote: > Hi > > in python mode, under dabian testing, when I start a new line with # > it does not go to a new line which automatically starts with # after > the first line gets bigger than 70 char. how can I get it to do this? > > thanks I think you probably want auto-fill-mode. Just do M-x auto-fill-mode and try - I haven't tried this in python, but it works in C/C++, Java, Perl and sh mode, so it's a good bet. Rupert