mit-scheme.git
24 years agoIn M-x imail-get-new-mail (and M-x imail), move to first unseen
Chris Hanson [Wed, 5 Jul 2000 18:07:04 +0000 (18:07 +0000)]
In M-x imail-get-new-mail (and M-x imail), move to first unseen
message even if the server probe reveals no new mail.  This is
important because the new mail is usually fetched by the background
probe thread.

24 years agoReduce the traffic generated by completion code to determine if a
Chris Hanson [Wed, 5 Jul 2000 03:29:28 +0000 (03:29 +0000)]
Reduce the traffic generated by completion code to determine if a
mailbox has inferiors or not.

24 years agoFix thinkos in mailbox-decoding procedure.
Chris Hanson [Wed, 5 Jul 2000 03:25:35 +0000 (03:25 +0000)]
Fix thinkos in mailbox-decoding procedure.

24 years agoFix thinko in previous change.
Chris Hanson [Wed, 5 Jul 2000 01:23:05 +0000 (01:23 +0000)]
Fix thinko in previous change.

24 years agoFix some bugs in the IMAP URL parser.
Chris Hanson [Wed, 5 Jul 2000 01:14:01 +0000 (01:14 +0000)]
Fix some bugs in the IMAP URL parser.

24 years agoWhen examining prompt history, ignore malformed URLs that generate
Chris Hanson [Wed, 5 Jul 2000 01:04:40 +0000 (01:04 +0000)]
When examining prompt history, ignore malformed URLs that generate
errors during parsing.

24 years agoFix bugs in IMAP mailbox encode/decode procedures.
Chris Hanson [Wed, 5 Jul 2000 01:04:01 +0000 (01:04 +0000)]
Fix bugs in IMAP mailbox encode/decode procedures.

24 years ago"imail-umail" and "imail-rmail" should be in subfolders of
Chris Hanson [Wed, 5 Jul 2000 00:34:24 +0000 (00:34 +0000)]
"imail-umail" and "imail-rmail" should be in subfolders of
"imail-file".

24 years agoAdd calls to mailbox encode/decode procedures. These should have been
Chris Hanson [Wed, 5 Jul 2000 00:32:45 +0000 (00:32 +0000)]
Add calls to mailbox encode/decode procedures.  These should have been
put in long ago.

24 years agoExport mailbox-name encode/decode procedures.
Chris Hanson [Wed, 5 Jul 2000 00:20:59 +0000 (00:20 +0000)]
Export mailbox-name encode/decode procedures.

24 years agoChange mailbox-name encode/decode to accept either string or substring.
Chris Hanson [Wed, 5 Jul 2000 00:20:36 +0000 (00:20 +0000)]
Change mailbox-name encode/decode to accept either string or substring.

24 years agoAdjust to reflect new packaging structure.
Chris Hanson [Wed, 5 Jul 2000 00:13:18 +0000 (00:13 +0000)]
Adjust to reflect new packaging structure.

24 years ago"imail-umail" and "imail-rmail" should be in subfolders of
Chris Hanson [Wed, 5 Jul 2000 00:12:56 +0000 (00:12 +0000)]
"imail-umail" and "imail-rmail" should be in subfolders of
"imail-file".

24 years agoFix infinite loop that occurs when expunging all messages in folder.
Chris Hanson [Tue, 4 Jul 2000 05:12:30 +0000 (05:12 +0000)]
Fix infinite loop that occurs when expunging all messages in folder.

24 years agoSeriously simplify READ-LITERAL-TO-PORT by eliminating extra layer of
Chris Hanson [Mon, 3 Jul 2000 03:37:27 +0000 (03:37 +0000)]
Seriously simplify READ-LITERAL-TO-PORT by eliminating extra layer of
buffering.

24 years agoSeriously simplify READ-LITERAL-TO-PORT by eliminating extra layer of
Chris Hanson [Mon, 3 Jul 2000 03:36:50 +0000 (03:36 +0000)]
Seriously simplify READ-LITERAL-TO-PORT by eliminating extra layer of
buffering.

24 years agoTweak.
Chris Hanson [Mon, 3 Jul 2000 02:07:06 +0000 (02:07 +0000)]
Tweak.

