From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.bugs Subject: f90 indentation error and annoyance Date: Fri, 08 Oct 2004 18:33:11 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097257330 16018 80.91.229.6 (8 Oct 2004 17:42:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2004 17:42:10 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 08 19:42:06 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CFyko-0004p1-00 for ; Fri, 08 Oct 2004 19:42:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFyq1-0003Cz-HC for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2004 13:47:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFyjW-00085v-3Z for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2004 13:40:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFyjS-00084C-Ub for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2004 13:40:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFyjS-00083v-8k for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2004 13:40:42 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFycC-0000J0-51 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2004 13:33:12 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1CFycB-000168-00 for ; Fri, 08 Oct 2004 18:33:11 +0100 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9236 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9236 In a buffer in f90-mode, run indent-region on the following two lines to get an error. It fails with any main that doesn't start with `program': print 'foo' end I find it annoying that indenting an `end' statement always qualifies it. That should be customizable, and I think the default should be not to. E.g. indenting this: program main print 'foo' end produces: program main print 'foo' end program main