mit-scheme.git
32 years agoFixes to last set of changes.
Chris Hanson [Tue, 17 Nov 1992 05:48:07 +0000 (05:48 +0000)]
Fixes to last set of changes.

32 years agoChange MODE-INITIALIZATION (for both major and minor modes) to accept
Chris Hanson [Mon, 16 Nov 1992 22:41:21 +0000 (22:41 +0000)]
Change MODE-INITIALIZATION (for both major and minor modes) to accept
the buffer as its argument; previously mode initializations had no
arguments.  Rewrite all mode initializations to be lambda expressions
with explicit bindings for the buffer argument.  Eliminate notion of
BUFFER-INITIALIZATIONS -- buffer's mode is now set immediately when
SET-BUFFER-MAJOR-MODE! or SET-BUFFER-MINOR-MODE! is called.

---> NOTE WELL!!! <---

All mode hooks have been changed to take the buffer as an argument --
this is an incompatible change that will affect anyone who uses a mode
hook in their initialization file.

32 years agoMove load-option from top-level to inside the encryption/decryption
Guillermo J. Rozas [Mon, 16 Nov 1992 21:09:32 +0000 (21:09 +0000)]
Move load-option from top-level to inside the encryption/decryption
command.  In this way krypt is only loaded when first accessed, and
not at edwin load time.

32 years agoAdded dired-krypt -- encrypts and decrypts files using krypt.scm.
Brian A. LaMacchia [Mon, 16 Nov 1992 16:39:12 +0000 (16:39 +0000)]
Added dired-krypt -- encrypts and decrypts files using krypt.scm.

32 years agoRedesign AFTER-FIND-FILE and related procedures to be more like GNU
Chris Hanson [Sun, 15 Nov 1992 21:59:17 +0000 (21:59 +0000)]
Redesign AFTER-FIND-FILE and related procedures to be more like GNU
Emacs.  Implement M-x recover-file.

32 years agoAdd hook for C back end so that generated labels are legal C labels.
Guillermo J. Rozas [Sat, 14 Nov 1992 17:24:28 +0000 (17:24 +0000)]
Add hook for C back end so that generated labels are legal C labels.

32 years agoFix typo in previous change.
Chris Hanson [Sat, 14 Nov 1992 01:01:25 +0000 (01:01 +0000)]
Fix typo in previous change.

32 years agoAdd optional argument to pop-up-buffer, which disables use of current
Chris Hanson [Fri, 13 Nov 1992 22:59:28 +0000 (22:59 +0000)]
Add optional argument to pop-up-buffer, which disables use of current
window.

32 years agoMake backup-by-copying of symbolic link be dependent on a variable.
Chris Hanson [Fri, 13 Nov 1992 22:54:37 +0000 (22:54 +0000)]
Make backup-by-copying of symbolic link be dependent on a variable.

32 years agoAdd M-x describe-syntax.
Chris Hanson [Fri, 13 Nov 1992 22:43:45 +0000 (22:43 +0000)]
Add M-x describe-syntax.

32 years agoAdd variable manual-command to override the manual program name.
Chris Hanson [Fri, 13 Nov 1992 22:22:53 +0000 (22:22 +0000)]
Add variable manual-command to override the manual program name.

32 years agoChange list of help commands to include describe-syntax.
Chris Hanson [Fri, 13 Nov 1992 22:16:17 +0000 (22:16 +0000)]
Change list of help commands to include describe-syntax.

32 years agoRedefine AUTO-FILL-BREAK? to use Emacs definition.
Chris Hanson [Fri, 13 Nov 1992 22:15:01 +0000 (22:15 +0000)]
Redefine AUTO-FILL-BREAK? to use Emacs definition.

32 years agoChange setting of buffer-point to conform to Emacs.
Chris Hanson [Fri, 13 Nov 1992 21:40:06 +0000 (21:40 +0000)]
Change setting of buffer-point to conform to Emacs.

32 years agoAdd M-x comint-send-invisible and M-x comint-send-char.
Chris Hanson [Fri, 13 Nov 1992 21:36:15 +0000 (21:36 +0000)]
Add M-x comint-send-invisible and M-x comint-send-char.