24 years agoCanonicalize argument order to list-reading procedures.
Chris Hanson [Mon, 3 Jul 2000 02:06:35 +0000 (02:06 +0000)]
Canonicalize argument order to list-reading procedures.

24 years agoFix two typos in READ-SET.
Chris Hanson [Mon, 3 Jul 2000 02:03:11 +0000 (02:03 +0000)]
Fix two typos in READ-SET.

24 years agoFix two typos.
Chris Hanson [Sun, 2 Jul 2000 05:09:21 +0000 (05:09 +0000)]
Fix two typos.

24 years agoTrim some unnecessary items.
Chris Hanson [Sun, 2 Jul 2000 05:09:07 +0000 (05:09 +0000)]
Trim some unnecessary items.

24 years agoRedesign packaging to break up the monolithic core. There isn't very
Chris Hanson [Sat, 1 Jul 2000 04:10:39 +0000 (04:10 +0000)]
Redesign packaging to break up the monolithic core.  There isn't very
much cross-reference between these files.

24 years agoUpdate version to reflect impending release.
Chris Hanson [Fri, 30 Jun 2000 19:23:15 +0000 (19:23 +0000)]
Update version to reflect impending release.

24 years agoUpdate version to reflect changes to support IMAIL.
Chris Hanson [Fri, 30 Jun 2000 19:19:34 +0000 (19:19 +0000)]
Update version to reflect changes to support IMAIL.

24 years agoDon't inline text/plain entities that have disposition ATTACHMENT.
Chris Hanson [Fri, 30 Jun 2000 19:12:15 +0000 (19:12 +0000)]
Don't inline text/plain entities that have disposition ATTACHMENT.

24 years agoDon't inline text/plain entities that have disposition ATTACHMENT.
Chris Hanson [Fri, 30 Jun 2000 19:11:46 +0000 (19:11 +0000)]
Don't inline text/plain entities that have disposition ATTACHMENT.

24 years agoFile attachments should always have a disposition of ATTACHMENT.
Chris Hanson [Fri, 30 Jun 2000 19:07:55 +0000 (19:07 +0000)]
File attachments should always have a disposition of ATTACHMENT.

24 years agoIntegrate MIME decoding into reading of MIME body parts.
Chris Hanson [Fri, 30 Jun 2000 19:05:50 +0000 (19:05 +0000)]
Integrate MIME decoding into reading of MIME body parts.
Large attachments are now read directly into files.

24 years agoChange definition of CACHE? argument to WRITE-MIME-MESSAGE-BODY-PART.
Chris Hanson [Fri, 30 Jun 2000 18:31:40 +0000 (18:31 +0000)]
Change definition of CACHE? argument to WRITE-MIME-MESSAGE-BODY-PART.
Now it may take the following values:

#F don't cache
#T cache
<n> conditionally cache; length of part is <n>

24 years agoGeneralize IMAP:CATCH-NO-RESPONSE and use it in %APPEND-MESSAGE.
Chris Hanson [Fri, 30 Jun 2000 17:24:07 +0000 (17:24 +0000)]
Generalize IMAP:CATCH-NO-RESPONSE and use it in %APPEND-MESSAGE.

24 years agoEliminate unused AVAILABLE-FOLDER-NAMES. This capability is available
Chris Hanson [Fri, 30 Jun 2000 17:21:27 +0000 (17:21 +0000)]
Eliminate unused AVAILABLE-FOLDER-NAMES.  This capability is available
from the completion operations.

24 years agoFix bug that caused server greeting to be thrown away. Change
Chris Hanson [Fri, 30 Jun 2000 17:19:53 +0000 (17:19 +0000)]
Fix bug that caused server greeting to be thrown away.  Change
handling of delimiter and namespace information, so that they are
set by the front end rather than that back end.

24 years agoNow that IMAP URLs use a slash delimiter, I think it looks better to
Chris Hanson [Fri, 30 Jun 2000 17:09:29 +0000 (17:09 +0000)]
Now that IMAP URLs use a slash delimiter, I think it looks better to
use the base name as the name of the buffer.

24 years agoReprioritize list. Change category of APPEND-MESSAGES. Eliminate
Chris Hanson [Fri, 30 Jun 2000 03:16:15 +0000 (03:16 +0000)]
Reprioritize list.  Change category of APPEND-MESSAGES.  Eliminate
proposed option to quote original in replies using MIME.

