Use define-minor-mode where applicable.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
1 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
4 * mh-e.el (mh-showing-mode): Use define-minor-mode.
5
6 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7
8 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
9 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
10 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
11 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
12 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
13 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
14 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
15 (mh-scan-subject-regexp, mh-update-scan-format)
16 (mh-msg-num-width-to-column): Fix typos in docstrings.
17
18 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
19
20 * Branch for 23.2.
21
22 2009-12-01 Bill Wohler <wohler@newt.com>
23
24 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
25 Fix typo in database path.
26 (mh-namazu-execute-search): Specify -q in example since namazu is
27 excessively garrulous.
28
29 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * mh-thread.el (mh-thread-set-tables):
32 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
33 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
34 (mh-speed-invalidate-map, mh-speed-add-folder):
35 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
36 * mh-seq.el (mh-list-sequences):
37 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
38 (mh-index-delete-from-sequence, mh-index-update-maps):
39 * mh-scan.el (mh-msg-num-width):
40 * mh-print.el (mh-ps-spool-buffer):
41 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
42 (mh-file-mime-type):
43 * mh-letter.el (mh-yank-cur-msg):
44 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
45 (mh-store-buffer):
46 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
47 (mh-prompt-for-refile-folder):
48 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
49 (mh-handle-process-error, mh-variant-info):
50 * mh-comp.el (mh-forward):
51 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
52 (mh-alias-add-alias-to-file): Use with-current-buffer.
53
54 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * mh-e.el: Load mh-loaddefs during compilation as well.
57
58 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
59
60 * mh-e.el (mh-loaddefs): Load rather than require.
61
62 2009-10-06 Glenn Morris <rgm@gnu.org>
63
64 * mh-show.el (mh-show-msg): Use window-full-height-p.
65
66 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
69 => (default-value 'buffer-file-coding-system).
70
71 2009-08-10 Bill Wohler <wohler@newt.com>
72
73 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
74 (mh-spamprobe-blacklist): Sync docstring with manual.
75
76 2009-07-22 Kevin Ryde <user42@zip.com.au>
77
78 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
79 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
80
81 2009-06-13 Bill Wohler <wohler@newt.com>
82
83 Release MH-E version 8.2.
84
85 * mh-e.el (Version, mh-version): Update for release 8.2.
86
87 * mh-seq.el (mh-folder-size-flist)
88 * mh-speed.el (mh-speed-parse-flists-output)
89 * mh-xface.el (mh-face-display-function): Remove trailing space.
90
91 2009-03-13 D. Goel <deego3@gmail.com>
92
93 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
94 to list.
95
96 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
97 * mh-xface.el (mh-face-display-function): Ditto.
98 * mh-search.el (mh-index-parse-search-regexp): Ditto.
99
100 * mh-thread.el (mh-thread-generate): Ditto.
101
102 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
103 We want to avoid emacs using m-v facilities.
104 (mh-folder-size-folder): Ditto.
105 (mh-parse-flist-output-line): Ditto.
106 * mh-thread.el (mh-thread-prune-subject): Ditto.
107 * mh-xface.el (mh-picon-get-image): Ditto.
108 (mh-picon-file-contents): Ditto.
109 * mh-search.el (mh-index-evaluate): Ditto.
110
111 2009-01-27 Bill Wohler <wohler@newt.com>
112
113 * mh-funcs.el (mh-pack-folder): Fix docstring.
114
115 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
116
117 * mh-gnus.el (mh-mm-merge-handles)
118 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
119 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
120 code from Gnus 5.11 (closes SF #2235022).
121
122 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
123
124 * mh-e.el (mh-pack-folder-hook): New variable.
125 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
126
127 2009-01-26 Bill Wohler <wohler@newt.com>
128
129 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
130 instead of -* in regexp.
131
132 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
133 help.
134
135 2009-01-09 Glenn Morris <rgm@gnu.org>
136
137 * mh-letter.el: Replace last-input-char with last-input-event.
138
139 2008-08-18 Bill Wohler <wohler@newt.com>
140
141 Release MH-E version 8.1.
142
143 * mh-e.el (Version, mh-version): Update for release 8.1.
144
145 2008-08-11 Bill Wohler <wohler@newt.com>
146
147 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
148 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
149 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
150 docstring.
151
152 * mh-comp.el (mh-reply)
153 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
154 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
155 (mh-scan-format-file)
156 * mh-folder.el (mh-regenerate-headers)
157 * mh-scan.el (mh-scan-format)
158 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
159 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
160 thanks to Darel Henman) (closes SF #1768928).
161
162 2008-08-01 Bill Wohler <wohler@newt.com>
163
164 * mh-show.el (mh-show-preferred-alternative)
165 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
166
167 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
168 mh-annotate-msg-hook in docstring.
169
170 2008-06-29 Jeffrey C Honig <jch@honig.net>
171
172 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
173 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
174 antivirus/anti-spam) and X-RIM (Research In Motion).
175
176 2008-06-20 Stephen Eglen <stephen@gnu.org>
177
178 * mh-show.el (mh-defun-show-buffer): Use `...' rather than than
179 "..." in generated docstrings.
180
181 2008-06-12 Glenn Morris <rgm@gnu.org>
182
183 * mh-seq.el (tool-bar-map): Define for compiler.
184
185 * mh-folder.el (mh-folder-mode):
186 * mh-letter.el (mh-letter-mode):
187 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
188
189 2008-06-08 John Paul Wallington <jpw@pobox.com>
190
191 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
192 `defun-mh' and `defmacro-mh'.
193
194 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
195
196 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
197
198 * mh-letter.el (mh-complete-word): Doc fix.
199
200 2008-06-02 John Paul Wallington <jpw@pobox.com>
201
202 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
203
204 2008-06-01 John Paul Wallington <jpw@pobox.com>
205
206 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
207 `package-version' info.
208
209 2008-05-26 Jeffrey C Honig <jch@honig.net>
210
211 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
212 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
213 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
214 X-Usenet-Provider.
215
216 2008-05-23 Bill Wohler <wohler@newt.com>
217
218 * mh-e.el (mh-invisible-header-fields-internal): Remove
219 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
220
221 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
222
223 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
224 when converting to or from MIME (closes SF #1966722).
225
226 2008-05-19 Bill Wohler <wohler@newt.com>
227
228 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
229 case-insensitive way and add comment about it. Add many header
230 fields (closes SF #1916032).
231
232 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
233
234 * mh-utils.el (mh-find-path): Don't throw error if MH environment
235 variable is being used (closes SF #1946861).
236
237 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
238
239 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
240 search string to support org-mode (closes SF #1965704).
241
242 2008-03-18 Bill Wohler <wohler@newt.com>
243
244 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
245 Seal-Send-Time.
246 (mh-invisible-header-fields, mh-invisible-header-fields-default):
247 Update URL to bug report for users to report ignored fields.
248
249 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
252 Use set-buffer-multibyte...
253 (mh-face-display-function, mh-x-image-display): ...rather than bind
254 default-enable-multibyte-characters.
255
256 2008-02-24 Bill Wohler <wohler@newt.com>
257
258 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
259 when sending synchronously too.
260
261 2008-02-19 Bill Wohler <wohler@newt.com>
262
263 * mh-comp.el (mh-annotate-msg):
264 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
265 whitespace.
266
267 2008-01-30 Bill Wohler <wohler@newt.com>
268
269 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
270 absent. Fixes "Wrong type argument: stringp, nil" error.
271
272 2007-12-02 Glenn Morris <rgm@gnu.org>
273
274 * mh-mime.el (mail-strip-quoted-names): Autoload it.
275
276 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
277
278 * mh-e.el (mh-xemacs-flag): Remove.
279 (mh-min-colors-defined-flag):
280 * mh-xface.el (mh-show-xface-function):
281 * mh-utils.el (mh-colors-available-p):
282 * mh-show.el (mh-show-mode):
283 * mh-gnus.el (mh-gnus-local-map-property):
284 * mh-folder.el (mh-folder-mode-map)
285 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
286 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
287 with (featurep 'xemacs).
288
289 2007-09-11 Bill Wohler <wohler@newt.com>
290
291 * mh-e.el (Version, mh-version): Add +cvs to version.
292
293 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
294
295 * mh-e.el (mh-annotate-msg-hook): New variable.
296
297 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
298 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
299
300 2007-08-21 Jeffrey C Honig <jch@honig.net>
301
302 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
303 folder mode support for mh-show-preferred-alternative (closes SF
304 #1777321).
305
306 * mh-show.el (mh-show-preferred-alternative)
307 (mh-show-write-message-to-file, mh-show-message-menu)
308 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
309 ":") which will show the message's preferred alternative
310 overriding the users configured preference. Useful for showing
311 HTML when text content is lacking (closes SF #1777321).
312
313 * mh-e.el:
314 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
315 known exclusions as comments before the list and move parens to
316 separate lines to aid in sorting (closes SF #1701231).
317
318 * mh-mime.el (mm-decode-body): Remove explicit autoload of
319 mh-alias-expand.
320
321 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
322 mh-alias-expand.
323
324 2007-08-20 Jeffrey C Honig <jch@honig.net>
325
326 * mh-mime.el (message-options-set): Add missing autoloads from my
327 last change.
328
329 * mh-comp.el (mh-forward): When forwarding with mml, messages are
330 no longer included in reverse order (closes SF #1730393).
331
332 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
333 attachments (closes SF #1378993).
334
335 2008-02-06 Richard Stallman <rms@gnu.org>
336
337 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
338
339 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
340 (with-mh-folder-updating, mh-in-show-buffer)
341 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
342 (mh-do-at-event-location): Add debug decls.
343 (mh-seq-msgs): Use defsubst.
344
345 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
346
347 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
348 * mh-xface.el (mh-x-image-url-cache-canonicalize):
349 Replace `legal' with `valid'.
350
351 2007-08-19 Jeffrey C Honig <jch@honig.net>
352
353 * mh-e.el (mh-invisible-header-fields-internal): We want to show
354 Comments: and hide Comment:, not the other way around.
355
356 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
357 aliases. So resolve aliases before passing addresses to GPG/PGP
358 (closes SF #649226).
359
360 * mh-e.el (mh-invisible-header-fields-internal): Update with all
361 the entries from
362 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
363 own. I added attributions to entries we already had that did not
364 list an RFC.
365
366 2007-08-08 Glenn Morris <rgm@gnu.org>
367
368 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
369 doc-strings and comments.
370
371 2007-07-25 Glenn Morris <rgm@gnu.org>
372
373 * Relicense all FSF files to GPLv3 or later.
374
375 2007-07-11 Bill Wohler <wohler@newt.com>
376
377 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
378 Thanks to Henrique Martins for the help (closes SF #1749774).
379
380 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
381
382 * mh-mime.el (mh-mh-directive-present-p):
383 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
384
385 2006-11-14 Bill Wohler <wohler@newt.com>
386
387 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
388 reserved Windows filename characters (closes SF #1396499).
389
390 2006-11-13 Bill Wohler <wohler@newt.com>
391
392 Release MH-E version 8.0.3.
393
394 * mh-e.el (Version, mh-version): Update for release 8.0.3.
395
396 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
397 with "Non-nil means". Perhaps this option should have a -flag
398 appended.
399 (mh-junk-background): Sync docstring with manual.
400
401 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
402 (mh-spamprobe-blacklist): Sync docstring with manual.
403
404 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
405
406 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
407 Use mh-junk-background consistently in call-process calls.
408 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
409 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
410 Use with-current-buffer so the right thing happens if
411 mh-junk-background is t (closes SF #1594802).
412
413 * mh-e.el (mh-junk-background): Document that On value is 0;
414 t may be used for debugging.
415
416 2006-11-10 Andreas Schwab <schwab@suse.de>
417
418 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
419
420 2006-11-10 Glenn Morris <rgm@gnu.org>
421
422 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
423
424 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
425
426 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
427 quotation marks, so that the last two arguments of sa-learn
428 are separated properly (closes SF #1565460).
429 (mh-spamassassin-blacklist): In example .procmailrc, add
430 PATH element to find mhparam on Debian.
431
432 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
433
434 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
435 so that we always have a valid string for split-string even if
436 nothing is added in mh-send-letter (closes SF #1564742).
437
438 2006-07-03 Bill Wohler <wohler@newt.com>
439
440 Release MH-E version 8.0.2.
441
442 * mh-e.el (Version, mh-version): Update for release 8.0.2.
443
444 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
445
446 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
447 it refers to the icons in mh-xemacs-icon-map instead of trying to
448 declare the icons in situ. This allows mh-tool-bar.el to be
449 compiled under XEmacs. Remove initial value for
450 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
451 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
452 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
453 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
454
455 2006-07-03 Bill Wohler <wohler@newt.com>
456
457 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
458 that mh-xemacs needs functions in mh-compat.
459
460 2006-06-29 Bill Wohler <wohler@newt.com>
461
462 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
463 loop construct to be consistent with other loops, and because
464 edebug doesn't work without it.
465
466 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
467
468 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
469 redundant +s in regexp (closes SF #1514424).
470
471 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
472
473 * mh-mime.el (mh-mime-save-parts): Add -store option to
474 mhn (closes SF #1513140).
475
476 2006-06-20 Bill Wohler <wohler@newt.com>
477
478 Release MH-E version 8.0.1.
479
480 * mh-e.el (Version, mh-version): Update for release 8.0.1.
481
482 2006-06-15 Bill Wohler <wohler@newt.com>
483
484 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
485 suffix for folder names, as <> are illegal filename characters on
486 Windows (closes SF #1507002).
487
488 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
489
490 * mh-comp.el (mh-send-uses-spost): New variable.
491 (mh-send-letter): Do not use -msgid and -mime if
492 mh-send-uses-spost is t (closes SF #1486726).
493
494 2006-06-02 Bill Wohler <wohler@newt.com>
495
496 (mh-folder-exists-p): Change test from an empty buffer, to one
497 that contains the actual folder, since GNU mailutils' folder
498 command displays output if the folder doesn't exist (closes SF
499 #1499712).
500
501 2006-05-06 Bill Wohler <wohler@newt.com>
502
503 Release MH-E version 8.0.
504
505 * mh-e.el (Version, mh-version): Update for release 8.0.
506
507 2006-05-05 Bill Wohler <wohler@newt.com>
508
509 * mh-e.el: Update commentary.
510
511 2006-04-28 Bill Wohler <wohler@newt.com>
512
513 Release MH-E version 7.95.
514
515 * mh-e.el (Version, mh-version): Update for release 7.95.
516
517 2006-04-26 Eric Ding <ericding@alum.mit.edu>
518
519 * mh-e.el (mh-invisible-header-fields-internal): Add entry
520 "X-Provags-ID:".
521
522 2006-04-25 Bill Wohler <wohler@newt.com>
523
524 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
525 Folders returned by mh-folder-completion-function no longer need
526 adornment (closes SF #1476270).
527
528 2006-04-21 Bill Wohler <wohler@newt.com>
529
530 * mh-e.el (Version, mh-version): Add +cvs to version.
531
532 2006-04-21 Bill Wohler <wohler@newt.com>
533
534 Release MH-E version 7.94.
535
536 * mh-e.el (Version, mh-version): Update for release 7.94.
537
538 2006-04-21 Bill Wohler <wohler@newt.com>
539
540 * mh-letter.el (mh-insert-letter): If a message number isn't
541 given, throw an error rather than using a potentially incorrect
542 message number (closes SF #1473729). In addition, use the cur
543 message if mh-sent-from-msg is nil (when sending a message, in
544 contrast to replying). Move conversion of int to string into
545 interactive stanza so body can assume variables are of proper
546 type.
547
548 2006-04-20 Bill Wohler <wohler@newt.com>
549
550 * mh-tool-bar.el (image-load-path): Define to shush compiler.
551 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
552 isn't used outside of it.
553 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
554 Update load-path/image-load-path before setting buttons.
555 This code used to be in mh-folder-mode/mh-letter-mode but this was
556 the wrong place since mh-tool-bar-*-buttons-init can also be called
557 when customizing the buttons.
558 (mh-tool-bar-update): New function which updates tool-bar-map in
559 all of the MH-E buffers after customizing the buttons (closes SF
560 #1452718).
561 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
562 Call it (closes SF #1452718).
563
564 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
565 mh-folder-tool-bar-map instead.
566 (image-load-path): Delete. No longer used.
567 (mh-folder-mode): Moved setting of image-load-path into
568 mh-tool-bar-folder-buttons-init.
569
570 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
571 mh-letter-tool-bar-map instead.
572 (image-load-path): Delete. No longer used.
573 (mh-letter-mode): Moved setting of image-load-path into
574 mh-tool-bar-letter-buttons-init.
575
576 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
577 instead of set-buffer.
578
579 2006-04-19 Bill Wohler <wohler@newt.com>
580
581 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
582 can permanently disable a button (such as a separator) with nil.
583
584 2006-04-18 Bill Wohler <wohler@newt.com>
585
586 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
587 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
588 (mh-min-colors-defined-flag): Do not unbind these macros and
589 variables. Nice idea, but too many nasty side-effects. These
590 macros are needed by [Cc]ustom-make-dependencies when creating the
591 MH-E customization groups in mh-cus-load.el. These disappeared
592 when the macros above were introduced. Besides, if a developer
593 were to try to show the help for a macro or variable they were
594 looking at and got [No match] when they did so, that would be bad.
595
596 2006-04-17 Bill Wohler <wohler@newt.com>
597
598 * mh-comp.el (mh-insert-x-mailer): Strip build number from
599 version in X-Mailer field (closes SF #1466481).
600
601 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
602 variables and functions with the same name are found correctly by
603 find-func (invoked by clicking on the filename link in the *Help*
604 buffer).
605 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
606
607 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
608 (mh-defcustom): Rename to defcustom-mh. Ditto.
609 (mh-defface): Rename to defface-mh. Ditto.
610 (mh-font-lock-add-keywords): Make changes according to these
611 renamings.
612
613 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
614 #1472029).
615
616 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
617 have been processed by mh-normalize-folder-name.
618 (mh-folder-completion-function): Handle completion of folders with
619 absolute names. Also, when flag is t, display complete folder name
620 to provide proper highlighting in Emacs 22 now that
621 minibuffer-completing-file-name is nil (closes SF #1470518).
622 (mh-folder-completing-read): No longer set
623 minibuffer-completing-file-name to t. This was causing "Can't set
624 current directory errors" when browsing absolute file names.
625 Another benefit of this change is that SPC can be used for
626 completion again (closes SF #1470518).
627
628 2006-04-15 Bill Wohler <wohler@newt.com>
629
630 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
631
632 2006-04-14 Bill Wohler <wohler@newt.com>
633
634 * mh-funcs.el (view-exit-action): No need to wrap defvar with
635 eval-when-compile when shushing compiler.
636
637 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
638
639 * mh-seq.el (view-exit-action): Ditto.
640
641 * mh-show.el (font-lock-auto-fontify): Ditto.
642
643 * mh-utils.el (mh-speed-flists-cache): Ditto.
644
645 * mh-acros.el (struct, x, y): No need to wrap defvar with
646 eval-when-compile when shushing compiler, even when
647 mh-do-in-xemacs or another construct is used.
648
649 * mh-comp.el (sendmail-coding-system): Ditto.
650
651 * mh-e.el (mark-active): Ditto.
652
653 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
654 (image-load-path, font-lock-defaults): Ditto.
655
656 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
657
658 * mh-mime.el (dots, type, ov)
659 (mm-verify-function-alist, mm-decrypt-function-alist)
660 (pressed-details): Ditto.
661
662 * mh-search.el (pick-folder, mh-do-in-xemacs)
663 (mh-mairix-folder, mh-flists-search-folders)
664 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
665
666 * mh-seq.el (tool-bar-mode): Ditto.
667
668 * mh-utils.el (completion-root-regexp)
669 (minibuffer-completing-file-name): Ditto.
670
671 * mh-xface.el (default-enable-multibyte-characters): Ditto.
672
673 * mh-compat.el (mh-font-lock-add-keywords): New alias for
674 font-lock-add-keywords. Returns nil on XEmacs.
675
676 * mh-e.el: Add MH-E function and variable keywords such as
677 mh-defun-compat and mh-defcustom to font-lock-keywords.
678
679 2006-04-13 Bill Wohler <wohler@newt.com>
680
681 * mh-e.el (customize-package-emacs-version-alist)
682 (mh-e, mh-alias, mh-folder, mh-folder-selection)
683 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
684 (mh-scan-line-formats, mh-search, mh-sending-mail)
685 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
686 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
687 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
688 (mh-alias-insert-file, mh-alias-insertion-location)
689 (mh-alias-local-users, mh-alias-local-users-prefix)
690 (mh-alias-passwd-gecos-comma-separator-flag)
691 (mh-new-messages-folders, mh-ticked-messages-folders)
692 (mh-large-folder, mh-recenter-summary-flag)
693 (mh-recursive-folders-flag, mh-sortm-args)
694 (mh-default-folder-for-message-function)
695 (mh-default-folder-list, mh-default-folder-must-exist-flag)
696 (mh-default-folder-prefix, mh-identity-list)
697 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
698 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
699 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
700 (mh-junk-program, mh-compose-insertion)
701 (mh-compose-skipped-header-fields)
702 (mh-compose-space-does-completion-flag)
703 (mh-delete-yanked-msg-window-flag)
704 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
705 (mh-letter-complete-function, mh-letter-fill-column)
706 (mh-mml-method-default, mh-signature-file-name)
707 (mh-signature-separator-flag, mh-x-face-file)
708 (mh-yank-behavior, mh-interpret-number-as-range-flag)
709 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
710 (mh-search-program, mh-compose-forward-as-mime-flag)
711 (mh-compose-letter-function, mh-compose-prompt-flag)
712 (mh-forward-subject-format, mh-insert-x-mailer-flag)
713 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
714 (mh-reply-show-message-flag)
715 (mh-refile-preserves-sequences-flag, mh-tick-seq)
716 (mh-update-sequences-after-mh-show-flag)
717 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
718 (mh-decode-mime-flag)
719 (mh-display-buttons-for-alternatives-flag)
720 (mh-display-buttons-for-inline-parts-flag)
721 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
722 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
723 (mh-highlight-citation-style, mh-invisible-header-fields)
724 (mh-invisible-header-fields-default, mh-lpr-command-format)
725 (mh-max-inline-image-height, mh-max-inline-image-width)
726 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
727 (mh-print-background-flag, mh-show-maximum-size)
728 (mh-show-use-xface-flag, mh-store-default-directory)
729 (mh-summary-height, mh-speed-update-interval)
730 (mh-show-threads-flag, mh-tool-bar-search-function)
731 (mh-defcustom, mh-after-commands-processed-hook)
732 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
733 (mh-before-quit-hook, mh-before-send-letter-hook)
734 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
735 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
736 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
737 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
738 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
739 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
740 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
741 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
742 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
743 (mh-folder-subject, mh-folder-tick, mh-folder-to)
744 (mh-letter-header-field, mh-search-folder, mh-show-cc)
745 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
746 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
747 (mh-show-subject, mh-show-to, mh-show-xface)
748 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
749 (mh-speedbar-selected-folder)
750 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
751 notation in :package-version keyword.
752
753 2006-04-07 Bill Wohler <wohler@newt.com>
754
755 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
756 :package-version keyword.
757
758 2006-03-31 Bill Wohler <wohler@newt.com>
759
760 * mh-e.el (mh-strip-package-version): Move before use to avoid
761 compiler error. Make macro, also to avoid compiler error.
762 (mh-defface-compat): Incorporate body into mh-face-data and
763 delete.
764
765 2006-03-30 Bill Wohler <wohler@newt.com>
766
767 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
768 remove new :package-version keyword in older settings.
769 (customize-package-emacs-version-alist): Add MH-E version to Emacs
770 version mappings.
771 (mh-e, mh-alias, mh-folder, mh-folder-selection)
772 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
773 (mh-scan-line-formats, mh-search, mh-sending-mail)
774 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
775 (mh-hooks, mh-faces): Add :package-version keyword to these
776 groups (closes SF #1452724).
777 (mh-alias-completion-ignore-case-flag)
778 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
779 (mh-alias-insert-file, mh-alias-insertion-location)
780 (mh-alias-local-users, mh-alias-local-users-prefix)
781 (mh-alias-passwd-gecos-comma-separator-flag)
782 (mh-new-messages-folders, mh-ticked-messages-folders)
783 (mh-large-folder, mh-recenter-summary-flag)
784 (mh-recursive-folders-flag, mh-sortm-args)
785 (mh-default-folder-for-message-function)
786 (mh-default-folder-list, mh-default-folder-must-exist-flag)
787 (mh-default-folder-prefix, mh-identity-list)
788 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
789 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
790 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
791 (mh-junk-program, mh-compose-insertion)
792 (mh-compose-skipped-header-fields)
793 (mh-compose-space-does-completion-flag)
794 (mh-delete-yanked-msg-window-flag)
795 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
796 (mh-letter-complete-function, mh-letter-fill-column)
797 (mh-mml-method-default, mh-signature-file-name)
798 (mh-signature-separator-flag, mh-x-face-file)
799 (mh-yank-behavior, mh-interpret-number-as-range-flag)
800 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
801 (mh-search-program, mh-compose-forward-as-mime-flag)
802 (mh-compose-letter-function, mh-compose-prompt-flag)
803 (mh-forward-subject-format, mh-insert-x-mailer-flag)
804 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
805 (mh-reply-show-message-flag)
806 (mh-refile-preserves-sequences-flag, mh-tick-seq)
807 (mh-update-sequences-after-mh-show-flag)
808 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
809 (mh-decode-mime-flag)
810 (mh-display-buttons-for-alternatives-flag)
811 (mh-display-buttons-for-inline-parts-flag)
812 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
813 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
814 (mh-highlight-citation-style, mh-invisible-header-fields)
815 (mh-invisible-header-fields-default, mh-lpr-command-format)
816 (mh-max-inline-image-height, mh-max-inline-image-width)
817 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
818 (mh-print-background-flag, mh-show-maximum-size)
819 (mh-show-use-xface-flag, mh-store-default-directory)
820 (mh-summary-height, mh-speed-update-interval)
821 (mh-show-threads-flag, mh-tool-bar-search-function): Add
822 :package-version keyword to these options (closes SF #1452724).
823 (mh-after-commands-processed-hook)
824 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
825 (mh-before-quit-hook, mh-before-send-letter-hook)
826 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
827 (mh-forward-hook, mh-inc-folder-hook)
828 (mh-insert-signature-hook)
829 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
830 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
831 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
832 (mh-unseen-updated-hook): Add :package-version keyword to these
833 hooks (closes SF #1452724).
834 (mh-min-colors-defined-flag)
835 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
836 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
837 (mh-folder-msg-number, mh-folder-refiled)
838 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
839 (mh-folder-subject, mh-folder-tick, mh-folder-to)
840 (mh-letter-header-field, mh-search-folder, mh-show-cc)
841 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
842 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
843 (mh-show-subject, mh-show-to, mh-show-xface)
844 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
845 (mh-speedbar-selected-folder)
846 (mh-speedbar-selected-folder-with-unseen-messages): : Add
847 :package-version keyword to these faces (closes SF #1452724).
848
849 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
850 :package-version keywords (closes SF #1452724).
851
852 2006-03-28 Bill Wohler <wohler@newt.com>
853
854 * mh-tool-bar.el: Use clipboard-kill-region,
855 clipboard-kill-ring-save, and clipboard-yank instead of undo,
856 kill-region, and menu-bar-kill-ring-save respectively. In
857 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
858 front of mh-compose-insertion to be consistent with other mailers,
859 such as Evolution. In MH-Folder mode, move vanilla reply icon to
860 the left of the other reply icons. Use mail/inbox icon instead of
861 mail, next-page instead of page-down, delete instead of close,
862 mail/move instead of mail/refile, data-save instead of execute,
863 mail/flag-for-followup instead of highlight, contact instead of
864 mail/alias, open instead of fld-open, zoom-out instead of widen.
865
866 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
867 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
868
869 2006-03-27 Eric Ding <ericding@alum.mit.edu>
870
871 * mh-e.el (mh-invisible-header-fields-internal): Add entries
872 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
873
874 2006-03-19 Bill Wohler <wohler@newt.com>
875
876 * mh-comp.el (mh-reply): Sync docstring with manual.
877
878 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
879 docstring.
880
881 2006-03-17 Bill Wohler <wohler@newt.com>
882
883 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
884
885 2006-03-16 Bill Wohler <wohler@newt.com>
886
887 * mh-comp.el (mh-send-letter): Use split-string to break up
888 mh-send-args (closes SF #1448604).
889 (mh-compose-and-send-mail): Use run-hook-with-args for
890 mh-compose-letter-function.
891
892 * mh-e.el (mh-list-to-string-1): Use dolist.
893
894 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
895
896 2006-03-15 Bill Wohler <wohler@newt.com>
897
898 * mh-compat.el (mh-image-load-path-for-library): Fix example by
899 not recommending that one binds image-load-path. Just defvar it to
900 placate compiler and only use it if previously defined.
901
902 * mh-e.el (image-load-path): Don't bind!
903
904 * mh-folder.el (mh-folder-mode): Only use image-load-path if
905 previously defined.
906
907 * mh-letter.el (mh-letter-mode): Ditto.
908
909 * mh-utils.el (mh-logo-display): Ditto.
910
911 2006-03-14 Bill Wohler <wohler@newt.com>
912
913 * mh-compat.el (mh-image-load-path-for-library): Incorporate
914 changes from image-load-path-for-library, which are:
915 (image-load-path-for-library): Pass value of path rather than
916 symbol. Always return list of directories. Guarantee that image
917 directory comes first.
918
919 * mh-e.el (image-load-path): Define on those Emacsen that lack it
920 to avoid compile and run-time errors.
921
922 * mh-folder.el (mh-folder-mode): Use new idiom for setting
923 image-load-path.
924
925 * mh-letter.el (mh-letter-mode): Ditto.
926
927 * mh-utils.el (mh-logo-display): Ditto.
928
929 2006-03-12 Bill Wohler <wohler@newt.com>
930
931 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
932 #1448498).
933
934 2006-03-10 Bill Wohler <wohler@newt.com>
935
936 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
937 flag to replace-in-string. This was badly needed by
938 mh-quote-pick-expr in order to properly quote subjects when using
939 / s on XEmacs (closes SF #1447598).
940 (mh-image-load-path-for-library): Merged changes from Reiner. Add
941 no-error argument. If path t, just return directory.
942
943 * mh-e.el (mh-profile-component): Drop `s' from mhparam
944 -components for Mailutils compatibility (closes SF #1446985).
945
946 2006-03-06 Bill Wohler <wohler@newt.com>
947
948 * mh-e.el (Version, mh-version): Add +cvs to version.
949
950 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
951
952 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
953 handling of duplicate messages. The test in cond was too strong
954 and wasn't catching the case where origin-map was nil.
955
956 2006-03-05 Bill Wohler <wohler@newt.com>
957
958 Release MH-E version 7.93.
959
960 * mh-e.el (Version, mh-version): Update for release 7.93.
961
962 2006-03-05 Bill Wohler <wohler@newt.com>
963
964 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
965 calling mh-image-load-path-for-library since this is the default.
966
967 * mh-letter.el (mh-letter-mode): Ditto.
968
969 * mh-utils.el (mh-logo-display): Ditto.
970
971 2006-03-04 Bill Wohler <wohler@newt.com>
972
973 * mh-compat.el (mh-image-load-path-for-library): Move here from
974 mh-utils.el and wrap with mh-defun-compat since this function will
975 be soon added to image.el.
976
977 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
978 (mh-normalize-folder-name): Add return-nil-if-folder-empty
979 argument which is useful when calling mh-normalize-folder-name to
980 process the folder argument for the folders command.
981 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
982 this function more robust. It could too easily list the folders in /.
983 (mh-folder-list): Fix a couple of problems pointed out by Thomas
984 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
985
986 2006-03-03 Bill Wohler <wohler@newt.com>
987
988 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
989 mh-image-load-path-for-library.
990
991 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
992 mh-image-load-path-for-library.
993
994 * mh-utils.el (mh-image-load-path): Rename to
995 mh-image-load-path-for-library. Add example to docstring. Rename
996 local variable mh-image-directory to image-directory. Move error
997 checks to default case in cond and simplify.
998
999 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1000 docstrings with manual.
1001
1002 2006-03-02 Bill Wohler <wohler@newt.com>
1003
1004 * mh-folder.el (mh-tool-bar-init): Autoload.
1005 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1006 Set scoped variables image-load-path and load-path with updated
1007 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1008
1009 * mh-letter.el (mh-tool-bar-init): Autoload.
1010 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1011 Set scoped variables image-load-path and load-path with updated
1012 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1013
1014 * mh-show.el (mh-tool-bar-init): Autoload.
1015 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1016 GNU Emacs.
1017
1018 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1019 messages per conventions.
1020 (mh-tool-bar-folder-buttons-init)
1021 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1022 (mh-tool-bar-define call): Format.
1023
1024 * mh-utils.el (mh-image-directory)
1025 (mh-image-load-path-called-flag): Delete.
1026 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1027 changes are that it no longer uses/sets mh-image-directory or
1028 mh-image-load-path-called-flag, and returns the updated path
1029 rather than change it.
1030 (mh-logo-display): Change usage of mh-image-load-path.
1031
1032 2006-02-28 Bill Wohler <wohler@newt.com>
1033
1034 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1035 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1036 to subjects with special characters by quoting regular expression
1037 characters in pick expression derived from existing subjects and
1038 other fields (closes SF #1432548).
1039 (mh-narrow-to-subject): Remove Re: string from subject so that
1040 pick can find originating message (closes SF #1438369).
1041
1042 * mh-utils.el (mh-image-load-path): Rename variable to
1043 mh-image-directory.
1044 (mh-image-load-path): Access mh-image-directory instead of
1045 mh-image-load-path.
1046 (mh-folder-list): Fix problem with passing in a folder and getting
1047 nothing back. Fix problem with passing in empty string and getting
1048 the entire filesystem (or infinite loop). Don't append slash to
1049 folder. These fixes fix problems observed with the pick search.
1050 Thanks to Thomas Baumann for the help (closes SF #1435381).
1051 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1052 function for quoting pick regular expression characters (closes SF
1053 #1432548).
1054
1055 2006-02-27 Bill Wohler <wohler@newt.com>
1056
1057 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1058 with manual.
1059
1060 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1061 docstring about obsolete variable mh-mime-content-types.
1062
1063 * mh-e.el (mh-variant): Sync docstring with manual.
1064 (cus-face): Require as it is needed by mh-inherit-face-flag.
1065
1066 * mh-compat.el (mh-display-color-cells): Return 2 if
1067 device-color-cells returns nil (closes SF #1436924).
1068
1069 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1070 mh-display-color-cells.
1071
1072 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1073
1074 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1075 "X-Sasl-enc:".
1076
1077 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1078
1079 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1080 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1081 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1082 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1083 "X-Roving-" by removing unnecessary "*" at end.
1084
1085 2006-02-19 Bill Wohler <wohler@newt.com>
1086
1087 * mh-alias.el (mh-address-mail-regexp)
1088 (mh-goto-address-find-address-at-point): Delete copies from
1089 goto-addr.el.
1090 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1091 mh-address-mail-regexp.
1092 (mh-alias-add-address-under-point): Use
1093 goto-address-find-address-at-point instead of
1094 mh-goto-address-find-address-at-point.
1095
1096 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1097
1098 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1099 docstring.
1100 (mh-show-addr): Call goto-address unconditionally. User should use
1101 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1102
1103 2006-02-18 Bill Wohler <wohler@newt.com>
1104
1105 * mh-e.el (Version, mh-version): Add +cvs to version.
1106
1107 2006-02-18 Bill Wohler <wohler@newt.com>
1108
1109 Release MH-E version 7.92.
1110
1111 * mh-e.el (Version, mh-version): Update for release 7.92.
1112
1113 2006-02-17 Bill Wohler <wohler@newt.com>
1114
1115 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1116 backgrounds per Mark's suggestion.
1117
1118 * mh-utils.el (mh-image-load-path): Fix problem that images on
1119 load-path or image-load-path would win over relative paths (newer
1120 MH-E or Emacs distribution).
1121
1122 2006-02-16 Bill Wohler <wohler@newt.com>
1123
1124 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1125 the defface :inherit keyword is available.
1126 (mh-face-data): New variable (contains all face specs) and
1127 function (accessor).
1128 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1129 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1130 (mh-folder-msg-number, mh-folder-refiled)
1131 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1132 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1133 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1134 (mh-show-date, mh-show-from)
1135 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1136 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1137 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1138 (mh-speedbar-folder-with-unseen-messages)
1139 (mh-speedbar-selected-folder)
1140 (mh-speedbar-selected-folder-with-unseen-messages):
1141 Use mh-face-data.
1142
1143 * mh-utils.el (mh-image-load-path): The variables image-load-path
1144 or load-path would not get updated if user set mh-image-load-path.
1145 Moved tests and add-to-list calls outside of cond so they are
1146 applied consistently, even if they are redundant in some
1147 circumstances. Efficiency isn't a concern here. Made error
1148 messages more user-friendly.
1149
1150 2006-02-15 Peter S Galbraith <psg@debian.org>
1151
1152 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1153 Emacs 21 and XEmacs don't have `image-search-load-path'.
1154
1155 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1156 images are already found.
1157
1158 2006-02-10 Bill Wohler <wohler@newt.com>
1159
1160 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1161 rather than use defun*. XEmacs cannot create a proper autoload for
1162 a defun*.
1163
1164 2006-02-09 Bill Wohler <wohler@newt.com>
1165
1166 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1167 that causes an infinite loop on XEmacs.
1168
1169 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1170 argument.
1171
1172 2006-02-08 Peter S Galbraith <psg@debian.org>
1173
1174 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1175 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1176
1177 2006-02-04 Bill Wohler <wohler@newt.com>
1178
1179 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1180 has an emacsclient command that supports --eval. I had read that
1181 gnudoit was deprecated in favor of gnuclient anyway.
1182
1183 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1184
1185 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1186 handle OpenOffice documents.
1187
1188 2006-02-03 Bill Wohler <wohler@newt.com>
1189
1190 * mh-e.el (Version, mh-version): Add +cvs to version.
1191
1192 2006-02-03 Bill Wohler <wohler@newt.com>
1193
1194 Release MH-E version 7.91.
1195
1196 * mh-e.el (Version, mh-version): Update for release 7.91.
1197
1198 2006-02-03 Bill Wohler <wohler@newt.com>
1199
1200 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1201 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1202 of local variable mh-library-name.
1203
1204 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1205 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1206 88) with (min-colors 64) in face specifications so that MH-E still
1207 looks good on systems with fewer colors (such as Eric Ding's).
1208
1209 2006-02-03 Peter S Galbraith <psg@debian.org>
1210
1211 * mh-utils.el (mh-image-load-path): New variable to optionally
1212 hold the directory where MH-E images are stored. If nil, then
1213 the function `mh-image-load-path' will find it. This variable
1214 will be used for Debian packaging.
1215 (mh-image-load-path function): Use variable `mh-image-load-path'
1216 if non-nil and exists.
1217
1218 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1219
1220 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1221 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1222 errors if describe-bindings is called before tool-bar-mode is used.
1223
1224 2006-02-03 Peter S Galbraith <psg@debian.org>
1225
1226 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1227 `mh-url-unresrved-chars'.
1228
1229 2006-02-02 Bill Wohler <wohler@newt.com>
1230
1231 * mh-e.el (Version, mh-version): Add +cvs to version.
1232
1233 2006-02-02 Bill Wohler <wohler@newt.com>
1234
1235 Release MH-E version 7.90.
1236
1237 * mh-e.el (Version, mh-version): Update for release 7.90.
1238
1239 2006-02-01 Bill Wohler <wohler@newt.com>
1240
1241 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1242
1243 * mh-alias.el (mh-alias-gecos-name): Use
1244 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1245 (crm, multi-prompt): Use mh-require instead of require.
1246 (mh-goto-address-find-address-at-point): Use
1247 mh-line-beginning-position and mh-line-end-position instead of
1248 line-beginning-position and line-end-position. Use
1249 mh-match-string-no-properties instead of
1250 match-string-no-properties.
1251
1252 * mh-comp.el (mh-modify-header-field): Use
1253 mh-line-beginning-position and mh-line-end-position instead of
1254 line-beginning-position and line-end-position.
1255
1256 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1257 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1258 (mh-face-background): Make docstring consistent.
1259 (mh-require, mh-cancel-timer, mh-display-color-cells)
1260 (mh-line-beginning-position, mh-line-end-position)
1261 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1262 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1263 add mh- prefix since compatibility functions should have our
1264 package prefix (mh-) by Emacs convention and to avoid messing up
1265 checks for the same functions in other packages.
1266
1267 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1268 from mh-xemacs.el and rename.
1269 (mh-xargs): Use mh-line-beginning-position and
1270 mh-line-end-position instead of line-beginning-position and
1271 line-end-position.
1272 (mh-defface-compat): Use mh-display-color-cells instead of
1273 display-color-cells.
1274
1275 * mh-folder.el (which-func): Use mh-require instead of require.
1276
1277 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1278 view-mode-enter.
1279
1280 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1281 Use mh-require instead of require.
1282
1283 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1284 (mh-letter-next-header-field): Use mh-line-beginning-position and
1285 mh-line-end-position instead of line-beginning-position and
1286 line-end-position.
1287
1288 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1289 mh-match-string-no-properties instead of
1290 match-string-no-properties.
1291 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1292 mh-line-end-position instead of line-beginning-position and
1293 line-end-position.
1294
1295 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1296 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1297 mh-line-beginning-position and mh-line-end-position instead of
1298 line-beginning-position and line-end-position.
1299
1300 * mh-search.el (which-func): Use mh-require instead of require.
1301 (mh-make-pick-template, mh-index-visit-folder)
1302 (mh-pick-parse-search-buffer, mh-swish-next-result)
1303 (mh-mairix-next-result, mh-namazu-next-result)
1304 (mh-pick-next-result, mh-grep-next-result)
1305 (mh-index-create-imenu-index, mh-index-match-checksum)
1306 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1307 mh-line-beginning-position and mh-line-end-position instead of
1308 line-beginning-position and line-end-position.
1309
1310 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1311 view-mode-enter.
1312 (mh-folder-size-flist, mh-parse-flist-output-line)
1313 (mh-add-sequence-notation): Use mh-line-beginning-position and
1314 mh-line-end-position instead of line-beginning-position and
1315 line-end-position.
1316
1317 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1318
1319 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1320 (mh-speed-view, mh-folder-speedbar-buttons)
1321 (mh-speed-highlight, mh-speed-goto-folder)
1322 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1323 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1324 (mh-speed-add-folder): Use mh-line-beginning-position and
1325 mh-line-end-position instead of line-beginning-position and
1326 line-end-position.
1327 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1328
1329 * mh-thread.el (mh-thread-find-children)
1330 (mh-thread-parse-scan-line, mh-thread-generate): Use
1331 mh-line-beginning-position and mh-line-end-position instead of
1332 line-beginning-position and line-end-position.
1333
1334 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1335 instead of display-color-cells.
1336 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1337 replace-regexp-in-string.
1338 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1339 Use mh-line-beginning-position and mh-line-end-position instead of
1340 line-beginning-position and line-end-position.
1341
1342 * mh-comp.el (mh-send-sub): Don't find components file in current
1343 directory--this seems to have been a side-effect of commenting out
1344 the use of an old mh-etc variable. Improve error message.
1345
1346 2006-01-31 Bill Wohler <wohler@newt.com>
1347
1348 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1349 argument since compatibility functions should have our package
1350 prefix (mh-) by Emacs convention and to avoid messing up checks
1351 for the same functions in other packages. Use explicit argument
1352 instead of forming name by adding mh- prefix so that one can grep
1353 and find the definition.
1354
1355 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1356 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1357 Use mh-assoc-string instead of assoc-string.
1358
1359 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1360 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1361 Move here from mh-utils.el.
1362 (mh-display-completion-list): Move here from mh-comp.el.
1363 (mh-face-foreground, mh-face-background): Move here from
1364 mh-xface.el.
1365 (mh-write-file-functions): Move here from mh-folder.el.
1366
1367 * mh-folder.el (mh-write-file-functions-compat): Move to
1368 mh-compat.el and rename to mh-write-file-functions.
1369 (mh-folder-mode): Use the new name.
1370
1371 * mh-gnus.el (gnus-local-map-property): Rename to
1372 mh-gnus-local-map-property.
1373 (mm-merge-handles): Rename to mh-mm-merge-handles.
1374 (mm-set-handle-multipart-parameter): Rename to
1375 mh-mm-set-handle-multipart-parameter.
1376 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1377 (mm-possibly-verify-or-decrypt): Rename to
1378 mh-mm-possibly-verify-or-decrypt.
1379 (mm-handle-multipart-ctl-parameter): Rename to
1380 mh-mm-handle-multipart-ctl-parameter.
1381 (mm-readable-p): Rename to mh-mm-readable-p.
1382 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1383 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1384 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1385 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1386 (mml-minibuffer-read-disposition): Rename to
1387 mh-mml-minibuffer-read-disposition.
1388
1389 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1390 instead of assoc-string.
1391
1392 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1393 (mh-mime-display, mh-mime-display-security)
1394 (mh-insert-mime-button, mh-insert-mime-security-button)
1395 (mh-handle-set-external-undisplayer)
1396 (mh-mime-security-press-button, mh-mime-security-show-details)
1397 (mh-mml-attach-file, mh-mime-cleanup)
1398 (mh-destroy-postponed-handles): Use new mh-* names for
1399 compatibility functions.
1400
1401 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1402 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1403 (mh-beginning-of-word): Use the new name.
1404 (mh-get-field): Delete ancient alias.
1405
1406 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1407 and rename to mh-face-foreground
1408 (mh-face-background-compat): Move to mh-compat.el
1409 and rename to mh-face-background.
1410 (mh-face-display-function): Use the new names.
1411 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1412 instead of url-hexify-string.
1413 (url-unreserved-chars): Move to mh-compat.el and rename to
1414 mh-url-unreserved-chars.
1415 (url-hexify-string): Move to mh-compat.el and rename to
1416 mh-url-hexify-string.
1417
1418 * mh-letter.el (mh-complete-word): Fix bug in call to
1419 mh-display-completion-list. Wrong argument was passed, so
1420 completions wouldn't show highlighted prefix.
1421
1422 2006-01-29 Bill Wohler <wohler@newt.com>
1423
1424 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1425 mh-adaptive-cmd-note-flag.
1426
1427 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1428 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1429 supported versions. In addition, the package name "sc" has been
1430 made obsolete by "supercite since at least Emacs 21.
1431
1432 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1433 revealed character constants that were still strings (closes SF
1434 #770772).
1435
1436 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1437 (mh-get-header-field): Move to mh-utils.el so that you can read
1438 messages without having to load mh-comp.el and mh-letter.el.
1439
1440 * mh-letter.el (mh-hidden-header-keymap)
1441 (mh-letter-toggle-header-field-display)
1442 (mh-letter-skipped-header-field-p)
1443 (mh-letter-skip-leading-whitespace-in-header-field)
1444 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1445 can read messages without having to load mh-comp.el and
1446 mh-letter.el.
1447
1448 * mh-utils.el (mh-get-header-field)
1449 (mh-letter-hide-all-skipped-fields)
1450 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1451 (mh-letter-toggle-header-field-display)
1452 (mh-letter-skip-leading-whitespace-in-header-field)
1453 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1454 mh-letter.el so that you can read messages without having to load
1455 mh-comp.el and mh-letter.el.
1456
1457 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1458 least, will deliver them to us.
1459
1460 * mh-e.el (mh-after-commands-processed-hook)
1461 (mh-before-commands-processed-hook): Specify what sort of requests
1462 in docstring.
1463
1464 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1465 minor-mode-alias.
1466
1467 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1468 to shush compiler.
1469 (mh-letter-mode): Remove Mail menu.
1470
1471 2006-01-29 Bill Wohler <wohler@newt.com>
1472
1473 The Great Cleanup
1474 Remove circular dependencies. mh-e.el now includes few require
1475 statements and stands alone. Other files should need to require
1476 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1477 such as mh-scan.el.
1478 Remove unneeded require statements.
1479 Remove unneeded load statements, or replace them with non-fatal
1480 require statements.
1481 Break out components into their own files that were often spread
1482 between many files.
1483 As a result, many functions that are now only used within a single
1484 file no longer need to be autoloaded.
1485 Rearrange and provide consistent headings.
1486 Untabify.
1487
1488 * mh-acros.el: Update commentary to reflect current usage.
1489 Add autoload cookies to all macros.
1490 (mh-require-cl): Merge docstring and comment.
1491 (mh-do-in-xemacs): Fix typo in docstring.
1492 (assoc-string): Move to new file mh-compat.el.
1493 (with-mh-folder-updating, mh-in-show-buffer)
1494 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1495 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1496 from mh-seq.el.
1497
1498 * mh-alias.el (mh-address-mail-regexp)
1499 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1500 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1501
1502 * mh-buffers.el: Update descriptive text.
1503
1504 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1505 new file mh-scan.el.
1506 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1507 (mh-letter-menu, mh-letter-mode-help-messages)
1508 (mh-letter-buttons-init-flag, mh-letter-mode)
1509 (mh-font-lock-field-data, mh-letter-header-end)
1510 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1511 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1512 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1513 (mh-filter-out-non-text, mh-insert-prefix-string)
1514 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1515 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1516 (mh-letter-complete, mh-letter-complete-or-space)
1517 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1518 (mh-letter-next-header-field-or-indent)
1519 (mh-letter-next-header-field, mh-letter-previous-header-field)
1520 (mh-letter-skipped-header-field-p)
1521 (mh-letter-skip-leading-whitespace-in-header-field)
1522 (mh-hidden-header-keymap)
1523 (mh-letter-toggle-header-field-display-button)
1524 (mh-letter-toggle-header-field-display)
1525 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1526 file mh-letter.el.
1527 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1528 (mh-pgp-support-flag, mh-x-mailer-string)
1529 (mh-letter-header-field-regexp): Move to mh-e.el.
1530 (mh-goto-header-field, mh-goto-header-end)
1531 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1532 mh-utils.el.
1533 (mh-insert-header-separator): Move to mh-comp.el.
1534 (mh-display-completion-list-compat): Move to new file
1535 mh-compat.el.
1536
1537 * mh-compat.el: New file.
1538 (assoc-string): Move here from mh-acros.el.
1539 (mh-display-completion-list): Move here from mh-comp.el.
1540
1541 * mh-customize.el: Move content into mh-e.el and remove.
1542
1543 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1544 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1545 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1546 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1547 declared here so that they can be used in docstrings.
1548 (mh-sent-from-folder, mh-sent-from-msg)
1549 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1550 (mh-x-mailer-string): Move here from mh-comp.el.
1551 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1552 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1553 here from mh-seq.el.
1554 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1555 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1556 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1557 (mh-show-folder-buffer, mh-mail-header-separator)
1558 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1559 (mh-signature-separator, mh-signature-separator-regexp)
1560 (mh-list-to-string, mh-list-to-string-1): Move here from
1561 mh-utils.el.
1562 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1563 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1564 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1565 (mh-exec-cmd-output)
1566 (mh-exchange-point-and-mark-preserving-active-mark)
1567 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1568 deprecated file mh-exec.el.
1569 (mh-path): Move here from deprecated file mh-customize.el.
1570 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1571 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1572 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1573 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1574 (mh-profile-component-value, mh-defface-compat): Move here from
1575 deprecated file mh-init.el.
1576 (mh-goto-next-button, mh-folder-mime-action)
1577 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1578 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1579 mh-mime.el.
1580 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1581 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1582 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1583 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1584 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1585 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1586 (mh-scan-cmd-note-width, mh-scan-destination-width)
1587 (mh-scan-date-width, mh-scan-date-flag-width)
1588 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1589 (mh-scan-field-destination-offset)
1590 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1591 (mh-scan-field-subject-start-offset, mh-scan-format)
1592 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1593 mh-scan.el.
1594 (mh-partial-folder-mode-line-annotation)
1595 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1596 (mh-generate-sequence-font-lock, mh-last-destination)
1597 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1598 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1599 (mh-execute-commands, mh-first-msg, mh-header-display)
1600 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1601 (mh-folder-from-address, mh-prompt-for-refile-folder)
1602 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1603 (mh-previous-page, mh-previous-undeleted-msg)
1604 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1605 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1606 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1607 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1608 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1609 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1610 (mh-folder-sequence-menu, mh-folder-message-menu)
1611 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1612 (mh-write-file-functions-compat, mh-folder-mode)
1613 (mh-restore-desktop-buffer, mh-scan-folder)
1614 (mh-regenerate-headers, mh-generate-new-cmd-note)
1615 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1616 (mh-process-or-undo-commands, mh-process-commands)
1617 (mh-update-unseen, mh-delete-scan-msgs)
1618 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1619 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1620 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1621 (mh-lessp): Move to mh-utils.el.
1622 (mh-parse-flist-output-line, mh-folder-size-folder)
1623 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1624 (mh-remove-sequence-notation, mh-remove-cur-notation)
1625 (mh-remove-all-notation, mh-delete-seq-locally)
1626 (mh-read-folder-sequences, mh-read-msg-list)
1627 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1628 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1629 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1630 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1631 (mh-xemacs-flag)
1632 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1633 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1634 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1635 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1636 (mh-faces, mh-alias-completion-ignore-case-flag)
1637 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1638 (mh-alias-insert-file, mh-alias-insertion-location)
1639 (mh-alias-local-users, mh-alias-local-users-prefix)
1640 (mh-alias-passwd-gecos-comma-separator-flag)
1641 (mh-new-messages-folders, mh-ticked-messages-folders)
1642 (mh-large-folder, mh-recenter-summary-flag)
1643 (mh-recursive-folders-flag, mh-sortm-args)
1644 (mh-default-folder-for-message-function, mh-default-folder-list)
1645 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1646 (mh-identity-list, mh-auto-fields-list)
1647 (mh-auto-fields-prompt-flag, mh-identity-default)
1648 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1649 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1650 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1651 (mh-compose-insertion, mh-compose-skipped-header-fields)
1652 (mh-compose-space-does-completion-flag)
1653 (mh-delete-yanked-msg-window-flag)
1654 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1655 (mh-letter-complete-function, mh-letter-fill-column)
1656 (mh-mml-method-default, mh-signature-file-name)
1657 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1658 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1659 (mh-scan-format-file-check, mh-scan-format-file)
1660 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1661 (mh-search-program, mh-compose-forward-as-mime-flag)
1662 (mh-compose-letter-function, mh-compose-prompt-flag)
1663 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1664 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1665 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1666 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1667 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1668 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1669 (mh-display-buttons-for-inline-parts-flag)
1670 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1671 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1672 (mh-highlight-citation-style)
1673 (mh-invisible-header-fields-internal)
1674 (mh-delay-invisible-header-generation-flag)
1675 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1676 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1677 (mh-lpr-command-format, mh-max-inline-image-height)
1678 (mh-max-inline-image-width, mh-mhl-format-file)
1679 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1680 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1681 (mh-show-use-xface-flag, mh-store-default-directory)
1682 (mh-summary-height, mh-speed-update-interval)
1683 (mh-show-threads-flag, mh-tool-bar-search-function)
1684 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1685 (mh-before-commands-processed-hook, mh-before-quit-hook)
1686 (mh-before-send-letter-hook, mh-delete-msg-hook)
1687 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1688 (mh-inc-folder-hook, mh-insert-signature-hook)
1689 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1690 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1691 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1692 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1693 (mh-folder-address, mh-folder-body)
1694 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1695 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1696 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1697 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1698 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1699 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1700 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1701 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1702 (mh-speedbar-folder-with-unseen-messages)
1703 (mh-speedbar-selected-folder)
1704 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1705 deprecated file mh-customize.el.
1706
1707 * mh-exec.el: Move content into mh-e.el and remove.
1708
1709 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1710
1711 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1712 mh-scan.el.
1713 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1714
1715 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1716 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1717 to mail-abbrev-make-syntax-table.
1718
1719 * mh-identity.el (mh-identity-menu): New variable for existing
1720 menu.
1721 (mh-identity-make-menu-no-autoload): New alias for
1722 mh-identity-make-menu which can be called from mh-e.el.
1723 (mh-identity-list-set): Move to mh-e.el.
1724 (mh-identity-add-menu): New function
1725 (mh-insert-identity): Add optional argument maybe-insert so that
1726 local variable mh-identity-local does not have to be visible.
1727
1728 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1729 rest of keymaps). Update key binding for ? to call mh-help with
1730 help messages in new argument.
1731 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1732 which can be called from mh-e.el.
1733 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1734
1735 * mh-init.el: Move content into mh-e.el and remove.
1736
1737 * mh-junk.el: Update requires, untabify, and add mh-autoload
1738 cookies.
1739
1740 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1741
1742 * mh-limit.el: New file. Contains display limit commands from
1743 mh-mime.el.
1744
1745 * mh-mime.el: Rearrange for consistency with other files.
1746 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1747 mh-utils.el.
1748 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1749 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1750 (mh-goto-next-button): Move here from mh-e.el.
1751
1752 * mh-print.el: Rearrange for consistency with other files.
1753
1754 * mh-scan.el: New file. Contains scan line constants and utilities
1755 from XXX, mh-funcs, mh-utils.el.
1756
1757 * mh-search.el: Rearrange for consistency with other files.
1758 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1759 fields which don't exist in the saved header. Replace C-c C-f f
1760 with C-c C-f m per mail-mode consistency.
1761 (mh-search-mode): Use mh-set-help instead of setting
1762 mh-help-messages.
1763
1764 * mh-seq.el (mh-thread-message, mh-thread-container)
1765 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1766 (mh-thread-id-index-map, mh-thread-index-id-map)
1767 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1768 (mh-thread-subject-container-hash, mh-thread-duplicates)
1769 (mh-thread-history, mh-thread-body-width)
1770 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1771 (mh-thread-initialize, mh-thread-id-container)
1772 (mh-thread-remove-parent-link, mh-thread-add-link)
1773 (mh-thread-ancestor-p, mh-thread-get-message-container)
1774 (mh-thread-get-message, mh-thread-canonicalize-id)
1775 (mh-thread-prune-subject, mh-thread-container-subject)
1776 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1777 (mh-thread-sort-containers, mh-thread-group-by-subject)
1778 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1779 (mh-thread-update-id-index-maps, mh-thread-generate)
1780 (mh-thread-inc, mh-thread-generate-scan-lines)
1781 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1782 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1783 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1784 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1785 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1786 (mh-thread-ancestor, mh-thread-find-children)
1787 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1788 Move to new file mh-thread.el.
1789 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1790 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1791 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1792 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1793 (mh-current-message-header-field, mh-narrow-to-range)
1794 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1795 mh-limit.el.
1796 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1797 mh-acros.el.
1798 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1799 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1800 (mh-define-sequence, mh-undefine-sequence)
1801 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1802 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1803 (mh-parse-flist-output-line, mh-read-folder-sequences)
1804 (mh-read-msg-list, mh-notate-user-sequences)
1805 (mh-remove-cur-notation, mh-add-sequence-notation)
1806 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1807 from mh-e.el.
1808 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1809 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1810
1811 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1812
1813 * mh-speed.el: Rearrange for consistency with other files.
1814
1815 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1816
1817 * mh-tool-bar.el: New file. Contains tool bar creation code from
1818 deprecated file mh-customize.el.
1819
1820 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1821 No longer needed.
1822 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1823 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1824 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1825 (mh-update-scan-format, mh-msg-num-width): Move to new file
1826 mh-scan.el.
1827 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1828 (mh-header-field-font-lock, mh-header-to-font-lock)
1829 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1830 (mh-show-font-lock-keywords)
1831 (mh-show-font-lock-keywords-with-cite)
1832 (mh-show-font-lock-fontify-region)
1833 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1834 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1835 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1836 (mh-show-sequence-menu, mh-show-message-menu)
1837 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1838 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1839 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1840 file mh-show.el.
1841 (mh-mail-header-separator, mh-signature-separator-regexp)
1842 (mh-signature-separator, mh-globals-hash, mh-user-path)
1843 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1844 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1845 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1846 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1847 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1848 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1849 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1850 Move to mh-alias.el.
1851 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1852 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1853 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1854 Move to new file mh-folder.el.
1855 (with-mh-folder-updating, mh-in-show-buffer)
1856 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1857 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1858 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1859 Moved to mh-seq.el.
1860 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1861 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1862 (mh-face-background-compat, mh-face-display-function)
1863 (mh-show-xface, mh-picon-directory-list)
1864 (mh-picon-existing-directory-list)
1865 (mh-picon-cache, mh-picon-image-types)
1866 (mh-picon-set-directory-list, mh-picon-get-image)
1867 (mh-picon-file-contents, mh-picon-generate-path)
1868 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1869 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1870 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1871 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1872 (mh-x-image-scale-with-convert)
1873 (url-unreserved-chars, url-hexify-string)
1874 (mh-x-image-url-cache-canonicalize)
1875 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1876 (mh-x-image-url-fetch-image, mh-x-image-display)
1877 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1878 (mh-x-image-url-display): Move to new file mh-xface.el.
1879 (mh-logo-display): Call mh-image-load-path.
1880 (mh-find-path-run, mh-find-path): Move here from deprecated file
1881 mh-init.el.
1882 (mh-help-messages): Now an alist of modes to an alist of messages.
1883 (mh-set-help): New function used to set mh-help-messages
1884 (mh-help): Adjust for new format of mh-help-messages. Add
1885 help-messages argument.
1886 (mh-prefix-help): Refactor to use mh-help.
1887 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1888 mh-e.el.
1889 (mh-clear-sub-folders-cache): New function added to avoid exposing
1890 mh-sub-folders-cache variable.
1891
1892 * mh-xface.el: New file. Contains X-Face and Face header field
1893 display routines from mh-utils.el.
1894
1895 2006-01-17 Bill Wohler <wohler@newt.com>
1896
1897 * mh-acros.el (assoc-string): Fix typo in argument.
1898
1899 2006-01-16 Bill Wohler <wohler@newt.com>
1900
1901 * mh-acros.el (require): Remove defadvice of require as defadvice
1902 is verboten within Emacs and our implementation was returning the
1903 wrong value from require. Upcoming restructuring should make this
1904 unnecessary.
1905 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1906
1907 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1908 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1909
1910 * mh-identity.el (mh-identity-field-handler): Use it.
1911
1912 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1913 (read-from-string string) with (string-to-number string).
1914
1915 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1916 Ditto.
1917
1918 * mh-mime.el (mh-mml-forward-message): Ditto.
1919
1920 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1921 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1922 (mh-openssl-parser, mh-index-update-maps): Ditto.
1923
1924 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1925 (mh-thread-generate): Ditto.
1926
1927 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1928
1929 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1930 mm- functions for proper text=flowed handling (addresses SF
1931 #1273521).
1932
1933 2006-01-15 Bill Wohler <wohler@newt.com>
1934
1935 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1936 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1937 / g.
1938
1939 * mh-utils.el (mh-show-limit-map): Ditto.
1940
1941 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1942 standalone compile.
1943 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1944
1945 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1946 where they are used.
1947
1948 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1949 needed to help remove dependency on mh-utils.
1950
1951 * mh-exec.el: New file. Move process support routines here from
1952 mh-utils.el.
1953
1954 * mh-init.el (mh-utils): Remove require.
1955 (mh-exec): Add require.
1956 (mh-profile-component, mh-profile-component-value): Move here from
1957 mh-utils.el.
1958
1959 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1960 dependencies on mh-utils.el.
1961 (mh-profile-component, mh-profile-component-value): Move to
1962 mh-init.el since that's the only place that uses them. (Other than
1963 mh-alias.el; I'm thinking that mh-find-path can set variable from
1964 the Aliasfile component like it does the other components).
1965 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1966 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1967 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1968 (defvar, mh-exec-cmd-output)
1969 (mh-exchange-point-and-mark-preserving-active-mark)
1970 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1971 file mh-exec.el so that mh-init.el doesn't have to depend on
1972 mh-utils.el, breaking circular dependency.
1973
1974 * mh-alias.el:
1975 * mh-customize.el:
1976 * mh-e.el:
1977 * mh-funcs.el:
1978 * mh-gnus.el:
1979 * mh-identity.el:
1980 * mh-inc.el:
1981 * mh-junk.el:
1982 * mh-mime.el:
1983 * mh-print.el:
1984 * mh-search.el:
1985 * mh-seq.el:
1986 * mh-speed.el: Added debugging statements (commented out) around
1987 requires to help find dependency loops. Will remove them when
1988 issues are resolved.
1989
1990 2006-01-14 Bill Wohler <wohler@newt.com>
1991
1992 * mh-customize.el (mh-index): Rename group to mh-search and sort
1993 group definition and options accordingly.
1994 (mh-index-program): Rename to mh-search-program.
1995 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1996 mh-search-p.
1997 (mh-search-mode-hook): Change group from mh-index to mh-search.
1998 (mh-index-folder): Rename to mh-search-folder. Change group from
1999 mh-index to mh-search.
2000
2001 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2002 to mh-search-folder.
2003
2004 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2005 pick and grep are searchers too but aren't indexed.
2006 (mh-index-execute-search-function): Rename to mh-search-function.
2007 (mh-index-next-result-function): Rename to
2008 mh-search-next-result-function.
2009 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2010 (mh-search): Since redo-search-flag defaults to nil and is of
2011 lesser importance, make it an optional argument and place it after
2012 the folder and search-regexp arguments. Sync docstring with manual.
2013 (mh-search-mode-map): Autoload so that keys are shown in help even
2014 before mh-search is loaded.
2015 (mh-search-mode): Sync docstring with manual.
2016 (mh-index-do-search): Rename argument indexer to searcher. Sync
2017 docstring with manual.
2018 (mh-pick-do-search): Sync docstring with manual.
2019 (mh-index-p): Rename to mh-search-p.
2020 (mh-indexer-choices): Rename to mh-search-choices.
2021 (mh-index-choose): Rename to mh-search-choose. Rename argument
2022 indexer to searcher.
2023 (mh-swish++-execute-search, mh-swish-execute-search)
2024 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2025 read the results" from docstring since these functions don't.
2026 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2027 with manual.
2028 (mh-index-generate-pretty-name): Prune -search from string so that
2029 folder names for pick searches are the same as those of other
2030 searches.
2031
2032 2006-01-13 Bill Wohler <wohler@newt.com>
2033
2034 * mh-acros.el (require): Added Satyaki's comment regarding what
2035 needs to happen to remove this defadvice which caused a little
2036 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2037 advices `require' incorrectly).
2038
2039 * mh-search.el (mh-index-next-result-function): Add format to
2040 docstring.
2041 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2042 out as well.
2043 (mh-pick-execute-search): Operate across all folders if no folder
2044 given and recurse folder(s).
2045 (mh-pick-next-result): Handle new output.
2046
2047 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2048 (mh-children-p, mh-folder-list): New functions.
2049
2050 2006-01-12 Bill Wohler <wohler@newt.com>
2051
2052 * mh-search.el: New file containing contents of mh-index.el and
2053 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2054 pick. Pick no longer sets the "search" sequence. Instead, it
2055 brings up a folder view that we're accustomed to. (Closes SF
2056 #829207.)
2057 (mh-index-search): Rename to mh-search.
2058 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2059 the Search to Perform Search and call mh-do-search. Add Search
2060 with Pick menu item.
2061 (mh-do-search): Delete.
2062 (mh-search-mode): Rename from mh-pick-mode.
2063 (MH-Search): Rename mode from MH-Pick.
2064 (mh-search-mode-map): Rename from mh-pick-mode-map.
2065 (mh-search-mode-help-messages): Rename from
2066 mh-pick-mode-help-messages.
2067 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2068 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2069 stay with that choice!
2070
2071 * mh-index.el:
2072 * mh-pick.el: Merge into mh-search.el and delete.
2073
2074 * mh-customize.el (mh-index-program): Change mh-index-search to
2075 mh-search in docstring.
2076 (mh-tool-bar-search-function): Change default from
2077 mh-search-folder to mh-search. Remove mh-search-folder as choice
2078 and rename mh-index-search choice to mh-search. Fix docstring.
2079 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2080 mh-search-folder to mh-search in docstring.
2081
2082 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2083 Indexed Search to Search. Use mh-search instead of mh-index-search.
2084 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2085 from mh-show-search-folder to mh-search.
2086
2087 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2088 mh-search-folder no longer creates the search sequence.
2089
2090 * mh-utils.el (mh-show-search-folder): Delete.
2091 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2092 Change s from mh-show-search-folder to mh-search.
2093 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2094 Search to Search. Use mh-search instead of mh-index-search.
2095 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2096 Move here from deleted mh-index.el.
2097
2098 2006-01-11 Bill Wohler <wohler@newt.com>
2099
2100 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2101 from mh-gnus.el.
2102
2103 * mh-gnus.el: Require mh-acros.
2104 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2105
2106 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2107 url-hexify-string to remove special characters from filenames
2108 (closes SF #1396499). Note that this invalidates the existing
2109 names in your cache so you might as well remove
2110 ~/Mail/.mhe-x-image-cache/* now.
2111 (url-unreserved-chars, url-hexify-string): Define if not defined.
2112 Copied from url-util.el in Emacs22 for Emacs 21.
2113
2114 * mh-buffers.el: New file. Contains constants and code from
2115 mh-index.el and mh-utils.el.
2116
2117 * mh-alias.el:
2118 * mh-comp.el:
2119 * mh-e.el:
2120 * mh-funcs.el:
2121 * mh-init.el:
2122 * mh-junk.el:
2123 * mh-mime.el:
2124 * mh-print.el:
2125 * mh-seq.el: Require new file mh-buffers.el.
2126
2127 * mh-index.el: Require new file mh-buffers.el.
2128 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2129 mh-buffers.el.
2130
2131 * mh-utils.el: Require new file mh-buffers.el.
2132 (mh-temp-buffer, mh-temp-fetch-buffer)
2133 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2134 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2135 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2136 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2137
2138 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2139 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2140
2141 2006-01-10 Bill Wohler <wohler@newt.com>
2142
2143 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2144 the cur message is used. Sync docstring with manual (closes SF
2145 #1205890).
2146
2147 * mh-mime.el (mh-compose-forward): Use standard range argument
2148 instead of messages. Use more powerful mh-read-range instead of
2149 read-string. Sync docstring with manual (close SF #1205890).
2150
2151 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2152 unnecessary.
2153 (mh-index-next-folder): Don't back up a line when going backwards
2154 since this skips the current folder heading if point is on the
2155 first message after the folder heading (closes SF #1126188).
2156
2157 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2158 (mh-variants): Note variable isn't meant to be accessed directly;
2159 use function mh-variants instead.
2160 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2161 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2162 them. Updated to use mh-file-command-p which is more accurrate
2163 than file-executable-p which returns t for directories.
2164 (mh-file-command-p): Move here from mh-utils, since
2165 mh-variant-*-info are the only functions to use it.
2166 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2167 function mh-variants instead of variable. More robust.
2168 (mh-find-path-run): Move here from mh-utils.el. Mention that
2169 checking this variable is unnecessary.
2170 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2171 variants and an mhparam command that doesn't work if there isn't
2172 an MH profile, we can't get libdir for running install-mh. So
2173 don't bother. If there's an issue with the environment, direct the
2174 user to install MH and run install-mh (closes SF #835192). Don't
2175 read ~/.mh_profile directly. Use mh-profile-component which uses
2176 mhparam (closes SF #1016027).
2177
2178 * mh-utils.el (mh-get-profile-field): Rename to
2179 mh-profile-component-value. Add colon to search removing
2180 unnecessary addition of colon to field in mh-profile-component.
2181 (mh-profile-component): Modify call to mh-profile-component-value
2182 accordingly. Move next to mh-profile-component-value.
2183 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2184 mh-init.el. It makes sense that code that is only run once per
2185 session (more or less) is in mh-init.el rather than cluttering
2186 mh-utils.el.
2187 (mh-no-install, mh-install): Delete.
2188
2189 * mh-customize.el (mh-folder-msg-number):
2190 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2191
2192 2006-01-09 Bill Wohler <wohler@newt.com>
2193
2194 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2195 patch from Satyaki from SF #1016027.
2196
2197 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2198 message, even if cur sequence is no longer present (closes SF
2199 #1207247).
2200
2201 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2202 Mark's suggestion.
2203 (mh-letter-mode): Derive from mail-mode and delete code copied
2204 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2205 docstring.
2206 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2207 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2208 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2209 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2210 (mh-to-fcc): Move setting of folder argument to interactive
2211 argument as is the norm.
2212 (mh-letter-complete-function-alist): Add mail-reply-to.
2213 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2214 Mail-Followup-To, Reply-To, From).
2215
2216 * mh-customize.el: Use ";; Forward definition." consistently.
2217 Comment declaration to remind programmer to update forward
2218 definition if default changes.
2219
2220 * mh-funcs.el:
2221 * mh-inc.el:
2222 * mh-init.el:
2223 * mh-mime.el:
2224 * mh-seq.el:
2225 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2226 Mark's suggestion.
2227
2228 2006-01-08 Bill Wohler <wohler@newt.com>
2229
2230 Removed code that was marked as Emacs 20 compatible that was
2231 easily found showing how important it is to document such
2232 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2233 peculiarities that you find. Wrapped code for shushing compiler
2234 with (eval-when-compile), sometimes moving the defvars closer to
2235 where they were used.
2236
2237 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2238 instead of mh-replace-in-string as mh-replace-in-string was
2239 replaced by a more appropriate defsubst in mh-xemacs.el.
2240
2241 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2242 eval-when-compile.
2243 (mh-file-is-vcard-p): Removed redundant test.
2244
2245 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2246 with eval-when-compile.
2247 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2248 (mh-invisible-header-fields-default): Add forward definitions.
2249 (mh-invisible-header-fields-default): Alphabetize.
2250
2251 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2252 eval-when-compile.
2253 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2254 variables.
2255 (mh-colors-available-p): Just call display-color-cells. It's on
2256 all supported Emacsen (and defaliased on XEmacs).
2257
2258 * mh-funcs.el:
2259 * mh-inc.el:
2260 * mh-init.el: Wrap compiler-shushing defvars with
2261 eval-when-compile.
2262
2263 * mh-identity.el: Don't need (mh-require-cl).
2264
2265 * mh-index.el: Don't need to load executable any more.
2266
2267 * mh-mime.el: Wrap compiler-shushing defvars with
2268 eval-when-compile.
2269 (mh-have-file-command): Initialize variable to 'undefined. Add
2270 docstring. Update function of same name accordingly. Also don't
2271 need to load executable any more.
2272 (mh-mime-content-types): Delete.
2273 (mh-minibuffer-read-type): Prompt user for type if
2274 mh-file-mime-type returns application/octet-stream. Assume we have
2275 mailcap-mime-types.
2276 (mh-mime-display): Update error message.
2277
2278 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2279 with eval-when-compile.
2280
2281 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2282 with eval-when-compile.
2283 (mh-clean-msg-header): Don't set after-change-functions to nil.
2284 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2285 instead.
2286
2287 2006-01-07 Bill Wohler <wohler@newt.com>
2288
2289 * mh-customize.el: Updated Faces documentation in header.
2290 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2291 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2292
2293 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2294 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2295 #1399307).
2296
2297 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2298
2299 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2300 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2301
2302 2006-01-03 Bill Wohler <wohler@newt.com>
2303
2304 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2305 unification. Use single sentence if possible by using semicolon.
2306 Don't end message with punctuation. Don't need format with
2307 message. Quote messages as in docstrings: use `' around symbols,
2308 \" for option choices. Don't use quotes around %s.
2309
2310 * mh-comp.el (mh-complete-word): Ditto.
2311
2312 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2313 (mh-scan-format-file-check): Ditto.
2314
2315 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2316 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2317 (mh-msg-num-width-to-column): Ditto.
2318
2319 * mh-identity.el (mh-identity-field-handler): Ditto.
2320
2321 * mh-index.el (mh-mairix-execute-search)
2322 (mh-swish-execute-search, mh-swish++-execute-search)
2323 (mh-namazu-execute-search): Ditto.
2324
2325 * mh-init.el (mh-variant-set): Ditto.
2326
2327 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2328 (mh-secure-message, mh-mime-display): Ditto.
2329
2330 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2331
2332 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2333 (mh-read-range, mh-thread-container-subject): Ditto.
2334
2335 * mh-utils.el (mh-x-image-scale-and-display)
2336 (mh-prompt-for-folder, mh-handle-process-error)
2337 (mh-list-to-string-1): Ditto.
2338
2339 * mh-comp.el (mh-reply): Use standard default notation in
2340 prompts (closes SF #1275933).
2341
2342 * mh-mime.el (mh-mime-save-parts): Ditto.
2343
2344 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2345
2346 * mh-customize.el (mh-folder-msg-number): Snow is actually
2347 off-white on low color displays which turns to white when bold.
2348 This is unreadable on white backgrounds. Use snow with min-colors
2349 requirement. Use cyan on low-color displays.
2350
2351 * mh-init.el (mh-defface-compat): On low-color displays, delete
2352 the high-color display rather than simply strip the min-colors
2353 requirement since the existing algorithm shadowed the desired
2354 display on low-color displays.
2355
2356 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2357 docstring.
2358
2359 2006-01-02 Bill Wohler <wohler@newt.com>
2360
2361 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2362 docstring. Does this mean something in a defun?
2363
2364 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2365 Checkdoc fix.
2366
2367 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2368 so it reads better in docstring and manual. Sync docstring with
2369 manual.
2370
2371 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2372
2373 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2374
2375 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2376 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2377 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2378 (mh-letter-complete-or-space, mh-letter-confirm-address)
2379 (mh-letter-next-header-field-or-indent)
2380 (mh-letter-previous-header-field): Ditto.
2381
2382 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2383 (mh-default-folder-for-message-function, mh-mml-method-default)
2384 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2385 (mh-show-mode-hook) Ditto.
2386
2387 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2388
2389 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2390 (mh-store-msg, mh-store-buffer): Ditto.
2391
2392 * mh-index.el (mh-index-search, mh-index-do-search)
2393 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2394
2395 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2396
2397 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2398 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2399 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2400 (mh-mml-secure-message-signencrypt): Ditto.
2401
2402 * mh-pick.el (mh-search-folder): Ditto.
2403
2404 * mh-seq.el (mh-widen): Ditto.
2405
2406 * mh-utils.el (mh-show, mh-modify): Ditto.
2407
2408 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2409
2410 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2411
2412 2006-01-01 Bill Wohler <wohler@newt.com>
2413
2414 * mh-customize.el: Sync docstrings with manual for faces and sort
2415 them alphabetically.
2416 (mh-faces): Move below mh-hooks.
2417 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2418 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2419 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2420 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2421 (mh-folder-body-face, mh-folder-cur-msg-face)
2422 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2423 (mh-folder-followup-face, mh-folder-msg-number-face)
2424 (mh-folder-deleted-face, mh-folder-refiled-face)
2425 (mh-folder-subject-face, mh-folder-address-face)
2426 (mh-folder-scan-format-face, mh-folder-to-face)
2427 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2428 (mh-show-header-face, mh-show-pgg-good-face)
2429 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2430 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2431 Delete.
2432 (mh-folder-cur-msg): Unused. Delete.
2433 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2434 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2435 Inherit from mh-folder-msg-number.
2436 (mh-folder-deleted): Use defface. Inherit from
2437 mh-folder-msg-number.
2438 (mh-folder-sent-to-me-hint): New face. Inherit from
2439 mh-folder-date.
2440 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2441 Use defface. Inherit from mh-folder-followup.
2442 (mh-show-xface): Inherit from mh-show-from and highlight.
2443 (bw-face-generation, bw-toggle-faces)
2444 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2445 variables, functions for toggling between old and new faces.
2446
2447 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2448 eval-when-compile. We should probably do this throughout.
2449 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2450 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2451 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2452 (mh-scan-subject-regexp): Sync docstrings with manual
2453 (mh-scan-format-regexp): Rename to
2454 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2455 expression. Make expression more like the others (anchored at the
2456 beginning of line). Sync docstrings with manual.
2457 (mh-folder-font-lock-keywords): Use faces directly rather than
2458 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2459 mh-scan-format-regexp, and within that expression, use faces
2460 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2461 of mh-folder-date-face and mh-folder-scan-format-face which were
2462 misleading.
2463
2464 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2465 rather than -face variables.
2466
2467 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2468 rather than -face variables.
2469 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2470 (mh-face-display-function): Use mh-face-foreground-compat and
2471 mh-face-background-compat to use inherited attributes of
2472 mh-show-xface on Emacs 22 while still working on Emacs 21.
2473
2474 2005-12-28 Bill Wohler <wohler@newt.com>
2475
2476 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2477 Use mh-user-agent-compose instead of mh-smail-batch.
2478
2479 2005-12-27 Bill Wohler <wohler@newt.com>
2480
2481 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2482 suppress creation of folder if it doesn't exist.
2483
2484 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2487
2488 2005-12-23 Bill Wohler <wohler@newt.com>
2489
2490 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2491
2492 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2493 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2494 everything else. Otherwise, you can accidently get links to
2495 nonsense symbols.
2496
2497 2005-12-22 Bill Wohler <wohler@newt.com>
2498
2499 Follow Emacs coding conventions. Use default setting of
2500 emacs-lisp-docstring-fill-column which is 65.
2501
2502 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2503
2504 * mh-comp.el (mh-letter-mode): Use 60 column width.
2505 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2506 with manual.
2507 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2508 you have added a mail-citation-hook and neither are used if you
2509 use one of the supercite flavors of mh-yank-behavior. Sync
2510 docstrings with manual.
2511
2512 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2513 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2514 hook. Use "Hook run by `function'..." instead of "Invoked...".
2515 Sync docstrings with manual.
2516 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2517 mh-ins-buf-prefix isn't used if you have added a
2518 mail-citation-hook and neither are used if you use one of the
2519 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2520 (mail-citation-hook): Delete. Use one in sendmail.el.
2521 (mh-signature-file-name, mh-after-commands-processed-hook)
2522 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2523 (mh-before-quit-hook, mh-before-send-letter-hook)
2524 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2525 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2526 (mh-letter-mode-hook)
2527 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2528 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2529 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2530 of "Invoked...". Sync docstrings with manual.
2531
2532 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2533 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2534 (mh-delete-list, mh-refile-list, mh-folders-changed)
2535 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2536 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2537 (mh-mode-line-annotation, mh-sequence-notation-history)
2538 (mh-colors-available-flag): Move comment into docstring.
2539 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2540 (mh-process-commands): Sync docstrings with manual.
2541 (mh-refile-msg): Small doc edit.
2542 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2543 Rename msg argument to message.
2544
2545 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2546
2547 * mh-e.el (mh-update-unseen): No longer say "The value of
2548 `foo-hook' is a list of functions to be called, with no arguments,
2549 ...," but rather just "The hook foo-hook is called...".
2550
2551 * mh-mime.el (mh-mh-to-mime): Ditto.
2552
2553 * mh-pick.el (mh-pick-mode): Ditto.
2554
2555 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2556 docstring.
2557 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2558 into docstring.
2559 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2560 manual.
2561
2562 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2563
2564 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2565 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2566
2567 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2568 mh-before-commands-processed-hook, call new
2569 mh-after-commands-processed-hook.
2570 (mh-folders-changed): New variable (for use in
2571 mh-after-commands-processed-hook).
2572
2573 2005-12-19 Bill Wohler <wohler@newt.com>
2574
2575 * mh-acros.el:
2576 * mh-alias.el:
2577 * mh-comp.el:
2578 * mh-customize.el:
2579 * mh-e.el:
2580 * mh-funcs.el:
2581 * mh-gnus.el:
2582 * mh-identity.el:
2583 * mh-inc.el:
2584 * mh-index.el:
2585 * mh-init.el:
2586 * mh-junk.el:
2587 * mh-mime.el:
2588 * mh-pick.el:
2589 * mh-print.el:
2590 * mh-seq.el:
2591 * mh-speed.el:
2592 * mh-utils.el:
2593 Follow commenting conventions. Don't use ;;; form so much, except
2594 for headings. Precede headings with page feed. This was mostly
2595 already done, so I made it a convention. Did not update copyright
2596 on a couple of files since this was an insignificant change.
2597
2598 2005-12-18 Bill Wohler <wohler@newt.com>
2599
2600 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2601 (mh-tool-bar-search-function): Sync docstrings with manual.
2602 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2603 (mh-tool-bar-letter-help): Fix manual reference.
2604 (mh-xemacs-use-toolbar-flag): Rename to
2605 mh-xemacs-use-tool-bar-flag. Initialize to
2606 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2607 (mh-xemacs-toolbar-position): Rename to
2608 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2609 option (redundant) and change "Same As Default Tool Bar" setting
2610 to nil. Sync docstrings with manual.
2611 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2612 depending on context.
2613 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2614 for calling set-specifier. Only look at the value of
2615 mh-xemacs-use-tool-bar-flag.
2616 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2617 Sync docstrings with manual.
2618
2619 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2620 mh-toolbar-init.
2621
2622 * mh-e.el (mh-folder-mode): Ditto.
2623
2624 * mh-utils.el (mh-show-mode): Ditto.
2625
2626 2005-12-15 Bill Wohler <wohler@newt.com>
2627
2628 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2629
2630 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2631 (mh-thread-previous-sibling, mh-thread-ancestor)
2632 (mh-thread-delete, mh-thread-refile): Ditto.
2633
2634 2005-12-14 Bill Wohler <wohler@newt.com>
2635
2636 * mh-customize.el (mh-speed-flists-interval): Rename to
2637 mh-speed-update-interval.
2638 (mh-speed-run-flists-flag): Delete. Setting
2639 mh-speed-flists-interval to 0 accomplishes the same thing.
2640
2641 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2642 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2643 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2644 docstrings with manual.
2645
2646 2005-12-09 Bill Wohler <wohler@newt.com>
2647
2648 * mh-customize.el (mh-path): Move here from mh-init.el.
2649 (mh-variant): Mention that mh-path can be customized.
2650 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2651 X-MAIL-INFO, and X-UNTD- from NetZero.
2652
2653 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2654
2655 2005-12-04 Bill Wohler <wohler@newt.com>
2656
2657 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2658 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2659 X-Virus-Scanned.
2660
2661 * mh-customize.el (mh-insert-signature-hook): Rename
2662 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2663
2664 * mh-comp.el (mh-insert-signature): Ditto.
2665
2666 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2667 to nil. Remove t option. Sync docstring with manual (closes SF
2668 #831278).
2669 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2670 users can see it, look it up in the manual's index, and discover
2671 mh-fetch-x-image-url (closes SF #831278).
2672
2673 * mh-customize.el (mh-new-messages-folders): Rename from
2674 mh-index-new-messages-folders.
2675 (mh-ticked-messages-folders): Rename from
2676 mh-index-ticked-messages-folders.
2677
2678 * mh-index.el (mh-index-sequenced-messages)
2679 (mh-index-new-messages): Ditto.
2680
2681 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2682 in the docstrings and made usage consistent. Generally speaking,
2683 "messages in range" and "range of messages" is redundant and just
2684 "range" can be used in most circumstances. Also ensured that
2685 mh-interactive-range was mentioned in all interactive functions
2686 that use a range which describes the range argument for both users
2687 and programmers.
2688
2689 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2690 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2691 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2692 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2693 Ditto.
2694
2695 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2696 Ditto.
2697
2698 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2699
2700 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2701 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2702
2703 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2704 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2705
2706 2005-12-01 Bill Wohler <wohler@newt.com>
2707
2708 Rewrote Reading Mail chapter in manual which affected mh-show
2709 customization group and related functions.
2710
2711 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2712 instead of mh-highlight-citation-p.
2713 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2714 I think, so use "truncated".
2715
2716 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2717 section is Folders, not Organizing. Parent of mh-folder-faces is
2718 mh-folder, not mh-show.
2719 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2720 (mh-thread): New group that corresponds with manual's Threading chapter.
2721 (mh-letter-faces): Group's manual section is Editing Drafts, not
2722 Sending Mail.
2723 (mh-sortm-args): New customization variable that used to be a defvar.
2724 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2725 Move from mh-index group to mh-folders group.
2726 (mh-alias-local-users-prefix, mh-large-folder)
2727 (mh-recursive-folders-flag, mh-before-quit-hook)
2728 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2729 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2730 mh-folder group.
2731 (mh-highlight-citation-style): Rename from
2732 mh-highlight-citation-p. Sync docstrings with manual.
2733 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2734 with manual.
2735 (mh-show-threads-flag): Move from mh-show group to mh-thread
2736 group.
2737 (mh-find-path-hook): Move from mh-show group to mh-e group.
2738 (mh-folder-updated-hook): Add to mh-folder group.
2739 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2740 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2741 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2742 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2743 (mh-display-buttons-for-inline-parts-flag)
2744 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2745 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2746 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2747 (mh-lpr-command-format, mh-max-inline-image-height)
2748 (mh-max-inline-image-width)
2749 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2750 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2751 (mh-show-use-xface-flag, mh-store-default-directory)
2752 (mh-summary-height, mh-delete-msg-hook
2753 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2754
2755 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2756 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2757 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2758 Use non-fontification instead of non-fontifying.
2759 (mh-header-display): Use mh-mhl-format-file instead of
2760 mhl-formfile. Sync docstrings with manual.
2761 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2762 count. Sync docstrings with manual.
2763 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2764 so that message doesn't change when using this command. Sync
2765 docstrings with manual.
2766 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2767 docstrings with manual.
2768 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2769 to no-header. Sync docstrings with manual.
2770 (mh-ps-print-map): Delete keybindings for deleted commands
2771 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2772 (mh-help-messages): Update printing help.
2773 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2774 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2775 (mh-prev-button, mh-folder-toggle-mime-part)
2776 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2777 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2778 manual.
2779
2780 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2781 mh-customize.el.
2782 (mh-pipe-msg): Rename include-headers to include-header.
2783 Sync docstrings with manual.
2784 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2785 (mh-store-msg): Sync docstrings with manual.
2786
2787 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2788 Sync docstrings with manual.
2789 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2790 Sync docstrings with manual.
2791 (mh-mm-display-part, mh-mm-inline-message): Use
2792 mh-highlight-citation-style instead of mh-highlight-citation-p.
2793 (mh-press-button): Sync docstrings with manual.
2794 (mh-display-with-external-viewer): Fix default output in
2795 minibuffer. Sync docstrings with manual.
2796
2797 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2798 Delete.
2799 (mh-ps-print-color-option): Incorporate docstring from
2800 ps-print-color-p.
2801 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2802 Slimline docstring.
2803 (mh-ps-spool-msg): Slimline docstring. Rename from
2804 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2805 available.
2806 (mh-ps-print-range): Extract method from common code in
2807 mh-ps-print-msg and mh-ps-print-msg-file.
2808 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2809 (mh-ps-print-msg-show): Delete. Can use either
2810 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2811 new code in mh-ps-spool-msg.
2812 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2813 Sync docstrings with manual.
2814 (mh-ps-print-msg, mh-ps-print-msg-file)
2815 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2816 Sync docstrings with manual.
2817
2818 * mh-utils.el (mh-show-ps-print-msg-show)
2819 (mh-show-ps-print-toggle-mime): Delete.
2820 (mh-show-ps-print-map): Update accordingly.
2821 (mh-show-mode): Use mh-highlight-citation-style instead of
2822 mh-highlight-citation-p.
2823 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2824 mhl-formfile.
2825 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2826 Sync docstrings with manual.
2827 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2828 Sync docstrings with manual.
2829
2830 2005-12-01 Bill Wohler <wohler@newt.com>
2831
2832 * mh-init.el (mh-defface-compat): Checkdoc fix.
2833
2834 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2835 Bogofilter is lowercase except at beginning of sentence and in
2836 titles.
2837
2838 2005-11-04 Bill Wohler <wohler@newt.com>
2839
2840 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2841 Move to mh-init.el to minimize bulk of mh-customize.el.
2842
2843 * mh-init.el: Modify commentary since file is used for load and
2844 initialization as well as setting and getting the variant.
2845 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2846 mh-customize.el.
2847
2848 * mh-customize.el: Refactor faces. Move grayscale requirements
2849 last before t. Use uniform line breaks.
2850 (mh-min-colors-defined-flag): New variable.
2851 (mh-defface-compat): New function. Provides backward compatibility
2852 for face specs.
2853 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2854 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2855 (mh-folder-body): Use mh-defface-compat.
2856
2857 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2858
2859 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2860 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2861 (mh-folder-to-face): Use the min-colors attribute instead of the
2862 type attribute.
2863
2864 2005-11-03 Bill Wohler <wohler@newt.com>
2865
2866 * mh-customize.el (mh-refile-preserves-sequences-flag)
2867 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2868 Sync docstrings with manual.
2869
2870 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2871
2872 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2873 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2874 with manual.
2875
2876 2005-11-01 Bill Wohler <wohler@newt.com>
2877
2878 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2879 defcustom.
2880 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2881 (mh-reply, mh-send, mh-send-other-window)
2882 (mh-fill-paragraph-function): Sync docstrings with manual.
2883 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2884 msg argument to message (to make for a better docstring).
2885
2886 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2887 to defcustom. Rename by adding -flag.
2888 (mh-compose-forward-as-mime-flag)
2889 (mh-compose-letter-function, mh-forward-subject-format)
2890 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2891 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2892 with manual.
2893
2894 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2895 (mh-ps-print-msg): Remove debugging messages.
2896 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2897 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2898 after message per conventions.
2899
2900 2005-10-30 Bill Wohler <wohler@newt.com>
2901
2902 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2903 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2904 Sync docstrings with manual.
2905
2906 * mh-customize.el (mh-compose-space-does-completion-flag)
2907 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2908 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2909 means" to remain checkdoc clean and consistent with Emacs. I
2910 raised this issue with the Emacs developers and Stallman agrees
2911 that "On means" should be allowed in custom docstrings but that
2912 this change requires thought and should wait until after the Emacs
2913 22 release.
2914
2915 2005-10-28 Bill Wohler <wohler@newt.com>
2916
2917 * mh-comp.el (mh-annotate-msg): Use new variable
2918 mh-scan-field-destination-offset rather than hard-coding 1.
2919
2920 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2921 docstring.
2922 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2923 functions to check input for mh-adaptive-cmd-note-flag and
2924 mh-scan-format-file respectively.
2925 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2926 add :set.
2927
2928 * mh-e.el (mh-scan-field-destination-offset): New variable. The
2929 destination is the -, t, b, c, or n character for Replied, To, cc,
2930 Bcc, or Newsgroups respectively.
2931 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2932 Call new function mh-msg-num-width-to-column to make leap between
2933 width and column more explicit.
2934 (mh-msg-num-width-to-column): New function that steals logic from
2935 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2936 isn't t since we can't adapt the scan lines in this case.
2937 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2938 make the documentation more clear.
2939 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2940 column, not a width.
2941 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2942 variable mh-scan-field-destination-offset rather than hard-coding 1.
2943
2944 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2945 (mh-notate): Use new variable mh-scan-field-destination-offset
2946 rather than hard-coding 1.
2947 (mh-message-number-width): Rename to mh-msg-num-width to be
2948 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2949
2950 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2951 (mail-citation-hook): Quote URLs in docstrings and precede with
2952 `URL'. The former will suppress checkdoc warnings, the latter will
2953 turn them into hyperlinks in Emacs 22 (I just added the code to do
2954 that today).
2955 (mh-scan-format-file): Checkdoc fix.
2956
2957 2005-10-27 Bill Wohler <wohler@newt.com>
2958
2959 * mh-customize.el (mh-adaptive-cmd-note-flag)
2960 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2961
2962 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2963 (mh-note-cur, mh-scan-good-msg-regexp)
2964 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2965 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2966 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2967 (mh-scan-subject-regexp, mh-scan-format-regexp)
2968 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2969 with manual.
2970
2971 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2972
2973 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2974 of hard-coded string.
2975 (mh-mail-header-separator, mh-signature-separator-regexp):
2976 Use "regular expression" in docstring instead of regexp.
2977 (mh-scan-msg-number-regexp)
2978 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2979 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2980 (mh-cmd-note): Sync docstrings with manual.
2981
2982 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2983 Checkdoc fixes.
2984
2985 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2986
2987 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2988 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2989 (mh-mml-secure-message-signencrypt): Ditto.
2990
2991 2005-10-24 Bill Wohler <wohler@newt.com>
2992
2993 * mh-gnus.el: Load mml.el in order to see if
2994 mml-minibuffer-read-disposition is defined or not.
2995
2996 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2997 mml autoloads.
2998
2999 2005-10-23 Miles Bader <miles@gnu.org>
3000
3001 * .arch-inventory: New file.
3002
3003 2005-10-23 Bill Wohler <wohler@newt.com>
3004
3005 * mh-customize.el (mh-interpret-number-as-range-flag):
3006 Sync docstring with manual.
3007
3008 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3009 mh-alias.el and move to mh-acros.el.
3010
3011 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3012 mh-identity.el and move to mh-acros.el.
3013
3014 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3015 mh-identity.el and mh-alias.el.
3016
3017 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3018 warning in Emacs 22.
3019
3020 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3021
3022 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3023 assoc-string (if the function is available) and falls back on
3024 assoc-ignore-case if assoc-string is not found.
3025 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3026 assoc-ignore-case is a obsolete function in Emacs 22.
3027
3028 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3029 track of whether the tool-bar in mh-folder-mode has been
3030 initialized yet.
3031 (mh-folder-mode): Initialize the tool-bar for folders the first
3032 time we get into mh-letter-mode.
3033
3034 * mh-customize.el (mh-buffer-exists-p): New function which tests
3035 presence of buffers of a given mode.
3036 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3037 mh-tool-bar-letter-buttons-init are defined. These functions are
3038 used to create the tool-bar from the corresponding customizable
3039 variables.
3040
3041 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3042 keeps track of whether the tool-bar in mh-letter-mode has been
3043 initialized yet.
3044 (mh-letter-mode): Initialize the tool-bar for drafts the first
3045 time we get into mh-letter-mode.
3046
3047 2005-10-23 Bill Wohler <wohler@newt.com>
3048
3049 * mh-comp.el (mh-letter-menu): Rename
3050 mh-mhn-compose-external-compressed-tar to
3051 mh-mh-compose-external-compressed-tar. Rename
3052 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3053 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3054 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3055 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3056 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3057 to 'mh.
3058 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3059 mh-mh-directive-present-p.
3060 (mh-send-letter): Rename mh-mhn-directive-present-p to
3061 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3062 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3063 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3064 mh-mhn-compose-external-compressed-tar to
3065 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3066 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3067 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3068 mh-mh-compose-anon-ftp. Rename
3069 mh-mhn-compose-external-compressed-tar to
3070 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3071 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3072 mh-mh-compose-external-type.
3073 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3074 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3075 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3076 mh-yank-from-start-of-msg to mh-yank-behavior.
3077 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3078 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3079 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3080 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3081 (mh-letter-complete-or-space, mh-letter-confirm-address)
3082 (mh-letter-next-header-field-or-indent)
3083 (mh-letter-previous-header-field)
3084 (mh-letter-toggle-header-field-display): Sync docstrings with
3085 manual.
3086
3087 * mh-customize.el (mh-edit-mhn-hook): Rename to
3088 mh-mh-to-mime-hook.
3089 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3090 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3091 and user-visible values from mhn and Gnus to MH and MML.
3092 (mh-before-send-letter-hook): Add 'ispell-message option.
3093 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3094 mh-pgp-support-flag.
3095 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3096 (mh-delete-yanked-msg-window-flag)
3097 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3098 (mh-letter-complete-function, mh-letter-fill-column)
3099 (mh-mml-method-default, mh-signature-file-name)
3100 (mh-signature-separator-flag, mh-x-face-file)
3101 (mh-yank-behavior, mail-citation-hook)
3102 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3103 with manual.
3104
3105 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3106 provided for Emacs 21 environments that lack it.
3107
3108 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3109 prompt convention.
3110 (mh-compose-forward): mh-mh-forward-message requires string arg.
3111 (mh-minibuffer-read-type): New function.
3112 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3113 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3114 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3115 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3116 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3117 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3118 (mh-mhn-compose-external-compressed-tar): Rename to
3119 mh-mh-compose-external-compressed-tar. Rename
3120 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3121 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3122 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3123 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3124 Use correct program in message.
3125 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3126 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3127 (mh-compose-forward, mh-mh-attach-file)
3128 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3129 (mh-mh-compose-external-type, mh-mh-forward-message)
3130 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3131 mh-minibuffer-read-type.
3132 (mh-mime-content-types): Move comment about only being used in
3133 Emacs 20 to docstring.
3134 (mh-mh-compose-external-type): Rename extra-param argument to
3135 parameters.
3136 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3137 (mh-mime-display-part, mh-mime-display-single): Rename
3138 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3139 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3140 mh-mh-attach-file.
3141 (mh-compose-forward): Rename mh-mhn-compose-forw to
3142 mh-mh-forward-message.
3143 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3144 mh-mh-compose-type.
3145 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3146 (mh-mh-attach-file, mh-mh-compose-type)
3147 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3148 (mh-mh-compose-external-compressed-tar)
3149 (mh-mh-compose-external-type, mh-mh-forward-message)
3150 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3151 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3152 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3153 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3154 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3155 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3156 Sync docstrings with manual.
3157
3158 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3159 mh-pgp-support-flag.
3160
3161 2005-10-17 Peter S Galbraith <psg@debian.org>
3162
3163 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3164 to compare against header field for mixed-case "From:".
3165
3166 2005-10-17 Bill Wohler <wohler@newt.com>
3167
3168 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3169 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3170 to mail/compose, fld_open to fld-open.
3171 (mh-letter-tool-bar-map): Rename image file mail_send to
3172 mail/send.
3173
3174 2005-10-16 Bill Wohler <wohler@newt.com>
3175
3176 * mh-comp.el (mh-display-completion-list-compat): New macro which
3177 calls `display-completion-list' correctly in older environments.
3178 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3179 argument.
3180 (mh-complete-word): Use it.
3181
3182 * mh-init.el (mh-image-load-path): Use locate-library to find
3183 MH-E. This simplified the code a lot. Flattened out nested
3184 statements even more.
3185
3186 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3187
3188 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3189 causes a compiler warning.
3190
3191 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3192 the message to be viewed (closes SF #1306141).
3193
3194 2005-10-16 Masatake YAMATO <jet@gyve.org>
3195
3196 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3197 of completion to `display-completion-list'.
3198
3199 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3200
3201 * mh-init.el (mh-image-load-path-called-flag): New variable which
3202 is used by mh-image-load-path so that it runs only once.
3203 (mh-image-load-path): Modify so that it gets run only once. Also
3204 flatten out heavily nested if statements to make it clearer.
3205
3206 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3207 to find images used in the toolbar.
3208
3209 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3210
3211 2005-10-14 Bill Wohler <wohler@newt.com>
3212
3213 * mh-e.el (Version, mh-version): Add +cvs to version.
3214
3215 2005-10-14 Bill Wohler <wohler@newt.com>
3216
3217 Released MH-E version 7.85.
3218
3219 * mh-e.el (Version, mh-version): Update for release 7.85.
3220
3221 2005-10-14 Bill Wohler <wohler@newt.com>
3222
3223 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3224 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3225 need to be indented.
3226
3227 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3228 but the code that invoked the face had not been updated. Tick
3229 highlighting working again.
3230
3231 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3232 make-variable-buffer-local call to top level to avoid warnings in
3233 CVS Emacs.
3234
3235 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3236 with read-string.
3237
3238 2005-10-09 Bill Wohler <wohler@newt.com>
3239
3240 * mh-init.el (mh-image-load-path): New function that adds the path
3241 to the MH-E images to the image-load-path or load-path depending
3242 on the version of Emacs.
3243
3244 * mh-customize.el: Call mh-image-load-path just before
3245 mh-tool-bar-define so that the toolbar images can be found.
3246
3247 2005-10-04 Bill Wohler <wohler@newt.com>
3248
3249 * ChangeLog: Move contents into ChangeLog.1 and trim.
3250
3251 * ChangeLog.1: New file. Contains old ChangeLog.
3252
3253
3254 Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3255
3256 This file is part of GNU Emacs.
3257
3258 GNU Emacs is free software: you can redistribute it and/or modify
3259 it under the terms of the GNU General Public License as published by
3260 the Free Software Foundation, either version 3 of the License, or
3261 (at your option) any later version.
3262
3263 GNU Emacs is distributed in the hope that it will be useful,
3264 but WITHOUT ANY WARRANTY; without even the implied warranty of
3265 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3266 GNU General Public License for more details.
3267
3268 You should have received a copy of the GNU General Public License
3269 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3270
3271 ;; Local Variables:
3272 ;; coding: utf-8
3273 ;; sentence-end-double-space: nil
3274 ;; add-log-time-zone-rule: t
3275 ;; End:
3276
3277 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51