unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Glenn Morris <rgm@gnu.org>
Subject: bug#4259: marked as done (Cannot indent fortran continue statement in emacs 23)
Date: Sun, 30 Aug 2009 01:45:04 +0000	[thread overview]
Message-ID: <handler.4259.D4259.125159643616456.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 4A9436EA.3070303@cal.berkeley.edu

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Your message dated Sat, 29 Aug 2009 21:40:33 -0400
with message-id <ja8wh23wq6.fsf@fencepost.gnu.org>
and subject line Re: Cannot indent fortran continue statement in emacs 23
has caused the Emacs bug report #4259,
regarding Cannot indent fortran continue statement in emacs 23
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4259: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4259
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3046 bytes --]

From: Ushnish Basu <ubasu@cal.berkeley.edu>
To: "Michael D. Prange" <prange@erl.mit.edu>, Glenn Morris <rgm@gnu.org>
Subject: Cannot indent fortran continue statement in emacs 23
Date: Tue, 25 Aug 2009 12:09:30 -0700
Message-ID: <4A9436EA.3070303@cal.berkeley.edu>

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


[-- Attachment #3: Type: message/rfc822, Size: 2078 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 4259-done@emacsbugs.donarmstrong.com
Subject: Re: Cannot indent fortran continue statement in emacs 23
Date: Sat, 29 Aug 2009 21:40:33 -0400
Message-ID: <ja8wh23wq6.fsf@fencepost.gnu.org>


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  <rgm at gnu.org>

  * 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.

  parent reply	other threads:[~2009-08-30  1:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ja8wh23wq6.fsf@fencepost.gnu.org>
2009-08-25 19:09 ` bug#4259: Cannot indent fortran continue statement in emacs 23 Ushnish Basu
2009-08-26  1:56   ` Glenn Morris
2009-08-26 16:59     ` Ushnish Basu
2009-08-27 22:32       ` Glenn Morris
2009-08-30  1:45   ` Emacs bug Tracking System [this message]
     [not found]   ` <handler.4259.D4259.125159643616456.notifdone@emacsbugs.donarmstrong.com>
2009-08-31 22:08     ` bug#4259: closed by Glenn Morris <rgm@gnu.org> (Re: Cannot indent fortran continue statement in emacs 23) Ushnish Basu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.4259.D4259.125159643616456.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).