24 years agoDon't bother with support for compressed mail files. This isn't as
Chris Hanson [Fri, 30 Jun 2000 03:11:08 +0000 (03:11 +0000)]
Don't bother with support for compressed mail files.  This isn't as
important as I thought it was.

24 years agoDon't do anything special with "flagged" flag.
Chris Hanson [Fri, 30 Jun 2000 03:10:02 +0000 (03:10 +0000)]
Don't do anything special with "flagged" flag.

24 years agoFix bug: file completion wasn't working right if the pathname being
Chris Hanson [Fri, 30 Jun 2000 03:08:20 +0000 (03:08 +0000)]
Fix bug: file completion wasn't working right if the pathname being
completed ended in a directory separator.

24 years agoSimplify handling of file-URL completion: this is now identical for
Chris Hanson [Fri, 30 Jun 2000 02:59:57 +0000 (02:59 +0000)]
Simplify handling of file-URL completion: this is now identical for
all file URLs, so have only one method for that class.

24 years agoModify RMAIL file reader to handle mixed RMAIL/umail files, as does
Chris Hanson [Fri, 30 Jun 2000 02:57:24 +0000 (02:57 +0000)]
Modify RMAIL file reader to handle mixed RMAIL/umail files, as does
the real RMAIL.  We don't bother with MMDF format, since that isn't
used by any real systems any longer.

24 years agoChange presentation order to place IMAP implementation ahead of file
Chris Hanson [Thu, 29 Jun 2000 22:06:11 +0000 (22:06 +0000)]
Change presentation order to place IMAP implementation ahead of file
implementation.

24 years agoRevise representation of header-field objects, so that RFC-822 quoting
Chris Hanson [Thu, 29 Jun 2000 22:02:34 +0000 (22:02 +0000)]
Revise representation of header-field objects, so that RFC-822 quoting
mechanism isn't part of the representation.  Value string of a header
is now arbitrary text, and there is an explicit mechanism for
converting the header value to RFC-822 format, by prepending tabs onto
continuation lines.

Additionally, there should no longer be any possibility of a low-level
error being generating when parsing header fields of incoming messages.

24 years agoChange IMAP URLs to use / instead of server delimiter.
Chris Hanson [Thu, 29 Jun 2000 20:07:32 +0000 (20:07 +0000)]
Change IMAP URLs to use / instead of server delimiter.

24 years agoAssume that heirarchy delimiter and NAMESPACE information never
Chris Hanson [Thu, 29 Jun 2000 18:12:37 +0000 (18:12 +0000)]
Assume that heirarchy delimiter and NAMESPACE information never
change.  Once information is cached, never erase it.

24 years agoReduce extent of a few calls to WITH-OPEN-IMAP-CONNECTION. Fix
Chris Hanson [Thu, 29 Jun 2000 18:00:08 +0000 (18:00 +0000)]
Reduce extent of a few calls to WITH-OPEN-IMAP-CONNECTION.  Fix
missing method specialization.

24 years agoClarify selector-interpretation logic in SELECT-MESSAGE.
Chris Hanson [Thu, 29 Jun 2000 17:54:49 +0000 (17:54 +0000)]
Clarify selector-interpretation logic in SELECT-MESSAGE.

24 years agoFix pagination.
Chris Hanson [Thu, 29 Jun 2000 17:52:18 +0000 (17:52 +0000)]
Fix pagination.

24 years agoFix IMAP URL completion so that folders that both are selectable and
Chris Hanson [Thu, 29 Jun 2000 17:51:06 +0000 (17:51 +0000)]
Fix IMAP URL completion so that folders that both are selectable and
have subfolders appear twice in the completions list, once with the
hierarchy delimiter, and once without.

24 years agoNote about making IMAP URL completion handle folders that contain both
Chris Hanson [Thu, 29 Jun 2000 03:46:05 +0000 (03:46 +0000)]
Note about making IMAP URL completion handle folders that contain both
messages and subfolders.

24 years agoRestrict M-x imail-save-attachment to work only on attachments, not on
Chris Hanson [Tue, 27 Jun 2000 17:25:48 +0000 (17:25 +0000)]
Restrict M-x imail-save-attachment to work only on attachments, not on
in-line MIME parts.  Implement M-x imail-mouse-save-mime-entity and
M-x imail-save-mime-entity.  Rename M-x imail-toggle-attachment to M-x
imail-toggle-mime-entity.

