Chris Hanson [Tue, 23 Apr 1991 07:20:14 +0000 (07:20 +0000)]
* Change arguments to string and regexp search procedures. New
arguments are (PATTERN MARK END #!OPTIONAL CASE-FOLD-SEARCH).
* Reimplement paragraph and region filling commands, to fix bugs and
create new functionality. Default region filling is now done by
paragraphs rather than treating the entire region as a single
paragraph.
* Implement M-x mail-fill-yanked-message.
Chris Hanson [Tue, 23 Apr 1991 06:50:04 +0000 (06:50 +0000)]
* Change arguments to string and regexp search procedures. New
arguments are (PATTERN MARK END #!OPTIONAL CASE-FOLD-SEARCH).
* Reimplement paragraph and region filling commands, to fix bugs and
create new functionality. Default region filling is now done by
paragraphs rather than treating the entire region as a single
paragraph.
* Implement M-x mail-fill-yanked-message.
Chris Hanson [Tue, 23 Apr 1991 06:45:42 +0000 (06:45 +0000)]
Always supply LIMIT argument to search procedures.
Chris Hanson [Tue, 23 Apr 1991 06:37:57 +0000 (06:37 +0000)]
When a variable value validity test is failed, signal an editor error
instead of a Scheme error.
Chris Hanson [Tue, 23 Apr 1991 06:32:03 +0000 (06:32 +0000)]
Fix bug in M-x set-visited-file-name -- couldn't unset buffer's file
name.
Chris Hanson [Tue, 23 Apr 1991 06:22:52 +0000 (06:22 +0000)]
Fix think-o in `set-buffer-pathname!'.
Chris Hanson [Sun, 21 Apr 1991 01:49:14 +0000 (01:49 +0000)]
Initial revision
Chris Hanson [Sun, 21 Apr 1991 01:48:46 +0000 (01:48 +0000)]
Dired of a wildcard specification didn't work -- now fixed.
Chris Hanson [Sun, 21 Apr 1991 00:52:42 +0000 (00:52 +0000)]
* Implement mail sending.
* Implement M-x append-to-file, M-x tabify, C-u M-x indent-region.
* Change M-x undo to move point to the location of the most recent
undone change. This restores the behavior that was in effect before
the last change to undo.
* Implement variable `enable-emacs-write-file-message', by default
true, which changes file-output messages to be like Emacs.
* Fix simple bugs in auto save code, local variable binding.
* Add new slot to buffer, LOCAL-BINDINGS-INSTALLED?, that speeds up
the test to determine if the buffer's local bindings are the ones
currently installed in the variable value cells.
* Reimplement character search, character match, and string match.
New implementation does not use regular expression primitives.
A new set of low-level search and match primitives provides more
power than the old ones did.
* Implement `run-synchronous-process'. Reimplement `shell-command'
and `shell-command-region' in terms of this new procedure.
* Implement `insert-region', which copies text directly from one
buffer to another without making an intermediate copy.
Chris Hanson [Sun, 21 Apr 1991 00:38:30 +0000 (00:38 +0000)]
Optimize drawing of highlighted lines. Previously, without
optimization, almost any change would cause a complete redrawing of
the mode line.
Chris Hanson [Sun, 21 Apr 1991 00:30:35 +0000 (00:30 +0000)]
Change procedures that set point and mark to copy their argument.
This is necessary in case the argument is a permanent mark that is
later made temporary.
Chris Hanson [Sat, 20 Apr 1991 06:21:12 +0000 (06:21 +0000)]
Can't integrate scode-eval any longer, since it's now a compound
procedure. This was overlooked by accident because "usicon" used
scode-constant? to test whether the constants in "gconst" were
reasonable -- and this predicate returns true for compiled procedures.
Now the predicate used is something more discriminating, which should
not permit unreasonable values in the .bin file.
Chris Hanson [Sat, 20 Apr 1991 06:10:10 +0000 (06:10 +0000)]
Can't integrate scode-eval any longer, since it's now a compound
procedure. This was overlooked by accident because "usicon" used
scode-constant? to test whether the constants in "gconst" were
reasonable -- and this predicate returns true for compiled procedures.
Now the predicate used is something more discriminating, which should
not permit unreasonable values in the .bin file.
Mark Friedman [Thu, 18 Apr 1991 22:36:11 +0000 (22:36 +0000)]
Added hooks for syntax-expression and scode-eval.
Mark Friedman [Thu, 18 Apr 1991 22:35:21 +0000 (22:35 +0000)]
Added hook for syntax-expression.
Mark Friedman [Thu, 18 Apr 1991 22:34:31 +0000 (22:34 +0000)]
Added hook for scode-eval.
Guillermo J. Rozas [Mon, 15 Apr 1991 21:00:43 +0000 (21:00 +0000)]
Rename compile-scode to compile-scode/internal.
Define and export compile-scode.
Make compiled code blocks generated by calls to compile-procedure and
compile-scode contain the debugging information (rather than have it
dropped).
Guillermo J. Rozas [Mon, 15 Apr 1991 20:48:03 +0000 (20:48 +0000)]
Add hook/extended-scode-eval so that expressions can be integrated or
compiled before they are evaluated.
Change compiled-code-block/dbg-info to correctly handle compiled code
blocks whose debugging slot holds a dbg-info structure.
Guillermo J. Rozas [Mon, 15 Apr 1991 16:14:09 +0000 (16:14 +0000)]
Casts to make it run under SunOS 4.03 when compiled by Sun cc.
Chris Hanson [Sat, 13 Apr 1991 04:00:31 +0000 (04:00 +0000)]
Change interface of `fill-region' procedure to allow caller to supply
fill prefix and column as arguments.
Chris Hanson [Sat, 13 Apr 1991 03:58:36 +0000 (03:58 +0000)]
Change interface of `os/auto-save-pathname' so that it will generate a
correct result for buffers that have no visited pathname.
Chris Hanson [Fri, 12 Apr 1991 23:29:11 +0000 (23:29 +0000)]
*** empty log message ***
Chris Hanson [Fri, 12 Apr 1991 23:28:31 +0000 (23:28 +0000)]
Add third argument to `read-buffer?', which prevents updating the
buffer's pathname and modification flags if it is false.
Chris Hanson [Fri, 12 Apr 1991 23:26:32 +0000 (23:26 +0000)]
Change `revert-buffer' and `set-visited-file-name' commands to
recognize and handle auto-save files correctly. Improve performance
of filename completion by eliminating incompatible "feature" of
further completion when a directory contains only a single file (which
never happens in unix).
Chris Hanson [Fri, 12 Apr 1991 23:23:58 +0000 (23:23 +0000)]
Don't clear buffer-modification flag unless the buffer's contents
match the contents of the file on disk. Only move point when undoing
records whose type is BOUNDARY or NOT-UNDOABLE.
Chris Hanson [Fri, 12 Apr 1991 23:21:24 +0000 (23:21 +0000)]
Rewrite directory-listing procedures to use new primitives -- REQUIRES
MICROCODE VERSION 11.74 OR LATER. Implement procedure
`file-readable?'.
Chris Hanson [Fri, 12 Apr 1991 23:20:06 +0000 (23:20 +0000)]
Fix missing argument in `reindent-then-newline-and-indent'.
Chris Hanson [Fri, 12 Apr 1991 23:19:05 +0000 (23:19 +0000)]
Make sure that undo recording happens before any changes -- this is
assumed and required by the undo code.
Chris Hanson [Fri, 12 Apr 1991 23:17:56 +0000 (23:17 +0000)]
Fix name mismatches on two key bindings for C mode. Add flashing of
matching delimiter for close paren and close curly brace.
Chris Hanson [Fri, 12 Apr 1991 23:16:28 +0000 (23:16 +0000)]
Change buffer `auto-save-modified' flag to `auto-save-state'. This
change allows us to recognize when a valid auto-save file has been
saved for the current editing session, which is needed to correctly
implement `revert-buffer'.
Chris Hanson [Fri, 12 Apr 1991 23:13:55 +0000 (23:13 +0000)]
Implement procedure `rename-auto-save-file!'. Implement command
`do-auto-save'.
Chris Hanson [Fri, 12 Apr 1991 03:20:58 +0000 (03:20 +0000)]
Add new primitives `directory-open-noread' and
`directory-read-matching', to facilitate filename completion.
Arthur Gleckler [Fri, 12 Apr 1991 00:12:11 +0000 (00:12 +0000)]
Make CLEAR-POINT, DRAW-LINE-TO, DRAW-POINT, GRAPHICS-TEXT, and
POSITION-PEN all automatically call INIT-GRAPHICS if graphics hasn't
already been initialized. CLEAR-GRAPHICS already does this.
Chris Hanson [Thu, 11 Apr 1991 03:24:32 +0000 (03:24 +0000)]
Implement new I/O port operations READ-SUBSTRING and WRITE-SUBSTRING
that do block I/O to or from part of a given string.
Chris Hanson [Thu, 11 Apr 1991 03:20:55 +0000 (03:20 +0000)]
Various changes. Requires runtime version 14.115 or later.
Chris Hanson [Thu, 11 Apr 1991 03:18:53 +0000 (03:18 +0000)]
Implement cost analysis to estimate when scrolling is likely to be
more expensive than just redrawing, and forbid scrolling in those
cases. This eliminates nasty problem of C-v doing very slow scrolling
operation to save two lines that could be redrawn in much less time.
Chris Hanson [Thu, 11 Apr 1991 03:15:44 +0000 (03:15 +0000)]
When drawing a new line over an old one that is known to be blank,
don't draw either leading or trailing spaces; previously was drawing
leading spaces in this case. Also implement procedure to estimate the
cost of drawing a specific screen line, for use in scrolling
optimization.
Chris Hanson [Thu, 11 Apr 1991 03:12:28 +0000 (03:12 +0000)]
Change dired to use an `ls' subprocess rather than built-in
primitives. This is both faster and somewhat more flexible. Also
implement most of the dired commands that were missing from Edwin.
Still missing: compression commands and view mode command.
Chris Hanson [Thu, 11 Apr 1991 03:06:39 +0000 (03:06 +0000)]
Change `shell-command' and `shell-command-region' to accept any mark
as the output mark, and convert it into an appropriate left-inserting
mark.
Chris Hanson [Thu, 11 Apr 1991 03:04:45 +0000 (03:04 +0000)]
Re-enable parenthesis matching in typein window. Change "off-window"
matching message to be prefixed by "Matching ".
Chris Hanson [Mon, 8 Apr 1991 22:34:59 +0000 (22:34 +0000)]
*** empty log message ***
Chris Hanson [Mon, 8 Apr 1991 22:26:18 +0000 (22:26 +0000)]
Eliminate unused variable.
Chris Hanson [Mon, 8 Apr 1991 22:20:21 +0000 (22:20 +0000)]
Cache default display so that the trivial dumb use of this procedure
does not result in multiple connections to the X server.
Guillermo J. Rozas [Sat, 6 Apr 1991 06:51:33 +0000 (06:51 +0000)]
Define student-pp that understands old-style arguments.
Guillermo J. Rozas [Sat, 6 Apr 1991 06:34:33 +0000 (06:34 +0000)]
Make pp be bound to student-pp.
Guillermo J. Rozas [Sat, 6 Apr 1991 06:13:53 +0000 (06:13 +0000)]
Patch syntax table so that MAKE-ENVIRONMENT works.
Guillermo J. Rozas [Sat, 6 Apr 1991 05:23:30 +0000 (05:23 +0000)]
Fix bug with making [] extended alphabetic.
char-set/atom-delimiters must be changed in the parser to exclude [].
Otherwise the parser goes into an infinite loop since when peeking any
of them, we will read until a delimiter is found, but it will work as
a delimiter, so the empty string will be interned, and we will
dispatch on the peeked char again, ...
Chris Hanson [Wed, 3 Apr 1991 04:36:24 +0000 (04:36 +0000)]
Fix bug that prevented override message from being written at the
right time in some circumstances.
Chris Hanson [Wed, 3 Apr 1991 04:26:03 +0000 (04:26 +0000)]
Fix bug that made C-u TAB work incorrectly under some conditions.
Chris Hanson [Wed, 3 Apr 1991 04:21:15 +0000 (04:21 +0000)]
Catch errors that happen while reading expressions from a buffer.
Chris Hanson [Wed, 3 Apr 1991 04:09:58 +0000 (04:09 +0000)]
Catch errors that happen while reading expressions from a buffer.
Chris Hanson [Wed, 3 Apr 1991 04:03:30 +0000 (04:03 +0000)]
When marking buffers for deletion, use D instead of K.
Chris Hanson [Wed, 3 Apr 1991 04:01:47 +0000 (04:01 +0000)]
*** empty log message ***
Chris Hanson [Wed, 3 Apr 1991 04:00:46 +0000 (04:00 +0000)]
Fix bug that prevented the typein window from being correctly updated
when a message was erased.
Chris Hanson [Wed, 3 Apr 1991 03:59:52 +0000 (03:59 +0000)]
Fix fencepost error in `scroll-lines-up'.
Chris Hanson [Wed, 3 Apr 1991 00:51:09 +0000 (00:51 +0000)]
`block/next-continuation-offset', when it found that the next thing up
on the stack was an "always-known" continuation, failed to take that
continuation's offset into account when determining the distance to
the continuation above that.
Chris Hanson [Wed, 3 Apr 1991 00:18:20 +0000 (00:18 +0000)]
In `shell-command-region', if the region is empty, must close the
input channel of the subprocess.
Chris Hanson [Wed, 3 Apr 1991 00:12:37 +0000 (00:12 +0000)]
*** empty log message ***
Chris Hanson [Wed, 3 Apr 1991 00:12:07 +0000 (00:12 +0000)]
Fix think-o in `group-delete!'.
Chris Hanson [Tue, 2 Apr 1991 19:56:05 +0000 (19:56 +0000)]
Change mark data structure to store index instead of position.
Eliminate `mark-position' operation, which is no longer useful.
These changes require microcode version 11.73 or later.
Chris Hanson [Tue, 2 Apr 1991 19:45:32 +0000 (19:45 +0000)]
Update description of Edwin mark structure to match change in Edwin
version 3.31. Previous versions of Edwin will not work correctly with
this microcode.
Chris Hanson [Tue, 2 Apr 1991 00:06:29 +0000 (00:06 +0000)]
In `block/next-continuation-offset', if the next continuation is
always known, then it won't be pushed and the offset must include the
distance to the next continuation after that.
Chris Hanson [Tue, 2 Apr 1991 00:01:37 +0000 (00:01 +0000)]
Fix bugs associated with continuation lines: when scrolling, lines
that are continued off the top or bottom of the window must be redrawn
instead of scrolled. Also fix typo in last change that caused
continued lines to draw only their last line in most cases.
Chris Hanson [Mon, 1 Apr 1991 19:47:25 +0000 (19:47 +0000)]
In `maybe-scroll', if the lines are being scrolled off the window,
don't forget to deallocate the structures used to describe them.
Chris Hanson [Mon, 1 Apr 1991 19:46:00 +0000 (19:46 +0000)]
Fix bug: lines that were clipped at a window's top were not being
drawn correctly.
Chris Hanson [Mon, 1 Apr 1991 10:08:00 +0000 (10:08 +0000)]
* Redesign redisplay to get line-contents strings from the screen
abstraction and write directly on those strings, thus avoiding much
intermediate copying and the consequent computation. Eliminate as
much intermediate consing as possible from the image-generation
code.
* Eliminate `string-base' window class, which was storing too much
information for each buffer line. Instead, use new `outline'
abstraction, which keeps track of two pieces of information for each
line: the number of characters in the line and the height of the
line's image on the screen. This is all that is needed when
computing what needs to be redrawn -- all other information is
already being stored in the screen abstraction.
* New `outline' and `o3' objects are explicitly managed for each
window. Instead of being discarded after use, they are saved for
reuse later, preventing the generation of garbage during most
redisplay.
* Fix bug in redisplay: if the image of the last line in a window
extends past the bottom of the window, and the point moves, we must
check to see if it has gone offscreen, even if it is on a displayed
line.
Chris Hanson [Mon, 1 Apr 1991 10:04:29 +0000 (10:04 +0000)]
If a buffer has a `display-start' mark, and the buffer is narrowed,
the `display-start' must be eliminated if it is outside the narrowed
region.
Chris Hanson [Mon, 1 Apr 1991 06:15:49 +0000 (06:15 +0000)]
Fix bug that prevented "//" at end of pathname string from meaning
"/".
Chris Hanson [Mon, 1 Apr 1991 06:14:27 +0000 (06:14 +0000)]
Fix bug that caused dired buffer of "/" to have the name "*random*".
Guillermo J. Rozas [Fri, 29 Mar 1991 01:27:27 +0000 (01:27 +0000)]
Add JMiller's comments and make some edits incorporating some
suggestions by JMiller, MarkF, and Arthur.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:09:23 +0000 (20:09 +0000)]
Make the compiler interface reset itself after restarting a dumped
scheme. On some machines, the cache description needs to be recached.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:08:35 +0000 (20:08 +0000)]
Some patches for the NeXT, and other cacheing 68040s.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:07:53 +0000 (20:07 +0000)]
Change NeXT cache flushing code because "trap #2" does not preserve
%d0.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:07:19 +0000 (20:07 +0000)]
Eliminate unnecessary parentheses that were confusing Asmcvt.
Guillermo J. Rozas [Thu, 28 Mar 1991 18:45:19 +0000 (18:45 +0000)]
Bump symbol table size for HP C compiler.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:38:47 +0000 (05:38 +0000)]
Fix initialization of aggregate variable to accommodate the HP C
compiler.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:37:46 +0000 (05:37 +0000)]
The HP compiler can't handle x11base.c unless the symbol table size is
bumped.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:36:55 +0000 (05:36 +0000)]
Add jinxscheme that includes the dump-world primitive.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:36:14 +0000 (05:36 +0000)]
Add some site conditionalization so that the same binaries will work
for both 7.0 and 7.05 (the sources already did).
Change #error into #include "error:.." because HP's cpp does not
understand it even though it is in the ANSI standard.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:23:11 +0000 (05:23 +0000)]
Change #error into #include "error:.." because HP's cpp does not
understand it even though it is in the ANSI standard.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:22:07 +0000 (05:22 +0000)]
Fix non-portable cpp hack in the definition of sighnd_stop.
Chris Hanson [Thu, 28 Mar 1991 00:17:40 +0000 (00:17 +0000)]
Don't use temporary messages to flash matching parentheses in the
minibuffer.
Chris Hanson [Wed, 27 Mar 1991 23:36:34 +0000 (23:36 +0000)]
Fix thinko in `make-comint'.
Guillermo J. Rozas [Tue, 26 Mar 1991 18:46:30 +0000 (18:46 +0000)]
Add handling of floating point in assembly language for generic
arithmetic.
Guillermo J. Rozas [Tue, 26 Mar 1991 13:14:54 +0000 (13:14 +0000)]
Starting loop boundary on heap-clearing loop in allocate_closure was
incorrect.
Mark Friedman [Mon, 25 Mar 1991 22:03:47 +0000 (22:03 +0000)]
Fixed bug about boa-constructors of record types.
Guillermo J. Rozas [Sun, 24 Mar 1991 23:54:42 +0000 (23:54 +0000)]
Fix bug in CMP and CMPI instructions.
Guillermo J. Rozas [Sun, 24 Mar 1991 23:53:41 +0000 (23:53 +0000)]
Conditionalization and changes for 68040 format closures.
Guillermo J. Rozas [Sun, 24 Mar 1991 23:53:02 +0000 (23:53 +0000)]
Initial revision
Guillermo J. Rozas [Sun, 24 Mar 1991 05:12:26 +0000 (05:12 +0000)]
Choose alternate MC68k closure format that works on the MC68040.
Guillermo J. Rozas [Sun, 24 Mar 1991 05:11:17 +0000 (05:11 +0000)]
Initial revision
Guillermo J. Rozas [Sun, 24 Mar 1991 05:06:11 +0000 (05:06 +0000)]
read_a_char was not handling \t and \b correctly.
Guillermo J. Rozas [Sun, 24 Mar 1991 03:01:13 +0000 (03:01 +0000)]
Fix a problem with allocate_closure: All words must be initialized in
order to make the heap parseable. This is needed by relocate_block
after disk-restore.
Guillermo J. Rozas [Sun, 24 Mar 1991 01:22:54 +0000 (01:22 +0000)]
Specifying ci_version or ci_processor imply upgrade_cc.
This makes the command lines used for the cross-compiler much terser.
Guillermo J. Rozas [Sun, 24 Mar 1991 01:10:22 +0000 (01:10 +0000)]
Cast pointer to avoid compiler warning.
Guillermo J. Rozas [Sun, 24 Mar 1991 00:46:41 +0000 (00:46 +0000)]
Fix allocate_closure.
Chris Hanson [Sat, 23 Mar 1991 02:22:45 +0000 (02:22 +0000)]
Fix typo in `predict-start-line'.
Chris Hanson [Sat, 23 Mar 1991 01:17:36 +0000 (01:17 +0000)]
Supply missing case in unassigned variable trap.
Guillermo J. Rozas [Fri, 22 Mar 1991 06:28:50 +0000 (06:28 +0000)]
Move cache flushing code out of the 68040 region since it is needed
even when using the 68020 format.
Guillermo J. Rozas [Fri, 22 Mar 1991 06:27:54 +0000 (06:27 +0000)]
Move NOP macro from cmpint.c to cmpgc.h since it is also needed
elsewhere.