Re: Possible to compile CLISP in Emacs?



(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".

Move the cursor to the line in the middle of that diagram
using C-n or C-p. Then type C-l to see the whole 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.

Type M-f and M-b a few times, interspersed with C-f's and C-b's
so that you can observe the action of M-f and M-b from various
places inside and between words.
(This is correct, "so that".)

Type C-x C-l (which is a disabled command),
then type n to answer the question.
(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.
.



Relevant Pages

  • Re: Great SWT Program
    ... mostly solve the blind-typing problem that I definitely recall emacs ... Except of course that you need to know some arcane command language ... Hitting tab should insert a tab ... one-line "window" in which the rest of what I type appears, ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... There was much discussion of relative market share of browsers at that ... Moving the goal posts now? ... mode emacs from which descends all the variants under discussion here. ... The sort that has been standard since the days of the first command ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... have no idea what "Microsoft Windows" is in the first place. ... "emacs" has no menus; ... this was actually an explicit design goal by its author way back when. ... your DOS command sequence would get me a text-mode editor whileas ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... There is no "market" share for an item that has no cost. ... emacs misbehaviors I'd criticized. ... of a search query versus when editing documents in buffers or even ... finishing the command and thereby submitting it. ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... I'm talking about an arbitrary selection. ... And emacs, unlike your much vaunted ... I don't think I ever claimed that emacs was a "plain" editor. ... command, specifying the path to the binary and everything else, then ...
    (comp.lang.java.programmer)