scsh-users
[Top] [All Lists]

Re: Scheme Shell emacs mode?

To: scsh-news@zurich.ai.mit.edu
Subject: Re: Scheme Shell emacs mode?
From: Rolf-Thomas Happe <rthappe@mathematik.uni-freiburg.de>
Date: 25 Mar 2002 16:42:18 +0100
Organization: IAM * ALU Frg * Germ
Robert Morelli writes:
> In the source distribution for SCSH there's a directory containing emacs
> lisp files.  One of these,  schemeshell.el,  presumably defines a mode
> for editing SCHS files.  I have a couple of questions.

Scsh inherits these files from Scheme48 (including cmushell.el) whose
manual http://s48.org/0.57/manual/s48manual_6.html answers some of
your questions.  Note that there is no particular scsh (or scheme48)
editing mode, it's just Scheme mode.  The .el files help Emacs running
scheme48 or scsh.

> 2. What's the standard way to make emacs recognize a SCSH file?  Is
> there a standard file extension,  or do you just have to manually start
> the mode?

The file name extension is .scm (as you may have noticed, all Scheme
files in the scsh distribution end in .scm).  For more information,
ask Emacs C-h v auto-mode-alist, and possibly look up the Emacs info 
(C-h i, menu Emacs, menu Choosing Modes).

rthappe

<Prev in Thread] Current Thread [Next in Thread>