From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: fortran indentation bug? Date: Wed, 11 Jun 2008 09:06:57 +0900 Message-ID: <87prqou95q.fsf@catnip.gol.com> References: <218wxcrhdt.fsf@fencepost.gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213142844 30808 80.91.229.12 (11 Jun 2008 00:07:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 00:07:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 11 02:08:07 2008 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 1K6Dsk-000855-BF for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2008 02:08:06 +0200 Original-Received: from localhost ([127.0.0.1]:45273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6Drw-0002tG-Ti for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2008 20:07:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6Drs-0002pJ-0P for emacs-devel@gnu.org; Tue, 10 Jun 2008 20:07:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6Drq-0002ll-F7 for emacs-devel@gnu.org; Tue, 10 Jun 2008 20:07:11 -0400 Original-Received: from [199.232.76.173] (port=34345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6Drq-0002lY-BQ for emacs-devel@gnu.org; Tue, 10 Jun 2008 20:07:10 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:40766) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6Drh-0007WI-HQ; Tue, 10 Jun 2008 20:07:02 -0400 Original-Received: from 218.231.175.5.eo.eaccess.ne.jp ([218.231.175.5] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1K6Dre-0002lJ-Vh; Wed, 11 Jun 2008 09:06:59 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 277D52F3D; Wed, 11 Jun 2008 09:06:58 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <218wxcrhdt.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 10 Jun 2008 19:37:34 -0400") Original-Lines: 20 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: 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:98902 Archived-At: Glenn Morris writes: > I might try and change it to do a different thing for non-CONTINUEs, > but it's a very old format (insert Fortran joke of your choice here). > END DO has been around since 1978. There's lots of achingly old fortran code around though. :-) [I found this bug when I re-indented some old code trying to better understand it. From the comments, the code originally came from "Theory and Application of Digital Signal Processing" by Rabiner and Gold -- publication date 1975 ... :-] Anyway, it would seem simple to special-case "continue". Thanks, -Miles -- Everywhere is walking distance if you have the time. -- Steven Wright