32 years agoAdd buffer-menu-mode-hook, and set truncate-lines true in buffer-menu
Chris Hanson [Fri, 13 Nov 1992 21:04:12 +0000 (21:04 +0000)]
Add buffer-menu-mode-hook, and set truncate-lines true in buffer-menu
buffers.

32 years agowriteable -> writable
Brian A. LaMacchia [Thu, 12 Nov 1992 19:37:19 +0000 (19:37 +0000)]
writeable -> writable

32 years agoFix spelling: "writeable" -> "writable".
Chris Hanson [Thu, 12 Nov 1992 18:00:43 +0000 (18:00 +0000)]
Fix spelling: "writeable" -> "writable".

32 years agoFix bug in disk-save/disk-restore by which bands dumped from emacs
Guillermo J. Rozas [Thu, 12 Nov 1992 03:25:49 +0000 (03:25 +0000)]
Fix bug in disk-save/disk-restore by which bands dumped from emacs
were not restartable.

32 years agoFixed a bug in rmail-make-basic-summary-line.
Brian A. LaMacchia [Wed, 11 Nov 1992 19:11:56 +0000 (19:11 +0000)]
Fixed a bug in rmail-make-basic-summary-line.

32 years agoDo not set MICROCODE-TERMINATION-PROCEDURES slot of fixed objects
Chris Hanson [Tue, 10 Nov 1992 03:05:43 +0000 (03:05 +0000)]
Do not set MICROCODE-TERMINATION-PROCEDURES slot of fixed objects
vector in this file; the runtime system will take care of it.  This
was a problem because the existing termination procedures were being
erased at DISK-RESTORE.

32 years agoDisregard minibuffers in SAVE-EDITOR-FILES.
Chris Hanson [Mon, 9 Nov 1992 21:23:02 +0000 (21:23 +0000)]
Disregard minibuffers in SAVE-EDITOR-FILES.

32 years agoFix two bugs in SAVE-EDITOR-FILES.
Chris Hanson [Mon, 9 Nov 1992 21:02:34 +0000 (21:02 +0000)]
Fix two bugs in SAVE-EDITOR-FILES.

32 years agoFix two bugs in SAVE-EDITOR-FILES.
Chris Hanson [Mon, 9 Nov 1992 20:45:33 +0000 (20:45 +0000)]
Fix two bugs in SAVE-EDITOR-FILES.

32 years agoAdd label argument to all interpreter calls for the C back-end.
Guillermo J. Rozas [Mon, 9 Nov 1992 18:50:24 +0000 (18:50 +0000)]
Add label argument to all interpreter calls for the C back-end.

32 years agoChanged the way summary lines are constructed.
Brian A. LaMacchia [Mon, 9 Nov 1992 18:32:45 +0000 (18:32 +0000)]
Changed the way summary lines are constructed.
Use the first 25 characters of the extracted-name, not
the last 25 characters.

32 years agoAllow (cd)
Guillermo J. Rozas [Sun, 8 Nov 1992 18:13:16 +0000 (18:13 +0000)]
Allow (cd)

32 years agoRe-define string->symbol. The new version now copies the string if
Guillermo J. Rozas [Sun, 8 Nov 1992 04:24:31 +0000 (04:24 +0000)]
Re-define string->symbol.  The new version now copies the string if
the symbol is being interned for the first time.  In this way string
mutation of the string does not affect the symbol.

32 years agoRemove string->symbol from integrable primitives list.
Guillermo J. Rozas [Sun, 8 Nov 1992 04:23:45 +0000 (04:23 +0000)]
Remove string->symbol from integrable primitives list.
The runtime system version now copies the string if the symbol is
being interned for the first time.  In this way string mutation of
the string does not affect the symbol.

32 years agoConditionalization for the C back end.
Guillermo J. Rozas [Sun, 8 Nov 1992 04:12:22 +0000 (04:12 +0000)]
Conditionalization for the C back end.

32 years agoFix bugs in compiler setup:
Guillermo J. Rozas [Sat, 7 Nov 1992 16:13:44 +0000 (16:13 +0000)]
Fix bugs in compiler setup:
- The symbolic links were being made in the wrong directory (ln-s was
the primitive which is not sensitive to the working directory).
- delete-file was failing when the files did not exist.  Protected by
file-exists? now.

