Newsgroups: comp.lang.scheme,alt.lang.scheme.scsh
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!vixen.cso.uiuc.edu!sdd.hp.com!col.hp.com!news.dtc.hp.com!hplntx!hplntx.hpl.hp.com!gjr
From: gjr@hplgr2.hpl.hp.com (Guillermo (Bill) J. Rozas)
Subject: Re: Syntax for Scheme and shells
Sender: news@hpl.hp.com (HPLabs Usenet Login)
Message-ID: <GJR.96Jan12154607@hplgr2.hpl.hp.com>
In-Reply-To: sb@metis.no's message of 12 Jan 1996 10:39:11 +0100
Date: Fri, 12 Jan 1996 23:46:07 GMT
Reply-To: gjr@hplabs.hpl.hp.com
References: <qijzqcm3nz9.fsf@lambda.ai.mit.edu> <qijent67nl3.fsf_-_@lambda.ai.mit.edu>
	<whivih7nwg.fsf@balder.metis.no>
Nntp-Posting-Host: hplgr2.hpl.hp.com
Organization: Hewlett-Packard Laboratories, Palo Alto, CA
Lines: 42

In article <whivih7nwg.fsf@balder.metis.no> sb@metis.no (Steinar Bang) writes:

|   Xref: hplntx comp.lang.scheme:12938 alt.lang.scheme.scsh:128
|   Path: hplntx!news.dtc.hp.com!col.hp.com!usenet.eel.ufl.edu!gatech!newsfeed.internetmci.com!EU.net!Norway.EU.net!usenet
|   From: sb@metis.no (Steinar Bang)
|   Newsgroups: comp.lang.scheme,alt.lang.scheme.scsh
|   Date: 12 Jan 1996 10:39:11 +0100
|   Organization: AT&T GIS Norge AS, Horten, Norway
|   Lines: 13
|   Sender: sb@balder.metis.no
|   References: <qijzqcm3nz9.fsf@lambda.ai.mit.edu>
|    <qijent67nl3.fsf_-_@lambda.ai.mit.edu>
|   NNTP-Posting-Host: balder.metis.no
|   Mime-Version: 1.0
|   Content-Type: text/plain; charset=US-ASCII
|   X-Newsreader: Gnus v5.0.12
|
|   IMHO it would be better to incorporate emacs-like editing features,
|   than to sacrifice a lot on the altar of terseness.
|
|   It doesn't really matter if the parantheses are there if you don't
|   have to count them, or ensure that they're balanced.
|
|   Starting out with a paris of balanced parantheses, and the cursor
|   positioned between them have been mentioned.  Other things that can be
|   done is to define a typed '(' to mean: output "()" and position the
|   cursor between them, auto-balancing and so forth.
|
|   I'd accept typing \( or \) to get actual paranteses, should I need
|   them.

I'm confused.  Why don't you just run your shell interactively under
Emacs/Edwin and use the ordinary Scheme-mode commands (e.g. "M-(") to
do exactly that?

I've never figured out why you need any editting junk in your shell
once you can run it under a real text/program editor.

About the only times that I use a window with a shell these days is
when I'm about the replace my Emacs executable because the version of
Unix that I happen to use does not let me replace a running
executable.
