comparison lisp/mh-e/ChangeLog @ 56673:e9a6cbc8ca5e

Upgraded to MH-E version 7.4.80. See etc/MH-E-NEWS and lisp/mh-e/ChangeLog for details.
author Bill Wohler <wohler@newt.com>
date Sun, 15 Aug 2004 22:00:06 +0000
parents d36b00b98db0
children 72a02133177e
comparison
equal deleted inserted replaced
56672:83ab2b01744a 56673:e9a6cbc8ca5e
1 2004-08-15 Bill Wohler <wohler@newt.com>
2
3 * Released MH-E version 7.4.80.
4
5 * MH-E-NEWS, README: Updated for release 7.4.80.
6
7 * mh-e.el (Version, mh-version): Updated for release 7.4.80.
8
9 2004-08-15 Bill Wohler <wohler@newt.com>
10
11 * mh-funcs.el, mh-gnus.el, mh-inc.el, mh-init.el, mh-junk.el,
12 mh-pick.el, mh-print.el, mh-xemacs.el: Added 2004 to Copyright.
13
14 * mh-acros.el, mh-alias.el: Checkdoc fixes.
15
16 2004-08-12 Satyaki Das <satyaki@theforce.stanford.edu>
17
18 * mh-acros.el (cl): Load cl in this file. That is all right, since
19 this file is only used at compile time, and so cl doesn't get
20 loaded at run time. This avoids problems with stale *.elc files
21 present in the Emacs source tree during compilation.
22 (mh-defstruct): Modify it to make it more CL like and in the
23 process simplify it a bit. This makes the argument list of the
24 constructor compatible with the previous version, thereby avoiding
25 a compilation error when an old version of mh-seq.elc is present.
26
27 * mh-seq.el (mh-thread-id-container, mh-thread-get-message)
28 (mh-thread-get-message-container): Revert back to the CL style
29 of using keyword arguments, since the mh-defstruct now produces
30 code compatible to such usage.
31
32 2004-08-11 Satyaki Das <satyaki@theforce.stanford.edu>
33
34 * mh-acros.el (mh-defstruct, mh-require-cl): Checkdoc fixes.
35
36 * mh-utils.el (message-tokenize-header, message-fetch-field): Add
37 autoloads.
38 (mh-folder-completing-read): Make the folder completion look
39 better with CVS Emacs.
40
41 * mh-init.el (mh-variant-set): Remove dead code.
42
43 2004-08-11 Bill Wohler <wohler@newt.com>
44
45 * *.el: Use the following at the top of each file which seems to
46 do a good job of suppressing compilation warnings in 21.3 and CVS
47 Emacs (21.4). This replaces (require 'cl) or (require
48 'utils) (mh-require-cl) calls:
49
50 (eval-when-compile (require 'mh-acros))
51 (mh-require-cl)
52
53 2004-08-10 Bill Wohler <wohler@newt.com>
54
55 * release-utils (DESCRIPTION): Added one.
56 (FILES, SEE ALSO, VERSION): Deleted empty and incorrect sections.
57
58 * mh-e.el (mh-colors-available-p): Call x-display-color-cells with
59 mh-funcall-if-exists since it no longer seems to be defined in
60 GNU Emacs 21.4.
61
62 2004-08-10 Satyaki Das <satyaki@theforce.stanford.edu>
63
64 * mh-speed.el (mh-process-kill-without-query, mh-speed-flists):
65 Avoid a compiler warning in versions of Emacs where
66 process-kill-without-query is a deprecated function.
67
68 * mh-seq.el (mh-thread-message, mh-thread-container): Use
69 mh-defstruct instead of defstruct.
70 (mh-thread-id-container, mh-thread-get-message-container)
71 (mh-thread-get-message): Use the slightly different structure
72 constructor function.
73
74 * mh-acros.el (mh-defstruct): New macro which is a partial
75 replacement of the defstruct in CL.
76 (no-byte-compile): Don't compile the file since it isn't loaded at
77 run time, so efficiency isn't an issue.
78
79 * mh-utils.el (mh-buffer-data): Use mh-defstruct instead of
80 defstruct.
81
82 2004-08-09 Satyaki Das <satyaki@theforce.stanford.edu>
83
84 * mh-funcs.el, mh-junk.el, mh-print.el: Use mh-require-cl to avoid
85 compilation warnings in Emacs-21.3.
86
87 * mh-acros.el (mh-require-cl): Add autoloads of CL functions used.
88
89 2004-08-09 Bill Wohler <wohler@newt.com>
90
91 * mh-customize.el (mh-show-use-xface-flag): Mention that `fetch' and
92 `curl' are supported as well.
93
94 2004-08-08 Bill Wohler <wohler@newt.com>
95
96 * mh-xemacs.el (mh-xemacs-has-toolbar-flag): Checkdoc fixes.
97
98 * mh-mime.el (mh-display-with-external-viewer): Checkdoc fixes.
99
100 * mh-identity.el: (mh-identity-attribution-verb-end): Stripped
101 trailing space; checkdoc fixes.
102
103 * mh-e.el (mh-restore-desktop-buffer): Checkdoc fixes.
104
105 * mh-customize.el: (mh-inc-spool-list,
106 mh-compose-forward-as-mime-flag, defcustom): Stripped trailing
107 space; checkdoc fixes.
108
109 * mh-comp.el (mh-reply): Stripped trailing space.
110
111 * mh-unit.el (mh-unit-files): Added mh-acros.el and mh-gnus.el.
112 (mh-unit): Don't lm-verify pre-21.4. Save buffers before killing
113 since we might have done some editing.
114
115 * import-emacs: Deleted. Functionality subsumed by release-utils.
116
117 * release-utils: New script. Performs import-emacs functionality
118 and displays new and deleted options.
119
120 * Makefile (import-emacs): Call release-utils instead of
121 import-emacs.
122
123 * mh-funcs.el (mh-undo-folder): Removed deprecated `ignore'
124 argument.
125
126 * mh-e.el (mh-scan-date-regexp): Deleted as Peter claims it is
127 obsolete.
128 (mh-folder-font-lock-keywords): Removed reference to deleted
129 variable `mh-scan-date-regexp'.
130
131 * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to
132 `mh-auto-fileds-lists'.
133 (mh-forward-hook): Fixed docstring typo.
134
135 2004-08-07 Bill Wohler <wohler@newt.com>
136
137 * mh-acros.el: New file. Currently holds macros needed by
138 mh-customize.el but is planned to hold all macros to avoid
139 dependency problems when compiling.
140
141 * mh-utils.el (mh-xemacs-flag): Defined in mh-customize.el now.
142 (mh-require-cl, mh-do-in-gnu-emacs, mh-do-in-xemacs)
143 (mh-funcall-if-exists, mh-make-local-hook, mh-mark-active-p):
144 Moved to new file mh-acros.el.
145
146 * mh-customize.el: Require mh-acros and cl only when compiling and
147 mh-loaddefs at runtime instead of mh-utils.
148 (mh-xemacs-flag): Define it here instead of mh-utils.el.
149
150 * Makefile (MH-E-SRC): Added mh-acros.el.
151
152 * mh-gnus.el (default-enable-multibyte-characters): Don't define
153 any more. It doesn't seem to be needed.
154
155 * mh-customize.el (mh-junk-background): New variable. If on, spam
156 programs are run in background. Running in foreground can be slow.
157 Defaults to nil to spare machines with little memory.
158
159 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
160 (mh-bogofilter-whitelist, mh-spamprobe-blacklist)
161 (mh-spamprobe-whitelist): Use new option mh-junk-background.
162
163 2004-07-25 Satyaki Das <satyaki@theforce.stanford.edu>
164
165 * mh-utils.el (mh-folder-completing-read): In recent CVS Emacs,
166 the first letter of the possible choices in the completion buffer
167 is highlighted. The change is needed for this feature to work
168 during folder name completion. This is not entirely sufficient,
169 since the leading "+" in folder names is still mishandled. A patch
170 is required in Emacs itself to address that.
171
172 2004-07-22 Mark D. Baushke <mdb@gnu.org>
173
174 * mh-e.el (recursive-load-depth-limit): Move
175 recursive-load-depth-limit code to ...
176 * mh-utils.el (recursive-load-depth-limit): ... here to avoid
177 problems compiling mh-utils.el and mh-alias.el with gnus-5.10.6
178 under emacs-21.1. Use eval-and-compile instead of eval-when.
179
180 2004-07-20 Bill Wohler <wohler@newt.com>
181
182 * mh-customize.el (mh-invisible-header-fields-internal): Added
183 header fields emitted by T-Mobile picture phones (X-Mms-*, and
184 commented out X-Operator field saying it's like X-Mailer).
185
186 2004-07-12 Bill Wohler <wohler@newt.com>
187
188 * mh-gnus.el: Set local variables indent-tabs-mode and
189 sentence-end-double-space to nil.
190
191 * mh-customize.el: Checkpoint from option docstring updates and
192 manual synchronization from last summer. For the options listed
193 below, docstring was usually completely rewritten. Use "on"
194 instead of "t" in docstring to match what is seen in customization
195 buffer. Use headline capitalization. Standardize on "Auto-detect"
196 text when option has that capibility.
197 (mh): Since we work on more than one type of Emacs, use Emacs
198 instead of GNU Emacs. Prefer GNU mailutils over GNU Mailutils.
199 (mh-variant): s/Autodetect at startup/Auto-detect/.
200 (mh-alias-insertion-location): s/Sorted
201 alphabetically/Alphabetical/. s/At the top of file/Top/. s/At the
202 bottom of file/Bottom/.
203 (mh-alias-local-users-prefix): s/Use login instead of real
204 name/Use Login/.
205 (mh-identity-list): Sorted values by fields, attribution,
206 signature, GPG key.
207 (mh-auto-fields-list): Missing quote.
208 (mh-compose-insertion): s/Use Gnus/Gnus/. s/Use mhn/mhn/.
209 (mh-compose-space-does-completion-flag): s/SPACE/<SPC>/.
210 (mh-extract-from-attribution-verb): Since we have French, added
211 German too ;-).
212 (mh-letter-complete-function): Mention default in docstring.
213 (mh-invisible-header-fields-internal): Added X-ELNK-Trace from
214 Earthlink.
215 (mh-alias-flash-on-comma, mh-alias-insert-file)
216 (mh-alias-passwd-gecos-comma-separator-flag)
217 (mh-recenter-summary-flag, mh-default-folder-for-message-function)
218 (mh-default-folder-must-exist-flag, mh-index-program)
219 (mh-index-ticked-messages-folders, mh-ins-buf-prefix)
220 (mh-delete-yanked-msg-window-flag, mh-identity-default): See
221 summary above.
222
223 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-mu-mh-info):
224 Prefer GNU mailutils over GNU Mailutils MH.
225
226 * mh-comp.el (sc-cite-original, mh-smail, mh-smail-batch)
227 (mh-edit-again, mh-extract-rejected-mail, mh-forward)
228 (mh-smail-other-window, mh-reply, mh-send, mh-send-other-window):
229 Use `mh-send' instead of \\[mh-send]] since links in the docstring
230 are more useful than a key sequence in these cases. Use "See also"
231 instead of "See also documentation for".
232
233 * Merged in 7.4.4 changes, described below.
234
235 * mh-e.el (Version, mh-version): Set to 7.4.4+cvs.
236
1 2004-07-10 Bill Wohler <wohler@newt.com> 237 2004-07-10 Bill Wohler <wohler@newt.com>
2 238
3 * Released MH-E version 7.4.4. 239 * Released MH-E version 7.4.4.
4 240
5 * MH-E-NEWS, README: Updated for release 7.4.4. 241 * MH-E-NEWS, README: Updated for release 7.4.4.
64 300
65 * mh-utils.el (mh-require-cl): The Emacs coding conventions 301 * mh-utils.el (mh-require-cl): The Emacs coding conventions
66 require that the cl package not be required at runtime. However, 302 require that the cl package not be required at runtime. However,
67 the cl package in versions of Emacs prior to 21.4 left cl routines 303 the cl package in versions of Emacs prior to 21.4 left cl routines
68 in their macro expansions. Use mh-require-cl to provide the cl 304 in their macro expansions. Use mh-require-cl to provide the cl
69 routines in the best way possible. 305 routines in the best way possible (closes SF #930012).
70 (require 'mouse): To shush compiler. 306 (require 'mouse): To shush compiler.
71 307
72 * Use new function mh-require-cl throughout. 308 * Use new function mh-require-cl throughout.
73 309
74 * Add arch taglines (courtesy Miles Bader). 310 * Add arch taglines (courtesy Miles Bader).
85 Color Dithering. 321 Color Dithering.
86 3. File > Save As file.xbm. 322 3. File > Save As file.xbm.
87 4. Run xbmtopbm < file.xbm > file.pbm. 323 4. Run xbmtopbm < file.xbm > file.pbm.
88 Thanks to jan.h.d@swipnet.se for the help. 324 Thanks to jan.h.d@swipnet.se for the help.
89 325
326 2004-07-07 Stephen Gildea
327
328 * mh-customize.el (mh-invisible-header-fields-internal):
329 Add X-Greylist, X-Source*, and X-WebTV-Signature.
330 Replace specific X-Spam-* headers with general pattern.
331
332 2004-06-15 Bill Wohler <wohler@newt.com>
333
334 * README: Vladimir Ivanovic reports that mh-rmail works with
335 XEmacs 21.5.17, so updated requirements text accordingly (closes
336 SF #644321).
337
338 2004-05-12 Satyaki Das <satyaki@theforce.stanford.edu>
339
340 * mh-utils.el (mh-mail-header-end): Replace call to
341 rfc822-goto-eoh with something that allows From_ lines in the mail
342 header.
343
344 2004-04-14 Bill Wohler <wohler@newt.com>
345
346 * mh-utils.el (mh-show-mouse): s/EVENT/event/. Thanks to John Paul
347 Wallington <jpw@gnu.org> for pointing this out.
348
349 2004-04-12 Satyaki Das <satyaki@theforce.stanford.edu>
350
351 * mh-e.el (mh-folder-size-flist): Add -showzero option so that the
352 parsing code doesn't get confused by the presence of -noshowzero
353 in the user's .mh_profile (closes SF #933954).
354
355 2004-04-07 Satyaki Das <satyaki@theforce.stanford.edu>
356
357 * mh-mime.el (mh-insert-mime-button)
358 (mh-insert-mime-security-button): Add evaporate property to
359 overlays used in MIME part buttons. This avoids problems with
360 CVS Emacs.
361
362 2004-03-16 Satyaki Das <satyaki@theforce.stanford.edu>
363
364 * mh-e.el (mh-folder-from-address): Go to the end of buffer if the
365 re-search-forward fails (closes SF #917096).
366
367 2004-02-02 Satyaki Das <satyaki@theforce.stanford.edu>
368
369 * mh-customize.el (mh-compose-forward-as-mime-flag): New user
370 customizable variable that controls whether messages are forwarded
371 as MIME attachments (closes SF #827203).
372
373 * mh-comp.el (mh-forward): Call forw with -mime option only if
374 mh-compose-forward-as-mime-flag is non-nil.
375
376 2003-12-26 Jeffrey C Honig <jch@honig.net>
377
378 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist)
379 (mh-spamassassin-blacklist, mh-spamassassin-blacklist)
380 (mh-spamassassin-blacklist, mh-spamassassin-whitelist)
381 (mh-spamassassin-whitelist, mh-bogofilter-blacklist)
382 (mh-spamprobe-blacklist): Add progress messages. Change "Couldn't"
383 to "Unable" in error messages. Run bogofilter and spamprobe in
384 the foreground to prevent a large number of processes from
385 swamping the system.
386
387 2003-12-25 Satyaki Das <satyaki@theforce.stanford.edu>
388
389 * mh-e.el (mh-prompt-for-refile-folder): Marking the whole folder
390 and then refiling all messages throws an error, since this
391 function expects point to be on a valid scan line. The change
392 relaxes this requirement, thereby avoiding the above problem.
393
394 2003-12-14 Satyaki Das <satyaki@theforce.stanford.edu>
395
396 * mh-comp.el (mh-ascii-buffer-p): New function that checks if a
397 buffer is entirely composed of ASCII.
398 (mh-send-letter): Encode the draft if it contains non-ASCII
399 characters.
400
401 2003-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
402
403 * mh-customize.el (mh-invisible-headers): Keep only unique fields
404 in list of header fields to hide. This avoids problems in XEmacs.
405
406 2003-12-10 Satyaki Das <satyaki@theforce.stanford.edu>
407
408 * mh-seq.el (mh-thread-print-scan-lines): The imenu index was not
409 getting created for threaded index buffers. The change fixes this.
410
411 * mh-index.el (mh-index-insert-folder-headers): Always create the
412 imenu index.
413 (mh-index-create-imenu-index): Set which-func-mode to t. If
414 which-function-mode is turned on after the folder buffer has been
415 prepared, display of the folder info was being inhibited. The
416 change fixes that.
417
418 2003-12-09 Satyaki Das <satyakid@stanford.edu>
419
420 * mh-comp.el (mh-letter-mode): Setup mh-mail-header-separator
421 based on draft contents.
422 (mh-letter-mode, mh-letter-mail-header-end-marker)
423 (mh-letter-header-end): Remove use of the variable
424 mh-letter-mail-header-end-marker. Instead use
425 mh-mail-header-separator. This avoids problems in font locking
426 draft buffers (closes SF #855479).
427
428 2003-12-09 Satyaki Das <satyakid@stanford.edu>
429
430 * mh-index.el (mh-index-insert-folder-headers): Modified so that
431 imenu--index-alist is updated.
432 (mh-index-create-imenu-index): New function that generates an
433 index usable by imenu. This adds which-func-mode support to index
434 folders (closes SF #855520).
435
436 * mh-e.el (which-func, which-func-modes): Tell which-func that
437 mh-folder-mode supports it.
438 (mh-folder-mode): Add support for imenu.
439
440 2003-11-22 Peter S Galbraith <psg@debian.org>
441
442 * Makefile: renamed mh-startup.el to mh-e-autoloads.el
443
444 * README: renamed mh-startup.el to mh-e-autoloads.el
445
446 * .cvsignore: Added mh-e-autoloads.el
447
90 2003-11-18 Bill Wohler <wohler@newt.com> 448 2003-11-18 Bill Wohler <wohler@newt.com>
91 449
92 * Released MH-E version 7.4.3. 450 * Released MH-E version 7.4.3.
93 451
94 * MH-E-NEWS, README: Updated for release 7.4.3. 452 * MH-E-NEWS, README: Updated for release 7.4.3.
95 453
96 * mh-e.el (Version, mh-version): Updated for release 7.4.3. 454 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
455
456 * This patch release contains the following two patches:
97 457
98 * mh-identity.el (mh-identity-make-menu): Removed condition on 458 * mh-identity.el (mh-identity-make-menu): Removed condition on
99 mh-auto-fields-list. Use it to enable or disable menu item 459 mh-auto-fields-list. Use it to enable or disable menu item
100 instead. 460 instead.
101 461
102 * mh-customize.el (mh-identity-list): Removed defvar and moved 462 * mh-customize.el (mh-identity-list): Removed defvar and moved
103 defcustom before mh-auto-fields-list so that defvar wouldn't 463 defcustom before mh-auto-fields-list so that defvar wouldn't
104 clobber user's customization settings. 464 clobber user's customization settings.
465
466 2003-11-17 Jeffrey C Honig <jch@honig.net>
467
468 * mh-print.el (mh-print-msg): Do not print a message on deprecated
469 usage, the bindings have been removed.
470
471 * mh-e.el (mh-folder-mode-map): Remove "l" binding for
472 mh-print-msg.
473
474 * mh-utils.el (mh-show-mode-map): Remove "l" binding for
475 mh-print-msg.
476
477 2003-11-16 Satyaki Das <satyakid@stanford.edu>
478
479 * mh-comp.el (mh-beginning-of-word): Use the function
480 mh-mail-abbrev-make-syntax-table instead of the function
481 mail-abbrev-make-syntax-table.
482
483 * mh-gnus.el (mh-mail-abbrev-make-syntax-table): Add a wrapper
484 function that calls mail-abbrev-make-syntax-table if available.
485 This is needed so that MH-E built with CVS Emacs will work with
486 released versions of Emacs21 and vice versa.
487
488 2003-11-14 Peter S Galbraith <psg@debian.org>
489
490 * mh-customize.el (mh-invisible-header-fields-internal): Add
491 "X-NAI-Spam-" and "X-Spam-Report:".
492
493 2003-11-14 Mark D. Baushke <mdb@gnu.org>
494
495 * mh-customize.el (mh-invisible-header-fields-internal):
496 Add X-AntiAbuse and X-MailScanner.
497 (Patch from Stephen Gildea.)
498
499 2003-11-13 Peter S Galbraith <psg@debian.org>
500
501 * mh-identity.el (mh-identity-handler-attribution-verb): New
502 function. A new Identity handler for the attribution verb (e.g.
503 "wrote:") to allow for different identities to use different
504 languages.
505 (mh-identity-insert-attribution-verb): New function. Insert the
506 attribution verb, placing special markers so it can be deleted and
507 replaced later.
508 (mh-identity-attribution-verb-start): New variable. Holds the
509 marker for the start of the attribution verb.
510 (mh-identity-attribution-verb-end): New variable. Holds the
511 marker for the end of the attribution verb.
512
513 * mh-customize.el (mh-identity-handlers): Add new
514 ":attribution-verb" tag for the attribution-verb handler.
515 (mh-identity-list): Idem.
516
517 * mh-comp.el (mh-yank-cur-msg): Insert attribution verb using
518 mh-identity-insert-attribution-verb.
519 (mh-extract-from-attribution): Extract only the name from the From
520 line, without appending `mh-extract-from-attribution-verb' since
521 markers need to be inserted around that now.
522
523 2003-11-12 Bill Wohler <wohler@newt.com>
524
525 * mh-e.el (mh-rmail, mh-nmail): Well, actually, we run in both GNU
526 Emacs and XEmacs, so removed the "GNU" in the docstrings unless
527 one is strictly talking about GNU Emacs.
528
529 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
530 Ditto.
531
532 2003-11-11 Bill Wohler <wohler@newt.com>
533
534 * mh-customize.el (mh-customize): Minor docstring change.
535 (mh, mh-e): The short description for MH-E is: The GNU Emacs
536 Interface to the MH Mail System. Therefore, updated docstrings
537 accordingly.
538
539 * mh-comp.el (mh-smail, mh-smail-batch, mh-smail-other-window):
540 Ditto.
541
542 * mh-e.el (mh-rmail, mh-nmail): Ditto.
543
544 2003-11-10 Satyaki Das <satyakid@stanford.edu>
545
546 * mh-mime.el (mh-mml-to-mime): In case errors happen in
547 mml-to-mime, restore contents of the draft buffer (closes SF
548 #839303).
549
550 2003-11-07 Bill Wohler <wohler@newt.com>
551
552 * mh-customize.el (mh-letter-mode-hook): Moved to mh-sending-mail
553 group (where it is now documented in the manual).
554 (mh-pick-mode-hook): Moved to mh-index group (where it is now
555 documented in the manual).
556
557 * mh-loaddefs.el: Deleted per our discussion on mh-e-devel. No
558 more conflicts! No more check-ins! Anyone pulling CVS MH-E is
559 expected to compile. This file shall be added to the tarball so
560 that users of the distribution are not.
561
562 2003-11-07 Mark D. Baushke <mdb@gnu.org>
563
564 * mh-loaddefs.el: Regenerated.
565
566 * mh-customize.el (mh-forward-hook): Define new hook.
567 * mh-comp.el (mh-forward): Use it.
568
569 2003-11-07 Satyaki Das <satyakid@stanford.edu>
570
571 * mh-loaddefs.el: Regenerated.
572
573 * mh-utils.el (mh-show-toggle-mime-buttons)
574 (mh-show-display-with-external-viewer): New interactive functions
575 callable from the show buffer.
576 (mh-show-mime-map): Add bindings for "K t" and "K e".
577 (mh-show-msg): Propagate change to
578 mh-display-buttons-for-inline-parts-flag to the show buffer.
579
580 * mh-mime.el (mh-display-with-external-viewer): New interactive
581 function to display MIME parts with external viewer (closes SF
582 #839318).
583
584 * mh-e.el (mh-folder-mode): Make the variable
585 mh-display-buttons-for-inline-parts-flag buffer-local so that
586 display of MIME buttons can be toggled.
587 (mh-toggle-mime-buttons): New interactive function to toggle
588 display of MIME buttons.
589 (mh-mime-map): Modified to add bindings for "K t" and "K e".
590
591 2003-11-04 Steve Youngs <sryoungs@bigpond.net.au>
592
593 * Makefile (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
594 in XEmacs.
595 (XEMACS_LOADDEFS_COOKIE): Ditto.
596 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
597 (xemacs): Add target to build mh-loaddefs.el in XEmacs
598 (clean-xemacs): Remove `mh-loaddefs.el*'
599 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
600
601 2003-11-02 Peter S Galbraith <psg@debian.org>
602
603 * mh-init.el (mh-variant-set-variant): Reset `mh-x-mailer-string'
604 when we select an MH variant.
605
606 2003-11-02 Jeffrey C Honig <jch@honig.net>
607
608 * mh-loaddefs.el: Regenerated.
609
610 * mh-funcs.el (mh-print-msg): Move to mh-print.el.
611
612 * mh-e.el (mh-folder-mode-map): Add mh-print-msg ("l") back, it
613 will print a message that this usage is deprecated.
614
615 * mh-print.el (require, mh-ps-print-msg, mh-ps-print-msg-file):
616 Require mh-funcs for mh-note-printed. PS print functions were not
617 setting the printed notation. Move mh-print-msg here for
618 consistency. Print message if mh-print-msg invoked via deprecated
619 key binding.
620
621 2003-11-01 Peter S Galbraith <psg@debian.org>
622
623 * Makefile: Add target to make `mh-startup.el', a file containg
624 usual entry commands into MH-E to be used for users installing
625 MH-E separately from Emacs.
626
627 * README: Document the above for users.
628
629 2003-10-29 Jeffrey C Honig <jch@honig.net>
630
631 * mh-utils.el (mh-show-ps-print-map): Add "?" and "l" to
632 mh-show-ps-print-map.
633
634 * mh-e.el (mh-ps-print-map, mh-help-messages): Add "?" and "l" to
635 mh-ps-print-map. Add "l" to help message.
636
637 2003-10-27 Bill Wohler <wohler@newt.com>
638
639 * Makefile (MH-E-SRC): Moved mh-xemacs.el to new variable
640 MH-E-XEMACS-SRC.
641 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
642 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
643 (clean): Moved XEmacs-specific code to clean-xemacs.
644 (xemacs): Added clean-xemacs prerequisite. Moved down to
645 XEmacs section of file.
646 (clean-xemacs): New target to remove XEmacs-specific files.
647 (compile-xemacs): Added $(MH-E-XEMACS-SRC) prerequisite.
648 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
649
650 2003-10-27 Satyaki Das <satyakid@stanford.edu>
651
652 * mh-loaddefs.el: Regenerated.
653
654 * mh-index.el (mh-indexer-choices): Remove option for the non-free
655 glimpse indexer (closes SF #831276).
656 (mh-glimpse-binary, mh-glimpse-directory)
657 (mh-glimpse-execute-search, mh-glimpse-next-result): Functions
658 and variables to implement glimpse support are removed.
659
660 * mh-customize.el (mh-index-program): Remove option for glimpse.
661
662 2003-10-24 Satyaki Das <satyakid@stanford.edu>
663
664 * mh-customize.el: Remove top-level test for toolbar enabled
665 XEmacs since it is not needed.
666 (mh-tool-bar-define): Add test for XEmacs toolbar in the functions
667 mh-toolbar-init, mh-tool-bar-letter-buttons-set and
668 mh-tool-bar-folder-buttons-set. This enables proper compilation
669 irrespective of whether the XEmacs was built with toolbar support
670 or not.
671
672 * mh-comp.el (mh-letter-mode): Remove conditional since it is not
673 needed.
674
675 * mh-e.el (mh-folder-mode): Same as above.
676
677 * mh-utils.el (mh-show-mode): Same as above.
678
679 * mh-xemacs.el (mh-xemacs-icon-map): Remove condition on toolbar
680 presence since we want the build to work if XEmacs without
681 toolbars is used during compilation.
682
683 2003-10-23 Bill Wohler <wohler@newt.com>
684
685 * mh-customize.el: The Great Reorganization. Sorted groups
686 alphabetically. Aligned variables in customization groups with
687 manual sections. Group docstrings changed to match manual chapter
688 titles.
689
690 2003-10-22 Satyaki Das <satyakid@stanford.edu>
691
692 * mh-speed.el (timer): Avoid compiler warning in XEmacs.
693
694 2003-10-22 Steve Youngs <sryoungs@bigpond.net.au>
695
696 * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner
697 build environment.
698 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
699 'AUTOLOAD_FILE'.
700 (AUTOLOAD_PACKAGE_NAME): New.
701 (AUTOLOAD_FILE): New.
702 (all): Don't set $EMACS_HOME if building with XEmacs.
703 (xemacs): Use 'compile-xemacs' instead of 'compile'.
704 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
705 '-no-autoloads'.
706 (custom-load.elc): Allow for '-no-autoloads'.
707 (compile-xemacs): New. It allows for the '-no-autoloads' option
708 and byte-compiles all the source files with a single instance of
709 XEmacs.
710
711 * mh-e.el (mh-folder-mode): Only load the toolbar in XEmacs if
712 toolbar support is available.
713
714 * mh-comp.el (mh-letter-mode): Only load the toolbar in XEmacs if
715 toolbar support is available.
716
717 * mh-customize.el: Require 'mh-xemacs' at toplevel when
718 'mh-xemacs-flag' is non-nil.
719 Wrap all the toolbar code in a test that is true if using
720 GNU/Emacs or a toolbar-enabled XEmacs.
721
722 * mh-print.el (mh-ps-spool-a-msg): Comment out
723 `clean-message-header-flag' because it isn't used anywhere.
724
725 * mh-utils.el (mh-show-mode): Only load the toolbar in XEmacs if
726 toolbar support is available.
727
728 * mh-xemacs.el: Autoload `regexp-opt', `customize-group',
729 `view-mode', `with-electric-help', `pp', `sort-numeric-fields',
730 `reverse-region', and `goto-address' at compile time.
731 (mh-xemacs-has-toolbar-flag): New. This is non-nil when XEmacs
732 has toolbar support.
733 (mh-xemacs-toolbar-*-icon): Use it.
734
735 2003-10-21 Mark D. Baushke <mdb@gnu.org>
736
737 * mh-identity.el (mh-identity-field-handler): Fields that begin
738 with ":" must have an mh-identity-handler defined or the user
739 gets an error.
740
741 2003-10-17 Peter S Galbraith <psg@debian.org>
742
743 * mh-customize.el (mh-identity-list): This change affects users!
744 The keyword "signature" becomes ":signature". The recently added
745 keyword "pgg-default-user-id" becomes ":pgg-default-user-id".
746 (mh-auto-fields-list): The keyword "Identity" becomes ":identity".
747 (mh-identity-handlers): Idem for signature and pgg-default-user-id.
748
749 * mh-comp.el (mh-insert-auto-fields): Idem for Identity.
750
751 2003-10-17 Peter S Galbraith <psg@debian.org>
752
753 * mh-xemacs.el: Add eval-and-compile call to (load "toolbar" t t) to
754 make sure `toolbar-make-button-list' is defined. We can't use
755 require because Emacs doesn't have this library.
756
757 2003-10-16 Bill Wohler <wohler@newt.com>
758
759 * mh-customize.el (mh-signature-file-name)
760 (mh-letter-insert-signature-hook): Merge docstring with manual.
761
762 * mh-comp.el (mh-file-is-vcard-p): Checkdoc fix.
763 (mh-insert-signature): Merge docstring with manual.
764
765 * mh-customize.el (mh-junk): Changed manual link in defgroup from
766 Customizing mh-e to Junk.
767 (mh-junk-function-alist): Moved SpamAssassin to first in list on
768 the hunch that it is the most popular and should be chosen if
769 other anti-spam programs exist.
770 (mh-junk-mail-folder): Since the variable can accept values other
771 than folder names, renamed to mh-junk-disposition to more
772 accurately reflect the content. Merge docstring with manual.
773 (mh-junk-program): Moved SpamAssassin to the top of the menu for
774 the same reason presented in mh-junk-function-alist. Also, fixed
775 case of spam programs to match official usage. Merge docstring
776 with manual.
777
778 * mh-junk.el (mh-junk-blacklist):
779 s/mh-junk-mail-folder/mh-junk-disposition/. Merge docstring with
780 manual.
781 (mh-junk-whitelist): Merge docstring with manual.
782 (mh-bogofilter-blacklist): No longer suggest using automatic
783 classification so use -s instead of -Ns.
784 (mh-bogofilter-whitelist): No longer suggest using automatic
785 classification so use -n instead of -Sn.
786 (mh-spamassassin-blacklist, mh-spamassassin-whitelist): Merge
787 docstring with manual. Moved spamassassin functions to top of file
788 so functions appear in same order that they are presented in menu.
789
790 2003-10-09 Peter S Galbraith <psg@debian.org>
791
792 * mh-customize.el (mail-citation-hook): Moved from mh-comp.el and
793 made into a defcustom.
794
795 2003-10-09 Satyaki Das <satyakid@stanford.edu>
796
797 * mh-loaddefs.el: Regenerated.
798
799 * mh-comp.el (mh-get-header-field): Add autoload cookie.
800
801 * mh-utils.el (mh-show-ps-print-toggle-mime)
802 (mh-show-ps-print-toggle-color, mh-show-ps-print-toggle-faces)
803 (mh-show-ps-print-msg-file, mh-show-ps-print-msg)
804 (mh-show-ps-print-msg-show): New interactive functions callable
805 from the show buffer.
806 (mh-show-ps-print-map): New key map for printing.
807
808 * mh-e.el (mh-folder-mode-map): Remove key binding for
809 mh-print-msg.
810 (mh-ps-print-map): Add new key map for printing.
811
812 * Makefile (MH-E-SRC): Add mh-print.el.
813
814 2003-10-07 Satyaki Das <satyakid@stanford.edu>
815
816 * mh-utils.el (mh-x-image-url-fetch-image): In XEmacs,
817 make-temp-file is not present. So to avoid security problems, use
818 a temporary file in the user's home directory. This avoids issues
819 in creating files in a world-writable directory.
820
821 * mh-mime.el (mh-signature-highlight): In Emacs, arrange for the
822 overlay to be freed when it is no longer needed. Also, implement
823 signature highlighting in XEmacs.
824
825 2003-10-05 Satyaki Das <satyakid@stanford.edu>
826
827 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Respect the
828 value of `mm-verify-option' and `mm-decrypt-option'.
829 (mh-mime-display-security): Rearrange code a bit to avoid too many
830 new lines being inserted when message verification/decryption is
831 carried out while the message is being read. Also use the
832 point-m{in|ax}-marker functions to make the function easier to read.
833 (mh-mime-security-press-button): Extend the function so that the
834 user can verify/decrypt messages while reading them.
835
836 * mh-gnus.el (mm-possibly-verify-or-decrypt): Added to avoid
837 compiler warning with old Gnus.
838
839 * mh-utils.el (mh-x-image-url-sane-p): New function which checks
840 if the URL in X-Image-URL is something we can handle.
841 (mh-x-image-url-display): Don't display image if the URL looks
842 malformed.
843
844 2003-10-04 Mark D Baushke <mdb@gnu.org>
845
846 * mh-comp.el (mh-letter-menu): Simplify menu heading.
847
848 2003-10-03 Mark D Baushke <mdb@gnu.org>
849
850 * mh-mime.el (mh-mml-query-cryptographic-method): Avoid
851 revisionist history and still provide a good default.
852
853 * mh-comp.el (mh-letter-menu): Remove the Disable Security
854 parenthetical comment.
855
856 * mh-loaddefs.el: Regenerated.
857
858 * mh-customize.el (mh-mml-method-default): What method should be
859 used in secure directives.
860
861 * mh-mime.el (mh-secure-message): New function used to generate
862 the mml security tags.
863 (mh-mml-unsecure-message): New wrapper function around
864 mml-unsecure-messages.
865 (mh-mml-secure-message-sign-pgpmime): Remove function.
866 (mh-mml-secure-message-encrypt-pgpmime): Ditto.
867 (mh-mml-cryptographic-method-history): New variable.
868 (mh-mml-query-cryptographic-method): New function.
869 (mh-mml-secure-message-encrypt): Ditto.
870 (mh-mml-secure-message-signencrypt): Ditto.
871 (mh-mml-secure-message-sign): Ditto.
872
873 * mh-comp.el (mh-letter-menu, mh-letter-mode-help-messages,
874 (mh-letter-mode-map): Update to use new functions.
875
876 2003-09-26 Satyaki Das <satyakid@stanford.edu>
877
878 * mh-seq.el (mh-interactive-range): The function has been
879 extended so that it now takes a default result to return if no
880 interactive prefix arg is given and no region is active.
881
882 * mh-e.el (mh-add-sequence-notation): If transient-mark-mode is
883 on, then the active region is deactivated based on whether a user
884 sequence or a internal sequence is being notated. The change
885 removes this inconsistency.
886 (mh-catchup, mh-folder-map): A new interactive function to mark
887 messages as read has been added and bound to "F c" in the folder
888 mode.
889
890 * mh-utils.el (mh-show-catchup, mh-show-folder-map): New
891 interactive function callable from show mode buffers has been
892 bound to "F c".
893
894 2003-09-24 Bill Wohler <wohler@newt.com>
895
896 * mh-customize.el (mh-clean-message-header-flag)
897 (mh-invisible-header-fields-default, mh-invisible-header-fields):
898 Merge docstring with manual.
899
900 2003-09-24 Mark D. Baushke <mdb@gnu.org>
901
902 * mh-junk.el (mh-junk-blacklist): Junked messages should be put
903 into the mh-seen-list to avoid propagating the unseen sequence
904 into the spam folder.
905
906 * mh-loaddefs.el: Regenerated.
907
908 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional
909 dontsign argument to remove an existing secure message directive.
910 Update the docstring -- this fuction does not allow for
911 encrypt/sign, just sign directives.
912
913 * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use
914 mml-insert-tag directly to provide a sender if
915 mh-identity-pgg-default-user-id is set.
916 (mh-mml-secure-message-encrypt-pgpmime): Use mml-insert-tag
917 directly to provide a sender if this message is to be both signed
918 and encrypted and mh-identity-pgg-default-user-id is set.
919
920 2003-09-23 Bill Wohler <wohler@newt.com>
921
922 * mh-alias.el (Commentary): Removed as it is now in the manual.
923 (mh-alias-system-aliases): Moved here from mh-customize.el. By
924 definition, "system" definitions are not user-visible, and user
925 filenames are in the the Aliasfile: profile component, so this
926 variable really shouldn't be a defcustom
927 (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload)
928 (mh-alias-add-alias, mh-alias-grab-from-field)
929 (mh-alias-add-address-under-point, mh-alias-apropos): Merge
930 docstring with manual.
931 (mh-alias-reload-maybe): Minor comment update.
932 (mh-alias-insert-file): Merge docstring with manual. Removed
933 "[press TAB]" from prompt since users should know about completion
934 and space can be used as well.
935 (mh-alias-for-from-p): No longer returns a surprising result (t if
936 there was **not** an alias for the From field) if the From header
937 field is missing. This function now returns what you would expect
938 a function of this name to return. Renamed from
939 mh-alias-from-has-no-alias-p since negatives in the function name
940 make logic harder to follow.
941 (mh-alias-add-alias-to-file): Merge docstring with manual.
942 Improved verbiage of prompt. Aliases are now inserted "[b]efore"
943 or "[a]fter" the existing alias instead of "[i]nsert" or
944 "[a]ppend." Note how the new usage flows better.
945
946 * mh-customize.el (mh-alias): Changed manual link in defgroup from
947 Customizing mh-e to Aliases.
948 (mh-alias-grab-from-field button): mh-alias-from-has-no-alias-p
949 renamed to mh-alias-for-from-p and no longer returns surprising
950 value if there isn't a From field. Therefore, enable button if
951 there is a From header field and mh-alias-for-from-p returns nil.
952 (mh-letter-complete-function)
953 (mh-alias-completion-ignore-case-flag, mh-alias-flash-on-comma)
954 (mh-alias-insert-file, mh-alias-insertion-location)
955 (mh-alias-local-users, mh-alias-local-users-prefix)
956 (mh-alias-passwd-gecos-comma-separator-flag): Merge docstring with
957 manual.
958 (mh-alias-system-aliases): Moved to mh-alias.el.
959
960 * mh-comp.el (mh-letter-complete-function-alist): Removed comment
961 about making this customizable since I didn't think it seemed
962 appropriate in the manual.
963 (mh-letter-complete): Merge docstring with manual.
964
965 2003-09-23 Satyaki Das <satyakid@stanford.edu>
966
967 * mh-speed.el (mh-speed-flists): When exiting emacs, don't ask if
968 the flists process should be killed.
969
970 * mh-e.el (mh-folder-message-menu): Enable undo menu entry only
971 if something can be undone.
972
973 * mh-customize.el (undo): Enable undo button only if something
974 can be undone.
975
976 2003-09-22 Peter S Galbraith <psg@debian.org>
977
978 * mh-customize.el (mh-identity-handlers): New defcustom. Alist of
979 Handler functions for mh-identity (downcased) fields.
980 (mh-identity-list): Add support for pgg-default-user-id.
981
982 * mh-identity.el (mh-insert-identity): Modified to use
983 `mh-identity-handlers', adding hacking flexibility for those who
984 might need it.
985 (mh-identity-field-handler): New function. Return the handler for
986 a FIELD or nil if none set. The field name is downcased.
987 (mh-identity-handler-gpg-identity): New function; handler for pgg
988 pgp identities. It sets a buffer-local value for
989 `mh-pgg-default-user-id' which must be handled by mh-send-letter.
990 (mh-identity-pgg-default-user-id): New buffer-local variable to
991 hold the requested key ID.
992 (mh-identity-handler-signature): New function; handler t insert
993 and remove signature files.
994 (mh-identity-handler-default): New function; the default handler
995 to insert or remove generic field.
996 (mh-identity-handler-top): Insert a field at the top of the
997 header.
998 (mh-identity-handler-bottom): Insert a field at the bottom of the
999 header.
1000 (mh-header-field-delete): Make more robust wrt the field having a
1001 trailing colon or not.
1002 (mh-identity-make-menu): Add a "Customize Identities" menu entry.
1003
1004 * mh-loaddefs.el: Regenerated.
1005
1006 2003-09-21 Peter S Galbraith <psg@debian.org>
1007
1008 * mh-init.el (mh-variant-set): Bug fix for mh-variant long names
1009 with version numbers.
1010
1011 * mh-e.el (mh-scan-format): patch from Sergey Poznyakoff.
1012 GNU mailutils now supports the %(decode) format
1013
1014 2003-09-20 Satyaki Das <satyakid@stanford.edu>
1015
1016 * mh-gnus.el (mh-mm-text-html-renderer): New function to query
1017 which HTML renderer is being used by Gnus.
1018
1019 * mh-mime.el (mh-signature-highlight): Renderers used to display
1020 HTML parts garble the signature separator in various ways. The
1021 function has been modified to take that into account.
1022 (mh-mime-display-single, mh-mm-display-part): Pass the new
1023 optional argument to `mh-signature-highlight'.
1024
1025 2003-09-19 Mark D. Baushke <mdb@gnu.org>
1026
1027 * mh-mime.el (mh-have-file-command, mh-file-mime-type): Made an
1028 mh-autoload as they are used in mh-comp.el.
1029
1030 * mh-loaddefs.el: Regenerated.
1031
1032 2003-09-18 Peter S Galbraith <psg@debian.org>
1033
1034 * mh-comp.el (mh-insert-fields): Make sure field has a colon.
1035
1036 2003-09-18 Satyaki Das <satyakid@stanford.edu>
1037
1038 * mh-seq.el (mh-toggle-tick): Don't hardcode the name of the tick
1039 sequencence in the function. This would have caused improper
1040 highlighting of the tick sequence if the user had changed its
1041 name.
1042
1043 2003-09-15 Satyaki Das <satyakid@stanford.edu>
1044
1045 * mh-e.el (mh-folder-message-menu): Fix a little bug which shows
1046 up as a problem during compilation (closes SF #806577).
1047
1048 2003-09-15 Mark D. Baushke <mdb@gnu.org>
1049
1050 * mh-customize.el (mh-invisible-header-fields-internal): Added
1051 a new field for GNU mailutils per Sergey Poznyakoff.
1052
1053 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1054
1055 * mh-utils.el (vcard): Unconditionally load vcard.el, if
1056 available, so that vcards are always inlined.
1057
1058 2003-09-09 Peter S Galbraith <psg@debian.org>
1059
1060 * mh-mime.el (mh-file-mime-type-substitutions): Add entry to
1061 convert text/plain .vcf files to text/x-vcard.
1062 (mh-mime-content-types): Add text/x-vcard.
1063
1064 2003-09-09 Bill Wohler <wohler@newt.com>
1065
1066 * mh-comp.el (mh-rejected-letter-start): Added strings for qmail
1067 and exim (addresses SF #404965).
1068
1069 2003-09-09 Satyaki Das <satyakid@stanford.edu>
1070
1071 * mh-gnus.el (mm-inline-text-vcard): Make vcard display work with
1072 Gnus-5.9. The extra file vcard.el is still needed.
1073
1074 * mh-mime.el (mh-signature-highlight): New function that
1075 highlights message signatures.
1076 (mh-mm-display-part, mh-mime-display-single): Highlight signatures
1077 using `mh-signature-highlight' (closes SF #802722). More work is
1078 needed for XEmacs.
1079 (mh-mime-display): Highlight signature in non-MIME email too.
1080
1081 * mh-customize.el (mh-show-signature-face): New face used to
1082 display message signature.
1083
1084 2003-09-08 Peter S Galbraith <psg@debian.org>
1085
1086 * mh-e.el (mh-version): Do something sensible when
1087 mh-variant-in-use is undefined.
1088 * mh-junk.el (mh-spamassassin-blacklist)
1089 (mh-spamassassin-whitelist): Change options to be compatoble with
1090 old version of spamassassin (V2.20).
1091
1092 2003-09-07 Mark D. Baushke <mdb@gnu.org>
1093
1094 * mh-mime.el (mh-access-types): Per RFC 2049, the "afs"
1095 access-type for message/external-body has been removed.
1096 Update the comments to reference the current MIME RFCs
1097 2045, 2046 and 2049 rather than the obsolete RFC 1521.
1098
1099 2003-09-05 Peter S Galbraith <psg@debian.org>
1100
1101 * mh-e.el (mh-version): Bumped version number to 7.4.2+cvs.
1102
1103 2003-09-04 Satyaki Das <satyakid@stanford.edu>
1104
1105 * mh-utils.el (mh-picon-directory-list, mh-picon-directory): The
1106 mh-picon-directory-list variable supersedes mh-picon-directory.
1107 (mh-picon-existing-directory-list): New variable that contains
1108 the list of picon directories that actually exist.
1109 (mh-picon-set-directory-list): New function to update
1110 mh-picon-existing-directory-list from mh-picon-directory-list.
1111 (mh-picon-get-image): The function has been modified to search a
1112 list of possible picon source directories. The regexp to extract
1113 the username from the email address has been made smarter so that
1114 it can recognize email addresses of the form user+random@foo.net
1115 and extract "user" from there.
1116 (mh-picon-file-contents): The file type recognition code has been
1117 moved from mh-picon-get-image into this function.
1118 (mh-picon-generate-path): The function has been generalized so
1119 that searching multiple paths is now feasible.
1120
1121 * mh-pick.el, mh-e.el: Checkdoc fixes.
1122
1123 2003-09-02 Satyaki Das <satyakid@stanford.edu>
1124
1125 * mh-identity.el (eval-when): It seems that the mh-comp-loaded
1126 code isn't required any more.
1127
1128 2003-08-30 Satyaki Das <satyakid@stanford.edu>
1129
1130 * mh-init.el (mh-variant-set): Replace `error' with `message' so
1131 that Emacs CVS will compile without errors if no MH variant is
1132 present.
1133
1134 2003-08-29 Satyaki Das <satyakid@stanford.edu>
1135
1136 * mh-init.el (mh-variant-set): Add interactive spec to the
1137 function.
1138
1139 * mh-mime.el (mh-mhn-compose-external-type): Optional arguments
1140 are prompted for only if prefix arg is given.
1141
1142 2003-08-29 Mark D. Baushke <mdb@gnu.org>
1143
1144 * mh-mime.el (mh-mhn-compose-external-type): Modified to be
1145 interactive and prompts for many of the fields. Made an
1146 mh-autoload.
1147 (mh-access-types): New table derived from RFC2017, RFC1521 and
1148 RFC1738, used in a completing-read in
1149 mh-mhn-compose-external-type.
1150
1151 * mh-loaddefs.el: Regenerated.
1152
1153 2003-08-26 Satyaki Das <satyakid@stanford.edu>
1154
1155 * mh-utils.el (mh-picon-image-types, mh-picon-get-image): Avoid
1156 compiler warnings.
1157 (mh-sub-folders-actual): Parsing of the output from folders has
1158 been modified, so that it also works for MH (closes SF #792300).
1159
1160 * mh-junk.el (mh-spamassassin-whitelist): Avoid calling
1161 ietf-drums-parse-address if it isn't present.
1162 (mh-spamassassin-identify-spammers): Avoid use of puthash so that
1163 Emacs20 doesn't complain.
1164
1165 * mh-e.el (mh-colors-available-p): Wrap call to
1166 display-color-cells in a mh-funcall-if-exists to avoid compiler
1167 warning in Emacs20.
1168
1169 2003-08-25 Satyaki Das <satyakid@stanford.edu>
1170
1171 * mh-e.el (mh-colors-available-flag, mh-folder-mode): New
1172 variable to track if colors are available and it is set
1173 appropriately in mh-folder-mode.
1174 (mh-colors-available-p, mh-colors-in-use-p): Two functions to
1175 check whether colors are available and if they are actually being
1176 used.
1177 (mh-add-sequence-notation): Just changing a scan line doesn't
1178 make font-lock refontify the line in Emacs20. So explicitly
1179 refontify the scan line in such a situation.
1180 (mh-internal-seq): If colors aren't being used then treat the
1181 tick sequence like a normal user sequence.
1182
1183 * mh-seq.el (mh-put-msg-in-seq): Do font-lock highlighting after
1184 the messages have been added to the sequence.
1185 (mh-toggle-tick): Modified so that highlighting of the ticked
1186 messages will be properly done. If font-lock isn't being used or
1187 if colors aren't supported by the Emacs where MH-E is running,
1188 then the `%' character is used to annotate ticked messages.
1189
1190 * mh-utils.el (mh-picon-image-types): Since Emacs20 doesn't have
1191 image-type-available-p, wrap calls to that function in
1192 ignore-errors.
1193 (mh-add-msgs-to-seq): Do the font-lock highlighting after the
1194 messages have been added.
1195
1196 2003-08-24 Bill Wohler <wohler@newt.com>
1197
1198 * Makefile (MH-E-SRC): Replaced mh-xemacs-compat.el and
1199 mh-xemacs-icons.el with mh-xemacs.el.
1200
1201 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
1202 The XEmacs stuff gets required by mh-customize.el which is
1203 required by mh-utils.el which is required by mh-e.el. This all
1204 happens before mh-xemacs-compat was required, so all should be
1205 well.
1206
1207 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
1208 mh-xemacs-icons.el with mh-xemacs.el.
1209
1210 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
1211 and mh-xemacs-icons.el which were removed since their names
1212 exceeded DOS 8+3 limits.
1213
1214 * mh-customize.el (mh-compose-skipped-header-fields): Use
1215 uppercase for field names.
1216
1217 2003-08-21 Bill Wohler <wohler@newt.com>
1218
1219 * mh-customize.el (mh-sequences): Introduced new customization
1220 group for sequences.
1221 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1222 (mh-update-sequences-after-mh-show-flag): Moved option from
1223 mh-folder to mh-sequences group. Synced docstring with manual.
1224 (mh-index-ticked-messages-folders): Since mh-tick-seq is
1225 customizable, use it instead of tick in the docstring.
1226
1227 * mh-index.el (mh-index-ticked-messages): Since mh-tick-seq is
1228 customizable, use it instead of tick in the docstring.
1229
1230 * mh-seq.el (mh-msg-is-in-seq): Can now specify an alternate
1231 message number with a prefix argument.
1232 (mh-narrow-to-tick): Since mh-tick-seq is customizable, use it
1233 instead of tick in the docstring. Also, use mh-tick-seq instead of
1234 tick in warning message.
1235
1236 2003-08-20 Peter S Galbraith <psg@debian.org>
1237
1238 * mh-customize.el: setq mh-variant to 'none when byte-compiling,
1239 since we don't care what MH variant (if any) is on the system at
1240 that point.
1241
1242 * mh-init.el (mh-variant-set): Don't probe for MH variant when
1243 mh-variant is set to'none (during byte-compilation).
1244
1245 2003-08-19 Peter S Galbraith <psg@debian.org>
1246
1247 * mh-pick.el (mh-pick-single-dash): New defconst. Search
1248 components that are supported by single-dash option in
1249 pick.
1250 (mh-pick-regexp-builder): Use `mh-pick-single-dash' and adapt
1251 patch from Sergey Poznyakoff.
1252
1253 * mh-comp.el (mh-reply): mu-mh supports `repl -group', thanks to
1254 Sergey Poznyakof.
1255
1256 * mh-init.el: checkdoc fixes.
1257
1258 2003-08-19 Bill Wohler <wohler@newt.com>
1259
1260 * mh-seq.el: (mh-edit-pick-expr): Renamed from mh-read-pick-regexp
1261 since the new name is more indicative of what the function does.
1262 Prompt now says "Pick expression" instead of "Pick regexp".
1263 (mh-narrow-to-subject): Rewrote function to behave like other
1264 similar functions.
1265 (mh-narrow-to-header-field, mh-narrow-to-range)
1266 (mh-narrow-to-tick): s/regexp/pick-expr/.
1267 (mh-widen, mh-narrow-to-from, mh-narrow-to-cc, mh-narrow-to-to):
1268 Synced docstrings with manual
105 1269
106 2003-08-19 Bill Wohler <wohler@newt.com> 1270 2003-08-19 Bill Wohler <wohler@newt.com>
107 1271
108 * Released MH-E version 7.4.2. 1272 * Released MH-E version 7.4.2.
109 1273
128 (mh-collect-folder-names-filter): Don't consider folder names that 1292 (mh-collect-folder-names-filter): Don't consider folder names that
129 start with a `.' character. This is needed since the folders 1293 start with a `.' character. This is needed since the folders
130 command doesn't filter them out like flists does. 1294 command doesn't filter them out like flists does.
131 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF 1295 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
132 #791021). 1296 #791021).
1297
1298 2003-08-18 Bill Wohler <wohler@newt.com>
1299
1300 * mh-index.el (mh-index-sequenced-messages)
1301 (mh-index-new-messages, mh-index-ticked-messages): Updated
1302 docstrings from manual (closes SF #718833).
1303
1304 * mh-customize.el (mh-variant): Checkdoc fix.
1305 (mh-index-new-messages-folders): Don't mention defvar in
1306 docstring, use `+inbox' instead.
1307 (mh-index-ticked-messages-folders): Don't mention defvar in
1308 docstring, use `tick' instead.
1309
1310 * mh-comp.el (mh-repl-group-formfile): Checkdoc fix.
1311
1312 2003-08-18 Peter S Galbraith <psg@debian.org>
1313
1314 * mh-init.el (mh-variant-set, mh-sys-path, mh-variant-info): Add
1315 support for GNU mailutils.
1316 (mh-variant-mu-mh-info): New function to detect mu-mh and return
1317 info about it for `mh-variants'.
1318
1319 * mh-e.el (mh-regenerate-headers): mu-mh has different error
1320 message for a invalid mesage list.
1321
1322 2003-08-18 Peter S Galbraith <psg@debian.org>
1323
1324 * mh-customize.el (mh-e): New defgroup. Sort of an alias for the
1325 'mh group that a user might be more likely to find.
1326
1327 2003-08-18 Bill Wohler <wohler@newt.com>
1328
1329 * mh-comp.el (mh-insert-auto-fields-done-local): Docstring tweak.
1330 (mh-compose-and-send-mail): Do not call mh-insert-auto-fields.
1331 This should be done only once in mh-send-letter.
1332
1333 2003-08-18 Peter S Galbraith <psg@debian.org>
1334
1335 * mh-comp.el (mh-letter-mode): Call `mh-find-path unconditionally,
1336 like elsewehere in MH-E.
1337
1338 * mh-utils.el (mh-find-path): Run setup code only if
1339 `mh-find-path-run' is nil such that this is only done once.
1340 Also remove the `setq' for `read-mail-command' and `mail-user-agent'.
1341
1342 2003-08-18 Peter S Galbraith <psg@debian.org>
1343
1344 * mh-e.el: require 'mh-utils first
1345
1346 * mh-customize.el (mh-variant): defcustom moved here.
1347
1348 * mh-init.el (mh-variants): Made an mh-autoload.
1349
1350 2003-08-18 Peter S Galbraith <psg@debian.org>
1351
1352 * Makefile (MH-E-SRC): Added mh-init.el to MH-E-SRC.
1353
1354 * mh-utils.el (mh-find-progs): Deleted. Make obsolete by mh-init.el.
1355 (mh-find-path): Call `mh-variants' instead of now obsolete
1356 `mh-find-progs'.
1357 (mh-path-search): Deleted. Was only used by `mh-find-progs'.
1358
1359 * mh-e.el: require mh-init.el.
1360 (mh-version): Use simpler `mh-variant-in-use'.
1361 (mh-scan-format): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1362
1363 * mh-comp.el (mh-insert-x-mailer): Use simpler `mh-variant-in-use'.
1364
1365 * mh-utils.el (mh-progs, mh-lib, mh-lib-progs)
1366 (mh-flists-present-flag): Moved to mh-init.el.
1367 (mh-nmh-flag): Deleted. Use (mh-variant-p 'nmh) instead.
1368
1369 * mh-comp.el (mh-repl-group-formfile, mh-forward, mh-reply)
1370 (mh-send-letter): Use (mh-variant-p 'nmh) instead of mh-nmh-flag.
1371
1372 * mh-mime.el (mh-edit-mhn, mh-mime-save-parts): Use (mh-variant-p
1373 'nmh) instead of mh-nmh-flag.
1374
1375 2003-08-16 Bill Wohler <wohler@newt.com>
1376
1377 * mh-customize.el (mh-folder-selection): New group to hold
1378 variables described in Folder Selection section in manual.
1379 (mh-default-folder-list, mh-default-folder-must-exist-flag,
1380 mh-default-folder-prefix): Moved to mh-folder-selection group.
1381 Updated docstrings per manual update.
1382 (mh-default-folder-for-message-function): New defcustom. Was a
1383 defvar in mh-utils.el. Updated docstring per manual update.
1384
1385 * mh-utils.el (mh-default-folder-for-message-function): Moved to
1386 mh-customize.el.
1387
1388 * mh-e.el (mh-folder-from-address, mh-prompt-for-refile-folder):
1389 Updated docstrings per manual update.
1390
1391 * mh-unit.el (mh-unit-files): Added mh-init.el.
1392
1393 2003-08-16 Peter S Galbraith <psg@debian.org>
1394
1395 * mh-init.el: New file. Code to initialize the MH-E back-end.
1396 Highlights:
1397 (mh-variant): New defcustom. Users may customize `mh-variant' to
1398 switch between available variants.
1399 (mh-variants): Available MH variants are described in this variable.
1400 (mh-variant-in-use, mh-variant-p): Developers may check which
1401 variant is currently in use with the variable `mh-variant-in-use'
1402 or the function `mh-variant-p'.
1403
1404 2003-08-15 Bill Wohler <wohler@newt.com>
1405
1406 * mh-customize.el (mh-auto-fields-list): The manual uses Fcc
1407 instead of fcc, so I've changed the user-visible text
1408 accordingly. I've left the const alone for backwards
1409 compatibility.
1410
1411 2003-08-14 Bill Wohler <wohler@newt.com>
1412
1413 * mh-identity.el (mh-insert-identity): Changed signature deletion
1414 test to test for both markers, rather than testing to see if the
1415 start marker is bound. Since the start marker is defined in this
1416 file, it should always be bound. Suggestion by Satyaki.
1417
1418 * mh-comp.el (mh-send-letter): Go to the top of the draft so that
1419 the user can see which header fields have been inserted. I think
1420 this is more important than leaving point alone or going to the
1421 end to see the signature since Mail-Followup-To or Bcc or cc could
1422 have some deleterious effects.
1423
1424 * mh-customize.el (mh-auto-fields-prompt-flag): New variable.
1425 Non-nil means to prompt before sending if fields inserted.
1426
1427 * mh-comp.el (mh-insert-auto-fields): Now return t if fields
1428 inserted; otherwise nil.
1429 (mh-send-letter): Deleted obsolete documentation about adding
1430 X-Mailer and X-Face. Prompt before sending if auto fields added
1431 and mh-auto-fields-prompt-flag is t.
1432
1433 * mh-customize.el (mh-identity-list): Allow signature to come from
1434 mh-signature-file-name. In this case, the "signature" value is set
1435 to nil. This might not be the best implementation. Suggestions
1436 welcome.
1437
1438 * mh-identity.el (mh-insert-identity): Now that the signature can
1439 be a nil value, moved test higher up in cond so that the test for
1440 a nil value would not be executed first prevening signature
1441 handling. Handle nil signature value by calling
1442 mh-insert-signature with no arguments which means to use
1443 mh-signature-file-name.
1444
1445 * mh-comp.el (mh-insert-signature): Changed text of message if no
1446 signature inserted.
1447
1448 * mh-customize.el (mh-identity-list): Changed "Signature" constant
1449 back to "signature" so it *won't* be backwards-incompatible any
1450 more. I discovered one could use the :tag keyword to get headline
1451 captalization in the menu.
1452
1453 * mh-identity.el (mh-insert-identity): Ditto.
1454
1455 * mh-identity.el (mh-identity-make-menu): Always build menu.
1456 Always create Insert Auto Fields menu item. Just don't enable it
1457 if mh-auto-fields-list is nil. Enable radio buttons always. Make
1458 None a radio button choice with the other identities.
1459
1460 * mh-comp.el (mh-letter-menu): Removed cond on fboundp
1461 'easy-menu-define. We don't do this elsewhere.
1462
1463 2003-08-13 Bill Wohler <wohler@newt.com>
1464
1465 * mh-identity.el (mh-identity-make-menu, mh-insert-identity): Use
1466 headline capitalization in menu items. Even the internal names are
1467 exposed in the customize interface, so they need to be uppercase
1468 too.
1469 (mh-insert-identity): Rather than goto-char to
1470 mh-identity-signature-start before deleting, simply pass it to
1471 delete-region. When setting markers, use point-min-marker and
1472 point-max-marker instead of moving point. Set marker type of
1473 mh-identity-signature-start to t to fix a bug where changing
1474 identity deleted user's text.
1475
1476 * mh-customize.el (mh-identity-list, mh-auto-fields-list):
1477 Reworked docstring. Use headline capitalization. Commented out
1478 implementation details for later deletion or resurrection upon
1479 popular demand. N.B. If your mh-identity-list contains "signature"
1480 then you will need to either edit your .emacs file manually, or
1481 delete your existing "signature" which will become a regular field
1482 with this change and create a new signature. I figured I could get
1483 away with this since 8.0 is a major release, and coinciding with
1484 the manual update will be a MAJOR release. I apologize profusely
1485 that I didn't catch this before it was released.
1486 (mh-identity-default): Use headline capitalization in example.
1487
1488 2003-08-12 Jeffrey C Honig <jch@honig.net>
1489
1490 * mh-customize.el (mh-alias-reloaded-hook): Define
1491 `mh-alias-reloaded-hook'.
1492
1493 * mh-alias.el (mh-alias-reload): Run `mh-alias-reloaded-hook'
1494 after reloading the aliases.
1495
1496 2003-08-12 Mark D. Baushke <mdb@gnu.org>
1497
1498 * mh-comp.el (mh-insert-signature): Use functionp to avoid
1499 the possibility of doing a funcall on a void function.
1500
1501 2003-08-12 Bill Wohler <wohler@newt.com>
1502
1503 * mh-customize.el (mh-identity): Point group manual link to new
1504 Identities section.
1505 (mh-signature-separator-flag): New variable which can be used to
1506 suppress the output of the signature separator.
1507
1508 * mh-comp.el (mh-insert-signature): Use
1509 mh-signature-separator-flag.
1510
1511 * mh-identity.el (mh-insert-identity): If the identity's signature
1512 file didn't exist, an fboundp error was thrown. This was fixed by
1513 removing signature tests that were redundant and out of date with
1514 the tests in mh-insert-signature. Removed second signature
1515 condition as it is now handled in the first signature condition.
1516
1517 2003-08-12 Peter S Galbraith <psg@debian.org>
1518
1519 * mh-identity.el (mh-insert-identity): Don't insert new lines on
1520 signatures anymore.
1521
1522 * mh-comp.el (mh-insert-signature): Make sure signature file is
1523 readable before trying to insert it.
1524
1525 2003-08-11 Bill Wohler <wohler@newt.com>
1526
1527 * mh-comp.el (mh-insert-signature): Unconditionally insert a
1528 newline so that signatures are inserted consistently, and so that
1529 there isn't any text after the cursor so that the user can start
1530 typing his message immediately. Use new variable and function
1531 mh-signature-separator and mh-signature-separator-p.
1532
1533 * mh-customize.el (mh-delete-yanked-msg-window-flag): Checkdoc
1534 fix.
1535 (mh-signature-file-name): Updated docstring now that this variable
1536 can be a function. Added cross-references to
1537 mh-signature-separator, mh-signature-separator-regexp, and
1538 mh-signature-separator-p which might be used in such functions.
1539
1540 * mh-identity.el (mh-insert-identity): Don't include signature if
1541 signature separator already present. Useful when running
1542 mh-edit-again.
1543
1544 * mh-mime.el (mh-inline-vcard-p): Use mh-signature-separator-p.
1545
1546 * mh-utils.el (mh-signature-separator-regexp): New variable
1547 containing "^-- $" which should be used when looking for the
1548 signature separator.
1549 (mh-signature-separator): New variable containing "-- \n" which
1550 should be used when inserting the signature separator.
1551 (mh-signature-separator-p): New function that returns non-nil if
1552 mh-signature-separator-regexp is found in the buffer.
1553
1554 2003-08-09 Satyaki Das <satyakid@stanford.edu>
1555
1556 * mh-utils.el (mh-x-image-scaling-function): Variable that
1557 contains function used to scale images. Possible choices are
1558 mh-x-image-scale-with-convert and mh-x-image-scale-with-pnm.
1559 (mh-convert-executable): Removed.
1560 (mh-x-image-scale-with-pnm, mh-x-image-scale-with-convert): New
1561 functions that scale images using pnm tools or ImageMagick.
1562 (mh-x-image-scale-and-display, mh-x-image-url-display): Use
1563 mh-x-image-scaling-function instead of mh-convert-executable.
1564
1565 2003-08-08 Peter S Galbraith <psg@debian.org>
1566
1567 * mh-comp.el (mh-insert-signature): Bug fix. Handle case of nil
1568 `mh-signature-file-name' and hooks correctly.
1569
1570 * mh-identity.el (mh-insert-identity): Refactor to use
1571 mh-insert-signature
1572
1573 * mh-comp.el (mh-signature-separator-p): Removed.
1574
1575 * mh-comp.el (mh-insert-signature): Merge MIME awareness from
1576 mh-insert-identity into this command. Allow
1577 `mh-signature-file-name' to be a function to call. See if "-- "
1578 needs to be inserted only after hooks have run.
1579
1580 2003-08-07 Bill Wohler <wohler@newt.com>
1581
1582 * mh-customize.el (mh-compose-skipped-header-fields): Added
1583 X-Image-URL.
1584 (mh-autoload): Removed cookies. They aren't necessary in
1585 mh-e.el, mh-utils.el, or mh-customize.el.
1586
1587 * mh-e.el (mh-autoload): Removed cookies. They aren't necessary in
1588 mh-e.el, mh-utils.el, or mh-customize.el.
1589
1590 * mh-identity.el (mh-insert-identity): Made regexp for signature
1591 separator more explicit. Hmmm, maybe we should create
1592 mh-signature-separator-regexp...
1593
1594 * mh-index.el (mh-replace-string): Moved to mh-utils.el.
1595
1596 * mh-utils.el (mh-replace-string): Moved here from mh-index.el.
1597 (mh-autoload): Removed cookies. They aren't necessary in mh-e.el,
1598 mh-utils.el, or mh-customize.el.
1599
1600 * mh-comp.el (mh-insert-signature): Added file argument to insert
1601 a file other than mh-signature-file-name. Insert signature
1602 separator, unless file already contains one.
1603
1604 2003-08-06 Satyaki Das <satyakid@stanford.edu>
1605
1606 * mh-e.el (mh-folder-size, mh-folder-size-folder)
1607 (mh-folder-size-flist): If flist is not present use folder to
1608 find the number of messages in the folder. Also the .mh_sequences
1609 file is read to find the number of unseen messages.
1610
1611 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce
1612 a new variable to test for the presence of the flists program and
1613 set it in mh-find-progs.
1614
1615 2003-08-06 Peter S Galbraith <psg@debian.org>
1616
1617 * mh-customize.el: Change the order of `mh-identity-list' and
1618 `mh-auto-fields-list' and remove byte-compilation defvar for
1619 `mh-identity-list'. This fixes a customization bug for
1620 `mh-identity-list', where it wasn't set correctly.
1621
1622 * mh-identity.el (mh-identity-make-menu): mh-auto-fields-list may
1623 not be bound yet when initially loaded.
1624
1625 2003-08-06 Bill Wohler <wohler@newt.com>
1626
1627 * mh-alias.el (mh-alias-add-address-under-point): Removed trailing
1628 period from messages. The conventions say that errors should not
1629 end with a period and that "Foo...done" messages should not end in
1630 a period, but they aren't explicit about messages in general.
1631 Given what the conventions *do* say, and because most of our
1632 messages don't end with a period, let's just say that messages in
1633 general don't end in a period, just like error messages.
1634
1635 * mh-comp.el (mh-extract-rejected-mail, mh-letter-mode-message):
1636 Ditto.
1637
1638 * mh-e.el (mh-refile-a-msg): Ditto.
1639
1640 * mh-funcs.el (mh-undo-folder): Ditto.
1641
1642 * mh-mime.el (mh-mime-save-parts): Ditto.
1643
1644 * mh-seq.el (mh-subject-to-sequence-unthreaded)
1645 (mh-narrow-to-subject, mh-delete-subject): Ditto.
1646
1647 * mh-index.el (mh-index-sequenced-messages)
1648 (mh-index-new-messages, mh-index-ticked-messages): Discovered that
1649 in general we should only use question marks in yes-or-no-p or
1650 y-or-n-p prompts, but not in other prompts that use
1651 completing-read and offer defaults. In these cases, use colons
1652 instead (closes SF #730470).
1653
1654 * mh-mime.el (mh-mime-save-parts): Ditto.
1655
1656 * mh-utils.el (mh-prompt-for-folder): Ditto.
1657
1658 * mh-alias.el (mh-alias-apropos): Multiple messages are usually
1659 shown one at a time rather than appended. Send output to
1660 mh-aliases-buffer instead of *Help*.
1661 (mh-alias-local-users): Checkdoc fix.
1662
1663 * mh-funcs.el (mh-undo-folder): Removed commented-out code since
1664 its deadline had expired.
1665
1666 * mh-utils.el (mh-aliases-buffer): New buffer name, used in
1667 mh-aliases.el.
1668
1669 2003-08-06 Satyaki Das <satyakid@stanford.edu>
1670
1671 * mh-utils.el (mh-x-image-url-cache-canonicalize): Make this
1672 function work for XEmacs too.
1673 (mh-collect-folder-names): Use folders instead of flists. One
1674 advantage is that folders is available on MH while flists is not.
1675 Another is that if an explicit -sequence argument isn't given and
1676 Unseen-Sequence profile is not present then flists croaks while
1677 folders doesn't.
1678 (mh-collect-folder-names-filter): Don't consider folder names that
1679 start with a `.' character. This is needed since the folders
1680 command doesn't filter them out like flists does.
1681
1682 * mh-index.el (mh-replace-string): Add autoload for it.
1683
1684 2003-08-05 Satyaki Das <satyakid@stanford.edu>
1685
1686 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw)
1687 (mh-mml-forward-message): The variable mh-sent-from-msg can be a
1688 list. So check that the value is really a number before using it
1689 like one.
1690
1691 * mh-comp.el (mh-insert-letter): Same as above.
1692
1693 * mh-utils.el (mh-picon-get-image): Make the code that finds the
1694 address of the sender more robust.
1695 (mh-face-display-function): Make it work with XEmacs.
1696 (mh-picon-image-types): A new variable that stores what image
1697 types can be used.
1698
1699 2003-08-05 Satyaki Das <satyakid@stanford.edu>
1700
1701 * mh-customize.el (mh-tool-bar-define): Make the save button such
1702 that is activated only if the buffer needs to saved.
1703
1704 * mh-utils.el (mh-face-display-function, mh-picon-get-image): Some
1705 domains, for instance cs.cmu.edu, don't have xpm files. So we need
1706 to search for all three files. The change does that.
1707 (mh-picon-file-contents): A utility function to return the
1708 contents of a file as a string.
1709 (mh-picon-get-image): Write it as a loop to make it simpler.
1710 (mh-x-image-set-download-state): Make the link simpler.
1711
1712 2003-08-04 Satyaki Das <satyakid@stanford.edu>
1713
1714 * mh-utils.el (mh-x-image-url-display): Don't bother to try to
1715 download image if we don't have the necessary tools to display
1716 it.
1717 (mh-face-display-function): Add preliminary support for "domain"
1718 picons.
1719 (mh-picon-get-image, mh-picon-generate-path): Functions to find
1720 best match for domain in the From header field.
1721
1722 * mh-e.el (mh-previous-unread-msg): If some of the messages in the
1723 unseen sequence are not present in the folder buffer then calling
1724 this function gets stuck and can't skip over them. The change
1725 fixes this.
1726 (mh-next-unread-msg): Same as above.
1727
1728 2003-08-04 Bill Wohler <wohler@newt.com>
1729
1730 * mh-utils.el (mh-show-mode): Added cross reference to
1731 mh-folder-mode in docstring (closes SF #728638). Added
1732 \\{mh-show-mode-map} to show keymap.
1733
1734 * mh-e.el (mh-folder-mode): Added information about ranges to
1735 docstring (closes SF #728638).
1736
1737 * mh-speed.el (mh-speed-refresh): New function that calls
1738 mh-speed-flists and mh-invalidate-map.
1739 (mh-folder-speedbar-key-map): Replaced keybindings for
1740 mh-speed-invalidate-map and mh-speed-flists with a single binding
1741 for mh-speed-refresh.
1742 (mh-folder-speedbar-menu-items): Replaced menu items for Run
1743 Flists and Invalidate Cached Folders with the single menu item
1744 Refresh Speedbar in order to simplify the UI.
1745
1746 * mh-customize.el (mh-fetch-x-image-url): Added DOS as another
1747 reason not to set this to t.
1748
1749 2003-08-04 Satyaki Das <satyakid@stanford.edu>
1750
1751 * mh-e.el (mh-scan-folder): Handle ranges from user input properly.
1752
1753 2003-08-03 Satyaki Das <satyakid@stanford.edu>
1754
1755 * mh-utils.el (mh-find-msg-get-num): Removed. If threading isn't
1756 present, the messages are sorted by index. So `mh-goto-msg' was
1757 implemented as a binary search and this function was used in that
1758 implementation. So this isn't needed any more.
1759 (mh-msg-search-pat): Removed. Before the advent of message
1760 threading, this function was used to generate a regexp used to
1761 search for a particular message. It isn't used anymore. The
1762 variable `mh-scan-msg-number-regexp' should be updated and used in
1763 `mh-goto-msg' instead of hardcoding the regexp in the code. Then
1764 we might be able to better support other scan line formats in the
1765 future.
1766
1767 * mh-seq.el (mh-map-to-seq-msgs, mh-notate-seq): Removed. These
1768 functions were used to notate user sequences. But calling
1769 `mh-goto-msg' inside of a loop is inefficient. So the sequence
1770 notation code was rewritten thereby making these functions
1771 redundant.
1772 (mh-copy-line-to-point): Removed. This function was used in the
1773 implementation the now removed function `mh-copy-seq-to-point'.
1774 That function was problematic and was replaced by the less general
1775 `mh-copy-seq-to-eob'. This makes `mh-copy-line-to-point'
1776 redundant.
1777 (mh-region-to-msg-list): Removed since this is a special case of
1778 the more general `mh-range-to-msg-list'.
1779
1780 * mh-loaddefs.el: Regenerated.
1781
1782 2003-08-03 Jeffrey C Honig <jch@honig.net>
1783
1784 * mh-customize.el (mh-invisible-header-fields-default): Added
1785 several new fields to hide. Sorted the list with sort-lines.
1786
1787 2003-08-03 Peter S Galbraith <psg@debian.org>
1788
1789 * mh-customize.el (mh-invisible-headers): Variable renamed to
1790 `mh-invisible-header-fields-compiled'.
1791 (mh-invisible-headers): Implement above change.
1792
1793 * mh-utils.el (mh-display-msg): Idem.
1794
1795 * mh-mime.el (mh-mm-inline-message): Idem.
1796
1797 * mh-comp.el (mh-insert-letter): Idem.
1798
1799 2003-08-03 Bill Wohler <wohler@newt.com>
1800
1801 * mh-speed.el (mh-folder-speedbar-menu-items): Added separator
1802 between standard and MH-E menu items. Use headline capitalization
1803 in menu items.
1804
1805 * mh-utils.el (mh-temp-fetch-buffer): New constant to hold
1806 buffer name for wget output.
1807 (mh-x-image-url-fetch-image): Use mh-temp-fetch-buffer instead
1808 of hard-coded buffer name. Use make-temp-file to avoid race
1809 conditions and subsequent security issues raised in make-temp-name
1810 docstring.
1811
1812 2003-08-03 Satyaki Das <satyakid@stanford.edu>
1813
1814 * mh-utils.el (mh-wget-executable, mh-wget-choice, mh-wget-option)
1815 (mh-x-image-url-fetch-image): Support the use of `curl' and
1816 `fetch' as alternatives to `wget'.
1817 (mh-wget-choice): Change order of search.
1818 (mh-x-image-url-fetch-image): Rename buffer.
1819
1820 2003-08-03 Satyaki Das <satyakid@stanford.edu>
1821
1822 * mh-utils.el (mh-x-image-set-download-state)
1823 (mh-x-image-get-download-state): Specially named symbolic links
1824 are used to keep track of whether a X-Image-URL header field needs
1825 to downloaded the next time it is seen. These functions get and
1826 set the symlinks appropriately.
1827 (mh-x-image-url-fetch-image): Simplified since the query has been
1828 moved to `mh-x-image-url-display'. Also if wget isn't present then
1829 try again next time since the user might install wget before
1830 trying once more.
1831 (mh-x-image-scale-and-display): Handle absence of the `convert'
1832 program better. If it isn't present then we will try to display
1833 the image the next time it is encountered. Also use the -geometry
1834 option to convert since the -resize option isn't present in older
1835 versions.
1836 (mh-x-image-url-display): Move all the code that decides whether
1837 an X-Image-URL header field will be fetched in this function. Also
1838 remember the user's decision so that if the image couldn't be
1839 fetched the first time, we will try to fetch it later on without
1840 asking again.
1841
1842 2003-08-02 Peter S Galbraith <psg@debian.org>
1843
1844 * mh-alias.el (mh-alias-local-users): Exclude all aliases already
1845 in mh-alias-alist from `ali' (closes SF #772595).
1846
1847 2003-08-01 Satyaki Das <satyakid@stanford.edu>
1848
1849 * mh-utils.el (mh-x-image-display, mh-x-image-url-display): Avoid
1850 a race. The X-Image-URL is displayed asynchronously. Suppose a
1851 message with a image is shown with `mh-show'. If a different
1852 message is displayed before the image can be fetched, then the new
1853 message will have the image displayed. With this change the race
1854 is less likely to happen.
1855
1856 2003-08-01 Peter S Galbraith <psg@debian.org>
1857
1858 * mh-inc.el (mh-inc-spool-map): Fix what `mh-inc-spool-map-help'
1859 must look like as a fake `mh-help-messages' in order to work
1860 correctly in mh-help.
1861
1862 2003-07-31 Bill Wohler <wohler@newt.com>
1863
1864 * mh-inc.el (mh-inc-spool-map): Use mh-help instead of
1865 mh-ephem-message in order to display help in its own buffer
1866 instead of minibuffer.
1867
1868 * mh-utils.el (mh-help-buffer): New variable to hold the name of
1869 the MH-E help buffer name.
1870
1871 * mh-funcs.el (mh-help, mh-prefix-help): Use with-electric-help to
1872 display help messages. I observed a friend with a vision
1873 disability and the 5 seconds the help appeared on the screen was
1874 not long enough for him to lock on it. I've therefore changed the
1875 help function to display the help in its own buffer called *MH-E
1876 Help* (closes SF #493740 and SF #656631).
1877
1878 * mh-customize.el (mh-fetch-x-image-url): Changed default from nil
1879 to 'ask. Updated docstring from manual.
1880 (mh-invisible-header-fields-internal): Added X-Image-URL.
1881 (mh-show-use-xface-flag): Updated docstring from manual.
1882 (mh-x-face-file): Ditto.
1883
1884 * mh-mime.el (mh-mhn-compose-external-type): Don't insert the
1885 directory parameter if it's nil. The mhbuild man page indicates
1886 that this parameter is optional, so this should be fine.
1887
1888 * mh-comp.el (mh-letter-mode-map): Added keybindings for
1889 mh-mhn-compose-anon-ftp and
1890 mh-mhn-compose-external-compressed-tar.
1891 (mh-letter-menu): Uncommented menu items for same.
1892
1893 2003-07-30 Satyaki Das <satyakid@stanford.edu>
1894
1895 * mh-loaddefs.el: Regenerated.
1896
1897 * mh-pick.el (mh-do-pick-search): Removed since the function
1898 `mh-pick-do-search' performs the same action as this function.
1899
1900 * mh-index.el (mh-index-update-unseen): Removed since the
1901 generalized sequence synchronization code that keeps sequences in
1902 index folders in sync with the sequences in the source folders
1903 makes this function redundant.
1904
1905 * mh-e.el (mh-folder-unseen-seq-name, mh-folder-unseen-seq-list):
1906 Removed. These two functions were used in the unseen sequence
1907 highlighting before the sequence highlighting code was
1908 generalized. In any event calls to the function
1909 `mh-folder-unseen-seq-name' can be replaced by the variable
1910 `mh-unseen-seq' and calls to `mh-folder-unseen-seq-list' can be
1911 replaced with (cdr (assoc mh-unseen-seq mh-seq-list)).
1912 (mh-unmark-all-headers): Removed since this function has been
1913 superseded by mh-remove-all-notation.
1914 (mh-map-over-seqs): Removed since we now have the generalized
1915 iteration over message ranges (the `mh-iterate-on-range' macro)
1916 that can be used instead.
1917 (mh-notate-if-in-one-seq): Removed. This function was used for
1918 changing the `%' notation for user sequences. It can't be used for
1919 that purpose any more, since we have a different scheme now.
1920
1921 * mh-unit.el (mh-unit-tests): Removed since it isn't needed any
1922 more.
1923 (mh-unit): Run all function that start with the string
1924 "mh-unit-test-".
1925
1926 2003-07-30 Bill Wohler <wohler@newt.com>
1927
1928 * mh-customize.el (mh-invisible-header-fields): Checkdoc fix.
1929
1930 * mh-utils.el (mh-x-image-url-cache-canonicalize): Shortened using
1931 example in files.el:make-backup-file-name-1.
1932 (mh-face-display-function): Added X-Image-URL to docstring.
1933
1934 * mh-unit.el (mh-unit-x-image-url-cache-canonicalize): New
1935 function to test mh-x-image-url-cache-canonicalize since it lent
1936 itself well to unit testing. Had to start somewhere!
1937 (mh-unit-equal): New function that throws an error if RESULT
1938 doesn't equal EXPECTED.
1939 (mh-unit): Call mh-unit-x-image-url-cache-canonicalize.
1940
1941 2003-07-29 Satyaki Das <satyakid@stanford.edu>
1942
1943 * mh-unit.el (mh-unit-update-call-graph): Make the function work
1944 better with dotted lists, that is lists of the form (a b c . d)
1945 where `d' isn't nil. With this we are able to avoid marking some
1946 functions as unused even though they are actually used in alists.
1947
1948 2003-07-28 Peter S Galbraith <psg@debian.org>
1949
1950 * mh-comp.el (mh-insert-letter): Remove `mh-visible-headers'
1951 operation.
1952
1953 * mh-mime.el (mh-mm-inline-message): Same.
1954
1955 * mh-utils.el (mh-display-msg): Same.
1956 (mh-clean-msg-header): Make a note of above change.
1957
1958 * mh-customize.el (mh-invisible-header-fields-internal): Renamed
1959 from prior `mh-invisible-header-fields-default'.
1960 (mh-invisible-header-fields-default): Renamed from prior
1961 `mh-invisible-header-fields-default-override'.
1962 (mh-invisible-header-fields): Renamed from prior
1963 `mh-invisible-header-fields-user'.
1964 (mh-visible-headers): Removed! We use invisible fields only now.
1965 (mh-visible-header-fields): Removed!
1966
1967 2003-07-28 Peter S Galbraith <psg@debian.org>
1968
1969 * mh-customize.el (mh-invisible-header-fields-default): Added 3
1970 new fields to hide.
1971
1972 2003-07-28 Satyaki Das <satyakid@stanford.edu>
1973
1974 * mh-utils.el (mh-show): Add an extra argument to the function so
1975 that interactive use will always force redisplay of the message.
1976
1977 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Bind the
1978 variables `mm-verify-option' and `mm-decrypt-option' so that
1979 verification and decryption of mail can happen without any
1980 additional tinkering.
1981
1982 2003-07-25 Peter S Galbraith <psg@debian.org>
1983
1984 * mh-customize.el (mh-invisible-header-fields-default): New defvar
1985 holding default fields to hide. This replaces the old
1986 `mh-invisible-header-fields' defcustom.
1987 (mh-invisible-header-fields-user): New defcustom. Users add
1988 fields to suppress that we didn't include in
1989 `mh-invisible-header-fields-default'. This could be named simply
1990 `mh-invisible-header-fields' and it wouldn't really break anything
1991 for users who have customized it to a long list now redundant with
1992 `mh-invisible-header-fields-default'.
1993 (mh-invisible-header-fields-default-override): New defcustom.
1994 Users check off the fields they want displyed from what we
1995 included in `mh-invisible-header-fields-default'.
1996 (mh-invisible-headers): Function adapted to new variables.
1997
1998 2003-07-25 Satyaki Das <satyakid@stanford.edu>
1999
2000 * mh-e.el (mh-inc-folder): If the user is in a different folder
2001 displaying a message and runs mh-inc-folder, then the folder
2002 changes to +inbox but the show window continues to display the
2003 message in the old folder. The change fixes this.
2004 (mh-visit-folder): Make the handling of the show window similar to
2005 that of mh-inc-folder.
2006
2007 2003-07-24 Satyaki Das <satyakid@stanford.edu>
2008
2009 * mh-e.el (mh-folder-message-menu, mh-folder-folder-menu): Use the
2010 predicate mh-outstanding-commands-p instead of its exapansion.
2011 Also use the same label in both menus.
2012 (mh-outstanding-commands-p): Generalized so that it will work in
2013 mh-show-mode buffers as well.
2014
2015 * mh-customize.el (mh-tool-bar-define): Enable tool-bar button for
2016 mh-execute-commands only if there are pending deletes or refiles.
2017
2018 2003-07-19 Satyaki Das <satyakid@stanford.edu>
2019
2020 * mh-utils.el (mh-show-msg): If a unseen message is first marked
2021 for deletion/refiling and then displayed, the bold highlighting
2022 does not go away. This change fixes that.
2023
2024 * mh-seq.el (mh-msg-is-in-seq): Fix a bug in the function. If any
2025 message was marked for refiling, then the function would have you
2026 believe that every message in the folder is being refiled.
2027
2028 2003-07-17 Bill Wohler <wohler@newt.com>
2029
2030 * mh-e.el: Removed email address for Stephen Gildea's in Change
2031 Log at his request (damn spammers). Removed other email addresses
2032 while I was at it since the SourceForge URL should be sufficient
2033 contact information.
2034
2035 (mh-scan-format-*mh): Fixed typo in comment above these variables.
2036 These variables are used if mh-scan-format-file is t, not nil.
2037 Also mh-scan-format-file is no longer "above" (courtesy Stephen
2038 Gildea).
2039
2040 2003-07-17 Satyaki Das <satyakid@stanford.edu>
2041
2042 * mh-mime.el (mh-mhn-quote-unescaped-sharp): New function that
2043 quotes `#' characters in the first column that aren't part of a
2044 MHN directive.
2045 (mh-mhn-directive-present-p): Generalized to allow the function
2046 to search for MHN directives in a part of the buffer.
2047 (mh-edit-mhn): Quote unescaped `#' characters in the draft (closes
2048 SF #762464).
2049
2050 2003-07-16 Satyaki Das <satyakid@stanford.edu>
2051
2052 * mh-alias.el (mh-alias-read-address-map): If
2053 mh-alias-flash-on-comma is nil when mh-alias is loaded, then
2054 setting mh-alias-flash-on-comma to t later on doesn't turn on
2055 address completion display till Emacs is restarted. The change
2056 fixes this.
2057
2058 2003-07-15 Bill Wohler <wohler@newt.com>
2059
2060 * mh-utils.el (mh-cmd-note): Cleaned up docstring (changed phrase
2061 to sentences). Moved to Scan Line Formats section.
2062 (mh-scan-msg-number-regexp)
2063 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2064 (mh-scan-msg-format-string, mh-scan-msg-search-regexp): Cleaned up
2065 docstrings (changed phrases to sentences).
2066 (mh-note-seq): Cleaned up docstring (changed phrase to sentences).
2067 Also, this variable is now a character and not a string. Moved to
2068 Scan Line Formats section.
2069
2070 * mh-funcs.el (mh-note-copied, mh-note-printed): Cleaned up
2071 docstrings (changed phrases to sentences). Also, these variables
2072 are now characters and not strings.
2073
2074 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Filled. I was
2075 hoping to quote the hint `t' but checkdoc wouldn't let me.
2076 (mh-note-deleted, mh-note-refiled, mh-note-cur): Moved to Scan
2077 Line Formats section.
2078 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2079 (mh-scan-refiled-msg-regexp, mh-scan-valid-regexp)
2080 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
2081 (mh-scan-rcpt-regexp, mh-scan-body-regexp)
2082 (mh-scan-subject-regexp, mh-scan-format-regexp): Cleaned
2083 up docstrings (changed phrases to sentences).
2084 (mh-scan-cur-msg-regexp): Marked this variable as obsolete; it
2085 should be removed for 8.0.
2086
2087 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Cleaned
2088 up docstrings (changed phrases to sentences). Also, these
2089 variables are now characters and not strings.
2090
2091 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2092
2093 * mh-index.el (mh-index-update-single-msg)
2094 (mh-index-create-sequences): Handle the situation where there are
2095 copies of the exact same message correctly.
2096
2097 2003-07-15 Satyaki Das <satyakid@stanford.edu>
2098
2099 * mh-seq.el (mh-thread-update-scan-line-map): Modified since
2100 notation is already a character.
2101
2102 * mh-utils.el (mh-note-seq): Convert from string to character.
2103 (mh-notate): Modified since characters are used to notate instead
2104 of strings of length one.
2105
2106 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Convert
2107 from string to characters.
2108
2109 * mh-e.el (mh-note-deleted, mh-note-refiled, mh-note-cur): Same as
2110 above (closes SF #770772).
2111 (mh-unmark-all-headers): Modified since mh-note-* variables are
2112 now characters.
2113 (mh-remove-sequence-notation): The mh-notate function remembers
2114 the previous notation. Before the change to the mh-note-*
2115 variables, mh-notate would only remember the change if a string
2116 was used to notate the message. Now mh-notate is always called
2117 with a character notation. So the deletion has to take place
2118 explicitly.
2119
2120 2003-06-28 Bill Wohler <wohler@newt.com>
2121
2122 * mh-mime.el (mh-mhn-directive-present-p): If shell comments are
2123 present that have a space after the # but no content, then this
2124 function would throw an error. This has been fixed (closes SF
2125 #762458).
2126
2127 2003-06-27 Satyaki Das <satyakid@stanford.edu>
2128
2129 * mh-index.el (mh-index-search): Use the new and improved
2130 mh-index-new-folder.
2131 (mh-index-new-folder): Improved so that redoing the same search
2132 will reuse the old index folder.
2133 (mh-index-folder-search-regexp): New function which that extracts
2134 out the search expression that produced the index folder.
2135
2136 2003-06-24 Bill Wohler <wohler@newt.com>
2137
2138 * mh-e.el (Version, mh-version): Set to 7.4.1+cvs.
133 2139
134 2003-06-25 Bill Wohler <wohler@newt.com> 2140 2003-06-25 Bill Wohler <wohler@newt.com>
135 2141
136 * Released MH-E version 7.4.1. 2142 * Released MH-E version 7.4.1.
137 2143