help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: select 'mode' from command line?


From: Peter Dyballa
Subject: Re: select 'mode' from command line?
Date: Wed, 29 Jun 2005 23:51:35 +0200


Am 29.06.2005 um 21:25 schrieb Gustavo Seabra:

I'm working witha code that has both fortran 77 and fortran 90 parts. All the files, however, are named *.f, and emacs always opens them with the 'fortran
mode', which is actually more fortran77.

Why don't you let your f90 files begin with a comment:

    C -*- mode: f90; coding: iso-8859-15; -*-

This line among the first few switches GNU Emacs in the right mood.

--
Greetings

  Pete

"One person with a belief is a social power equal to ninety-nine who have only interests." - John Stuart Mill





reply via email to

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