From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ushnish Basu Newsgroups: gmane.emacs.bugs Subject: bug#4259: Cannot indent fortran continue statement in emacs 23 Date: Wed, 26 Aug 2009 09:59:21 -0700 Message-ID: <4A9569E9.6080302@cal.berkeley.edu> References: <4A9436EA.3070303@cal.berkeley.edu> <19092.38459.64403.819245@fencepost.gnu.org> Reply-To: Ushnish Basu , 4259@emacsbugs.donarmstrong.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 1251333032 527 80.91.229.12 (27 Aug 2009 00:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 00:30:32 +0000 (UTC) Cc: 4259@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 27 02:30:25 2009 Return-path: Envelope-to: geb-bug-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 1MgSsh-0004XM-Oz for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Aug 2009 02:30:24 +0200 Original-Received: from localhost ([127.0.0.1]:58212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgSsh-0002Wg-2O for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 20:30:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgMH0-0002hQ-8P for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2009 13:27:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgMGv-0002c4-8C for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2009 13:27:01 -0400 Original-Received: from [199.232.76.173] (port=53809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgMGv-0002br-4I for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2009 13:26:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44858) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgMGu-0004ec-CA for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2009 13:26:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7QHQrpL003880; Wed, 26 Aug 2009 10:26:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7QHA8bs001350; Wed, 26 Aug 2009 10:10:08 -0700 Resent-Date: Wed, 26 Aug 2009 10:10:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Ushnish Basu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 26 Aug 2009 17:10:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4259-submit@emacsbugs.donarmstrong.com id=B4259.125130596831330 (code B ref 4259); Wed, 26 Aug 2009 17:10:08 +0000 Original-Received: (at 4259) by emacsbugs.donarmstrong.com; 26 Aug 2009 16:59:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7QGxOQG031321 for <4259@emacsbugs.donarmstrong.com>; Wed, 26 Aug 2009 09:59:25 -0700 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id D465458BBB; Wed, 26 Aug 2009 12:59:23 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 26 Aug 2009 12:59:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=5KQ739xZEGWl8PRZa0jbJp/KC9k=; b=IBLQzudUJ17IIqcdIg2yuiNoorSWcwH1aCwHW7gsFuPTn67CF95g9+K84SQmejA/oRTKD/O/97oTCMVxNW+PeZ9280Xae+2K1oWI4KiMaremYEZlQ64Xx4brHtWrYVk4xKdqB/0ypYdjcoqlV9Trq9lm3AfNYg/7P0NKhxZ/yCg= X-Sasl-enc: TCh08jg8upSMIQfjut2USe5u1WXIlkerJDjXEi4ENbFi 1251305963 Original-Received: from [172.17.30.32] (lstc.lstc.com [63.192.140.4]) by mail.messagingengine.com (Postfix) with ESMTPSA id 37844CF68; Wed, 26 Aug 2009 12:59:23 -0400 (EDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: <19092.38459.64403.819245@fencepost.gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 26 Aug 2009 13:27:01 -0400 X-Mailman-Approved-At: Wed, 26 Aug 2009 20:30:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30598 Archived-At: Glenn Morris wrote: > Please use M-x report-emacs-bug to report Emacs bugs, rather than > sending mail to addresses in the source files. > > My apologies - I thought of that after I sent off this email. I have now submitted a bug report directly, but I guess this bug was already filed as #4259, so the second bug would duplicate. > Ushnish Basu wrote (on Tue, 25 Aug 2009 at 12:09 -0700): > >> Currently I am using version 23.1.1, but I did not have this problem >> with 23.0.60 from CVS. [snip] > > Do you have a minimum example of a valid Fortran file that fails in > this way? > The bug shows for the following program: subroutine first do 10 i=1,10 10 continue end subroutine second do 20 i=1,100 20 continue end I sent the earlier invalid version just to highlight that it was the 'end' statement that seemed to be making the difference. I get the bug even in the current(?) CVS version 23.1.50.1 > The problem is another (see eg bug #2106) infinite loop in > end-of-defun, when called from the start of the "20" line. It's not > immediately obvious to me whether this is a problem in fortran-mode or > in end-of-defun. Thanks for your help. Best regards, Ushnish