32 years agoExport variables controlling debugging info generation to global env.
Chris Hanson [Fri, 6 Nov 1992 23:15:01 +0000 (23:15 +0000)]
Export variables controlling debugging info generation to global env.

32 years agoFix bug in last set of changes.
Guillermo J. Rozas [Fri, 6 Nov 1992 15:49:11 +0000 (15:49 +0000)]
Fix bug in last set of changes.

32 years agoAdd SORT library (from arthur).
Chris Hanson [Thu, 5 Nov 1992 23:31:52 +0000 (23:31 +0000)]
Add SORT library (from arthur).

32 years agoEliminate references to obsolete primitives. Eliminate references to
Chris Hanson [Thu, 5 Nov 1992 20:51:41 +0000 (20:51 +0000)]
Eliminate references to obsolete primitives.  Eliminate references to
MAPCAN.

32 years agoAdd new editor variable LPR-PROCEDURE to allow complete customization
Chris Hanson [Thu, 5 Nov 1992 20:45:41 +0000 (20:45 +0000)]
Add new editor variable LPR-PROCEDURE to allow complete customization
of the printing method.

32 years agoFixed rmail-cease-edit to remove the cached summary line
Brian A. LaMacchia [Thu, 5 Nov 1992 16:41:22 +0000 (16:41 +0000)]
Fixed rmail-cease-edit to remove the cached summary line
(in the message headers).  Forces rmail-summary mode to recalc
the summary line next time it is needed.  Thus, if you now edit
the Subject: line of a message, the summary line will change to
reflect this.

32 years agoNew version of apply.
Guillermo J. Rozas [Thu, 5 Nov 1992 00:22:57 +0000 (00:22 +0000)]
New version of apply.
conversion to pathname objects during a directory-read operation no
longer attemps to expand environment variables, etc.

32 years agoFix bugs in the implementation of REDUCE-OPERATOR and extend
Guillermo J. Rozas [Wed, 4 Nov 1992 10:17:40 +0000 (10:17 +0000)]
Fix bugs in the implementation of REDUCE-OPERATOR and extend
capabilities so that all the optimizations performed by
USUAL-INTEGRATIONS can be expressed as declarations.

32 years agoFix back-out problem in compiled APPLY.
Guillermo J. Rozas [Wed, 4 Nov 1992 00:02:24 +0000 (00:02 +0000)]
Fix back-out problem in compiled APPLY.

32 years agoProvide a new, faster version of apply.
Guillermo J. Rozas [Tue, 3 Nov 1992 22:43:12 +0000 (22:43 +0000)]
Provide a new, faster version of apply.
Prevent directory expansion while reading directories.

32 years agoPrevent directory expansion while reading directories.
Guillermo J. Rozas [Tue, 3 Nov 1992 22:42:56 +0000 (22:42 +0000)]
Prevent directory expansion while reading directories.

32 years agoEliminate a warning from SF.
Guillermo J. Rozas [Tue, 3 Nov 1992 22:42:11 +0000 (22:42 +0000)]
Eliminate a warning from SF.

32 years agoProvide a new, faster version of apply.
Guillermo J. Rozas [Tue, 3 Nov 1992 22:41:50 +0000 (22:41 +0000)]
Provide a new, faster version of apply.

32 years agoInitial revision
Guillermo J. Rozas [Tue, 3 Nov 1992 22:40:41 +0000 (22:40 +0000)]
Initial revision

32 years agoRecode fixnum_remainder because the FREM instruction has always been
Guillermo J. Rozas [Tue, 3 Nov 1992 17:13:02 +0000 (17:13 +0000)]
Recode fixnum_remainder because the FREM instruction has always been
emulated and has been dropped from the architecture.

32 years agoAdd new sorting package.
Arthur Gleckler [Sun, 1 Nov 1992 07:13:12 +0000 (07:13 +0000)]
Add new sorting package.

32 years agoInitial revision
Arthur Gleckler [Sun, 1 Nov 1992 07:11:48 +0000 (07:11 +0000)]
Initial revision

32 years agoDeclare expt as an int instead of long so that frexp won't complain.
Guillermo J. Rozas [Sat, 31 Oct 1992 23:41:13 +0000 (23:41 +0000)]
Declare expt as an int instead of long so that frexp won't complain.

