Re: Possible to compile CLISP in Emacs?
- From: lisp1.3.CalRobert@xxxxxxxxxxxxxxx (Robert Maas, http://tinyurl.com/uh3t)
- Date: Mon, 28 Apr 2008 11:17:09 -0700
(talking to a newbie:)
From: Pascal Bourguignon <p...@xxxxxxxxxxxxxxxxx>
You asked for stuff in emacs, so I gave you emacs commands. I
hope you read the first thing that appears when you launch emacs,
namely how to get the emacs tutorial, by typing Control-h t
It's been many years since I looked at that tutorial, and your
recommendation sparked my curiosity, so I decided to see what's
available here. In fact I discovered several mistakes in the tutorial:
On FreeBSD 4.10-STABLE (SHELL) #0: Thu Feb 16 03:07:17 PST 2006
14 -rw-r--r-- 1 root wheel 13783 Nov 18 2000 /usr/local/man/man1/emacs.1
5184 -rwxr-xr-t 2 root wheel 5292574 Nov 18 2000 /usr/local/bin/emacs*
(Yeah, the system was upgraded much more recently than EMACS was upgraded.
I guess that means GNU EMACS is more stable and needs less frequent repair.)
1995 December 7 (date on bottom of each man page)
Note that there is an overlap of two lines when you move from screen
to screen; this provides some continuity so [sic] you can continue reading
the text.
Grammatical nitpick: "so" should read "so that".
using C-n or C-p. Then type C-l to see the whole diagramMove the cursor to the line in the middle of that diagram
centered in the screen.
It should also say to do C-f a few times to watch the cursor move
partway across that middle line of the diagram, then C-b to move
partway back toward the beginning of that line.
so that you can observe the action of M-f and M-b from variousType M-f and M-b a few times, interspersed with C-f's and C-b's
places inside and between words.
(This is correct, "so that".)
then type n to answer the question.Type C-x C-l (which is a disabled command),
(I did that, brings up an alert screen. Last three lines on screen:)
You can now type
Space to try the command just this once, but leave it disabled,
Y to try it and enable it (no questions if you use it again),
(runs off bottom of screen, in particular there's no mention of
typing N to abort the command; usually space will scroll, or C-v
will scroll in EMACS, but here space means execute the command, so
I tried C-v, but it just beeped at me, refuses to show me the rest of
the alert half-screen; does anybody know how to see the rest of it??)
Note: This is a VT100 dialup. On a larger screen it presumably
shows the full text of the alert. But since EMACS was specifically
designed to support dialup terminals, it's unfortunately that on a
dialup terminal it truncates the info.
You can also kill any part of the buffer with one uniform method.
Move to one end of that part, and type C-@ or C-SPC (either one).
Move to the other end of that part, and type C-w. That kills
all the text between the two positions.
C-@ (ctrl-shift-2) doesn't work, it just beeps at me.
I learned this fact many years ago, and discovered C-SPC which
*does* work. In fact it might have been a DataMedia 2500 where I
originally discovered this. It was so long ago I don't remember
whether I discovered it on DM2500 loaned from SU-IMSSS, or even
earlier on Beehive 3A with MOS 6502 emulating a DM2500 because
MIT-ML and MIT-MC didn't support Beehive 3A. But I'm pretty sure my
discovery predates either of my Macs by several years.
So just now I tried going into CMUCL and doing this:
(loop (prin1 (read-char)))
Typing normal text, followed by newline, works as expected.
Typing ctrl-shift-2 beeps and nothing is transmitted to the host.
Typing ctrl-space echoes as ^@ and prin1 shows #\Null.
My guess is that VersaTerm on Macintosh doesn't allow ctrl-shift-2,
and converts ctrl-space into NUL = +u0000.
I tried some of the other ctrl-shift-numbers:
ctrl-shift-0 also beeps.
ctrl-shift-3 plays a sound like a stapler driving a staple, with major echo.
ctrl-shift-anyOtherNumber is silent.
None of the ctrl-shift-numbers transmit anything that CMUCL can see.
I never knew this (except ctrl-shift-2 beep) about VersaTerm before.
(I've used it since 1990, but never had any reason to try ctrl-shift-number
except ctrl-shift-2 until just now.)
Most of this is just Macintosh trivia, but perhaps the tutorial
should mention that C-@ doesn't work on some/most terminal emulators.
.
- Follow-Ups:
- Re: Possible to compile CLISP in Emacs?
- From: Pascal J. Bourguignon
- Re: Possible to compile CLISP in Emacs?
- References:
- Possible to compile CLISP in Emacs?
- From: skanemupp
- Re: Possible to compile CLISP in Emacs?
- From: Pascal Bourguignon
- Re: Possible to compile CLISP in Emacs?
- From: globalrev
- Re: Possible to compile CLISP in Emacs?
- From: Pascal Bourguignon
- Possible to compile CLISP in Emacs?
- Prev by Date: Re: What is ISLISP being used for these days?
- Next by Date: Re: Greenspunning ML (revisited)
- Previous by thread: Re: Possible to compile CLISP in Emacs?
- Next by thread: Re: Possible to compile CLISP in Emacs?
- Index(es):
Relevant Pages
|