From unknown Sat Sep 06 21:07:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4259: Cannot indent fortran continue statement in emacs 23 Reply-To: Ushnish Basu , 4259@debbugs.gnu.org Resent-From: Ushnish Basu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 25 Aug 2009 19:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125122943320814 (code B ref -1); Tue, 25 Aug 2009 19:50:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 25 Aug 2009 19:43:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7PJhpRE020811 for ; Tue, 25 Aug 2009 12:43:52 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mg1vq-0005fy-Nj for submit@emacsbugs.donarmstrong.com; Tue, 25 Aug 2009 15:43:50 -0400 Resent-Message-ID: <19092.16118.642510.295375@fencepost.gnu.org> Resent-Date: Tue, 25 Aug 2009 15:43:50 -0400 Resent-From: Glenn Morris Resent-To: submit DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:content-type:content-transfer-encoding; s=smtpout; bh=SrRp+pouuhCZgYAVvNqftm1Ppyk=; b=Il+SLyr+UvbUz6o15cnEuBWUWiHkv+ktd7ps913xCRNrMZ3jZT34p9wmNmVTMA25r22WRPd0xnzlSQKpjbH2y7mFwGrtE1HhQ0nyeAyIXylqrrYJ2OS0lPL+MSUUQpvZL0On8zQJCEinEdBEyOt/wcNacHXD49Zn76nHj5jfHVA= X-Sasl-enc: jhfhsstcsN4fnCp5ey87xaFj8ZxMzmEw0n8sq5+bQpge 1251227374 Message-ID: <4A9436EA.3070303@cal.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Date: Tue, 25 Aug 2009 12:09:30 -0700 From: Ushnish Basu To: "Michael D. Prange" , Glenn Morris X-Bogosity: unsure, spamicity=0.104021, v1.0.1 User-Agent: Thunderbird 2.0.0.23 (X11/20090812) Resent-Date: Tue, 25 Aug 2009 15:43:50 -0400 Hello, I believe I came across a bug in the latest version of the fortran mode in emacs 23. Currently I am using version 23.1.1, but I did not have this problem with 23.0.60 from CVS. Please see the following sample code - I have arranged it as such only to illustrate the problem: subroutine first do 10 i=1,10 10 continue end do 20 i=1,100 20 continue If I run fortran-indent-line on the first continue (label 10) it works fine. However, if I run it on the second one (label 20), I get the error: fortran-check-end-prog-re: Lisp nesting exceeds 'max-lisp-eval-depth' presumably because it is after the 'end' If I increase max-lisp-eval-depth (and max-specpdl-size) to 10000, then I get the error fortran-check-end-prog-re: Variable binding depth exceeds max-specpdl-size Is this something that has been fixed in CVS? I look forward to hearing back from you. Thanks, Ushnish From unknown Sat Sep 06 21:07:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4259: Cannot indent fortran continue statement in emacs 23 Reply-To: Glenn Morris , 4259@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 26 Aug 2009 02:05:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4259-submit@emacsbugs.donarmstrong.com id=B4259.125125177322476 (code B ref 4259); Wed, 26 Aug 2009 02:05:08 +0000 Received: (at 4259) by emacsbugs.donarmstrong.com; 26 Aug 2009 01:56:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7Q1uCRl022473 for <4259@emacsbugs.donarmstrong.com>; Tue, 25 Aug 2009 18:56:13 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mg7kB-0002kB-3M; Tue, 25 Aug 2009 21:56:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19092.38459.64403.819245@fencepost.gnu.org> Date: Tue, 25 Aug 2009 21:56:11 -0400 From: Glenn Morris To: Ushnish Basu Cc: 4259@debbugs.gnu.org In-Reply-To: <4A9436EA.3070303@cal.berkeley.edu> References: <4A9436EA.3070303@cal.berkeley.edu> X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: ;i/Nt9qFFcBu/AK]N,y^&oSsq.k`qc5$i@iSuhZC5`U{Dd" Currently I am using version 23.1.1, but I did not have this problem > with 23.0.60 from CVS. [...] > subroutine first > do 10 i=1,10 > 10 continue > end > do 20 i=1,100 > 20 continue > > If I run fortran-indent-line on the first continue (label 10) it works > fine. However, if I run it on the second one (label 20), I get the error: > > fortran-check-end-prog-re: Lisp nesting exceeds 'max-lisp-eval-depth' The example does not look like valid Fortran, so I'm not too bothered if fortran-mode cannot indent it (although an infinite loop is not a nice way to fail). Do you have a minimum example of a valid Fortran file that fails in this way? 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. From unknown Sat Sep 06 21:07:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4259: Cannot indent fortran continue statement in emacs 23 Reply-To: Ushnish Basu , 4259@debbugs.gnu.org Resent-From: Ushnish Basu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 26 Aug 2009 17:10:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4259-submit@emacsbugs.donarmstrong.com id=B4259.125130596831330 (code B ref 4259); Wed, 26 Aug 2009 17:10:08 +0000 Received: (at 4259) by emacsbugs.donarmstrong.com; 26 Aug 2009 16:59:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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) 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 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) Message-ID: <4A9569E9.6080302@cal.berkeley.edu> Date: Wed, 26 Aug 2009 09:59:21 -0700 From: Ushnish Basu User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: Glenn Morris CC: 4259@debbugs.gnu.org References: <4A9436EA.3070303@cal.berkeley.edu> <19092.38459.64403.819245@fencepost.gnu.org> In-Reply-To: <19092.38459.64403.819245@fencepost.gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 From unknown Sat Sep 06 21:07:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4259: Cannot indent fortran continue statement in emacs 23 Reply-To: Glenn Morris , 4259@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 27 Aug 2009 22:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4259-submit@emacsbugs.donarmstrong.com id=B4259.125141235421385 (code B ref 4259); Thu, 27 Aug 2009 22:40:05 +0000 Received: (at 4259) by emacsbugs.donarmstrong.com; 27 Aug 2009 22:32:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7RMWXbq021355 for <4259@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 15:32:34 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MgnWC-0001Bf-2I; Thu, 27 Aug 2009 18:32:32 -0400 From: Glenn Morris To: Ushnish Basu Cc: 4259@debbugs.gnu.org References: <4A9436EA.3070303@cal.berkeley.edu> <19092.38459.64403.819245@fencepost.gnu.org> <4A9569E9.6080302@cal.berkeley.edu> X-Spook: Putin argus global Fedayeen constitution Albanian Crypto X-Ran: OaydWRv5m|bPe^e*'("+aBehW+DcN[yIP"=,iX$#'uhU}LuyFw)bPA\1Q/aRtYs2P}/K|4 X-Hue: white X-Attribution: GM Date: Thu, 27 Aug 2009 18:32:31 -0400 In-Reply-To: <4A9569E9.6080302@cal.berkeley.edu> (Ushnish Basu's message of "Wed, 26 Aug 2009 09:59:21 -0700") Message-ID: <99eiqwopkw.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Ushnish Basu wrote: > subroutine first > do 10 i=1,10 > 10 continue > end > subroutine second > do 20 i=1,100 > 20 continue > end Thanks, this looks like a (long-standing but previously hidden) fortran.el bug with motion commands. I will find a fix. From unknown Sat Sep 06 21:07:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Ushnish Basu Subject: bug#4259 closed by Glenn Morris (Re: Cannot indent fortran continue statement in emacs 23) Message-ID: References: <4A9436EA.3070303@cal.berkeley.edu> X-Emacs-PR-Message: they-closed 4259 X-Emacs-PR-Package: emacs Reply-To: 4259@debbugs.gnu.org Date: Sun, 30 Aug 2009 01:45:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1251596704-17004-1" This is a multi-part message in MIME format... ------------=_1251596704-17004-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4259: Cannot indent fortran continue statement in emacs 23 It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 4259: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4259 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1251596704-17004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4259-done) by emacsbugs.donarmstrong.com; 30 Aug 2009 01:40:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7U1eZPl016451 for <4259-done@emacsbugs.donarmstrong.com>; Sat, 29 Aug 2009 18:40:36 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MhZPF-0002Pw-6A; Sat, 29 Aug 2009 21:40:33 -0400 From: Glenn Morris To: 4259-done@debbugs.gnu.org Subject: Re: Cannot indent fortran continue statement in emacs 23 References: <4A9436EA.3070303@cal.berkeley.edu> <19092.38459.64403.819245@fencepost.gnu.org> <4A9569E9.6080302@cal.berkeley.edu> X-Spook: Uzi Saddam Hussein investigation Mossad Crowell Cohiba X-Ran: ,wXaG8{!?^)YPa!rQ#p[GDe``sNXV/|blZJv*5as6-6b~CrMk?>)S65Xq/JtaG?5zCj`iS X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 29 Aug 2009 21:40:33 -0400 In-Reply-To: <4A9569E9.6080302@cal.berkeley.edu> (Ushnish Basu's message of "Wed, 26 Aug 2009 09:59:21 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I believe this is fixed in the current CVS trunk. It would be great if you are able to test it out. 2009-08-30 Glenn Morris * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted from fortran-current-defun. (fortran-beginning-of-subprogram): Be more precise about finding the start, to avoid an infinite loop in end-of-defun. (Bug#4259) (fortran-end-of-subprogram): Simplify. (fortran-current-defun): Use fortran-start-prog-re. ------------=_1251596704-17004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Aug 2009 19:43:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7PJhpRE020811 for ; Tue, 25 Aug 2009 12:43:52 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mg1vq-0005fy-Nj for submit@emacsbugs.donarmstrong.com; Tue, 25 Aug 2009 15:43:50 -0400 Resent-Message-ID: <19092.16118.642510.295375@fencepost.gnu.org> Resent-Date: Tue, 25 Aug 2009 15:43:50 -0400 Resent-From: Glenn Morris Resent-To: submit X-Debbugs-No-Ack: yes DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:content-type:content-transfer-encoding; s=smtpout; bh=SrRp+pouuhCZgYAVvNqftm1Ppyk=; b=Il+SLyr+UvbUz6o15cnEuBWUWiHkv+ktd7ps913xCRNrMZ3jZT34p9wmNmVTMA25r22WRPd0xnzlSQKpjbH2y7mFwGrtE1HhQ0nyeAyIXylqrrYJ2OS0lPL+MSUUQpvZL0On8zQJCEinEdBEyOt/wcNacHXD49Zn76nHj5jfHVA= X-Sasl-enc: jhfhsstcsN4fnCp5ey87xaFj8ZxMzmEw0n8sq5+bQpge 1251227374 Message-ID: <4A9436EA.3070303@cal.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Date: Tue, 25 Aug 2009 12:09:30 -0700 From: Ushnish Basu To: "Michael D. Prange" , Glenn Morris Subject: Cannot indent fortran continue statement in emacs 23 X-Bogosity: unsure, spamicity=0.104021, v1.0.1 User-Agent: Thunderbird 2.0.0.23 (X11/20090812) Resent-Date: Tue, 25 Aug 2009 15:43:50 -0400 Hello, I believe I came across a bug in the latest version of the fortran mode in emacs 23. Currently I am using version 23.1.1, but I did not have this problem with 23.0.60 from CVS. Please see the following sample code - I have arranged it as such only to illustrate the problem: subroutine first do 10 i=1,10 10 continue end do 20 i=1,100 20 continue If I run fortran-indent-line on the first continue (label 10) it works fine. However, if I run it on the second one (label 20), I get the error: fortran-check-end-prog-re: Lisp nesting exceeds 'max-lisp-eval-depth' presumably because it is after the 'end' If I increase max-lisp-eval-depth (and max-specpdl-size) to 10000, then I get the error fortran-check-end-prog-re: Variable binding depth exceeds max-specpdl-size Is this something that has been fixed in CVS? I look forward to hearing back from you. Thanks, Ushnish ------------=_1251596704-17004-1-- From unknown Sat Sep 06 21:07:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4259: closed by Glenn Morris (Re: Cannot indent fortran continue statement in emacs 23) Reply-To: Ushnish Basu , 4259@debbugs.gnu.org Resent-From: Ushnish Basu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 31 Aug 2009 22:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4259-submit@emacsbugs.donarmstrong.com id=B4259.125175653810063 (code B ref 4259); Mon, 31 Aug 2009 22:15:07 +0000 Received: (at 4259) by emacsbugs.donarmstrong.com; 31 Aug 2009 22:08:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n7VM8u6s010060 for <4259@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 15:08:57 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 34DDB598BF for <4259@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 18:08:56 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 31 Aug 2009 18:08:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=PJjYs/VXG5bNEkmae529RISr7LE=; b=GJlbMntzTsuOTDBBNftLQc6rJ15JMgUh18BTZ+1oaq5Wo1zmLJitBVgau5gaOh2shGLiNRXCFJO5mEkwDSwLrqMjeLwba/jS+25qH+TvJr/rZIHHbeTW20W1hyHLB4rIu13rrm3YU7SooR/8H8IbdZRTcU5JJnSq5P5jf+GY2yY= X-Sasl-enc: tXeKBjrH+E4d+laBp2itFzEe5UsC3olxVKiZB6d9xNtO 1251756535 Received: from [172.17.30.32] (lstc.lstc.com [63.192.140.4]) by mail.messagingengine.com (Postfix) with ESMTPSA id A8B022D126 for <4259@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 18:08:55 -0400 (EDT) Message-ID: <4A9C49F6.9080903@cal.berkeley.edu> Date: Mon, 31 Aug 2009 15:08:54 -0700 From: Ushnish Basu User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: 4259@debbugs.gnu.org References: <4A9436EA.3070303@cal.berkeley.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks, I tried it out and it works. Thanks for the quick bugfix. Ushnish Emacs bug Tracking System wrote: > This is an automatic notification regarding your bug report > which was filed against the emacs package: > > #4259: Cannot indent fortran continue statement in emacs 23 > > It has been closed by Glenn Morris . > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Glenn Morris by > replying to this email. > > > > > ------------------------------------------------------------------------ > > Subject: > Re: Cannot indent fortran continue statement in emacs 23 > From: > Glenn Morris > Date: > Sat, 29 Aug 2009 21:40:33 -0400 > To: > 4259-done@emacsbugs.donarmstrong.com > > To: > 4259-done@emacsbugs.donarmstrong.com > > > I believe this is fixed in the current CVS trunk. It would be great if > you are able to test it out. > > 2009-08-30 Glenn Morris > > * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted > from fortran-current-defun. > (fortran-beginning-of-subprogram): Be more precise about finding the > start, to avoid an infinite loop in end-of-defun. (Bug#4259) > (fortran-end-of-subprogram): Simplify. > (fortran-current-defun): Use fortran-start-prog-re. > > > ------------------------------------------------------------------------ > > Subject: > Cannot indent fortran continue statement in emacs 23 > From: > Ushnish Basu > Date: > Tue, 25 Aug 2009 12:09:30 -0700 > To: > "Michael D. Prange" , Glenn Morris > > To: > "Michael D. Prange" , Glenn Morris > > > Hello, > > I believe I came across a bug in the latest version of the fortran mode > in emacs 23. Currently I am using version 23.1.1, but I did not have > this problem with 23.0.60 from CVS. > > Please see the following sample code - I have arranged it as such only > to illustrate the problem: > > subroutine first > do 10 i=1,10 > 10 continue > end > do 20 i=1,100 > 20 continue > > > If I run fortran-indent-line on the first continue (label 10) it works > fine. However, if I run it on the second one (label 20), I get the error: > > fortran-check-end-prog-re: Lisp nesting exceeds 'max-lisp-eval-depth' > > presumably because it is after the 'end' > > If I increase max-lisp-eval-depth (and max-specpdl-size) to 10000, then > I get the error > > fortran-check-end-prog-re: Variable binding depth exceeds max-specpdl-size > > Is this something that has been fixed in CVS? > > I look forward to hearing back from you. > > Thanks, > > Ushnish >