From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Source code formatting: line length limit? Date: Sun, 26 Jan 2003 21:32:38 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <84ptqlflp7.fsf@lucy.is.informatik.uni-duisburg.de> <84lm187ysa.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043635171 23500 80.91.224.249 (27 Jan 2003 02:39:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 Jan 2003 02:39:31 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18czBJ-00066l-00 for ; Mon, 27 Jan 2003 03:39:29 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18czFI-0006XA-00 for ; Mon, 27 Jan 2003 03:43:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18czAD-0002lc-0B for emacs-devel@quimby.gnus.org; Sun, 26 Jan 2003 21:38:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18cz6Z-0002Br-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 21:34:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18cz5e-00021D-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 21:33:54 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18cz5A-0001u6-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 21:33:08 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18cz4g-0001tl-00; Sun, 26 Jan 2003 21:32:38 -0500 Original-To: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-reply-to: <84lm187ysa.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11105 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11105 To illustrate my problem: I have just reformatted source code from something like 120 columns to something below 80. Sometimes, in such cases, the best solution is to move some of the deeply nested code into subroutines. That reduces the nesting, and enables you to keep the code within 80 columns easily without requiring lots of line breaks.