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: Thu, 30 Jun 2005 16:04:22 +0200


Am 30.06.2005 um 00:24 schrieb Gustavo Seabra:

I had to use:

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

instead. Otherwise the f90 compiler complains (the "C" on the 1st line
is not understood as a comment in F90, "!" is.


Ahemm, my FORTRAN seems to be from '66! I thought you still have to put a C in column 6 ...

Actually Emacs reads what's between the -*- markers, the C is not part of the syntax, as Miles Bader remarks!

--
Greetings

  Pete

"Computers are good at following instructions,
but not at reading your mind."
D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9





reply via email to

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