* Fortran/t mode -- what is it?
@ 2007-06-12 22:21 George Nurser
0 siblings, 0 replies; 3+ messages in thread
From: George Nurser @ 2007-06-12 22:21 UTC (permalink / raw)
To: help-gnu-emacs
I've been editing a certain fortran file with emacs, and it has put
the code into something called (Fortran/t ) mode. In this mode certain
commans, such as C-M-j behave rather strangely.
What is this mode for, and how do I go back into straight Fortran mode
if I so wish?
The emacs is quite recent -- 22.0.97.1
Regards, George Nurser.
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.2063.1181686915.32220.help-gnu-emacs@gnu.org>]
* Re: Fortran/t mode -- what is it?
[not found] <mailman.2063.1181686915.32220.help-gnu-emacs@gnu.org>
@ 2007-06-13 7:35 ` Glenn Morris
2007-06-13 11:04 ` George Nurser
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2007-06-13 7:35 UTC (permalink / raw)
To: help-gnu-emacs
"George Nurser" wrote:
> I've been editing a certain fortran file with emacs, and it has put
> the code into something called (Fortran/t ) mode. In this mode certain
> commans, such as C-M-j behave rather strangely.
The file has some tab characters in the first 100 lines, which has
caused fortran.el to assume it is in "tab format", which is a fortran
variety with some special formatting rules.
> What is this mode for, and how do I go back into straight Fortran
> mode if I so wish?
Set indent-tabs-mode to nil in that file. Or set fortran-analyze-depth
to 0 if you don't want this feature.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fortran/t mode -- what is it?
2007-06-13 7:35 ` Glenn Morris
@ 2007-06-13 11:04 ` George Nurser
0 siblings, 0 replies; 3+ messages in thread
From: George Nurser @ 2007-06-13 11:04 UTC (permalink / raw)
To: help-gnu-emacs
On 13/06/07, Glenn Morris <rgm+news@stanford.edu> wrote:
> "George Nurser" wrote:
>
> > I've been editing a certain fortran file with emacs, and it has put
> > the code into something called (Fortran/t ) mode. In this mode certain
> > commans, such as C-M-j behave rather strangely.
>
> The file has some tab characters in the first 100 lines, which has
> caused fortran.el to assume it is in "tab format", which is a fortran
> variety with some special formatting rules.
>
> > What is this mode for, and how do I go back into straight Fortran
> > mode if I so wish?
>
> Set indent-tabs-mode to nil in that file. Or set fortran-analyze-depth
> to 0 if you don't want this feature.
Thanks. This solved the 'problem'.
George.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-13 11:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12 22:21 Fortran/t mode -- what is it? George Nurser
[not found] <mailman.2063.1181686915.32220.help-gnu-emacs@gnu.org>
2007-06-13 7:35 ` Glenn Morris
2007-06-13 11:04 ` George Nurser
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).