32 years agoFix bug in remainder. FPREM can return negative values for positive
Guillermo J. Rozas [Sat, 31 Oct 1992 23:35:19 +0000 (23:35 +0000)]
Fix bug in remainder.  FPREM can return negative values for positive
arguments since it is defined as follows:

FPREM (x, y) = x - (n * y)

where n is the nearest integer to x/y and thus n*y can have an
absolute value greater than x.

32 years agoComment out buffer auto-save disabling that doesn't work anyway
Arthur Gleckler [Fri, 30 Oct 1992 00:33:08 +0000 (00:33 +0000)]
Comment out buffer auto-save disabling that doesn't work anyway
because we (CPH and Arthur) don't know how to fix it.

32 years agoAdd a mechanism for primitives to apply compiled procedures without
Guillermo J. Rozas [Tue, 27 Oct 1992 22:00:13 +0000 (22:00 +0000)]
Add a mechanism for primitives to apply compiled procedures without
aborting to the interpreter (canonicalizing context).

32 years agoTeach comutil_apply about arity dispatchers.
Guillermo J. Rozas [Tue, 27 Oct 1992 01:25:22 +0000 (01:25 +0000)]
Teach comutil_apply about arity dispatchers.

32 years agoTeach internal_apply about arity dispatchers.
Guillermo J. Rozas [Tue, 27 Oct 1992 01:25:01 +0000 (01:25 +0000)]
Teach internal_apply about arity dispatchers.

32 years agoInitialize process-filter in M-x telnet rather than in the mode
Chris Hanson [Mon, 26 Oct 1992 22:37:03 +0000 (22:37 +0000)]
Initialize process-filter in M-x telnet rather than in the mode
initialization for telnet mode.  Previously there was no guarantee
that the process was started by the time the mode initialization was
performed.

32 years agoThe separator in labels is not a constant.
Guillermo J. Rozas [Sat, 24 Oct 1992 21:30:18 +0000 (21:30 +0000)]
The separator in labels is not a constant.

32 years agoMove a few things around to accomodate the C back end.
Guillermo J. Rozas [Sat, 24 Oct 1992 16:01:10 +0000 (16:01 +0000)]
Move a few things around to accomodate the C back end.

32 years agoEliminate old alias.
Guillermo J. Rozas [Wed, 21 Oct 1992 00:49:57 +0000 (00:49 +0000)]
Eliminate old alias.

32 years agoEliminate fossil primitives.
Guillermo J. Rozas [Wed, 21 Oct 1992 00:27:22 +0000 (00:27 +0000)]
Eliminate fossil primitives.

32 years agoEliminate fossil primitives.
Guillermo J. Rozas [Wed, 21 Oct 1992 00:17:23 +0000 (00:17 +0000)]
Eliminate fossil primitives.

32 years agoEliminate extra indirection.
Guillermo J. Rozas [Wed, 21 Oct 1992 00:06:20 +0000 (00:06 +0000)]
Eliminate extra indirection.

32 years agoMove various primitives from prosenv.c to pruxenv.c and prdosenv.c .
Guillermo J. Rozas [Wed, 21 Oct 1992 00:02:44 +0000 (00:02 +0000)]
Move various primitives from prosenv.c to pruxenv.c and prdosenv.c .

32 years agoMake ->environment not fail when the file will not be loaded.
Guillermo J. Rozas [Tue, 20 Oct 1992 21:47:52 +0000 (21:47 +0000)]
Make ->environment not fail when the file will not be loaded.

32 years agoAdd xmodef (commented) and comment out key.
Guillermo J. Rozas [Tue, 20 Oct 1992 21:36:31 +0000 (21:36 +0000)]
Add xmodef (commented) and comment out key.

32 years agoChange definition of define-command so commands can share
Guillermo J. Rozas [Tue, 20 Oct 1992 20:46:51 +0000 (20:46 +0000)]
Change definition of define-command so commands can share
descriptions.

32 years agoInitial revision
Guillermo J. Rozas [Tue, 20 Oct 1992 20:03:21 +0000 (20:03 +0000)]
Initial revision

32 years agoRe-arrange some stuff to make the DOS load smaller.
Guillermo J. Rozas [Tue, 20 Oct 1992 20:03:14 +0000 (20:03 +0000)]
Re-arrange some stuff to make the DOS load smaller.

