Path: utzoo!utgpu!watmath!uunet!axion!ukc!warwick!expya!admin@cs.exeter.ac.uk From: admin@cs.exeter.ac.uk (Khalid Sattar) Newsgroups: gnu.emacs Subject: questions on fortran mode Message-ID: <699.8811281125@expya.cs.exeter.ac.uk> Date: 28 Nov 88 11:25:37 GMT Sender: admin@cs.exeter.ac.uk Reply-To: sullivan@exca.exeter.ac.uk Lines: 24 X-mailer: mail gatewayed to news (mail-news 1.5a) I am sending this on behalf of a user who is not on USENET so please email him directly He is running gnu emacs 18.51 and has the following quries:- Firstly, I would like to know how to set the character to be treated as a comment line marker in fortran. i.e is it possible to customize EMACS so that it recognises say 'c...' as a comment 'character' and set the TAB key to correctly indent the line. Secondly, is it possible to prevent long lines of fortran code being indented out of the 72 column window when indenting an old unindented program using 'indent-region'. It would be useful if any code that would otherwise go beyond 72 columns could be automatically continued on a continuation line i.e with '$' prefix on a new line ......without splitting fortran commands. robert -- Khalid Sattar JANET: admin@uk.ac.exeter.cs Computer Science Dept. UUCP: ukc!expya!admin University of Exeter