[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select 'mode' from command line?
From: |
Jochen Küpper |
Subject: |
Re: select 'mode' from command line? |
Date: |
Thu, 30 Jun 2005 11:39:25 +0200 |
Gustavo Seabra <gustavo.seabra@gmail.com> 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.)
Re: select 'mode' from command line?,
Jochen Küpper <=