32 years agoMicrocode Initialize only sets internal variables, and exit only clears them.
Guillermo J. Rozas [Tue, 20 Oct 1992 15:34:30 +0000 (15:34 +0000)]
Microcode Initialize only sets internal variables, and exit only clears them.
Neither does any screen operations.

Change the console driver in Edwin to accomodate the microcode
changes.

32 years agoInitialize only sets internal variables, and exit only clears them.
Guillermo J. Rozas [Tue, 20 Oct 1992 15:31:20 +0000 (15:31 +0000)]
Initialize only sets internal variables, and exit only clears them.
Neither does any screen operations.

32 years agoFix bug in background color handling. The attributes were not being
Guillermo J. Rozas [Tue, 20 Oct 1992 15:07:24 +0000 (15:07 +0000)]
Fix bug in background color handling.  The attributes were not being
constructed correctly.

32 years agoAdd asstop.com.
Guillermo J. Rozas [Tue, 20 Oct 1992 01:41:38 +0000 (01:41 +0000)]
Add asstop.com.

32 years agoSplit toplev and move a couple of things around to make integration of
Guillermo J. Rozas [Mon, 19 Oct 1992 20:14:24 +0000 (20:14 +0000)]
Split toplev and move a couple of things around to make integration of
the C back end, and other back ends that use native post-processing,
easier.

32 years agoSplit toplev and move a couple of things around to make integration of
Guillermo J. Rozas [Mon, 19 Oct 1992 19:34:26 +0000 (19:34 +0000)]
Split toplev and move a couple of things around to make integration of
the C back end, and other back ends that use native post-processing,
easier.

32 years agoSplit toplev and move a couple of things around to make integration of
Guillermo J. Rozas [Mon, 19 Oct 1992 19:18:23 +0000 (19:18 +0000)]
Split toplev and move a couple of things around to make integration of
the C back end, and other back ends that use native post-processing,
easier.

32 years agoMove set-current-branches! from lapgn3.scm to linear.scm.
Guillermo J. Rozas [Mon, 19 Oct 1992 19:14:11 +0000 (19:14 +0000)]
Move set-current-branches! from lapgn3.scm to linear.scm.

32 years agoSplit toplev.scm into two pieces:
Guillermo J. Rozas [Mon, 19 Oct 1992 19:13:30 +0000 (19:13 +0000)]
Split toplev.scm into two pieces:
toplev.scm
asstop.scm

toplev includes all the top level codes and all the structure through
lap linearization.

asstop contains the assembler and linker top-level.

