emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104784: * lisp/files.el (auto-mode-a


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104784: * lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
Date: Wed, 29 Jun 2011 14:38:39 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104784
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2011-06-29 14:38:39 -0400
message:
  * lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
modified:
  lisp/ChangeLog
  lisp/files.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-06-29 18:37:31 +0000
+++ b/lisp/ChangeLog    2011-06-29 18:38:39 +0000
@@ -1,5 +1,7 @@
 2011-06-29  Glenn Morris  <address@hidden>
 
+       * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
+
        * ses.el (top-level): Require cl when compiling.
        (ses-set-localvars): Fix error statement.
        Call it at compile time to silence a storm of warnings.

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2011-06-19 18:59:58 +0000
+++ b/lisp/files.el     2011-06-29 18:38:39 +0000
@@ -2268,7 +2268,12 @@
      ("\\.icn\\'" . icon-mode)
      ("\\.sim\\'" . simula-mode)
      ("\\.mss\\'" . scribe-mode)
+     ;; The Fortran standard does not say anything about file extensions.
+     ;; .f90 was widely used for F90, now we seem to be trapped into
+     ;; using a different extension for each language revision.
+     ;; Anyway, the following extensions are supported by gfortran.
      ("\\.f9[05]\\'" . f90-mode)
+     ("\\.f0[38]\\'" . f90-mode)
      ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode
      ("\\.\\(pro\\|PRO\\)\\'" . idlwave-mode)
      ("\\.srt\\'" . srecode-template-mode)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]