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: Re: f90 indentation error and annoyance Date: Thu, 14 Oct 2004 22:26:41 +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 1097789237 27890 80.91.229.6 (14 Oct 2004 21:27:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2004 21:27:17 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 14 23:27:09 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 1CID7t-00016F-00 for ; Thu, 14 Oct 2004 23:27:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIDEz-0001ij-TS for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Oct 2004 17:34:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CIDEu-0001gM-48 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2004 17:34:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CIDEs-0001fm-Uy for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2004 17:34:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIDEs-0001fR-P3 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2004 17:34:22 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CID7S-0001tW-Gd for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2004 17:26:42 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1CID7R-0001lH-00 for ; Thu, 14 Oct 2004 22:26:41 +0100 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) 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:9315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9315 Glenn Morris writes: > It is customizable - set f90-smart-end to nil. I thought it didn't used to happen for me... I actually checked the code, but I must have looked at the wrong level. (You wouldn't guess I was once muggins for it :-/.) > The doc for that variable is not very clear, though, Indeed. > so I'll improve it. Setting it to > nil also avoids your bug, but I will look for a proper fix. I think blinking the block start ought to be orthogonal to inserting the extra text. I still think the latter shouldn't be the default since it does more than indent the line. I think f90-mode generally tries to be too clever rather than just obeying the normal conventions, but I never had time to tidy it up. E.g. TAB should work via indent-line-function rather than being rebound directly to f90-indent-line.