24 years agoDecode BinHex 4.0 attachments.
Chris Hanson [Tue, 27 Jun 2000 16:41:17 +0000 (16:41 +0000)]
Decode BinHex 4.0 attachments.

24 years agoDecode BinHex 4.0 attachments.
Chris Hanson [Tue, 27 Jun 2000 16:37:48 +0000 (16:37 +0000)]
Decode BinHex 4.0 attachments.

24 years agoAdd code to extract the data fork from a BinHex 4.0 input stream.
Chris Hanson [Tue, 27 Jun 2000 16:32:02 +0000 (16:32 +0000)]
Add code to extract the data fork from a BinHex 4.0 input stream.
BinHex support is now complete.

24 years agoImplement more flexible rule for matching initial comment and colon of
Chris Hanson [Tue, 27 Jun 2000 15:31:11 +0000 (15:31 +0000)]
Implement more flexible rule for matching initial comment and colon of
BinHex input.

24 years agoChange terminology: BinHex "decompression" -> "run-length decoding".
Chris Hanson [Tue, 27 Jun 2000 15:19:58 +0000 (15:19 +0000)]
Change terminology: BinHex "decompression" -> "run-length decoding".

24 years agoChange behavior of M-x imail-forward so that negative argument means
Chris Hanson [Tue, 27 Jun 2000 02:47:58 +0000 (02:47 +0000)]
Change behavior of M-x imail-forward so that negative argument means
send with raw headers.  Eliminate MIME-ONLY value of
imail-forward-all-headers, as it's no longer needed.

24 years agoFix bug: key binding for M-x imail-toggle-message was already in use.
Chris Hanson [Tue, 27 Jun 2000 02:41:03 +0000 (02:41 +0000)]
Fix bug: key binding for M-x imail-toggle-message was already in use.

24 years agoMove MIME-decoding output ports to runtime system.
Chris Hanson [Mon, 26 Jun 2000 22:15:32 +0000 (22:15 +0000)]
Move MIME-decoding output ports to runtime system.

24 years agoImplement BinHex decompressor.
Chris Hanson [Mon, 26 Jun 2000 22:12:59 +0000 (22:12 +0000)]
Implement BinHex decompressor.

24 years agoShow message in modeline of all buffers when there is unseen mail.
Chris Hanson [Mon, 26 Jun 2000 19:31:07 +0000 (19:31 +0000)]
Show message in modeline of all buffers when there is unseen mail.
Variable imail-global-mail-notification controls this feature.

24 years agoWhen prompting for MIME info, if there's only one choice, don't bother
Chris Hanson [Mon, 26 Jun 2000 19:08:18 +0000 (19:08 +0000)]
When prompting for MIME info, if there's only one choice, don't bother
prompting.

24 years agoWhen prompting for MIME info, if there's only one choice, don't bother
Chris Hanson [Mon, 26 Jun 2000 19:07:29 +0000 (19:07 +0000)]
When prompting for MIME info, if there's only one choice, don't bother
prompting.

24 years agoImplement M-x imail-toggle-attachment, which allows any part of a
Chris Hanson [Mon, 26 Jun 2000 19:02:39 +0000 (19:02 +0000)]
Implement M-x imail-toggle-attachment, which allows any part of a
MIME-encoded message to be toggled between "in-line" and "out-of-line"
format.  This is most useful for expanding small text attachments
without writing them to a file first.

24 years agoAdd additional procedures for searching through the space of text
Chris Hanson [Mon, 26 Jun 2000 18:59:53 +0000 (18:59 +0000)]
Add additional procedures for searching through the space of text
properties.

24 years agoAdd additional procedures for searching through the space of text
Chris Hanson [Mon, 26 Jun 2000 16:22:43 +0000 (16:22 +0000)]
Add additional procedures for searching through the space of text
properties.

24 years agoImplement variable imail-mime-show-alternatives.
Chris Hanson [Mon, 26 Jun 2000 15:28:37 +0000 (15:28 +0000)]
Implement variable imail-mime-show-alternatives.

