mit-scheme.git
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.

24 years agoChange definition of GET-ALL-HEADER-FIELD-VALUES to return a list of
Chris Hanson [Mon, 19 Jun 2000 22:06:24 +0000 (22:06 +0000)]
Change definition of GET-ALL-HEADER-FIELD-VALUES to return a list of
strings, rather than a comma-separated string.

24 years agoRework handling of buffer properties so that command to toggle
Chris Hanson [Mon, 19 Jun 2000 21:40:31 +0000 (21:40 +0000)]
Rework handling of buffer properties so that command to toggle
password field works anywhere in the field.

24 years agoFix bug: when fetching MIME message part, must guarantee that the
Chris Hanson [Mon, 19 Jun 2000 20:45:21 +0000 (20:45 +0000)]
Fix bug: when fetching MIME message part, must guarantee that the
connection is open.

24 years agoReimplement M-x imail-toggle-header (in addition to
Chris Hanson [Mon, 19 Jun 2000 20:27:45 +0000 (20:27 +0000)]
Reimplement M-x imail-toggle-header (in addition to
imail-toggle-message).

24 years agoFix code that yanks original message into reply buffer. Now the
Chris Hanson [Mon, 19 Jun 2000 20:01:21 +0000 (20:01 +0000)]
Fix code that yanks original message into reply buffer.  Now the
yanked code looks just like the formatted code in the original
buffer, except that there are no attachments, and the line wrapping is
adjusted to account for the indentation.

24 years agoFix typo.
Chris Hanson [Mon, 19 Jun 2000 19:59:11 +0000 (19:59 +0000)]
Fix typo.

24 years agoNew strategy for yanking MIME messages into reply buffer.
Chris Hanson [Mon, 19 Jun 2000 12:54:33 +0000 (12:54 +0000)]
New strategy for yanking MIME messages into reply buffer.

24 years agoChange interface for retrieving message bodies so that the body isn't
Chris Hanson [Mon, 19 Jun 2000 05:00:53 +0000 (05:00 +0000)]
Change interface for retrieving message bodies so that the body isn't
always returned as a string, but instead is written to a port.  This
will allow IMAP message to write their bodies directly to files, which
is especially important for bodies that are too large to fit in memory.

24 years agoFix bug: empty folder wasn't noticing new messages being added.
Chris Hanson [Mon, 19 Jun 2000 04:58:15 +0000 (04:58 +0000)]
Fix bug: empty folder wasn't noticing new messages being added.

24 years agoFix bug: when expunging last message in folder, IMAIL was generating
Chris Hanson [Mon, 19 Jun 2000 04:37:25 +0000 (04:37 +0000)]
Fix bug: when expunging last message in folder, IMAIL was generating
an error.

24 years agoChanges for IMAIL.
Chris Hanson [Mon, 19 Jun 2000 02:35:45 +0000 (02:35 +0000)]
Changes for IMAIL.

24 years agoSimplify implementation of broken-pipe handler so that parts can be
Chris Hanson [Mon, 19 Jun 2000 02:01:54 +0000 (02:01 +0000)]
Simplify implementation of broken-pipe handler so that parts can be
reused.

24 years agoRedo previous fix; was shutting down connection in cases where it
Chris Hanson [Mon, 19 Jun 2000 01:49:19 +0000 (01:49 +0000)]
Redo previous fix; was shutting down connection in cases where it
shouldn't have.

24 years agoA handful of bug fixes, plus some clarifications.
Chris Hanson [Sun, 18 Jun 2000 20:39:36 +0000 (20:39 +0000)]
A handful of bug fixes, plus some clarifications.

24 years agoChange PROMPT-HISTORY-STRINGS and SET-PROMPT-HISTORY-STRINGS! so that
Chris Hanson [Sun, 18 Jun 2000 20:36:15 +0000 (20:36 +0000)]
Change PROMPT-HISTORY-STRINGS and SET-PROMPT-HISTORY-STRINGS! so that
the history name may be #F, meaning use the default history.

24 years agoChange PROMPT-HISTORY-STRINGS and SET-PROMPT-HISTORY-STRINGS! so that
Chris Hanson [Sun, 18 Jun 2000 20:35:33 +0000 (20:35 +0000)]
Change PROMPT-HISTORY-STRINGS and SET-PROMPT-HISTORY-STRINGS! so that
the history name may be #F, meaning use the default history.

24 years agoNote re imail-toggle-headers.
Chris Hanson [Sat, 17 Jun 2000 04:29:10 +0000 (04:29 +0000)]
Note re imail-toggle-headers.

24 years agoFix thinko.
Chris Hanson [Fri, 16 Jun 2000 18:18:10 +0000 (18:18 +0000)]
Fix thinko.

24 years agoLarge-scale editing pass over the front-end code. Code should now be
Chris Hanson [Fri, 16 Jun 2000 18:00:18 +0000 (18:00 +0000)]
Large-scale editing pass over the front-end code.  Code should now be
clearer and better organized.

24 years agoLarge-scale editing pass over the front-end code. Code should now be
Chris Hanson [Fri, 16 Jun 2000 17:57:35 +0000 (17:57 +0000)]
Large-scale editing pass over the front-end code.  Code should now be
clearer and better organized.

24 years agoLarge-scale editing pass over the front-end code. Code should now be
Chris Hanson [Fri, 16 Jun 2000 17:56:12 +0000 (17:56 +0000)]
Large-scale editing pass over the front-end code.  Code should now be
clearer and better organized.

24 years agoEliminate notes that have been moved to todo file.
Chris Hanson [Fri, 16 Jun 2000 17:54:56 +0000 (17:54 +0000)]
Eliminate notes that have been moved to todo file.

24 years agoSet NAME parameter on MIME file attachments. Change key bindings in
Chris Hanson [Fri, 16 Jun 2000 17:39:22 +0000 (17:39 +0000)]
Set NAME parameter on MIME file attachments.  Change key bindings in
attachment browser; shouldn't use #\- for a command.

24 years agoChange status symbol FOLDER-MODIFIED to CACHE-MODIFIED.
Chris Hanson [Fri, 16 Jun 2000 17:21:48 +0000 (17:21 +0000)]
Change status symbol FOLDER-MODIFIED to CACHE-MODIFIED.

24 years agoRemove rfc822.scm from printout.
Chris Hanson [Thu, 15 Jun 2000 21:33:26 +0000 (21:33 +0000)]
Remove rfc822.scm from printout.

24 years agoFix typo.
Chris Hanson [Thu, 15 Jun 2000 20:58:56 +0000 (20:58 +0000)]
Fix typo.

24 years agoDon't add gratuitous newlines to message presentation.
Chris Hanson [Thu, 15 Jun 2000 20:54:22 +0000 (20:54 +0000)]
Don't add gratuitous newlines to message presentation.

24 years agoAdd attachments in time order; previous was reversed.
Chris Hanson [Thu, 15 Jun 2000 20:50:43 +0000 (20:50 +0000)]
Add attachments in time order; previous was reversed.

24 years agoBe very careful not to read beyond the end of a literal, as this might
Chris Hanson [Thu, 15 Jun 2000 20:40:27 +0000 (20:40 +0000)]
Be very careful not to read beyond the end of a literal, as this might
hang.

24 years agoIf IMAP command doesn't complete normally, close the connection.
Chris Hanson [Thu, 15 Jun 2000 20:31:35 +0000 (20:31 +0000)]
If IMAP command doesn't complete normally, close the connection.

24 years agoImplement MIME attachment browser, with commands to add and delete
Chris Hanson [Thu, 15 Jun 2000 20:30:45 +0000 (20:30 +0000)]
Implement MIME attachment browser, with commands to add and delete
attachments.

24 years agoImplement mime-attachments buffer for editing message attachments.
Chris Hanson [Thu, 15 Jun 2000 20:24:21 +0000 (20:24 +0000)]
Implement mime-attachments buffer for editing message attachments.

24 years agoRespect INLINE disposition if present.
Chris Hanson [Thu, 15 Jun 2000 20:16:05 +0000 (20:16 +0000)]
Respect INLINE disposition if present.

24 years agoFix bug: don't try to send LOGOUT command when socket is closed.
Chris Hanson [Thu, 15 Jun 2000 20:04:54 +0000 (20:04 +0000)]
Fix bug: don't try to send LOGOUT command when socket is closed.

24 years agoFix harmless typo.
Chris Hanson [Thu, 15 Jun 2000 19:13:23 +0000 (19:13 +0000)]
Fix harmless typo.

24 years agoImplement variable imail-inline-mime-text-subtypes.
Chris Hanson [Thu, 15 Jun 2000 16:34:35 +0000 (16:34 +0000)]
Implement variable imail-inline-mime-text-subtypes.

24 years agoImplement variable imail-inline-mime-text-subtypes.
Chris Hanson [Thu, 15 Jun 2000 16:20:25 +0000 (16:20 +0000)]
Implement variable imail-inline-mime-text-subtypes.

24 years agoImplement M-x imail-first-unseen-message.
Chris Hanson [Thu, 15 Jun 2000 15:40:37 +0000 (15:40 +0000)]
Implement M-x imail-first-unseen-message.

24 years agoMade changes to mime-codec to improve speed of quoted-printable
Chris Hanson [Thu, 15 Jun 2000 15:40:03 +0000 (15:40 +0000)]
Made changes to mime-codec to improve speed of quoted-printable
decoder.

24 years agoUse substring search to speed up quoted-printable decoder.
Chris Hanson [Thu, 15 Jun 2000 15:11:29 +0000 (15:11 +0000)]
Use substring search to speed up quoted-printable decoder.

24 years agoPotpourri of notes, and new section on MIME conformance.
Chris Hanson [Thu, 15 Jun 2000 13:48:57 +0000 (13:48 +0000)]
Potpourri of notes, and new section on MIME conformance.

24 years agoNote regarding integration of MIME decoding into the MIME body reader.
Chris Hanson [Thu, 15 Jun 2000 03:57:13 +0000 (03:57 +0000)]
Note regarding integration of MIME decoding into the MIME body reader.

24 years agoFix fencepost error.
Chris Hanson [Thu, 15 Jun 2000 03:44:29 +0000 (03:44 +0000)]
Fix fencepost error.

24 years agoFix fencepost error.
Chris Hanson [Thu, 15 Jun 2000 03:43:46 +0000 (03:43 +0000)]
Fix fencepost error.

24 years agoUse new line-wrapping facility in Edwin. Hopefully this will be fast
Chris Hanson [Thu, 15 Jun 2000 03:20:04 +0000 (03:20 +0000)]
Use new line-wrapping facility in Edwin.  Hopefully this will be fast
enough to eliminate tedious delay of previous implementation.

24 years agoImplement procedures to wrap lines in paragraphs.
Chris Hanson [Thu, 15 Jun 2000 03:17:57 +0000 (03:17 +0000)]
Implement procedures to wrap lines in paragraphs.

24 years agoFix typo.
Chris Hanson [Thu, 15 Jun 2000 02:38:05 +0000 (02:38 +0000)]
Fix typo.

24 years agoImplement new commands:
Chris Hanson [Thu, 15 Jun 2000 02:37:16 +0000 (02:37 +0000)]
Implement new commands:
imail-bury
imail-next-same-subject
imail-previous-same-subject

24 years agoImplement new commands:
Chris Hanson [Thu, 15 Jun 2000 02:35:54 +0000 (02:35 +0000)]
Implement new commands:
imail-bury
imail-next-same-subject
imail-previous-same-subject

24 years agoImplement M-x imail-summary-by-regexp and M-x imail-summary-by-topic.
Chris Hanson [Thu, 15 Jun 2000 01:58:02 +0000 (01:58 +0000)]
Implement M-x imail-summary-by-regexp and M-x imail-summary-by-topic.
Latter doesn't support WHOLE-MESSAGE option of Emacs because that
would be dreadfully inefficient using IMAP.

24 years agoIn description for imail-mode, don't show variables for
Chris Hanson [Thu, 15 Jun 2000 01:37:50 +0000 (01:37 +0000)]
In description for imail-mode, don't show variables for
imail-summary-mode.  Also, show value for each variable.

24 years agoReconcile the key bindings with those of RMAIL in Emacs version 20.
Chris Hanson [Thu, 15 Jun 2000 01:11:22 +0000 (01:11 +0000)]
Reconcile the key bindings with those of RMAIL in Emacs version 20.
Use new dynamically-generated help string feature of Edwin to generate
the mode description for imail-mode.

24 years agoAllow description of a command, variable, or mode to be a thunk that
Chris Hanson [Thu, 15 Jun 2000 00:58:55 +0000 (00:58 +0000)]
Allow description of a command, variable, or mode to be a thunk that
evaluates to a string.

24 years agoAllow description of a command, variable, or mode to be a thunk that
Chris Hanson [Thu, 15 Jun 2000 00:44:08 +0000 (00:44 +0000)]
Allow description of a command, variable, or mode to be a thunk that
evaluates to a string.

24 years agoAllow description of a command, variable, or mode to be a thunk that
Chris Hanson [Thu, 15 Jun 2000 00:36:59 +0000 (00:36 +0000)]
Allow description of a command, variable, or mode to be a thunk that
evaluates to a string.

24 years agoExtend help output procedures to accept a port as an argument.
Chris Hanson [Thu, 15 Jun 2000 00:34:27 +0000 (00:34 +0000)]
Extend help output procedures to accept a port as an argument.

24 years agoAllow description of a command, variable, or mode to be a thunk that
Chris Hanson [Thu, 15 Jun 2000 00:25:44 +0000 (00:25 +0000)]
Allow description of a command, variable, or mode to be a thunk that
evaluates to a string.

24 years agoAdd two suggestions from radhi.
Chris Hanson [Wed, 14 Jun 2000 20:21:44 +0000 (20:21 +0000)]
Add two suggestions from radhi.

24 years agoAlways inline top-level MIME text parts, even if the subtype isn't
Chris Hanson [Wed, 14 Jun 2000 20:16:37 +0000 (20:16 +0000)]
Always inline top-level MIME text parts, even if the subtype isn't
"plain".  Also, define new variable imail-known-mime-charsets, to
allow the user to add other character sets that may be inlined.

24 years agoChange IMAP URL completion to work more like filename completion:
Chris Hanson [Wed, 14 Jun 2000 02:51:25 +0000 (02:51 +0000)]
Change IMAP URL completion to work more like filename completion:
completion shows only the elements at the top level of the mailbox
being completed on.  Furthermore, non-selectable mailboxes are
suffixed with the heirarchy delimiter to cue the user.

24 years agoDon't abbreviate MIME header fields in the header; only in subparts of
Chris Hanson [Wed, 14 Jun 2000 02:35:09 +0000 (02:35 +0000)]
Don't abbreviate MIME header fields in the header; only in subparts of
a multipart message.

24 years agoImplement variable imail-forward-using-mime to allow the user to
Chris Hanson [Wed, 14 Jun 2000 02:25:04 +0000 (02:25 +0000)]
Implement variable imail-forward-using-mime to allow the user to
disable the use of MIME for message forwarding.

24 years agoWhen renaming a folder, the default for the target is the container
Chris Hanson [Wed, 14 Jun 2000 02:16:23 +0000 (02:16 +0000)]
When renaming a folder, the default for the target is the container
for the source.  When copying a folder, the default for the target is
the base name of the source, merged into the container of the most
recent copy target.

24 years agoChange M-x imail-get-new-mail so that it selects the first unseen
Chris Hanson [Tue, 13 Jun 2000 21:18:45 +0000 (21:18 +0000)]
Change M-x imail-get-new-mail so that it selects the first unseen
message, or does nothing otherwise.  This will be more robust when
resynchronizing the folder, and will also provide a command to move to
the first unseen message.

24 years agoImplement variable imail-forward-all-headers.
Chris Hanson [Mon, 12 Jun 2000 04:04:51 +0000 (04:04 +0000)]
Implement variable imail-forward-all-headers.

24 years agoAdd new variable mail-abbreviate-mime to control verbosity of MIME
Chris Hanson [Mon, 12 Jun 2000 03:38:09 +0000 (03:38 +0000)]
Add new variable mail-abbreviate-mime to control verbosity of MIME
headers generated.

24 years agoFix typo: "Content-Encoding" -> "Content-Transfer-Encoding".
Chris Hanson [Mon, 12 Jun 2000 03:29:43 +0000 (03:29 +0000)]
Fix typo: "Content-Encoding" -> "Content-Transfer-Encoding".

24 years agoInsert X-Mailer and Organization fields after user finished editing
Chris Hanson [Mon, 12 Jun 2000 01:39:09 +0000 (01:39 +0000)]
Insert X-Mailer and Organization fields after user finished editing
message, rather than cluttering up the user's buffer with them.

24 years agoFix bug: imail-resend not selecting buffer.
Chris Hanson [Mon, 12 Jun 2000 00:57:50 +0000 (00:57 +0000)]
Fix bug: imail-resend not selecting buffer.

24 years agoUse recommended scrolling of 5 lines rather than 10.
Chris Hanson [Sun, 11 Jun 2000 04:32:26 +0000 (04:32 +0000)]
Use recommended scrolling of 5 lines rather than 10.