From unknown Tue Jun 24 20:53:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8944: 23.3; Formatting of Labeled Constructs in Fortran Resent-From: fkrogh@mathalacarte.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jun 2011 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8944 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8944@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.130920270112246 (code B ref -1); Mon, 27 Jun 2011 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2011 19:25:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbHQa-0003BS-RI for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:25:01 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbHQX-0003BG-KW for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbHQQ-0005vu-Ku for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,FROM_12LTRDOM, NO_DNS_FOR_FROM autolearn=no version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:55906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQQ-0005vp-BO for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQO-0001yu-E6 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbHQM-0005vK-5O for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:47 -0400 Received: from mathalacarte.com ([216.86.203.11]:43013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQL-0005v7-FC for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mathalacarte.com (Postfix) with ESMTP id 00354228C8F for ; Mon, 27 Jun 2011 12:24:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at mathalacarte.com Received: from mathalacarte.com ([127.0.0.1]) by localhost (mon.mathalacarte.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Njtjgr6PLUP for ; Mon, 27 Jun 2011 12:24:26 -0700 (PDT) Received: by mathalacarte.com (Postfix, from userid 1000) id C087B228C9C; Mon, 27 Jun 2011 12:24:26 -0700 (PDT) From: fkrogh@mathalacarte.com Date: Mon, 27 Jun 2011 12:24:26 -0700 Message-ID: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.1 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) This is more a feature request than a bug report. In Fortran you can have construct names on code blocks. It would be best if the construct names did not effect the indentation of code that follows. Thus An ordinary line indented like here. Construct_Name: do i = 1, 10 Next line indented as if the construct name were not there. Another_Construct_name: do j = 1, 30 And_Yet_Another_name: do k = 1,8 The next line starts like this end do Construct_Name end do Another_Construct_name end do And_Yet_Another_name Although I've been told, it is awkward to implement, I would like to be able to use continuation lines so that the indentation structure of the code is more clear. Thus the above might look like this An ordinary line indented like here. Construct_Name:& & do i = 1, 10 Next line indented as if the construct name were not there. Another_Construct_name:& & do j = 1, 30 And_Yet_Another_name:& & do k = 1,8 The next line starts like this end do Construct_Name end do Another_Construct_name end do And_Yet_Another_name But the key point is that the location of the construct name should not effect the formatting of the lines that follow. By using really short construct names the first form can be made to look not all that bad. In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.1) of 2011-03-10 on mon Windowing system distributor `The X.Org Foundation', version 11.0.11002000 configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--with-sound' '--with-x' '--without-ns' '--without-gconf' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -march=native -pipe -fno-strict-aliasing' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: C value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: F90 Minor modes in effect: recentf-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: Load-path shadows: /usr/share/emacs/site-lisp/color-theme/color-theme hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/color-theme /usr/share/emacs/site-lisp/color-theme/themes/color-theme-library hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/themes/color-theme-library /usr/share/emacs/site-lisp/color-theme/themes/color-theme-example hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/themes/color-theme-example /usr/share/emacs/23.3/lisp/calc/calc-vec hides ~/system/emacs/calc-2.02f/calc-vec /usr/share/emacs/23.3/lisp/calc/calc-lang hides ~/system/emacs/calc-2.02f/calc-lang /usr/share/emacs/23.3/lisp/calc/calc-math hides ~/system/emacs/calc-2.02f/calc-math /usr/share/emacs/23.3/lisp/calc/calc-embed hides ~/system/emacs/calc-2.02f/calc-embed /usr/share/emacs/23.3/lisp/calc/calc-sel hides ~/system/emacs/calc-2.02f/calc-sel /usr/share/emacs/23.3/lisp/calc/calc-yank hides ~/system/emacs/calc-2.02f/calc-yank /usr/share/emacs/23.3/lisp/calc/calc-undo hides ~/system/emacs/calc-2.02f/calc-undo /usr/share/emacs/23.3/lisp/calc/calc-units hides ~/system/emacs/calc-2.02f/calc-units /usr/share/emacs/23.3/lisp/calc/calc-funcs hides ~/system/emacs/calc-2.02f/calc-funcs /usr/share/emacs/23.3/lisp/calc/calc-stat hides ~/system/emacs/calc-2.02f/calc-stat /usr/share/emacs/23.3/lisp/calc/calc-aent hides ~/system/emacs/calc-2.02f/calc-aent /usr/share/emacs/23.3/lisp/calc/calc-misc hides ~/system/emacs/calc-2.02f/calc-misc /usr/share/emacs/23.3/lisp/calc/calc-fin hides ~/system/emacs/calc-2.02f/calc-fin /usr/share/emacs/23.3/lisp/calc/calc-forms hides ~/system/emacs/calc-2.02f/calc-forms /usr/share/emacs/23.3/lisp/calc/calc-stuff hides ~/system/emacs/calc-2.02f/calc-stuff /usr/share/emacs/23.3/lisp/calc/calc-poly hides ~/system/emacs/calc-2.02f/calc-poly /usr/share/emacs/23.3/lisp/calc/calc-rewr hides ~/system/emacs/calc-2.02f/calc-rewr /usr/share/emacs/23.3/lisp/calc/calc-keypd hides ~/system/emacs/calc-2.02f/calc-keypd /usr/share/emacs/23.3/lisp/calc/calc-help hides ~/system/emacs/calc-2.02f/calc-help /usr/share/emacs/23.3/lisp/calc/calc-prog hides ~/system/emacs/calc-2.02f/calc-prog /usr/share/emacs/23.3/lisp/calc/calc-store hides ~/system/emacs/calc-2.02f/calc-store /usr/share/emacs/23.3/lisp/calc/calc-bin hides ~/system/emacs/calc-2.02f/calc-bin /usr/share/emacs/23.3/lisp/calc/calc-trail hides ~/system/emacs/calc-2.02f/calc-trail /usr/share/emacs/23.3/lisp/calc/calc-mode hides ~/system/emacs/calc-2.02f/calc-mode /usr/share/emacs/23.3/lisp/calc/calc-map hides ~/system/emacs/calc-2.02f/calc-map /usr/share/emacs/23.3/lisp/calc/calc-cplx hides ~/system/emacs/calc-2.02f/calc-cplx /usr/share/emacs/23.3/lisp/calc/calc-rules hides ~/system/emacs/calc-2.02f/calc-rules /usr/share/emacs/23.3/lisp/calc/calc-graph hides ~/system/emacs/calc-2.02f/calc-graph /usr/share/emacs/23.3/lisp/calc/calc hides ~/system/emacs/calc-2.02f/calc /usr/share/emacs/23.3/lisp/calc/calc-alg hides ~/system/emacs/calc-2.02f/calc-alg /usr/share/emacs/23.3/lisp/calc/calc-arith hides ~/system/emacs/calc-2.02f/calc-arith /usr/share/emacs/23.3/lisp/calc/calc-macs hides ~/system/emacs/calc-2.02f/calc-macs /usr/share/emacs/23.3/lisp/calc/calc-ext hides ~/system/emacs/calc-2.02f/calc-ext /usr/share/emacs/23.3/lisp/calc/calc-comb hides ~/system/emacs/calc-2.02f/calc-comb /usr/share/emacs/23.3/lisp/calc/calc-incom hides ~/system/emacs/calc-2.02f/calc-incom /usr/share/emacs/23.3/lisp/calc/calc-frac hides ~/system/emacs/calc-2.02f/calc-frac Features: (shadow sort mail-extr message idna sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils warnings emacsbug color-theme cl cl-19 ps-bdf ps-mule ps-print ps-def lpr fortran f90 cus-edit cus-start cus-load recentf tree-widget wid-edit cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt pc-bufsw uniquify advice help-fns advice-preload bm-ext bm scroll-in-place paren site-gentoo preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs) From unknown Tue Jun 24 20:53:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8944: 23.3; Formatting of Labeled Constructs in Fortran In-Reply-To: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2011 01:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8944 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: fkrogh@mathalacarte.com Cc: 8944@debbugs.gnu.org Received: via spool by 8944-submit@debbugs.gnu.org id=B8944.130922534921147 (code B ref 8944); Tue, 28 Jun 2011 01:43:02 +0000 Received: (at 8944) by debbugs.gnu.org; 28 Jun 2011 01:42:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbNJs-0005V2-Dc for submit@debbugs.gnu.org; Mon, 27 Jun 2011 21:42:28 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbNJq-0005Uq-C2 for 8944@debbugs.gnu.org; Mon, 27 Jun 2011 21:42:27 -0400 Received: from localhost ([127.0.0.1]:59790) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbNJk-0004X2-Om; Mon, 27 Jun 2011 21:42:20 -0400 From: Glenn Morris References: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> X-Spook: MIT-LL S Key Saudi Arabia investigation morse defense X-Ran: !7^>L01?&w.wsKq1UqYltWy6*rqSF-e,eO0F9,s4O6p)hPRiZXUo|#=p=/oFK)R6,wmQc] X-Hue: green X-Attribution: GM Date: Mon, 27 Jun 2011 21:42:20 -0400 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 X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) fkrogh@mathalacarte.com wrote: > It would be best if the construct names did not effect the indentation > of code that follows. > > Thus > > An ordinary line indented like here. > Construct_Name: do i = 1, 10 > Next line indented as if the construct name were not there. > Another_Construct_name: do j = 1, 30 > And_Yet_Another_name: do k = 1,8 > The next line starts like this > end do Construct_Name > end do Another_Construct_name > end do And_Yet_Another_name I don't understand what you are asking for, because the names already make no difference to the indentation of subsequent lines. Compare the result of indenting: do i = 1, 10 foo end do and very_long_label: do i = 1, 10 foo end do Lines 2 and 3 get the same indentation in both cases. What you seem to be asking for is the option to indent named statements to column 0. That's probably doable, but it won't be a high priority. > Although I've been told, it is awkward to implement, I would like to be > able to use continuation lines so that the indentation structure of the > code is more clear. Thus the above might look like this > > An ordinary line indented like here. > Construct_Name:& > & do i = 1, 10 I'm not going to implement this. It is too difficult to support constructs split across lines. From unknown Tue Jun 24 20:53:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8944: 23.3; Formatting of Labeled Constructs in Fortran Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2011 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8944 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Fred Krogh Cc: 8944@debbugs.gnu.org Received: via spool by 8944-submit@debbugs.gnu.org id=B8944.13092962618467 (code B ref 8944); Tue, 28 Jun 2011 21:25:01 +0000 Received: (at 8944) by debbugs.gnu.org; 28 Jun 2011 21:24:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbfld-0002CU-6C for submit@debbugs.gnu.org; Tue, 28 Jun 2011 17:24:21 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbfla-0002CH-14 for 8944@debbugs.gnu.org; Tue, 28 Jun 2011 17:24:18 -0400 Received: from localhost ([127.0.0.1]:33940) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbflU-0003JU-6T; Tue, 28 Jun 2011 17:24:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19978.18043.878536.411684@fencepost.gnu.org> Date: Tue, 28 Jun 2011 17:24:11 -0400 From: Glenn Morris In-Reply-To: <4E095C50.9090101@mathalacarte.com> References: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> <4E095C50.9090101@mathalacarte.com> X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) (Please keep the debbugs address included in replies). Fred Krogh wrote (on Mon, 27 Jun 2011 at 21:45 -0700): > > I don't understand what you are asking for, because the names > > already make no difference to the indentation of subsequent lines. [...] > I must apologize. I swear that this sort of thing was not working for > me in the past. I just tried your example and then a slightly more > complicated example and it seems to work. OK, good, that was easy! > > I'm not going to implement this. It is too difficult to support > > constructs split across lines. > I'm sorry to belabor this. Not knowing how this sort of think might > actually be implemented it seems to me easy to ignore the indentation of > a construct name. Of course I really don't understand how this sort of > thing gets handled and I am very grateful to have what I have. The reason it makes life more difficult is that if everything is on one line, you can basically just do everything with a simple regular expression; but if things are allowed to be split over lines then you need to do a more complicating parsing. Anyway, I'll leave this bug report open but will mark it as "wontfix". From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 28 17:24:43 2011 Received: (at control) by debbugs.gnu.org; 28 Jun 2011 21:24:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbflz-0002D3-9O for submit@debbugs.gnu.org; Tue, 28 Jun 2011 17:24:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbflx-0002Cq-02 for control@debbugs.gnu.org; Tue, 28 Jun 2011 17:24:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qbflr-0003Lo-PU for control@debbugs.gnu.org; Tue, 28 Jun 2011 17:24:35 -0400 Date: Tue, 28 Jun 2011 17:24:35 -0400 Message-Id: Subject: control message for bug 8944 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) tag 8944 wontfix From unknown Tue Jun 24 20:53:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: fkrogh@mathalacarte.com Subject: bug#8944: closed (Re: bug#8944: 23.3; Formatting of Labeled Constructs in Fortran) Message-ID: References: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> X-Gnu-PR-Message: they-closed 8944 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: wontfix Reply-To: 8944@debbugs.gnu.org Date: Wed, 07 Dec 2016 17:55:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1481133303-32002-1" This is a multi-part message in MIME format... ------------=_1481133303-32002-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8944: 23.3; Formatting of Labeled Constructs in Fortran which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8944@debbugs.gnu.org. --=20 8944: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8944 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1481133303-32002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8944-done) by debbugs.gnu.org; 7 Dec 2016 17:54:12 +0000 Received: from localhost ([127.0.0.1]:59512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEgQ0-0008Iu-N6 for submit@debbugs.gnu.org; Wed, 07 Dec 2016 12:54:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEgPz-0008Ig-BL for 8944-done@debbugs.gnu.org; Wed, 07 Dec 2016 12:54:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEgPt-0008IH-Iu for 8944-done@debbugs.gnu.org; Wed, 07 Dec 2016 12:54:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEgPt-0008IB-Ey for 8944-done@debbugs.gnu.org; Wed, 07 Dec 2016 12:54:05 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEgPt-0002lN-3M; Wed, 07 Dec 2016 12:54:05 -0500 From: Glenn Morris To: 8944-done@debbugs.gnu.org Subject: Re: bug#8944: 23.3; Formatting of Labeled Constructs in Fortran References: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> <4E095C50.9090101@mathalacarte.com> <19978.18043.878536.411684@fencepost.gnu.org> X-Spook: Lightning propaganda FIPS140 FEMA Firefly Port Fusion X-Ran: r,2<5+T@U-hhIP.WYAHH@SOh9Um-O/w`r_.239c$-gGqM!R*QiQk?2[w;u$a~U)tCoW1WO X-Hue: blue X-Attribution: GM Date: Wed, 07 Dec 2016 12:54:04 -0500 In-Reply-To: <19978.18043.878536.411684@fencepost.gnu.org> (Glenn Morris's message of "Tue, 28 Jun 2011 17:24:11 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 8944-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) Glenn Morris wrote: > Anyway, I'll leave this bug report open but will mark it as "wontfix". I think it is now time to close this. ------------=_1481133303-32002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jun 2011 19:25:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbHQa-0003BS-RI for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:25:01 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QbHQX-0003BG-KW for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbHQQ-0005vu-Ku for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,FROM_12LTRDOM, NO_DNS_FOR_FROM autolearn=no version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:55906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQQ-0005vp-BO for submit@debbugs.gnu.org; Mon, 27 Jun 2011 15:24:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQO-0001yu-E6 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbHQM-0005vK-5O for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:47 -0400 Received: from mathalacarte.com ([216.86.203.11]:43013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHQL-0005v7-FC for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 15:24:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mathalacarte.com (Postfix) with ESMTP id 00354228C8F for ; Mon, 27 Jun 2011 12:24:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at mathalacarte.com Received: from mathalacarte.com ([127.0.0.1]) by localhost (mon.mathalacarte.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Njtjgr6PLUP for ; Mon, 27 Jun 2011 12:24:26 -0700 (PDT) Received: by mathalacarte.com (Postfix, from userid 1000) id C087B228C9C; Mon, 27 Jun 2011 12:24:26 -0700 (PDT) From: fkrogh@mathalacarte.com To: bug-gnu-emacs@gnu.org Subject: 23.3; Formatting of Labeled Constructs in Fortran Date: Mon, 27 Jun 2011 12:24:26 -0700 Message-ID: <87sjqvdqmt.fsf@mon.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) This is more a feature request than a bug report. In Fortran you can have construct names on code blocks. It would be best if the construct names did not effect the indentation of code that follows. Thus An ordinary line indented like here. Construct_Name: do i = 1, 10 Next line indented as if the construct name were not there. Another_Construct_name: do j = 1, 30 And_Yet_Another_name: do k = 1,8 The next line starts like this end do Construct_Name end do Another_Construct_name end do And_Yet_Another_name Although I've been told, it is awkward to implement, I would like to be able to use continuation lines so that the indentation structure of the code is more clear. Thus the above might look like this An ordinary line indented like here. Construct_Name:& & do i = 1, 10 Next line indented as if the construct name were not there. Another_Construct_name:& & do j = 1, 30 And_Yet_Another_name:& & do k = 1,8 The next line starts like this end do Construct_Name end do Another_Construct_name end do And_Yet_Another_name But the key point is that the location of the construct name should not effect the formatting of the lines that follow. By using really short construct names the first form can be made to look not all that bad. In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.1) of 2011-03-10 on mon Windowing system distributor `The X.Org Foundation', version 11.0.11002000 configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--with-sound' '--with-x' '--without-ns' '--without-gconf' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -march=native -pipe -fno-strict-aliasing' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: C value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: F90 Minor modes in effect: recentf-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: Load-path shadows: /usr/share/emacs/site-lisp/color-theme/color-theme hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/color-theme /usr/share/emacs/site-lisp/color-theme/themes/color-theme-library hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/themes/color-theme-library /usr/share/emacs/site-lisp/color-theme/themes/color-theme-example hides /usr/share/emacs/site-lisp/my_old_color_theme_dir/themes/color-theme-example /usr/share/emacs/23.3/lisp/calc/calc-vec hides ~/system/emacs/calc-2.02f/calc-vec /usr/share/emacs/23.3/lisp/calc/calc-lang hides ~/system/emacs/calc-2.02f/calc-lang /usr/share/emacs/23.3/lisp/calc/calc-math hides ~/system/emacs/calc-2.02f/calc-math /usr/share/emacs/23.3/lisp/calc/calc-embed hides ~/system/emacs/calc-2.02f/calc-embed /usr/share/emacs/23.3/lisp/calc/calc-sel hides ~/system/emacs/calc-2.02f/calc-sel /usr/share/emacs/23.3/lisp/calc/calc-yank hides ~/system/emacs/calc-2.02f/calc-yank /usr/share/emacs/23.3/lisp/calc/calc-undo hides ~/system/emacs/calc-2.02f/calc-undo /usr/share/emacs/23.3/lisp/calc/calc-units hides ~/system/emacs/calc-2.02f/calc-units /usr/share/emacs/23.3/lisp/calc/calc-funcs hides ~/system/emacs/calc-2.02f/calc-funcs /usr/share/emacs/23.3/lisp/calc/calc-stat hides ~/system/emacs/calc-2.02f/calc-stat /usr/share/emacs/23.3/lisp/calc/calc-aent hides ~/system/emacs/calc-2.02f/calc-aent /usr/share/emacs/23.3/lisp/calc/calc-misc hides ~/system/emacs/calc-2.02f/calc-misc /usr/share/emacs/23.3/lisp/calc/calc-fin hides ~/system/emacs/calc-2.02f/calc-fin /usr/share/emacs/23.3/lisp/calc/calc-forms hides ~/system/emacs/calc-2.02f/calc-forms /usr/share/emacs/23.3/lisp/calc/calc-stuff hides ~/system/emacs/calc-2.02f/calc-stuff /usr/share/emacs/23.3/lisp/calc/calc-poly hides ~/system/emacs/calc-2.02f/calc-poly /usr/share/emacs/23.3/lisp/calc/calc-rewr hides ~/system/emacs/calc-2.02f/calc-rewr /usr/share/emacs/23.3/lisp/calc/calc-keypd hides ~/system/emacs/calc-2.02f/calc-keypd /usr/share/emacs/23.3/lisp/calc/calc-help hides ~/system/emacs/calc-2.02f/calc-help /usr/share/emacs/23.3/lisp/calc/calc-prog hides ~/system/emacs/calc-2.02f/calc-prog /usr/share/emacs/23.3/lisp/calc/calc-store hides ~/system/emacs/calc-2.02f/calc-store /usr/share/emacs/23.3/lisp/calc/calc-bin hides ~/system/emacs/calc-2.02f/calc-bin /usr/share/emacs/23.3/lisp/calc/calc-trail hides ~/system/emacs/calc-2.02f/calc-trail /usr/share/emacs/23.3/lisp/calc/calc-mode hides ~/system/emacs/calc-2.02f/calc-mode /usr/share/emacs/23.3/lisp/calc/calc-map hides ~/system/emacs/calc-2.02f/calc-map /usr/share/emacs/23.3/lisp/calc/calc-cplx hides ~/system/emacs/calc-2.02f/calc-cplx /usr/share/emacs/23.3/lisp/calc/calc-rules hides ~/system/emacs/calc-2.02f/calc-rules /usr/share/emacs/23.3/lisp/calc/calc-graph hides ~/system/emacs/calc-2.02f/calc-graph /usr/share/emacs/23.3/lisp/calc/calc hides ~/system/emacs/calc-2.02f/calc /usr/share/emacs/23.3/lisp/calc/calc-alg hides ~/system/emacs/calc-2.02f/calc-alg /usr/share/emacs/23.3/lisp/calc/calc-arith hides ~/system/emacs/calc-2.02f/calc-arith /usr/share/emacs/23.3/lisp/calc/calc-macs hides ~/system/emacs/calc-2.02f/calc-macs /usr/share/emacs/23.3/lisp/calc/calc-ext hides ~/system/emacs/calc-2.02f/calc-ext /usr/share/emacs/23.3/lisp/calc/calc-comb hides ~/system/emacs/calc-2.02f/calc-comb /usr/share/emacs/23.3/lisp/calc/calc-incom hides ~/system/emacs/calc-2.02f/calc-incom /usr/share/emacs/23.3/lisp/calc/calc-frac hides ~/system/emacs/calc-2.02f/calc-frac Features: (shadow sort mail-extr message idna sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils warnings emacsbug color-theme cl cl-19 ps-bdf ps-mule ps-print ps-def lpr fortran f90 cus-edit cus-start cus-load recentf tree-widget wid-edit cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt pc-bufsw uniquify advice help-fns advice-preload bm-ext bm scroll-in-place paren site-gentoo preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs) ------------=_1481133303-32002-1--