24 years agoFix bug: when current message and subsequent messages simultaneously
Chris Hanson [Sat, 24 Jun 2000 01:39:16 +0000 (01:39 +0000)]
Fix bug: when current message and subsequent messages simultaneously
deleted, was signalling an error, because the EXPUNGE responses were
being processed one at a time, and the local model of the folder was
out of sync with the server's model.  New strategy defers dealing with
all of these changes until all of the responses have been processed,
at which time both models are again synchronized.

24 years agoFix problem with previous change: shouldn't automatically select new
Chris Hanson [Sat, 24 Jun 2000 01:35:41 +0000 (01:35 +0000)]
Fix problem with previous change: shouldn't automatically select new
message when folder grows.  Instead, stay on current message unless
it is deleted.

24 years agoFix problem with previous change: shouldn't automatically select new
Chris Hanson [Sat, 24 Jun 2000 01:12:26 +0000 (01:12 +0000)]
Fix problem with previous change: shouldn't automatically select new
message when folder grows.  Instead, stay on current message unless
it is deleted.

24 years agoPreserve internal time when copying to rmail folder from any other
Chris Hanson [Fri, 23 Jun 2000 19:29:41 +0000 (19:29 +0000)]
Preserve internal time when copying to rmail folder from any other
type of folder, by writing a distinguished header field into the rmail
file.

24 years agoPreserve internal time when copying to rmail folder from any other
Chris Hanson [Fri, 23 Jun 2000 19:29:04 +0000 (19:29 +0000)]
Preserve internal time when copying to rmail folder from any other
type of folder, by writing a distinguished header field into the rmail
file.

24 years agoFix bug: when IMAP mailbox simultaneously accessed from two places,
Chris Hanson [Fri, 23 Jun 2000 19:05:40 +0000 (19:05 +0000)]
Fix bug: when IMAP mailbox simultaneously accessed from two places,
IMAIL wouldn't correctly update the message buffer under a variety of
circumstances.  This turned out to be a confluence of several bugs in
the code.

24 years agoFix fencepost error.
Chris Hanson [Fri, 23 Jun 2000 18:46:05 +0000 (18:46 +0000)]
Fix fencepost error.

24 years agoAdd folder events to IMAP trace facility.
Chris Hanson [Fri, 23 Jun 2000 17:58:28 +0000 (17:58 +0000)]
Add folder events to IMAP trace facility.

24 years agoExtend imail-forward-all-headers to have value MIME-ONLY.
Chris Hanson [Fri, 23 Jun 2000 15:46:00 +0000 (15:46 +0000)]
Extend imail-forward-all-headers to have value MIME-ONLY.

24 years agoMail buffer must have adaptive-fill regexps adjusted so that C-M-y
Chris Hanson [Thu, 22 Jun 2000 20:40:57 +0000 (20:40 +0000)]
Mail buffer must have adaptive-fill regexps adjusted so that C-M-y
works right.

24 years agoUse new hook to modify the "User-Agent" header.
Chris Hanson [Thu, 22 Jun 2000 20:19:08 +0000 (20:19 +0000)]
Use new hook to modify the "User-Agent" header.

24 years agoChange "X-Mailer" to "User-Agent"; add hook to allow mail reader to
Chris Hanson [Thu, 22 Jun 2000 20:18:31 +0000 (20:18 +0000)]
Change "X-Mailer" to "User-Agent"; add hook to allow mail reader to
modify this string.

24 years agoAdd missing entry for mime-codec.
Chris Hanson [Thu, 22 Jun 2000 03:53:02 +0000 (03:53 +0000)]
Add missing entry for mime-codec.

24 years agoFirst cut at BinHex support. This just does the decoding, without
Chris Hanson [Thu, 22 Jun 2000 03:48:49 +0000 (03:48 +0000)]
First cut at BinHex support.  This just does the decoding, without
understanding the structure of the data stream.

24 years agoFirst cut at BinHex support. This just does the decoding, without
Chris Hanson [Thu, 22 Jun 2000 03:48:20 +0000 (03:48 +0000)]
First cut at BinHex support.  This just does the decoding, without
understanding the structure of the data stream.

24 years agoFirst cut at BinHex support. This just does the decoding, without
Chris Hanson [Thu, 22 Jun 2000 03:48:03 +0000 (03:48 +0000)]
First cut at BinHex support.  This just does the decoding, without
understanding the structure of the data stream.

