From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karthik Newsgroups: gmane.emacs.help Subject: Autofill mode for source code. Date: Fri, 17 Jul 2009 23:51:11 +0530 Message-ID: <4A60C117.90200@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247896927 21991 80.91.229.12 (18 Jul 2009 06:02:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2009 06:02:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 18 08:01:54 2009 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 1MS2zZ-0002VS-Ot for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jul 2009 08:01:54 +0200 Original-Received: from localhost ([127.0.0.1]:51634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MS2zZ-0005Ni-BF for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jul 2009 02:01:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRs3a-0000r6-Mh for help-gnu-emacs@gnu.org; Fri, 17 Jul 2009 14:21:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRs3X-0000qI-06 for help-gnu-emacs@gnu.org; Fri, 17 Jul 2009 14:21:18 -0400 Original-Received: from [199.232.76.173] (port=51685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRs3W-0000qF-RD for help-gnu-emacs@gnu.org; Fri, 17 Jul 2009 14:21:14 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.251]:3213) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRs3W-0002kE-Gi for help-gnu-emacs@gnu.org; Fri, 17 Jul 2009 14:21:14 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so379380rvb.6 for ; Fri, 17 Jul 2009 11:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=ccgH6YJpw8JzBcuauRQVIJVFCDeItWa+UBc9pOeMkcg=; b=hPI5fOm9IQg8FtJoKBLXFPq8oEAfAwMxgPPRwxQ2UCbGDlsiqRCkuCFebVs0+iVDcG W88qGm66O1e6HOfuk1sUAcWYaaov9OQ6Q6Tr7pfwseE609y1257dJl30OpF1+GFBludx bR9QX6Aleep34iuxeeVTX9kLN1HbVBWByJYy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=jiR0mEsj/1ZOutI8mmbmhSGP3Sgy3+Ya9IiRWjf//SCf4Jcn8ZT/NMO4mzX7scSBJc Z0wkkQBtkdoERHUIDH51Bmu6ywdq4UNe652ibXGonOBJbKs+d4NOakFUFJmTTGFuAxjr RCLQQZPaEwxbZOSTfuwo/omAXdbcRXOdxhK1s= Original-Received: by 10.140.193.9 with SMTP id q9mr997527rvf.126.1247854873288; Fri, 17 Jul 2009 11:21:13 -0700 (PDT) Original-Received: from ?192.168.1.2? ([59.164.67.223]) by mx.google.com with ESMTPS id g31sm8126223rvb.30.2009.07.17.11.21.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Jul 2009 11:21:12 -0700 (PDT) User-Agent: Thunderbird 2.0.0.21 (X11/20090409) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 18 Jul 2009 02:00:36 -0400 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:66193 Archived-At: Hi, I read about Autofill mode both in the manual and EmacsWiki. Apparently it only works on comments and not on source code when using programming major modes. I can at least see this in cc-mode. Is there a way to automatically wrap source code (while typing it in) after it reaches a column limit? Also is there a way to apply such a rule on existing source code? I tried Google but to no avail. Any help would be appreciated. Thanks, Karthik Ravikanti