Gustavo Seabra <[EMAIL PROTECTED]> writes:

> 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. So, I wonder if there's a way to 
> tell 
> emacs to use a specific 'mode' from the command line, overriding the default 
> definition. 

Can you put Local Variable "cookies" into these files?

,----[ (info "(emacs)File Variables") ]
| A file can specify local variable values for use when you edit the file
| with Emacs.  Visiting the file checks for local variable
| specifications; it automatically makes these variables local to the
| buffer, and sets them to the values specified in the file.
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to