unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: indentation not working for f90 with upper case DO etc
       [not found] <mailman.369.1163092319.2155.help-gnu-emacs@gnu.org>
@ 2006-11-09 19:16 ` Glenn Morris
  2006-11-09 22:45   ` George Nurser
       [not found]   ` <mailman.379.1163112348.2155.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Glenn Morris @ 2006-11-09 19:16 UTC (permalink / raw)


"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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: indentation not working for f90 with upper case DO etc
  2006-11-09 19:16 ` indentation not working for f90 with upper case DO etc Glenn Morris
@ 2006-11-09 22:45   ` George Nurser
       [not found]   ` <mailman.379.1163112348.2155.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: George Nurser @ 2006-11-09 22:45 UTC (permalink / raw)


On 09/11/06, Glenn Morris <rgm+news@stanford.edu> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: indentation not working for f90 with upper case DO etc
       [not found]   ` <mailman.379.1163112348.2155.help-gnu-emacs@gnu.org>
@ 2006-11-10  2:51     ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2006-11-10  2:51 UTC (permalink / raw)


"George Nurser" wrote:

> 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.

Aha. Was it just indent-region that you had problems with? That was
indeed a (trivial) bug; I'll check in a fix to CVS.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-10  2:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.369.1163092319.2155.help-gnu-emacs@gnu.org>
2006-11-09 19:16 ` indentation not working for f90 with upper case DO etc Glenn Morris
2006-11-09 22:45   ` George Nurser
     [not found]   ` <mailman.379.1163112348.2155.help-gnu-emacs@gnu.org>
2006-11-10  2:51     ` Glenn Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).