24 years agoNote regarding bug with multiple simultaneous access.
Chris Hanson [Tue, 20 Jun 2000 20:38:25 +0000 (20:38 +0000)]
Note regarding bug with multiple simultaneous access.

24 years agoTweak layout.
Chris Hanson [Tue, 20 Jun 2000 19:49:16 +0000 (19:49 +0000)]
Tweak layout.

24 years agoDefine HEADER-FIELD-LENGTH.
Chris Hanson [Tue, 20 Jun 2000 19:48:46 +0000 (19:48 +0000)]
Define HEADER-FIELD-LENGTH.

24 years agoAllow file completion to complete to any file.
Chris Hanson [Tue, 20 Jun 2000 19:47:15 +0000 (19:47 +0000)]
Allow file completion to complete to any file.

24 years agoRepaginate.
Chris Hanson [Tue, 20 Jun 2000 19:45:37 +0000 (19:45 +0000)]
Repaginate.

24 years agoAllow arbitrary whitespace in IMAIL flags header, so that flags lines
Chris Hanson [Tue, 20 Jun 2000 19:44:53 +0000 (19:44 +0000)]
Allow arbitrary whitespace in IMAIL flags header, so that flags lines
can be folded.

24 years agoExpand on note regarding header-field representation.
Chris Hanson [Tue, 20 Jun 2000 19:44:11 +0000 (19:44 +0000)]
Expand on note regarding header-field representation.

24 years agoExpand on note regarding header-field representation.
Chris Hanson [Tue, 20 Jun 2000 19:43:06 +0000 (19:43 +0000)]
Expand on note regarding header-field representation.

24 years agoFix some thinkos.
Chris Hanson [Tue, 20 Jun 2000 19:38:32 +0000 (19:38 +0000)]
Fix some thinkos.

24 years agoSimplify decision tree in CALL-WITH-AUTO-WRAPPED-OUTPUT-MARK.
Chris Hanson [Tue, 20 Jun 2000 19:36:09 +0000 (19:36 +0000)]
Simplify decision tree in CALL-WITH-AUTO-WRAPPED-OUTPUT-MARK.

24 years agoShare similar code from IMAIL-YANK-ORIGINAL and SELECT-MESSAGE.
Chris Hanson [Tue, 20 Jun 2000 19:32:47 +0000 (19:32 +0000)]
Share similar code from IMAIL-YANK-ORIGINAL and SELECT-MESSAGE.

24 years agoExport M-x imail-toggle-header.
Chris Hanson [Tue, 20 Jun 2000 19:27:27 +0000 (19:27 +0000)]
Export M-x imail-toggle-header.

24 years agoRedefine variable imail-mime-attachment-directory to be an override of
Chris Hanson [Tue, 20 Jun 2000 19:27:10 +0000 (19:27 +0000)]
Redefine variable imail-mime-attachment-directory to be an override of
the default behavior, which is to track the last directory written to.

24 years agoShare code that copies all messages from one folder to another.
Chris Hanson [Tue, 20 Jun 2000 19:21:06 +0000 (19:21 +0000)]
Share code that copies all messages from one folder to another.

24 years agoFix typo.
Chris Hanson [Tue, 20 Jun 2000 19:16:07 +0000 (19:16 +0000)]
Fix typo.

24 years agoChange binding of imail-toggle-message to #\c-t.
Chris Hanson [Tue, 20 Jun 2000 19:15:41 +0000 (19:15 +0000)]
Change binding of imail-toggle-message to #\c-t.

24 years agoFix bug: last change to IMAIL-MODE-LINE-SUMMARY-STRING had thinko that
Chris Hanson [Tue, 20 Jun 2000 19:13:14 +0000 (19:13 +0000)]
Fix bug: last change to IMAIL-MODE-LINE-SUMMARY-STRING had thinko that
caused an error when viewing an empty mailbox.

24 years agoAdd some new ideas from one of the reviews.
Chris Hanson [Mon, 19 Jun 2000 22:15:25 +0000 (22:15 +0000)]
Add some new ideas from one of the reviews.

24 years agoAlways show message counts and folder length in modeline. It's
Chris Hanson [Mon, 19 Jun 2000 22:15:01 +0000 (22:15 +0000)]
Always show message counts and folder length in modeline.  It's
confusing to omit this.