Article View: bit.listserv.simula
Article #395Re: Source code formatter for Simula???
From: Carey Evans
Date: Mon, 17 Jul 1995 00:00
Date: Mon, 17 Jul 1995 00:00
22 lines
1441 bytes
1441 bytes
Christian Steinebach <chris@DT.MARINTEK.SINTEF.NO> wrote:
[snip]
>Old code is unchanged (but I'm not familiar
>with Emacs, maybe there is a way to reformat old code
>as well)
There is, at least if you're using the same version of Simula mode I am. Open
the file in Simula mode. Type C-x h to select the whole buffer, then type
M-C-\ to reformat this region.
All the Emacses on my system came with Simula mode (I didn't have to download
anything), but it had to be enabled with the following two commands in my
emacs file:
(autoload 'simula-mode "simula" "Simula mode" t)
(setq auto-mode-alist (cons '("\\.sim$" . simula-mode) auto-mode-alist))
--
__
/<o__n Carey Evans
<| .=== .... C.Evans@student.canterbury.ac.nz
<| |
Technical Details
Message-ID:
<3ucqk0$jvj@cantua.canterbury.ac.nz>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199507121004.AA151683453@mtdhp1.marintek.sintef.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dd9,3c437ea33174c4e8 X-Google-Attributes: gid113dd9,public From: Carey Evans <C.Evans@student.canterbury.ac.nz> Subject: Re: Source code formatter for Simula??? Date: 1995/07/17 Message-ID: <3ucqk0$jvj@cantua.canterbury.ac.nz> X-Deja-AN: 106347791 references: <199507121004.AA151683453@mtdhp1.marintek.sintef.no> content-type: text/plain; charset=us-ascii organization: Computer Science, University of Canterbury x-url: news:199507121004.AA151683453@mtdhp1.marintek.sintef.no mime-version: 1.0 newsgroups: bit.listserv.simula x-mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3 sun4m)