From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Indentation of LISP code Date: Fri, 06 Apr 2007 11:12:56 -0400 Message-ID: References: <31279316.113871175847628387.JavaMail.www@wwinf4202> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175875087 24069 80.91.229.12 (6 Apr 2007 15:58:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2007 15:58:07 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 06 17:57:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZq8E-00041Z-B9 for ged-emacs-devel@m.gmane.org; Fri, 06 Apr 2007 17:13:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZqBi-0007Xu-MU for ged-emacs-devel@m.gmane.org; Fri, 06 Apr 2007 11:17:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZqBC-0005zX-G9 for emacs-devel@gnu.org; Fri, 06 Apr 2007 11:16:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZqBA-0005vn-N9 for emacs-devel@gnu.org; Fri, 06 Apr 2007 11:16:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZqBA-0005vR-Ch for emacs-devel@gnu.org; Fri, 06 Apr 2007 11:16:44 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HZq7f-0000QU-8R for emacs-devel@gnu.org; Fri, 06 Apr 2007 11:13:07 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BEEB82CEF87; Fri, 6 Apr 2007 11:13:06 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 53EB73FE0; Fri, 6 Apr 2007 11:12:56 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 2E4126CAB0; Fri, 6 Apr 2007 11:12:56 -0400 (EDT) In-Reply-To: <31279316.113871175847628387.JavaMail.www@wwinf4202> (A. Soare's message of "Fri\, 6 Apr 2007 10\:20\:28 +0200 \(CEST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69128 Archived-At: >> > When we put ;;; the indent of the comment must not change. >> And who said so? >> AFAIK, the only rule about ";;;" is that they should be "indented" to >> column 0, which in the present case is impossible. > Hoops ! I do not know. Will somebody explain me how do you want these > comments to show in future? (example and explanations with all line > commented and also ;;; comment at the end of the line). The rule when doing a rewrite generally goes as follows: - when in doubt, preserve the old behavior. And in most cases you also have to apply this other rules: - even in the absence of a doubt, make sure the user can still get the old behavior. Oh, and here's another important one: - any change you introduce without even thinking about it, will invariably lead to objections. Stefan