home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!agate.berkeley.edu!dodd
- From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd)
- Newsgroups: gnu.emacs.help
- Subject: Re: Fortran mode
- Date: 15 Dec 92 05:14:13
- Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA
- Lines: 26
- Message-ID: <DODD.92Dec15051413@mycenae.cchem.berkeley.edu>
- References: <92350.103118HAC041@DJUKFA11.BITNET>
- NNTP-Posting-Host: mycenae.cchem.berkeley.edu
- In-reply-to: HAC041@DJUKFA11.BITNET's message of 15 Dec 92 09:31:18 GMT
-
-
- >>>>> "Konrad" == Konrad Hinsen <HAC041@DJUKFA11.BITNET> writes:
-
- Konrad> 1) Why my solution doesn't work?
- Konrad> 2) What can be done to really solve this problem?
-
- I asked the same question six months ago. Stephen Wood the current maintainer
- of fortran.el responded with:
-
- ....
- You can get fortran.el to not indent lines that begin with # by adding the
- following to your fortran-mode-hook
-
- (setq comment-line-start-skip
- "^[Cc*]\\(\\([^ \t\n]\\)\\2\\2*\\)?[ \t]*\\|^#.*")
-
- The purpose of this is to skip over the comment character or character
- sequences such as c$$$, before it tries to indent the comment line. The ^#.*
- will skip over the entire line before trying to indent.
- ....
-
- You should also start using the v19 version of fortran.el available via
- anonymous ftp to hallc1.cebaf.gov in directory emacs. There are other
- fortran-mode goodies in that directory as well.
-
- Larry
-