[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
select 'mode' from command line?
From: |
Gustavo Seabra |
Subject: |
select 'mode' from command line? |
Date: |
Wed, 29 Jun 2005 19:25:06 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi,
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. Something like:
$emacs -f90 my_f90_file.f &
to force emacs to already open the file with the f90 mode.
Thanks,
Gustavo Seabra.
- select 'mode' from command line?,
Gustavo Seabra <=
- Message not available
Re: select 'mode' from command line?, Jochen Küpper, 2005/06/30