From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: comments line width Date: Sun, 30 Apr 2006 19:49:02 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net 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 1146429633 343 80.91.229.2 (30 Apr 2006 20:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 20:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 30 22:40:28 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 1FaIiQ-00052d-J5 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2006 22:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaIiP-0000It-Vi for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2006 16:40:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.38.194 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread3.news.atl.earthlink.net 1146426542 4.159.38.194 (Sun, 30 Apr 2006 12:49:02 PDT) Original-NNTP-Posting-Date: Sun, 30 Apr 2006 12:49:02 PDT Original-Xref: shelby.stanford.edu gnu.emacs.help:139105 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:34726 Archived-At: "B. T. Raven" wrote in message news:HS75g.11790$Es3.11554@newsread3.news.atl.earthlink.net... > > "Rupert Swarbrick" wrote in message > news:mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org... > > 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 > > But Gary needs to set fill-column first to something greater than 70 (the > default). Say 200 or 20000. C-u 200 C-x f. > > Ed > Belay that last order. Lines longer than 60 or 70 characters are less legible. M-x auto-fill-mode is enough to do what you want. Ed.