From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "George Nurser" Newsgroups: gmane.emacs.help Subject: Re: Re: indentation not working for f90 with upper case DO etc Date: Thu, 9 Nov 2006 22:45:43 +0000 Message-ID: <1d1e6ea70611091445p5f59cf5t9a3538b7353d13ba@mail.gmail.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163112374 7344 80.91.229.2 (9 Nov 2006 22:46:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2006 22:46:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 09 23:46:09 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GiIel-0002Ip-As for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Nov 2006 23:45:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiIek-00053f-UJ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Nov 2006 17:45:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiIeZ-00052z-29 for help-gnu-emacs@gnu.org; Thu, 09 Nov 2006 17:45:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiIeX-00051v-DP for help-gnu-emacs@gnu.org; Thu, 09 Nov 2006 17:45:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiIeX-00051n-8L for help-gnu-emacs@gnu.org; Thu, 09 Nov 2006 17:45:45 -0500 Original-Received: from [64.233.184.231] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GiIeX-0001KS-4C for help-gnu-emacs@gnu.org; Thu, 09 Nov 2006 17:45:45 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i30so225814wra for ; Thu, 09 Nov 2006 14:45:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DJRbsJISqacHlMpjr+IhVQgps4RtHeaHgWhUYsTpfXo1j07r1Uxue7BKVO5j3Fj2uB/vd1FMXhNw3oaTMaq6WIGpHeRoJfwplvYxTSzXUh1w4lewtBa2sJ4/MMXdxVvpW0+Lym0jjimzmuWfwOHtTRuEfYUYM6dKUPMt3iZ+XS0= Original-Received: by 10.35.113.12 with SMTP id q12mr1898898pym.1163112343663; Thu, 09 Nov 2006 14:45:43 -0800 (PST) Original-Received: by 10.35.29.1 with HTTP; Thu, 9 Nov 2006 14:45:43 -0800 (PST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38606 Archived-At: On 09/11/06, Glenn Morris wrote: > "George Nurser" wrote: > > > I find that emacs won't indent f90 files when do /end do ; if > > then/end if etc. are upper case. > > Works for me with emacs-21.3 and the current CVS. What version of > Emacs are you using? Please provide a recipe starting from "emacs -q > --no-site-file" that illustrates the problem. I had the problem with both 22.0.90 and 21.3.1. With emacs -q --no-site-file the problem disappears. I traced the cause to a '(case-fold-search nil) in the custom-set-variables in my .emacs. If I include (setq case-fold-search t) in the defun my-f90-mode-hook it's OK. I suppose that it's still a bug (albeit an unimportant one), since fortran-mode always works. Many thanks for your help. George Nurser.