From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: Re: f90 indentation error and annoyance Date: Mon, 11 Oct 2004 18:50:00 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097517052 28224 80.91.229.6 (11 Oct 2004 17:50:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2004 17:50:52 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 11 19:50:29 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 1CH4JZ-00053N-00 for ; Mon, 11 Oct 2004 19:50:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CH4QW-0007xd-CQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Oct 2004 13:57:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CH4QT-0007x7-Gn for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2004 13:57:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CH4QS-0007wK-8a for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2004 13:57:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CH4QS-0007wE-4R for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2004 13:57:36 -0400 Original-Received: from [131.111.8.131] (helo=ppsw-1.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH4JF-0002ZV-SY; Mon, 11 Oct 2004 13:50:10 -0400 Original-Received: from cass41.ast.cam.ac.uk ([131.111.69.186]:36507) by ppsw-1.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.141]:25) with esmtp (Exim 4.34) id 1CH4J7-0002QY-AR (return-path ); Mon, 11 Oct 2004 18:50:01 +0100 Original-Received: from xserv1.ast.cam.ac.uk (IDENT:QOhbToPjvXVDDbBnQbrMNvV2jYXm8I/X@xserv1.ast.cam.ac.uk [131.111.69.235]) by cass41.ast.cam.ac.uk (8.12.10+Sun/8.12.10) with ESMTP id i9BHo1Gn023367; Mon, 11 Oct 2004 18:50:01 +0100 (BST) Original-Received: from xserv1.ast.cam.ac.uk (IDENT:W+OzuUghvKK6htMZpCBlTUphcUTrgIX0@xpc14.ast.cam.ac.uk [131.111.69.34]) by xserv1.ast.cam.ac.uk (8.11.6/8.11.6) with ESMTP id i9BHo0q07841; Mon, 11 Oct 2004 18:50:00 +0100 Original-To: Dave Love X-Spook: satellite phone domestic sarin RC5 Afghanistan double X-Attribution: GM Mail-Followup-To: Dave Love , bug-gnu-emacs@gnu.org In-Reply-To: (Dave Love's message of "Fri, 08 Oct 2004 18:33:11 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned 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:9274 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9274 Dave Love wrote: > 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. It is customizable - set f90-smart-end to nil. The doc for that variable is not very clear, though, so I'll improve it. Setting it to nil also avoids your bug, but I will look for a proper fix.