Chris Hanson [Sun, 19 Nov 2000 23:27:57 +0000 (23:27 +0000)]
Change IMAIL-SUMMARY-POP-UP-MESSAGE-BUFFER to use POP-UP-BUFFER again.
This should fix the problem of over-splitting windows. Don't use
IMAIL-SUMMARY-POP-UP-MESSAGE-BUFFER for fixed layout; instead simplify
that logic to use WINDOW-SPLIT-VERTICALLY!. Eliminate
SYNC-IMAIL-SUMMARY-BUFFER which was used in only one place.
Chris Hanson [Mon, 13 Nov 2000 21:28:43 +0000 (21:28 +0000)]
Add variable imail-output-default at Hal's request.
Chris Hanson [Thu, 2 Nov 2000 19:13:14 +0000 (19:13 +0000)]
Eliminate restriction on blowfish encryption. New US crypto
regulations permit us to export this code now.
Chris Hanson [Mon, 30 Oct 2000 19:53:23 +0000 (19:53 +0000)]
Fix bug: previously, selecting one of the buffers of a visible layout
into a window that held a different buffer of that layout would leave
the layout marked as visible. This fix notices this case and unmarks
the layout. However, the selection of the buffer causes the layout to
be reselected, which means the operation has no net effect.
Chris Hanson [Mon, 30 Oct 2000 19:18:54 +0000 (19:18 +0000)]
Don't delete a window if it's already deleted.
Chris Hanson [Mon, 30 Oct 2000 15:43:28 +0000 (15:43 +0000)]
Fix bug: SELECT-CONTINUATION-BROWSER-BUFFER called BROWSER-SELECT-LINE
assuming that the buffer it had specified for selection was already
selected; this turned out not to be true. So modify the code to pass
the buffer explicitly rather than depend on selection. Also tweak
code that prompts for X window geometry so that it re-prompts if the
user's input isn't valid.
Chris Hanson [Mon, 30 Oct 2000 15:41:04 +0000 (15:41 +0000)]
Fix bug: UNDO-LEAVE-WINDOW! was being called on the wrong window from
SELECT-SCREEN and SELECT-WINDOW. Also change order of arguments to
CHANGE-SELECTED-BUFFER to match order used most other places in this
file.
Chris Hanson [Mon, 30 Oct 2000 15:39:10 +0000 (15:39 +0000)]
Don't abort prompt when an input event arrives; process the event and
restart the prompt. There may be subtle problems with this strategy;
find and fix them.
Chris Hanson [Sat, 28 Oct 2000 03:33:36 +0000 (03:33 +0000)]
Fix fencepost error that caused the wrong number of columns to be
allocated for the message number when the folder was exactly a power
of ten.
Chris Hanson [Fri, 27 Oct 2000 04:24:24 +0000 (04:24 +0000)]
Update version to reflect recent changes.
Chris Hanson [Fri, 27 Oct 2000 04:01:16 +0000 (04:01 +0000)]
Deselect any buffer layout before popping up a new window.
Chris Hanson [Fri, 27 Oct 2000 04:00:34 +0000 (04:00 +0000)]
When killing buffer, it's possible to signal an error if there are no
other buffers. Previously, this error could have been signalled
_after_ the killing procedure had already killed off any buffer
process, run the kill hooks, etc. Now the error test is done first,
and if the error is signalled, no other action is taken.
Chris Hanson [Fri, 27 Oct 2000 03:18:44 +0000 (03:18 +0000)]
In previous change, forgot to select the folder buffer after creating
a new window to hold it.
Don't create a new window to hold the folder buffer if it is already
visible somewhere.
Simplify logic of layout selector now that SELECT-BUFFER will no
longer cause the layout selector to run again.
Chris Hanson [Fri, 27 Oct 2000 03:16:20 +0000 (03:16 +0000)]
Change MAYBE-SELECT-BUFFER-LAYOUT so that it does nothing if called
while running a layout selector; this will prevent infinite recursions
and that otherwise occur quite easily while instantiating the layout.
Simplify MAYBE-SELECT-BUFFER-LAYOUT so that it doesn't do anything
unless the layout is changing. Previously indirect tests were used,
now we just compare the current layout with the proposed layout and
implement the changes.
Chris Hanson [Fri, 27 Oct 2000 03:13:09 +0000 (03:13 +0000)]
Allow ->BUFFER to take a window as an argument.
Chris Hanson [Thu, 26 Oct 2000 22:16:45 +0000 (22:16 +0000)]
Don't use POP-UP-BUFFER to split the window; use
WINDOW-SPLIT-VERTICALLY! instead. Also, tweak fixed layout generator
so that it doesn't go into infinite recursion.
Chris Hanson [Thu, 26 Oct 2000 22:12:50 +0000 (22:12 +0000)]
Add code to mark buffer layout inactive when one of its windows is
deleted.
Chris Hanson [Thu, 26 Oct 2000 19:25:18 +0000 (19:25 +0000)]
In WITH-OUTPUT-TO-HELP-DISPLAY, don't change window/buffer arrangement
until after the argument thunk has been executed.
Chris Hanson [Thu, 26 Oct 2000 19:22:20 +0000 (19:22 +0000)]
Adjust interrupt locking of buffer-layout code. When selecting buffer
layouts, ignore buffer selections in the typein window.
Chris Hanson [Thu, 26 Oct 2000 18:03:15 +0000 (18:03 +0000)]
Fix long-standing bug that occurred when using multiple screens with a
window manager that supports multiple workspaces: switching workspaces
sometimes caused an error to be signalled by X-WINDOW-SET-INPUT-FOCUS.
The problem is that the workspace switch caused all of Edwin's windows
to be unmapped. Depending on the order in which the unmap events
arrived, Edwin might have queued a request to select another screen.
But since all of the screens were unmapped at the time the request was
processed, the attempt to set the input focus to one of these unmapped
screens always generated an error.
The fix eliminates the code that tried to select another screen.
Instead we depend on the window manager to tell us when another screen
needs to be selected.
Chris Hanson [Thu, 26 Oct 2000 17:55:04 +0000 (17:55 +0000)]
Add event-tracing facility.
Chris Hanson [Thu, 26 Oct 2000 16:44:32 +0000 (16:44 +0000)]
M-x imail-save-attachment should also work when invoked from the
summary buffer.
Chris Hanson [Thu, 26 Oct 2000 16:41:07 +0000 (16:41 +0000)]
Only create buffer-layout when summary buffer is created, not when it
is being reused.
Chris Hanson [Thu, 26 Oct 2000 15:05:03 +0000 (15:05 +0000)]
Fix bugs in address parsing, reported by hal.
Chris Hanson [Thu, 26 Oct 2000 05:13:18 +0000 (05:13 +0000)]
Don't call MAYBE-SELECT-BUFFER-LAYOUT unless the selected buffer has
really changed.
Chris Hanson [Thu, 26 Oct 2000 05:07:27 +0000 (05:07 +0000)]
Delete imail-auto-summary feature. Instead implement
imail-summary-fixed-layout feature that uses new buffer-layout
mechanism.
Chris Hanson [Thu, 26 Oct 2000 05:06:04 +0000 (05:06 +0000)]
Move call to MAYBE-SELECT-BUFFER-LAYOUT outside of WITHOUT-INTERRUPTS.
Also call MAYBE-SELECT-BUFFER-LAYOUT from MAKE-SCREEN.
Chris Hanson [Thu, 26 Oct 2000 04:47:56 +0000 (04:47 +0000)]
Fix indentation.
Chris Hanson [Thu, 26 Oct 2000 04:36:47 +0000 (04:36 +0000)]
Fix thinko.
Chris Hanson [Thu, 26 Oct 2000 04:29:26 +0000 (04:29 +0000)]
Don't reselect an already-selected window or buffer.
Chris Hanson [Thu, 26 Oct 2000 04:24:20 +0000 (04:24 +0000)]
Implement SCREEN option to POP-UP-BUFFER.
Chris Hanson [Thu, 26 Oct 2000 04:21:26 +0000 (04:21 +0000)]
Eliminate references to SELECT-BUFFER-IN-WINDOW. Change buffer-layout
mechanism so that it is called _after_ the initial buffer is selected.
Chris Hanson [Thu, 26 Oct 2000 04:19:14 +0000 (04:19 +0000)]
Eliminate references to SELECT-BUFFER-IN-WINDOW.
Chris Hanson [Thu, 26 Oct 2000 02:50:03 +0000 (02:50 +0000)]
Guarantee that all buffers in a buffer layout are alive at the time of
selection.
Chris Hanson [Thu, 26 Oct 2000 02:42:07 +0000 (02:42 +0000)]
Add some interrupt locking to buffer-layout mechanism. Fix thinko.
Chris Hanson [Thu, 26 Oct 2000 02:34:12 +0000 (02:34 +0000)]
Update version to reflect new initialization mechanism.
Chris Hanson [Thu, 26 Oct 2000 02:31:12 +0000 (02:31 +0000)]
Comment out call to ADD-PRE-SELECT-BUFFER-HOOK. This procedure is
about to be removed from Edwin. It will shortly be replaced by a
different mechanism.
Chris Hanson [Thu, 26 Oct 2000 02:30:07 +0000 (02:30 +0000)]
Eliminate pre-select-buffer-hooks mechanism from previous change.
This turns out not to work quite right for the problem at hand.
Instead implement a buffer-layout mechanism that should solve the
problem more neatly.
Chris Hanson [Thu, 26 Oct 2000 02:28:22 +0000 (02:28 +0000)]
Implement general mechanism for initializing editor state when editor
is created.
Chris Hanson [Wed, 25 Oct 2000 05:07:27 +0000 (05:07 +0000)]
Add pre-selection buffer hooks. These hooks allow a buffer to
intercede in its selection.
Chris Hanson [Fri, 20 Oct 2000 04:35:46 +0000 (04:35 +0000)]
Forgot to export a couple of variables to implement auto-summary.
Chris Hanson [Fri, 20 Oct 2000 04:33:20 +0000 (04:33 +0000)]
Implement new editor variable imail-summary-height to allow the user
to specify the height of the summary buffer. Normally this is set to
1/4 making the summary 1/4 the height of the screen.
Chris Hanson [Fri, 20 Oct 2000 04:30:19 +0000 (04:30 +0000)]
Add option to POP-UP-BUFFER to allow the argument to
WINDOW-SPLIT-VERTICALLY! to be supplied.
Chris Hanson [Fri, 20 Oct 2000 04:07:53 +0000 (04:07 +0000)]
Add new editor variable imail-auto-summary that allows a summary
buffer to be automatically selected whenever an imail buffer is.
Chris Hanson [Fri, 20 Oct 2000 02:14:59 +0000 (02:14 +0000)]
Fix bug: FLAGS->RMAIL-MARKERS was clobbering its argument to remove
the "seen" flag. This caused messages to be marked "unseen" when they
were written to an RMAIL file.
Chris Hanson [Fri, 20 Oct 2000 00:44:34 +0000 (00:44 +0000)]
Fix bug: WRITE-HEADER-FIELDS was generating the blank-line separator,
but all of the callers assumed that it wasn't. So messages were being
written with an extra newline.
Chris Hanson [Thu, 19 Oct 2000 21:37:38 +0000 (21:37 +0000)]
Deal with errors coming from CTIME-STRING->UNIVERSAL-TIME. Add option
to WRITE-UMAIL-MESSAGE to suppress the IMAIL flags.
Chris Hanson [Thu, 19 Oct 2000 21:34:19 +0000 (21:34 +0000)]
Allow ctime() input strings to lack seconds field. This isn't
strictly correct but occurs sometimes on unix-mail from lines.
Chris Hanson [Tue, 17 Oct 2000 18:25:56 +0000 (18:25 +0000)]
Add changelog.txt to release directory.
Chris Hanson [Tue, 17 Oct 2000 17:43:06 +0000 (17:43 +0000)]
Change definition of "all" distribution so that it contains _only_ the
"all.com" band.
Chris Hanson [Tue, 17 Oct 2000 17:41:58 +0000 (17:41 +0000)]
Generate FreeBSD tar file too.
Chris Hanson [Tue, 17 Oct 2000 17:16:17 +0000 (17:16 +0000)]
FreeBSD doesn't define socklen_t; add conditional definition.
Chris Hanson [Mon, 16 Oct 2000 20:29:07 +0000 (20:29 +0000)]
Update for 7.5.10 release.
Chris Hanson [Mon, 16 Oct 2000 19:45:23 +0000 (19:45 +0000)]
Don't forget to include ChangeLog in tarball.
Chris Hanson [Mon, 16 Oct 2000 19:29:00 +0000 (19:29 +0000)]
Fix some typos. Adjust script so that it can be called again on a
partially-processed tree.
Chris Hanson [Mon, 16 Oct 2000 19:25:33 +0000 (19:25 +0000)]
Load CREF only if not already loaded.
Chris Hanson [Mon, 16 Oct 2000 18:58:18 +0000 (18:58 +0000)]
Don't copy files from main tree; check them out of CVS.
Chris Hanson [Mon, 16 Oct 2000 18:57:16 +0000 (18:57 +0000)]
Add back stuff for unsupported directories.
Chris Hanson [Mon, 16 Oct 2000 18:43:42 +0000 (18:43 +0000)]
Extensive changes to integrate microcode compilation into the script.
Chris Hanson [Mon, 16 Oct 2000 18:32:09 +0000 (18:32 +0000)]
If using gcc, optimize and generate debugging info.
Chris Hanson [Mon, 16 Oct 2000 18:31:13 +0000 (18:31 +0000)]
Generate optimized code by default.
Chris Hanson [Mon, 16 Oct 2000 18:28:45 +0000 (18:28 +0000)]
Forgot to load CREF.
Chris Hanson [Mon, 16 Oct 2000 18:27:34 +0000 (18:27 +0000)]
Forgot to load CREF.
Chris Hanson [Mon, 16 Oct 2000 18:25:36 +0000 (18:25 +0000)]
Fix typo.
Chris Hanson [Mon, 16 Oct 2000 18:24:10 +0000 (18:24 +0000)]
Load files using stdin redirection.
Chris Hanson [Mon, 16 Oct 2000 18:19:51 +0000 (18:19 +0000)]
Must load CREF before compiling other stuff.
Chris Hanson [Mon, 16 Oct 2000 18:17:55 +0000 (18:17 +0000)]
Initial revision.
Chris Hanson [Mon, 16 Oct 2000 18:16:24 +0000 (18:16 +0000)]
CREF loader not needed after all.
Chris Hanson [Mon, 16 Oct 2000 18:05:44 +0000 (18:05 +0000)]
Eliminate unsupported directories.
Chris Hanson [Mon, 16 Oct 2000 18:02:42 +0000 (18:02 +0000)]
Add copyright notice.
Chris Hanson [Mon, 16 Oct 2000 18:01:52 +0000 (18:01 +0000)]
Imported from /scheme/etc/.
Chris Hanson [Mon, 16 Oct 2000 18:00:55 +0000 (18:00 +0000)]
Moved from dist directory.
Chris Hanson [Mon, 16 Oct 2000 17:56:29 +0000 (17:56 +0000)]
Add option for CREF.
Chris Hanson [Mon, 16 Oct 2000 17:22:18 +0000 (17:22 +0000)]
If no band is explicitly specified, and the default band doesn't
exist, look for alternatives.
Chris Hanson [Sat, 14 Oct 2000 00:57:28 +0000 (00:57 +0000)]
Update version number of runtime system to reflect change to semantics
of internal definitions. Update release number because it's time to
do another release.
Chris Hanson [Sat, 14 Oct 2000 00:56:20 +0000 (00:56 +0000)]
Eliminate old optimization that reused lambda parameters for internal
definitions of the same name. This needlessly complicated the
semantics, and the optimization is no longer interesting (if it ever
was).
Thanks to the 6.001 staff for bringing this to my attention.
Chris Hanson [Sun, 1 Oct 2000 02:18:55 +0000 (02:18 +0000)]
Fix bug: when a call to connect gets EINTR, one can't just restart the
connect, because it might be waiting for a packet from the other end
of the connection. Instead, it's necessary to wait for the connect to
finish (using select), and then check the SO_ERROR option to see if it
succeeded or failed.
Chris Hanson [Sun, 1 Oct 2000 02:15:58 +0000 (02:15 +0000)]
In X-WINDOW-CLEAR, if the clip rectangle is disabled, call
XClearWindow rather than XClearArea. This clears pixels in internal
border, if any.
Chris Hanson [Sun, 1 Oct 2000 02:14:14 +0000 (02:14 +0000)]
Fix bug: xterm_dump_rectangle, when given the coordinates of a window
that wasn't exactly a multiple of the character size, would dump
characters at the edges of the window. Instead, it must clip the
rectangle to the character size of the window.
Chris Hanson [Sun, 1 Oct 2000 01:29:46 +0000 (01:29 +0000)]
Fix bug: can't ever use absolute pathnames with CVS, because if
repository is remote they don't make sense.
Chris Hanson [Sat, 30 Sep 2000 00:29:44 +0000 (00:29 +0000)]
When using imail-summary-scroll-msg-* commands, if the message buffer
and summary buffer have different messages selected, change the
message buffer to match the summary buffer.
Chris Hanson [Sat, 30 Sep 2000 00:21:55 +0000 (00:21 +0000)]
Don't count a message as unseen if it is deleted -- even if the SEEN
flag isn't set. It's common to delete messages without seeing them,
and the act of deletion is an indication that the user isn't
interested in seeing them.
However, don't mark these messages as seen; they might later be
undeleted, in which case they want to retain their unseen status.
Chris Hanson [Mon, 25 Sep 2000 16:16:34 +0000 (16:16 +0000)]
Note regarding parsing in the presence of Rmail file corruption.
Chris Hanson [Mon, 11 Sep 2000 21:55:16 +0000 (21:55 +0000)]
Make sure that Rmail messages have an internal time, even if it's
completely bogus.
Chris Hanson [Mon, 11 Sep 2000 21:50:03 +0000 (21:50 +0000)]
Compensate for old message data format that lacked seconds.
Chris Hanson [Mon, 11 Sep 2000 21:45:15 +0000 (21:45 +0000)]
Add workaround for very old arpanet message date format.
Chris Hanson [Mon, 11 Sep 2000 17:35:54 +0000 (17:35 +0000)]
Bind VC keys only if VC is loaded.
Chris Hanson [Thu, 7 Sep 2000 03:21:28 +0000 (03:21 +0000)]
Add UTF-8 to list of known charsets.
Chris Hanson [Wed, 6 Sep 2000 16:41:35 +0000 (16:41 +0000)]
Tweak adaptive-fill-regexp so that it accepts prefixes of the form "> >".
Chris Hanson [Wed, 6 Sep 2000 16:37:15 +0000 (16:37 +0000)]
Extensive redesign of OPERATE-ON-INDIVIDUAL-PARAGRAPHS, to treat
regions with different fill prefixes as separate paragraphs. This is
similar to what Emacs does but not exactly the same: we are more
strict about noticing prefix changes.
Chris Hanson [Wed, 6 Sep 2000 15:22:30 +0000 (15:22 +0000)]
Tweak adaptive-fill-regexp so that it accepts prefixes of the form "> >".
Chris Hanson [Wed, 6 Sep 2000 15:21:39 +0000 (15:21 +0000)]
Extensive redesign of OPERATE-ON-INDIVIDUAL-PARAGRAPHS, to treat
regions with different fill prefixes as separate paragraphs. This is
similar to what Emacs does but not exactly the same: we are more
strict about noticing prefix changes.
Chris Hanson [Wed, 6 Sep 2000 15:15:46 +0000 (15:15 +0000)]
Change paragraph-separate and paragraph-start so that they will work
when not at a line start. This is necessary so that they interact
properly with fill prefixes.
Chris Hanson [Wed, 6 Sep 2000 04:01:05 +0000 (04:01 +0000)]
Undo previous change -- it wasn't equivalent code.
Chris Hanson [Wed, 6 Sep 2000 03:47:55 +0000 (03:47 +0000)]
Simplify overly-complex logic.
Chris Hanson [Tue, 5 Sep 2000 00:10:45 +0000 (00:10 +0000)]
Change quotation example to reflect exact output from MIT Scheme.
Chris Hanson [Mon, 21 Aug 2000 04:55:34 +0000 (04:55 +0000)]
Change VC-BACKEND-LOCKING-USER so that it doesn't call
VC-WORKFILE-MODIFIED?. The problem is that the latter can call
VC-BACKEND-DIFF, which requires access to the CVS server. However,
since VC-BACKEND-LOCKING-USER is called by VC-MODE-LINE, this meant
that every time the mode-line changed, we had to probe the server.
This patch eliminates that requirement.
The patch also tries to notice the results of user-initiated diffs,
and update the mode-line's idea of whether the file is modified.
However, Emacs doesn't seem to behave quite the same way. Maybe this
is a bad idea and should be reverted.
Chris Hanson [Sun, 20 Aug 2000 04:10:57 +0000 (04:10 +0000)]
Now need regular expressions.
Chris Hanson [Sun, 20 Aug 2000 04:08:56 +0000 (04:08 +0000)]
Add code to strip off remote-repository prefix in "CVS/Root" files.
This assumes that the repository is actually local but is being
accessed using a remote mechanism.
The right thing to do might be to generate the log using cvs and then
merge it, but this is quite a pain.
Chris Hanson [Fri, 18 Aug 2000 20:23:03 +0000 (20:23 +0000)]
Add loaders for SOS and IMAIL.