From: "Jochen Küpper" <jochen-+It19tn3Rl9sbm7dSapR3bNAH6kLmebB@public.gmane.org>
Subject: Re: select 'mode' from command line?
Date: Thu, 30 Jun 2005 11:39:25 +0200 [thread overview]
Message-ID: <m3slz0npyq.fsf@doze.jochen-kuepper.de> (raw)
In-Reply-To: <loom.20050629T211959-864-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org> (Gustavo Seabra's message of "Wed, 29 Jun 2005 19:25:06 +0000 (UTC)")
Gustavo Seabra <gustavo.seabra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.)
next prev parent reply other threads:[~2005-06-30 9:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 19:25 select 'mode' from command line? Gustavo Seabra
2005-06-29 21:51 ` Peter Dyballa
2005-06-29 22:24 ` Gustavo Seabra
2005-06-30 14:04 ` Peter Dyballa
2005-06-30 15:05 ` select 'mode' from command line? [OT] Emilio Lopes
[not found] ` <mailman.1729.1120140988.2857.help-gnu-emacs@gnu.org>
2005-06-30 14:45 ` select 'mode' from command line? Miles Bader
[not found] ` <mailman.1641.1120084018.2857.help-gnu-emacs@gnu.org>
2005-06-29 22:46 ` Miles Bader
[not found] ` <loom.20050629T211959-864-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2005-06-30 9:39 ` Jochen Küpper [this message]
2005-06-30 15:16 ` Peter Dyballa
2005-06-30 15:38 ` Gustavo Seabra
[not found] <mailman.1623.1120074977.2857.help-gnu-emacs@gnu.org>
2005-07-02 3:23 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3slz0npyq.fsf@doze.jochen-kuepper.de \
--to=jochen-+it19tn3rl9sbm7dsapr3bnah6klmebb@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).