This allows an alternate back end (e.g. C, or one that uses the
machine's native assembler) to be substituted.

32 years agoInitial revision
Guillermo J. Rozas [Mon, 19 Oct 1992 19:11:52 +0000 (19:11 +0000)]
Initial revision

32 years agoMove last reference to base/macros.scm .
Guillermo J. Rozas [Mon, 19 Oct 1992 19:11:40 +0000 (19:11 +0000)]
Move last reference to base/macros.scm .

32 years agoMove last reference here.
Guillermo J. Rozas [Mon, 19 Oct 1992 19:11:17 +0000 (19:11 +0000)]
Move last reference here.

32 years agoQUIT not yet implemented under DOS.
Guillermo J. Rozas [Sat, 17 Oct 1992 23:28:06 +0000 (23:28 +0000)]
QUIT not yet implemented under DOS.

32 years agoUse bios:initialize! instead of bios:enter!, with environment variable
Guillermo J. Rozas [Sat, 17 Oct 1992 23:14:22 +0000 (23:14 +0000)]
Use bios:initialize! instead of bios:enter!, with environment variable
lookup done in Scheme.

Flush bios:discard!

Make SF happy.

32 years agoDo not install keyboard hooks if the standard input is not the
Guillermo J. Rozas [Sat, 17 Oct 1992 23:07:22 +0000 (23:07 +0000)]
Do not install keyboard hooks if the standard input is not the
keyboard.

32 years agoAdd range-checking to bios:INITIALIZE!
Guillermo J. Rozas [Sat, 17 Oct 1992 22:54:55 +0000 (22:54 +0000)]
Add range-checking to bios:INITIALIZE!

32 years agoUse set-environment-variable-default! instead of an event receiver.
Guillermo J. Rozas [Sat, 17 Oct 1992 22:24:21 +0000 (22:24 +0000)]
Use set-environment-variable-default! instead of an event receiver.
In this way the order is guaranteed to be correct.

32 years agoAdd definition of set-environment-variable-default!
Guillermo J. Rozas [Sat, 17 Oct 1992 22:23:47 +0000 (22:23 +0000)]
Add definition of set-environment-variable-default!

32 years agoReorder initialization so that environment variables are reset before
Guillermo J. Rozas [Sat, 17 Oct 1992 22:23:18 +0000 (22:23 +0000)]
Reorder initialization so that environment variables are reset before
the command line is processed.

32 years agoGet rid of environment variables in the microcode.
Guillermo J. Rozas [Sat, 17 Oct 1992 22:22:32 +0000 (22:22 +0000)]
Get rid of environment variables in the microcode.

32 years agoFlush set-run-light! -- It has not been used in a while.
Guillermo J. Rozas [Sat, 17 Oct 1992 20:43:12 +0000 (20:43 +0000)]
Flush set-run-light! -- It has not been used in a while.

32 years agoAdd stack checking code to closures (they do not use interrupt-check).
Guillermo J. Rozas [Thu, 15 Oct 1992 17:04:39 +0000 (17:04 +0000)]
Add stack checking code to closures (they do not use interrupt-check).

32 years agoAdd definition of reg:stack-guard.
Guillermo J. Rozas [Thu, 15 Oct 1992 16:46:07 +0000 (16:46 +0000)]
Add definition of reg:stack-guard.

32 years agoUpdate interrupt-check to avoid generating stack checks when entering
Guillermo J. Rozas [Thu, 15 Oct 1992 16:44:01 +0000 (16:44 +0000)]
Update interrupt-check to avoid generating stack checks when entering
continuations and leaf procedures.

32 years agoUpdate interrupt-check to avoid generating stack checks when entering
Guillermo J. Rozas [Thu, 15 Oct 1992 16:31:54 +0000 (16:31 +0000)]
Update interrupt-check to avoid generating stack checks when entering
continuations and leaf procedures.

32 years agoMake X32_DPMI_system raise the global interrupt on return, in case an
Guillermo J. Rozas [Mon, 12 Oct 1992 20:00:46 +0000 (20:00 +0000)]
Make X32_DPMI_system raise the global interrupt on return, in case an
interrupt was missed while the handler was disabled.

32 years agoAdd hook/dos/end-of-line-string.
Guillermo J. Rozas [Thu, 8 Oct 1992 18:20:25 +0000 (18:20 +0000)]
Add hook/dos/end-of-line-string.
Allow empty string as the first component of an absolute pathname to
kludge shared network file systems.

32 years agoChange definitions of dos/user-home-directory and
Guillermo J. Rozas [Thu, 8 Oct 1992 18:03:52 +0000 (18:03 +0000)]
Change definitions of dos/user-home-directory and
dos/current-user-name not to signal an error.
In this way, restarting scheme won't fail if the environment variables
are not set.

32 years agoRemove unused DOS code.
Guillermo J. Rozas [Wed, 7 Oct 1992 06:23:36 +0000 (06:23 +0000)]
Remove unused DOS code.
Clean up some interrupt code.

32 years agoStack checks are disabled on the 386 by default because they are not
Guillermo J. Rozas [Wed, 7 Oct 1992 01:29:36 +0000 (01:29 +0000)]
Stack checks are disabled on the 386 by default because they are not
needed under DPMI/Windows.

32 years agoFlush spurious primitives.
Guillermo J. Rozas [Fri, 2 Oct 1992 01:48:18 +0000 (01:48 +0000)]
Flush spurious primitives.

32 years agoGet rid of uses of spurious primitives.
Guillermo J. Rozas [Fri, 2 Oct 1992 01:43:50 +0000 (01:43 +0000)]
Get rid of uses of spurious primitives.

32 years agoUse -ldvio instead of -lndvio.
Chris Hanson [Thu, 1 Oct 1992 19:01:44 +0000 (19:01 +0000)]
Use -ldvio instead of -lndvio.