1 2007-07-11 Bill Wohler <wohler@newt.com>
3 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
4 Thanks to Henrique Martins for the help (closes SF #1749774).
6 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
8 * mh-mime.el (mh-mh-directive-present-p):
9 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
11 2006-11-14 Bill Wohler <wohler@newt.com>
13 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
14 reserved Windows filename characters (closes SF #1396499).
16 2006-11-13 Bill Wohler <wohler@newt.com>
18 Release MH-E version 8.0.3.
20 * mh-e.el (Version, mh-version): Update for release 8.0.3.
22 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
23 with "Non-nil means". Perhaps this option should have a -flag
25 (mh-junk-background): Sync docstring with manual.
27 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
28 (mh-spamprobe-blacklist): Sync docstring with manual.
30 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
32 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
33 Use mh-junk-background consistently in call-process calls.
34 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
35 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
36 Use with-current-buffer so the right thing happens if
37 mh-junk-background is t (closes SF #1594802).
39 * mh-e.el (mh-junk-background): Document that On value is 0;
40 t may be used for debugging.
42 2006-11-10 Andreas Schwab <schwab@suse.de>
44 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
46 2006-11-10 Glenn Morris <rgm@gnu.org>
48 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
50 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
52 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
53 quotation marks, so that the last two arguments of sa-learn
54 are separated properly (closes SF #1565460).
55 (mh-spamassassin-blacklist): In example .procmailrc, add
56 PATH element to find mhparam on Debian.
58 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
60 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
61 so that we always have a valid string for split-string even if
62 nothing is added in mh-send-letter (closes SF #1564742).
64 2006-07-03 Bill Wohler <wohler@newt.com>
66 Release MH-E version 8.0.2.
68 * mh-e.el (Version, mh-version): Update for release 8.0.2.
70 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
72 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
73 it refers to the icons in mh-xemacs-icon-map instead of trying to
74 declare the icons in situ. This allows mh-tool-bar.el to be
75 compiled under XEmacs. Remove initial value for
76 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
77 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
78 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
79 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
81 2006-07-03 Bill Wohler <wohler@newt.com>
83 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
84 that mh-xemacs needs functions in mh-compat.
86 2006-06-29 Bill Wohler <wohler@newt.com>
88 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
89 loop construct to be consistent with other loops, and because
90 edebug doesn't work without it.
92 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
94 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
95 redundant +s in regexp (closes SF #1514424).
97 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
99 * mh-mime.el (mh-mime-save-parts): Add -store option to
100 mhn (closes SF #1513140).
102 2006-06-20 Bill Wohler <wohler@newt.com>
104 Release MH-E version 8.0.1.
106 * mh-e.el (Version, mh-version): Update for release 8.0.1.
108 2006-06-15 Bill Wohler <wohler@newt.com>
110 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
111 suffix for folder names, as <> are illegal filename characters on
112 Windows (closes SF #1507002).
114 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
116 * mh-comp.el (mh-send-uses-spost): New variable.
117 (mh-send-letter): Do not use -msgid and -mime if
118 mh-send-uses-spost is t (closes SF #1486726).
120 2006-06-02 Bill Wohler <wohler@newt.com>
122 (mh-folder-exists-p): Change test from an empty buffer, to one
123 that contains the actual folder, since GNU mailutils' folder
124 command displays output if the folder doesn't exist (closes SF
127 2006-05-06 Bill Wohler <wohler@newt.com>
129 Release MH-E version 8.0.
131 * mh-e.el (Version, mh-version): Update for release 8.0.
133 2006-05-05 Bill Wohler <wohler@newt.com>
135 * mh-e.el: Update commentary.
137 2006-04-28 Bill Wohler <wohler@newt.com>
139 Release MH-E version 7.95.
141 * mh-e.el (Version, mh-version): Update for release 7.95.
143 2006-04-26 Eric Ding <ericding@alum.mit.edu>
145 * mh-e.el (mh-invisible-header-fields-internal): Add entry
148 2006-04-25 Bill Wohler <wohler@newt.com>
150 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
151 Folders returned by mh-folder-completion-function no longer need
152 adornment (closes SF #1476270).
154 2006-04-21 Bill Wohler <wohler@newt.com>
156 * mh-e.el (Version, mh-version): Add +cvs to version.
158 2006-04-21 Bill Wohler <wohler@newt.com>
160 Release MH-E version 7.94.
162 * mh-e.el (Version, mh-version): Update for release 7.94.
164 2006-04-21 Bill Wohler <wohler@newt.com>
166 * mh-letter.el (mh-insert-letter): If a message number isn't
167 given, throw an error rather than using a potentially incorrect
168 message number (closes SF #1473729). In addition, use the cur
169 message if mh-sent-from-msg is nil (when sending a message, in
170 contrast to replying). Move conversion of int to string into
171 interactive stanza so body can assume variables are of proper
174 2006-04-20 Bill Wohler <wohler@newt.com>
176 * mh-tool-bar.el (image-load-path): Define to shush compiler.
177 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
178 isn't used outside of it.
179 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
180 Update load-path/image-load-path before setting buttons.
181 This code used to be in mh-folder-mode/mh-letter-mode but this was
182 the wrong place since mh-tool-bar-*-buttons-init can also be called
183 when customizing the buttons.
184 (mh-tool-bar-update): New function which updates tool-bar-map in
185 all of the MH-E buffers after customizing the buttons (closes SF
187 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
188 Call it (closes SF #1452718).
190 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
191 mh-folder-tool-bar-map instead.
192 (image-load-path): Delete. No longer used.
193 (mh-folder-mode): Moved setting of image-load-path into
194 mh-tool-bar-folder-buttons-init.
196 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
197 mh-letter-tool-bar-map instead.
198 (image-load-path): Delete. No longer used.
199 (mh-letter-mode): Moved setting of image-load-path into
200 mh-tool-bar-letter-buttons-init.
202 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
203 instead of set-buffer.
205 2006-04-19 Bill Wohler <wohler@newt.com>
207 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
208 can permanently disable a button (such as a separator) with nil.
210 2006-04-18 Bill Wohler <wohler@newt.com>
212 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
213 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
214 (mh-min-colors-defined-flag): Do not unbind these macros and
215 variables. Nice idea, but too many nasty side-effects. These
216 macros are needed by [Cc]ustom-make-dependencies when creating the
217 MH-E customization groups in mh-cus-load.el. These disappeared
218 when the macros above were introduced. Besides, if a developer
219 were to try to show the help for a macro or variable they were
220 looking at and got [No match] when they did so, that would be bad.
222 2006-04-17 Bill Wohler <wohler@newt.com>
224 * mh-comp.el (mh-insert-x-mailer): Strip build number from
225 version in X-Mailer field (closes SF #1466481).
227 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
228 variables and functions with the same name are found correctly by
229 find-func (invoked by clicking on the filename link in the *Help*
231 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
233 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
234 (mh-defcustom): Rename to defcustom-mh. Ditto.
235 (mh-defface): Rename to defface-mh. Ditto.
236 (mh-font-lock-add-keywords): Make changes according to these
239 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
242 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
243 have been processed by mh-normalize-folder-name.
244 (mh-folder-completion-function): Handle completion of folders with
245 absolute names. Also, when flag is t, display complete folder name
246 to provide proper highlighting in Emacs 22 now that
247 minibuffer-completing-file-name is nil (closes SF #1470518).
248 (mh-folder-completing-read): No longer set
249 minibuffer-completing-file-name to t. This was causing "Can't set
250 current directory errors" when browsing absolute file names.
251 Another benefit of this change is that SPC can be used for
252 completion again (closes SF #1470518).
254 2006-04-15 Bill Wohler <wohler@newt.com>
256 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
258 2006-04-14 Bill Wohler <wohler@newt.com>
260 * mh-funcs.el (view-exit-action): No need to wrap defvar with
261 eval-when-compile when shushing compiler.
263 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
265 * mh-seq.el (view-exit-action): Ditto.
267 * mh-show.el (font-lock-auto-fontify): Ditto.
269 * mh-utils.el (mh-speed-flists-cache): Ditto.
271 * mh-acros.el (struct, x, y): No need to wrap defvar with
272 eval-when-compile when shushing compiler, even when
273 mh-do-in-xemacs or another construct is used.
275 * mh-comp.el (sendmail-coding-system): Ditto.
277 * mh-e.el (mark-active): Ditto.
279 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
280 (image-load-path, font-lock-defaults): Ditto.
282 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
284 * mh-mime.el (dots, type, ov)
285 (mm-verify-function-alist, mm-decrypt-function-alist)
286 (pressed-details): Ditto.
288 * mh-search.el (pick-folder, mh-do-in-xemacs)
289 (mh-mairix-folder, mh-flists-search-folders)
290 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
292 * mh-seq.el (tool-bar-mode): Ditto.
294 * mh-utils.el (completion-root-regexp)
295 (minibuffer-completing-file-name): Ditto.
297 * mh-xface.el (default-enable-multibyte-characters): Ditto.
299 * mh-compat.el (mh-font-lock-add-keywords): New alias for
300 font-lock-add-keywords. Returns nil on XEmacs.
302 * mh-e.el: Add MH-E function and variable keywords such as
303 mh-defun-compat and mh-defcustom to font-lock-keywords.
305 2006-04-13 Bill Wohler <wohler@newt.com>
307 * mh-e.el (customize-package-emacs-version-alist)
308 (mh-e, mh-alias, mh-folder, mh-folder-selection)
309 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
310 (mh-scan-line-formats, mh-search, mh-sending-mail)
311 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
312 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
313 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
314 (mh-alias-insert-file, mh-alias-insertion-location)
315 (mh-alias-local-users, mh-alias-local-users-prefix)
316 (mh-alias-passwd-gecos-comma-separator-flag)
317 (mh-new-messages-folders, mh-ticked-messages-folders)
318 (mh-large-folder, mh-recenter-summary-flag)
319 (mh-recursive-folders-flag, mh-sortm-args)
320 (mh-default-folder-for-message-function)
321 (mh-default-folder-list, mh-default-folder-must-exist-flag)
322 (mh-default-folder-prefix, mh-identity-list)
323 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
324 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
325 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
326 (mh-junk-program, mh-compose-insertion)
327 (mh-compose-skipped-header-fields)
328 (mh-compose-space-does-completion-flag)
329 (mh-delete-yanked-msg-window-flag)
330 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
331 (mh-letter-complete-function, mh-letter-fill-column)
332 (mh-mml-method-default, mh-signature-file-name)
333 (mh-signature-separator-flag, mh-x-face-file)
334 (mh-yank-behavior, mh-interpret-number-as-range-flag)
335 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
336 (mh-search-program, mh-compose-forward-as-mime-flag)
337 (mh-compose-letter-function, mh-compose-prompt-flag)
338 (mh-forward-subject-format, mh-insert-x-mailer-flag)
339 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
340 (mh-reply-show-message-flag)
341 (mh-refile-preserves-sequences-flag, mh-tick-seq)
342 (mh-update-sequences-after-mh-show-flag)
343 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
344 (mh-decode-mime-flag)
345 (mh-display-buttons-for-alternatives-flag)
346 (mh-display-buttons-for-inline-parts-flag)
347 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
348 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
349 (mh-highlight-citation-style, mh-invisible-header-fields)
350 (mh-invisible-header-fields-default, mh-lpr-command-format)
351 (mh-max-inline-image-height, mh-max-inline-image-width)
352 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
353 (mh-print-background-flag, mh-show-maximum-size)
354 (mh-show-use-xface-flag, mh-store-default-directory)
355 (mh-summary-height, mh-speed-update-interval)
356 (mh-show-threads-flag, mh-tool-bar-search-function)
357 (mh-defcustom, mh-after-commands-processed-hook)
358 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
359 (mh-before-quit-hook, mh-before-send-letter-hook)
360 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
361 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
362 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
363 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
364 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
365 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
366 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
367 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
368 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
369 (mh-folder-subject, mh-folder-tick, mh-folder-to)
370 (mh-letter-header-field, mh-search-folder, mh-show-cc)
371 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
372 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
373 (mh-show-subject, mh-show-to, mh-show-xface)
374 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
375 (mh-speedbar-selected-folder)
376 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
377 notation in :package-version keyword.
379 2006-04-07 Bill Wohler <wohler@newt.com>
381 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
382 :package-version keyword.
384 2006-03-31 Bill Wohler <wohler@newt.com>
386 * mh-e.el (mh-strip-package-version): Move before use to avoid
387 compiler error. Make macro, also to avoid compiler error.
388 (mh-defface-compat): Incorporate body into mh-face-data and
391 2006-03-30 Bill Wohler <wohler@newt.com>
393 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
394 remove new :package-version keyword in older settings.
395 (customize-package-emacs-version-alist): Add MH-E version to Emacs
397 (mh-e, mh-alias, mh-folder, mh-folder-selection)
398 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
399 (mh-scan-line-formats, mh-search, mh-sending-mail)
400 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
401 (mh-hooks, mh-faces): Add :package-version keyword to these
402 groups (closes SF #1452724).
403 (mh-alias-completion-ignore-case-flag)
404 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
405 (mh-alias-insert-file, mh-alias-insertion-location)
406 (mh-alias-local-users, mh-alias-local-users-prefix)
407 (mh-alias-passwd-gecos-comma-separator-flag)
408 (mh-new-messages-folders, mh-ticked-messages-folders)
409 (mh-large-folder, mh-recenter-summary-flag)
410 (mh-recursive-folders-flag, mh-sortm-args)
411 (mh-default-folder-for-message-function)
412 (mh-default-folder-list, mh-default-folder-must-exist-flag)
413 (mh-default-folder-prefix, mh-identity-list)
414 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
415 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
416 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
417 (mh-junk-program, mh-compose-insertion)
418 (mh-compose-skipped-header-fields)
419 (mh-compose-space-does-completion-flag)
420 (mh-delete-yanked-msg-window-flag)
421 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
422 (mh-letter-complete-function, mh-letter-fill-column)
423 (mh-mml-method-default, mh-signature-file-name)
424 (mh-signature-separator-flag, mh-x-face-file)
425 (mh-yank-behavior, mh-interpret-number-as-range-flag)
426 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
427 (mh-search-program, mh-compose-forward-as-mime-flag)
428 (mh-compose-letter-function, mh-compose-prompt-flag)
429 (mh-forward-subject-format, mh-insert-x-mailer-flag)
430 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
431 (mh-reply-show-message-flag)
432 (mh-refile-preserves-sequences-flag, mh-tick-seq)
433 (mh-update-sequences-after-mh-show-flag)
434 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
435 (mh-decode-mime-flag)
436 (mh-display-buttons-for-alternatives-flag)
437 (mh-display-buttons-for-inline-parts-flag)
438 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
439 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
440 (mh-highlight-citation-style, mh-invisible-header-fields)
441 (mh-invisible-header-fields-default, mh-lpr-command-format)
442 (mh-max-inline-image-height, mh-max-inline-image-width)
443 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
444 (mh-print-background-flag, mh-show-maximum-size)
445 (mh-show-use-xface-flag, mh-store-default-directory)
446 (mh-summary-height, mh-speed-update-interval)
447 (mh-show-threads-flag, mh-tool-bar-search-function): Add
448 :package-version keyword to these options (closes SF #1452724).
449 (mh-after-commands-processed-hook)
450 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
451 (mh-before-quit-hook, mh-before-send-letter-hook)
452 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
453 (mh-forward-hook, mh-inc-folder-hook)
454 (mh-insert-signature-hook)
455 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
456 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
457 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
458 (mh-unseen-updated-hook): Add :package-version keyword to these
459 hooks (closes SF #1452724).
460 (mh-min-colors-defined-flag)
461 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
462 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
463 (mh-folder-msg-number, mh-folder-refiled)
464 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
465 (mh-folder-subject, mh-folder-tick, mh-folder-to)
466 (mh-letter-header-field, mh-search-folder, mh-show-cc)
467 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
468 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
469 (mh-show-subject, mh-show-to, mh-show-xface)
470 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
471 (mh-speedbar-selected-folder)
472 (mh-speedbar-selected-folder-with-unseen-messages): : Add
473 :package-version keyword to these faces (closes SF #1452724).
475 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
476 :package-version keywords (closes SF #1452724).
478 2006-03-28 Bill Wohler <wohler@newt.com>
480 * mh-tool-bar.el: Use clipboard-kill-region,
481 clipboard-kill-ring-save, and clipboard-yank instead of undo,
482 kill-region, and menu-bar-kill-ring-save respectively. In
483 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
484 front of mh-compose-insertion to be consistent with other mailers,
485 such as Evolution. In MH-Folder mode, move vanilla reply icon to
486 the left of the other reply icons. Use mail/inbox icon instead of
487 mail, next-page instead of page-down, delete instead of close,
488 mail/move instead of mail/refile, data-save instead of execute,
489 mail/flag-for-followup instead of highlight, contact instead of
490 mail/alias, open instead of fld-open, zoom-out instead of widen.
492 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
493 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
495 2006-03-27 Eric Ding <ericding@alum.mit.edu>
497 * mh-e.el (mh-invisible-header-fields-internal): Add entries
498 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
500 2006-03-19 Bill Wohler <wohler@newt.com>
502 * mh-comp.el (mh-reply): Sync docstring with manual.
504 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
507 2006-03-17 Bill Wohler <wohler@newt.com>
509 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
511 2006-03-16 Bill Wohler <wohler@newt.com>
513 * mh-comp.el (mh-send-letter): Use split-string to break up
514 mh-send-args (closes SF #1448604).
515 (mh-compose-and-send-mail): Use run-hook-with-args for
516 mh-compose-letter-function.
518 * mh-e.el (mh-list-to-string-1): Use dolist.
520 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
522 2006-03-15 Bill Wohler <wohler@newt.com>
524 * mh-compat.el (mh-image-load-path-for-library): Fix example by
525 not recommending that one binds image-load-path. Just defvar it to
526 placate compiler and only use it if previously defined.
528 * mh-e.el (image-load-path): Don't bind!
530 * mh-folder.el (mh-folder-mode): Only use image-load-path if
533 * mh-letter.el (mh-letter-mode): Ditto.
535 * mh-utils.el (mh-logo-display): Ditto.
537 2006-03-14 Bill Wohler <wohler@newt.com>
539 * mh-compat.el (mh-image-load-path-for-library): Incorporate
540 changes from image-load-path-for-library, which are:
541 (image-load-path-for-library): Pass value of path rather than
542 symbol. Always return list of directories. Guarantee that image
543 directory comes first.
545 * mh-e.el (image-load-path): Define on those Emacsen that lack it
546 to avoid compile and run-time errors.
548 * mh-folder.el (mh-folder-mode): Use new idiom for setting
551 * mh-letter.el (mh-letter-mode): Ditto.
553 * mh-utils.el (mh-logo-display): Ditto.
555 2006-03-12 Bill Wohler <wohler@newt.com>
557 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
560 2006-03-10 Bill Wohler <wohler@newt.com>
562 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
563 flag to replace-in-string. This was badly needed by
564 mh-quote-pick-expr in order to properly quote subjects when using
565 / s on XEmacs (closes SF #1447598).
566 (mh-image-load-path-for-library): Merged changes from Reiner. Add
567 no-error argument. If path t, just return directory.
569 * mh-e.el (mh-profile-component): Drop `s' from mhparam
570 -components for Mailutils compatibility (closes SF #1446985).
572 2006-03-06 Bill Wohler <wohler@newt.com>
574 * mh-e.el (Version, mh-version): Add +cvs to version.
576 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
578 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
579 handling of duplicate messages. The test in cond was too strong
580 and wasn't catching the case where origin-map was nil.
582 2006-03-05 Bill Wohler <wohler@newt.com>
584 Release MH-E version 7.93.
586 * mh-e.el (Version, mh-version): Update for release 7.93.
588 2006-03-05 Bill Wohler <wohler@newt.com>
590 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
591 calling mh-image-load-path-for-library since this is the default.
593 * mh-letter.el (mh-letter-mode): Ditto.
595 * mh-utils.el (mh-logo-display): Ditto.
597 2006-03-04 Bill Wohler <wohler@newt.com>
599 * mh-compat.el (mh-image-load-path-for-library): Move here from
600 mh-utils.el and wrap with mh-defun-compat since this function will
601 be soon added to image.el.
603 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
604 (mh-normalize-folder-name): Add return-nil-if-folder-empty
605 argument which is useful when calling mh-normalize-folder-name to
606 process the folder argument for the folders command.
607 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
608 this function more robust. It could too easily list the folders in /.
609 (mh-folder-list): Fix a couple of problems pointed out by Thomas
610 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
612 2006-03-03 Bill Wohler <wohler@newt.com>
614 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
615 mh-image-load-path-for-library.
617 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
618 mh-image-load-path-for-library.
620 * mh-utils.el (mh-image-load-path): Rename to
621 mh-image-load-path-for-library. Add example to docstring. Rename
622 local variable mh-image-directory to image-directory. Move error
623 checks to default case in cond and simplify.
625 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
626 docstrings with manual.
628 2006-03-02 Bill Wohler <wohler@newt.com>
630 * mh-folder.el (mh-tool-bar-init): Autoload.
631 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
632 Set scoped variables image-load-path and load-path with updated
633 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
635 * mh-letter.el (mh-tool-bar-init): Autoload.
636 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
637 Set scoped variables image-load-path and load-path with updated
638 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
640 * mh-show.el (mh-tool-bar-init): Autoload.
641 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
644 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
645 messages per conventions.
646 (mh-tool-bar-folder-buttons-init)
647 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
648 (mh-tool-bar-define call): Format.
650 * mh-utils.el (mh-image-directory)
651 (mh-image-load-path-called-flag): Delete.
652 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
653 changes are that it no longer uses/sets mh-image-directory or
654 mh-image-load-path-called-flag, and returns the updated path
655 rather than change it.
656 (mh-logo-display): Change usage of mh-image-load-path.
658 2006-02-28 Bill Wohler <wohler@newt.com>
660 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
661 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
662 to subjects with special characters by quoting regular expression
663 characters in pick expression derived from existing subjects and
664 other fields (closes SF #1432548).
665 (mh-narrow-to-subject): Remove Re: string from subject so that
666 pick can find originating message (closes SF #1438369).
668 * mh-utils.el (mh-image-load-path): Rename variable to
670 (mh-image-load-path): Access mh-image-directory instead of
672 (mh-folder-list): Fix problem with passing in a folder and getting
673 nothing back. Fix problem with passing in empty string and getting
674 the entire filesystem (or infinite loop). Don't append slash to
675 folder. These fixes fix problems observed with the pick search.
676 Thanks to Thomas Baumann for the help (closes SF #1435381).
677 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
678 function for quoting pick regular expression characters (closes SF
681 2006-02-27 Bill Wohler <wohler@newt.com>
683 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
686 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
687 docstring about obsolete variable mh-mime-content-types.
689 * mh-e.el (mh-variant): Sync docstring with manual.
690 (cus-face): Require as it is needed by mh-inherit-face-flag.
692 * mh-compat.el (mh-display-color-cells): Return 2 if
693 device-color-cells returns nil (closes SF #1436924).
695 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
696 mh-display-color-cells.
698 2006-02-21 Eric Ding <ericding@alum.mit.edu>
700 * mh-e.el (mh-invisible-header-fields-internal): Add entry
703 2006-02-20 Eric Ding <ericding@alum.mit.edu>
705 * mh-e.el (mh-invisible-header-fields-internal): Add entries
706 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
707 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
708 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
709 "X-Roving-" by removing unnecessary "*" at end.
711 2006-02-19 Bill Wohler <wohler@newt.com>
713 * mh-alias.el (mh-address-mail-regexp)
714 (mh-goto-address-find-address-at-point): Delete copies from
716 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
717 mh-address-mail-regexp.
718 (mh-alias-add-address-under-point): Use
719 goto-address-find-address-at-point instead of
720 mh-goto-address-find-address-at-point.
722 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
724 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
726 (mh-show-addr): Call goto-address unconditionally. User should use
727 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
729 2006-02-18 Bill Wohler <wohler@newt.com>
731 * mh-e.el (Version, mh-version): Add +cvs to version.
733 2006-02-18 Bill Wohler <wohler@newt.com>
735 Release MH-E version 7.92.
737 * mh-e.el (Version, mh-version): Update for release 7.92.
739 2006-02-17 Bill Wohler <wohler@newt.com>
741 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
742 backgrounds per Mark's suggestion.
744 * mh-utils.el (mh-image-load-path): Fix problem that images on
745 load-path or image-load-path would win over relative paths (newer
746 MH-E or Emacs distribution).
748 2006-02-16 Bill Wohler <wohler@newt.com>
750 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
751 the defface :inherit keyword is available.
752 (mh-face-data): New variable (contains all face specs) and
754 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
755 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
756 (mh-folder-msg-number, mh-folder-refiled)
757 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
758 (mh-folder-subject, mh-folder-tick, mh-folder-to)
759 (mh-search-folder, mh-letter-header-field, mh-show-cc)
760 (mh-show-date, mh-show-from)
761 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
762 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
763 (mh-show-to, mh-show-xface, mh-speedbar-folder)
764 (mh-speedbar-folder-with-unseen-messages)
765 (mh-speedbar-selected-folder)
766 (mh-speedbar-selected-folder-with-unseen-messages):
769 * mh-utils.el (mh-image-load-path): The variables image-load-path
770 or load-path would not get updated if user set mh-image-load-path.
771 Moved tests and add-to-list calls outside of cond so they are
772 applied consistently, even if they are redundant in some
773 circumstances. Efficiency isn't a concern here. Made error
774 messages more user-friendly.
776 2006-02-15 Peter S Galbraith <psg@debian.org>
778 * mh-compat.el (mh-image-search-load-path): Compatibility code.
779 Emacs 21 and XEmacs don't have `image-search-load-path'.
781 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
782 images are already found.
784 2006-02-10 Bill Wohler <wohler@newt.com>
786 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
787 rather than use defun*. XEmacs cannot create a proper autoload for
790 2006-02-09 Bill Wohler <wohler@newt.com>
792 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
793 that causes an infinite loop on XEmacs.
795 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
798 2006-02-08 Peter S Galbraith <psg@debian.org>
800 * mh-e.el (mh-invisible-header-fields-internal): Added entries
801 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
803 2006-02-04 Bill Wohler <wohler@newt.com>
805 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
806 has an emacsclient command that supports --eval. I had read that
807 gnudoit was deprecated in favor of gnuclient anyway.
809 2006-02-04 Eric Ding <ericding@alum.mit.edu>
811 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
812 handle OpenOffice documents.
814 2006-02-03 Bill Wohler <wohler@newt.com>
816 * mh-e.el (Version, mh-version): Add +cvs to version.
818 2006-02-03 Bill Wohler <wohler@newt.com>
820 Release MH-E version 7.91.
822 * mh-e.el (Version, mh-version): Update for release 7.91.
824 2006-02-03 Bill Wohler <wohler@newt.com>
826 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
827 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
828 of local variable mh-library-name.
830 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
831 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
832 88) with (min-colors 64) in face specifications so that MH-E still
833 looks good on systems with fewer colors (such as Eric Ding's).
835 2006-02-03 Peter S Galbraith <psg@debian.org>
837 * mh-utils.el (mh-image-load-path): New variable to optionally
838 hold the directory where MH-E images are stored. If nil, then
839 the function `mh-image-load-path' will find it. This variable
840 will be used for Debian packaging.
841 (mh-image-load-path function): Use variable `mh-image-load-path'
842 if non-nil and exists.
844 2006-02-03 Mark D. Baushke <mdb@gnu.org>
846 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
847 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
848 errors if describe-bindings is called before tool-bar-mode is used.
850 2006-02-03 Peter S Galbraith <psg@debian.org>
852 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
853 `mh-url-unresrved-chars'.
855 2006-02-02 Bill Wohler <wohler@newt.com>
857 * mh-e.el (Version, mh-version): Add +cvs to version.
859 2006-02-02 Bill Wohler <wohler@newt.com>
861 Release MH-E version 7.90.
863 * mh-e.el (Version, mh-version): Update for release 7.90.
865 2006-02-01 Bill Wohler <wohler@newt.com>
867 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
869 * mh-alias.el (mh-alias-gecos-name): Use
870 mh-replace-regexp-in-string instead of replace-regexp-in-string.
871 (crm, multi-prompt): Use mh-require instead of require.
872 (mh-goto-address-find-address-at-point): Use
873 mh-line-beginning-position and mh-line-end-position instead of
874 line-beginning-position and line-end-position. Use
875 mh-match-string-no-properties instead of
876 match-string-no-properties.
878 * mh-comp.el (mh-modify-header-field): Use
879 mh-line-beginning-position and mh-line-end-position instead of
880 line-beginning-position and line-end-position.
882 * mh-compat.el (mailabbrev): Use mh-require instead of require.
883 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
884 (mh-face-background): Make docstring consistent.
885 (mh-require, mh-cancel-timer, mh-display-color-cells)
886 (mh-line-beginning-position, mh-line-end-position)
887 (mh-match-string-no-properties, mh-replace-regexp-in-string)
888 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
889 add mh- prefix since compatibility functions should have our
890 package prefix (mh-) by Emacs convention and to avoid messing up
891 checks for the same functions in other packages.
893 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
894 from mh-xemacs.el and rename.
895 (mh-xargs): Use mh-line-beginning-position and
896 mh-line-end-position instead of line-beginning-position and
898 (mh-defface-compat): Use mh-display-color-cells instead of
901 * mh-folder.el (which-func): Use mh-require instead of require.
903 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
906 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
907 Use mh-require instead of require.
909 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
910 (mh-letter-next-header-field): Use mh-line-beginning-position and
911 mh-line-end-position instead of line-beginning-position and
914 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
915 mh-match-string-no-properties instead of
916 match-string-no-properties.
917 (mh-narrow-to-header-field): Use mh-line-beginning-position and
918 mh-line-end-position instead of line-beginning-position and
921 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
922 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
923 mh-line-beginning-position and mh-line-end-position instead of
924 line-beginning-position and line-end-position.
926 * mh-search.el (which-func): Use mh-require instead of require.
927 (mh-make-pick-template, mh-index-visit-folder)
928 (mh-pick-parse-search-buffer, mh-swish-next-result)
929 (mh-mairix-next-result, mh-namazu-next-result)
930 (mh-pick-next-result, mh-grep-next-result)
931 (mh-index-create-imenu-index, mh-index-match-checksum)
932 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
933 mh-line-beginning-position and mh-line-end-position instead of
934 line-beginning-position and line-end-position.
936 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
938 (mh-folder-size-flist, mh-parse-flist-output-line)
939 (mh-add-sequence-notation): Use mh-line-beginning-position and
940 mh-line-end-position instead of line-beginning-position and
943 * mh-show.el (mh-show-addr): Use mh-require instead of require.
945 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
946 (mh-speed-view, mh-folder-speedbar-buttons)
947 (mh-speed-highlight, mh-speed-goto-folder)
948 (mh-speed-add-buttons, mh-speed-parse-flists-output)
949 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
950 (mh-speed-add-folder): Use mh-line-beginning-position and
951 mh-line-end-position instead of line-beginning-position and
953 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
955 * mh-thread.el (mh-thread-find-children)
956 (mh-thread-parse-scan-line, mh-thread-generate): Use
957 mh-line-beginning-position and mh-line-end-position instead of
958 line-beginning-position and line-end-position.
960 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
961 instead of display-color-cells.
962 (mh-folder-list): Use mh-replace-regexp-in-string instead of
963 replace-regexp-in-string.
964 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
965 Use mh-line-beginning-position and mh-line-end-position instead of
966 line-beginning-position and line-end-position.
968 * mh-comp.el (mh-send-sub): Don't find components file in current
969 directory--this seems to have been a side-effect of commenting out
970 the use of an old mh-etc variable. Improve error message.
972 2006-01-31 Bill Wohler <wohler@newt.com>
974 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
975 argument since compatibility functions should have our package
976 prefix (mh-) by Emacs convention and to avoid messing up checks
977 for the same functions in other packages. Use explicit argument
978 instead of forming name by adding mh- prefix so that one can grep
979 and find the definition.
981 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
982 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
983 Use mh-assoc-string instead of assoc-string.
985 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
986 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
987 Move here from mh-utils.el.
988 (mh-display-completion-list): Move here from mh-comp.el.
989 (mh-face-foreground, mh-face-background): Move here from
991 (mh-write-file-functions): Move here from mh-folder.el.
993 * mh-folder.el (mh-write-file-functions-compat): Move to
994 mh-compat.el and rename to mh-write-file-functions.
995 (mh-folder-mode): Use the new name.
997 * mh-gnus.el (gnus-local-map-property): Rename to
998 mh-gnus-local-map-property.
999 (mm-merge-handles): Rename to mh-mm-merge-handles.
1000 (mm-set-handle-multipart-parameter): Rename to
1001 mh-mm-set-handle-multipart-parameter.
1002 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1003 (mm-possibly-verify-or-decrypt): Rename to
1004 mh-mm-possibly-verify-or-decrypt.
1005 (mm-handle-multipart-ctl-parameter): Rename to
1006 mh-mm-handle-multipart-ctl-parameter.
1007 (mm-readable-p): Rename to mh-mm-readable-p.
1008 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1009 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1010 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1011 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1012 (mml-minibuffer-read-disposition): Rename to
1013 mh-mml-minibuffer-read-disposition.
1015 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1016 instead of assoc-string.
1018 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1019 (mh-mime-display, mh-mime-display-security)
1020 (mh-insert-mime-button, mh-insert-mime-security-button)
1021 (mh-handle-set-external-undisplayer)
1022 (mh-mime-security-press-button, mh-mime-security-show-details)
1023 (mh-mml-attach-file, mh-mime-cleanup)
1024 (mh-destroy-postponed-handles): Use new mh-* names for
1025 compatibility functions.
1027 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1028 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1029 (mh-beginning-of-word): Use the new name.
1030 (mh-get-field): Delete ancient alias.
1032 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1033 and rename to mh-face-foreground
1034 (mh-face-background-compat): Move to mh-compat.el
1035 and rename to mh-face-background.
1036 (mh-face-display-function): Use the new names.
1037 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1038 instead of url-hexify-string.
1039 (url-unreserved-chars): Move to mh-compat.el and rename to
1040 mh-url-unreserved-chars.
1041 (url-hexify-string): Move to mh-compat.el and rename to
1042 mh-url-hexify-string.
1044 * mh-letter.el (mh-complete-word): Fix bug in call to
1045 mh-display-completion-list. Wrong argument was passed, so
1046 completions wouldn't show highlighted prefix.
1048 2006-01-29 Bill Wohler <wohler@newt.com>
1050 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1051 mh-adaptive-cmd-note-flag.
1053 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1054 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1055 supported versions. In addition, the package name "sc" has been
1056 made obsolete by "supercite since at least Emacs 21.
1058 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1059 revealed character constants that were still strings (closes SF
1062 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1063 (mh-get-header-field): Move to mh-utils.el so that you can read
1064 messages without having to load mh-comp.el and mh-letter.el.
1066 * mh-letter.el (mh-hidden-header-keymap)
1067 (mh-letter-toggle-header-field-display)
1068 (mh-letter-skipped-header-field-p)
1069 (mh-letter-skip-leading-whitespace-in-header-field)
1070 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1071 can read messages without having to load mh-comp.el and
1074 * mh-utils.el (mh-get-header-field)
1075 (mh-letter-hide-all-skipped-fields)
1076 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1077 (mh-letter-toggle-header-field-display)
1078 (mh-letter-skip-leading-whitespace-in-header-field)
1079 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1080 mh-letter.el so that you can read messages without having to load
1081 mh-comp.el and mh-letter.el.
1083 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1084 least, will deliver them to us.
1086 * mh-e.el (mh-after-commands-processed-hook)
1087 (mh-before-commands-processed-hook): Specify what sort of requests
1090 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1093 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1095 (mh-letter-mode): Remove Mail menu.
1097 2006-01-29 Bill Wohler <wohler@newt.com>
1100 Remove circular dependencies. mh-e.el now includes few require
1101 statements and stands alone. Other files should need to require
1102 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1104 Remove unneeded require statements.
1105 Remove unneeded load statements, or replace them with non-fatal
1107 Break out components into their own files that were often spread
1109 As a result, many functions that are now only used within a single
1110 file no longer need to be autoloaded.
1111 Rearrange and provide consistent headings.
1114 * mh-acros.el: Update commentary to reflect current usage.
1115 Add autoload cookies to all macros.
1116 (mh-require-cl): Merge docstring and comment.
1117 (mh-do-in-xemacs): Fix typo in docstring.
1118 (assoc-string): Move to new file mh-compat.el.
1119 (with-mh-folder-updating, mh-in-show-buffer)
1120 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1121 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1124 * mh-alias.el (mh-address-mail-regexp)
1125 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1126 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1128 * mh-buffers.el: Update descriptive text.
1130 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1131 new file mh-scan.el.
1132 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1133 (mh-letter-menu, mh-letter-mode-help-messages)
1134 (mh-letter-buttons-init-flag, mh-letter-mode)
1135 (mh-font-lock-field-data, mh-letter-header-end)
1136 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1137 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1138 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1139 (mh-filter-out-non-text, mh-insert-prefix-string)
1140 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1141 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1142 (mh-letter-complete, mh-letter-complete-or-space)
1143 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1144 (mh-letter-next-header-field-or-indent)
1145 (mh-letter-next-header-field, mh-letter-previous-header-field)
1146 (mh-letter-skipped-header-field-p)
1147 (mh-letter-skip-leading-whitespace-in-header-field)
1148 (mh-hidden-header-keymap)
1149 (mh-letter-toggle-header-field-display-button)
1150 (mh-letter-toggle-header-field-display)
1151 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1153 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1154 (mh-pgp-support-flag, mh-x-mailer-string)
1155 (mh-letter-header-field-regexp): Move to mh-e.el.
1156 (mh-goto-header-field, mh-goto-header-end)
1157 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1159 (mh-insert-header-separator): Move to mh-comp.el.
1160 (mh-display-completion-list-compat): Move to new file
1163 * mh-compat.el: New file.
1164 (assoc-string): Move here from mh-acros.el.
1165 (mh-display-completion-list): Move here from mh-comp.el.
1167 * mh-customize.el: Move content into mh-e.el and remove.
1169 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1170 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1171 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1172 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1173 declared here so that they can be used in docstrings.
1174 (mh-sent-from-folder, mh-sent-from-msg)
1175 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1176 (mh-x-mailer-string): Move here from mh-comp.el.
1177 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1178 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1179 here from mh-seq.el.
1180 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1181 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1182 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1183 (mh-show-folder-buffer, mh-mail-header-separator)
1184 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1185 (mh-signature-separator, mh-signature-separator-regexp)
1186 (mh-list-to-string, mh-list-to-string-1): Move here from
1188 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1189 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1190 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1191 (mh-exec-cmd-output)
1192 (mh-exchange-point-and-mark-preserving-active-mark)
1193 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1194 deprecated file mh-exec.el.
1195 (mh-path): Move here from deprecated file mh-customize.el.
1196 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1197 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1198 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1199 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1200 (mh-profile-component-value, mh-defface-compat): Move here from
1201 deprecated file mh-init.el.
1202 (mh-goto-next-button, mh-folder-mime-action)
1203 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1204 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1206 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1207 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1208 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1209 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1210 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1211 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1212 (mh-scan-cmd-note-width, mh-scan-destination-width)
1213 (mh-scan-date-width, mh-scan-date-flag-width)
1214 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1215 (mh-scan-field-destination-offset)
1216 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1217 (mh-scan-field-subject-start-offset, mh-scan-format)
1218 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1220 (mh-partial-folder-mode-line-annotation)
1221 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1222 (mh-generate-sequence-font-lock, mh-last-destination)
1223 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1224 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1225 (mh-execute-commands, mh-first-msg, mh-header-display)
1226 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1227 (mh-folder-from-address, mh-prompt-for-refile-folder)
1228 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1229 (mh-previous-page, mh-previous-undeleted-msg)
1230 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1231 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1232 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1233 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1234 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1235 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1236 (mh-folder-sequence-menu, mh-folder-message-menu)
1237 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1238 (mh-write-file-functions-compat, mh-folder-mode)
1239 (mh-restore-desktop-buffer, mh-scan-folder)
1240 (mh-regenerate-headers, mh-generate-new-cmd-note)
1241 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1242 (mh-process-or-undo-commands, mh-process-commands)
1243 (mh-update-unseen, mh-delete-scan-msgs)
1244 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1245 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1246 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1247 (mh-lessp): Move to mh-utils.el.
1248 (mh-parse-flist-output-line, mh-folder-size-folder)
1249 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1250 (mh-remove-sequence-notation, mh-remove-cur-notation)
1251 (mh-remove-all-notation, mh-delete-seq-locally)
1252 (mh-read-folder-sequences, mh-read-msg-list)
1253 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1254 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1255 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1256 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1258 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1259 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1260 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1261 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1262 (mh-faces, mh-alias-completion-ignore-case-flag)
1263 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1264 (mh-alias-insert-file, mh-alias-insertion-location)
1265 (mh-alias-local-users, mh-alias-local-users-prefix)
1266 (mh-alias-passwd-gecos-comma-separator-flag)
1267 (mh-new-messages-folders, mh-ticked-messages-folders)
1268 (mh-large-folder, mh-recenter-summary-flag)
1269 (mh-recursive-folders-flag, mh-sortm-args)
1270 (mh-default-folder-for-message-function, mh-default-folder-list)
1271 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1272 (mh-identity-list, mh-auto-fields-list)
1273 (mh-auto-fields-prompt-flag, mh-identity-default)
1274 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1275 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1276 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1277 (mh-compose-insertion, mh-compose-skipped-header-fields)
1278 (mh-compose-space-does-completion-flag)
1279 (mh-delete-yanked-msg-window-flag)
1280 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1281 (mh-letter-complete-function, mh-letter-fill-column)
1282 (mh-mml-method-default, mh-signature-file-name)
1283 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1284 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1285 (mh-scan-format-file-check, mh-scan-format-file)
1286 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1287 (mh-search-program, mh-compose-forward-as-mime-flag)
1288 (mh-compose-letter-function, mh-compose-prompt-flag)
1289 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1290 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1291 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1292 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1293 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1294 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1295 (mh-display-buttons-for-inline-parts-flag)
1296 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1297 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1298 (mh-highlight-citation-style)
1299 (mh-invisible-header-fields-internal)
1300 (mh-delay-invisible-header-generation-flag)
1301 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1302 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1303 (mh-lpr-command-format, mh-max-inline-image-height)
1304 (mh-max-inline-image-width, mh-mhl-format-file)
1305 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1306 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1307 (mh-show-use-xface-flag, mh-store-default-directory)
1308 (mh-summary-height, mh-speed-update-interval)
1309 (mh-show-threads-flag, mh-tool-bar-search-function)
1310 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1311 (mh-before-commands-processed-hook, mh-before-quit-hook)
1312 (mh-before-send-letter-hook, mh-delete-msg-hook)
1313 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1314 (mh-inc-folder-hook, mh-insert-signature-hook)
1315 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1316 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1317 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1318 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1319 (mh-folder-address, mh-folder-body)
1320 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1321 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1322 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1323 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1324 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1325 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1326 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1327 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1328 (mh-speedbar-folder-with-unseen-messages)
1329 (mh-speedbar-selected-folder)
1330 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1331 deprecated file mh-customize.el.
1333 * mh-exec.el: Move content into mh-e.el and remove.
1335 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1337 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1339 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1341 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1342 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1343 to mail-abbrev-make-syntax-table.
1345 * mh-identity.el (mh-identity-menu): New variable for existing
1347 (mh-identity-make-menu-no-autoload): New alias for
1348 mh-identity-make-menu which can be called from mh-e.el.
1349 (mh-identity-list-set): Move to mh-e.el.
1350 (mh-identity-add-menu): New function
1351 (mh-insert-identity): Add optional argument maybe-insert so that
1352 local variable mh-identity-local does not have to be visible.
1354 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1355 rest of keymaps). Update key binding for ? to call mh-help with
1356 help messages in new argument.
1357 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1358 which can be called from mh-e.el.
1359 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1361 * mh-init.el: Move content into mh-e.el and remove.
1363 * mh-junk.el: Update requires, untabify, and add mh-autoload
1366 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1368 * mh-limit.el: New file. Contains display limit commands from
1371 * mh-mime.el: Rearrange for consistency with other files.
1372 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1374 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1375 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1376 (mh-goto-next-button): Move here from mh-e.el.
1378 * mh-print.el: Rearrange for consistency with other files.
1380 * mh-scan.el: New file. Contains scan line constants and utilities
1381 from XXX, mh-funcs, mh-utils.el.
1383 * mh-search.el: Rearrange for consistency with other files.
1384 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1385 fields which don't exist in the saved header. Replace C-c C-f f
1386 with C-c C-f m per mail-mode consistency.
1387 (mh-search-mode): Use mh-set-help instead of setting
1390 * mh-seq.el (mh-thread-message, mh-thread-container)
1391 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1392 (mh-thread-id-index-map, mh-thread-index-id-map)
1393 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1394 (mh-thread-subject-container-hash, mh-thread-duplicates)
1395 (mh-thread-history, mh-thread-body-width)
1396 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1397 (mh-thread-initialize, mh-thread-id-container)
1398 (mh-thread-remove-parent-link, mh-thread-add-link)
1399 (mh-thread-ancestor-p, mh-thread-get-message-container)
1400 (mh-thread-get-message, mh-thread-canonicalize-id)
1401 (mh-thread-prune-subject, mh-thread-container-subject)
1402 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1403 (mh-thread-sort-containers, mh-thread-group-by-subject)
1404 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1405 (mh-thread-update-id-index-maps, mh-thread-generate)
1406 (mh-thread-inc, mh-thread-generate-scan-lines)
1407 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1408 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1409 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1410 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1411 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1412 (mh-thread-ancestor, mh-thread-find-children)
1413 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1414 Move to new file mh-thread.el.
1415 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1416 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1417 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1418 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1419 (mh-current-message-header-field, mh-narrow-to-range)
1420 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1422 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1424 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1425 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1426 (mh-define-sequence, mh-undefine-sequence)
1427 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1428 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1429 (mh-parse-flist-output-line, mh-read-folder-sequences)
1430 (mh-read-msg-list, mh-notate-user-sequences)
1431 (mh-remove-cur-notation, mh-add-sequence-notation)
1432 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1434 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1435 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1437 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1439 * mh-speed.el: Rearrange for consistency with other files.
1441 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1443 * mh-tool-bar.el: New file. Contains tool bar creation code from
1444 deprecated file mh-customize.el.
1446 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1448 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1449 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1450 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1451 (mh-update-scan-format, mh-msg-num-width): Move to new file
1453 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1454 (mh-header-field-font-lock, mh-header-to-font-lock)
1455 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1456 (mh-show-font-lock-keywords)
1457 (mh-show-font-lock-keywords-with-cite)
1458 (mh-show-font-lock-fontify-region)
1459 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1460 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1461 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1462 (mh-show-sequence-menu, mh-show-message-menu)
1463 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1464 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1465 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1467 (mh-mail-header-separator, mh-signature-separator-regexp)
1468 (mh-signature-separator, mh-globals-hash, mh-user-path)
1469 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1470 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1471 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1472 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1473 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1474 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1475 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1476 Move to mh-alias.el.
1477 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1478 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1479 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1480 Move to new file mh-folder.el.
1481 (with-mh-folder-updating, mh-in-show-buffer)
1482 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1483 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1484 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1486 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1487 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1488 (mh-face-background-compat, mh-face-display-function)
1489 (mh-show-xface, mh-picon-directory-list)
1490 (mh-picon-existing-directory-list)
1491 (mh-picon-cache, mh-picon-image-types)
1492 (mh-picon-set-directory-list, mh-picon-get-image)
1493 (mh-picon-file-contents, mh-picon-generate-path)
1494 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1495 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1496 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1497 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1498 (mh-x-image-scale-with-convert)
1499 (url-unreserved-chars, url-hexify-string)
1500 (mh-x-image-url-cache-canonicalize)
1501 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1502 (mh-x-image-url-fetch-image, mh-x-image-display)
1503 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1504 (mh-x-image-url-display): Move to new file mh-xface.el.
1505 (mh-logo-display): Call mh-image-load-path.
1506 (mh-find-path-run, mh-find-path): Move here from deprecated file
1508 (mh-help-messages): Now an alist of modes to an alist of messages.
1509 (mh-set-help): New function used to set mh-help-messages
1510 (mh-help): Adjust for new format of mh-help-messages. Add
1511 help-messages argument.
1512 (mh-prefix-help): Refactor to use mh-help.
1513 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1515 (mh-clear-sub-folders-cache): New function added to avoid exposing
1516 mh-sub-folders-cache variable.
1518 * mh-xface.el: New file. Contains X-Face and Face header field
1519 display routines from mh-utils.el.
1521 2006-01-17 Bill Wohler <wohler@newt.com>
1523 * mh-acros.el (assoc-string): Fix typo in argument.
1525 2006-01-16 Bill Wohler <wohler@newt.com>
1527 * mh-acros.el (require): Remove defadvice of require as defadvice
1528 is verboten within Emacs and our implementation was returning the
1529 wrong value from require. Upcoming restructuring should make this
1531 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1533 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1534 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1536 * mh-identity.el (mh-identity-field-handler): Use it.
1538 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1539 (read-from-string string) with (string-to-number string).
1541 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1544 * mh-mime.el (mh-mml-forward-message): Ditto.
1546 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1547 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1548 (mh-openssl-parser, mh-index-update-maps): Ditto.
1550 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1551 (mh-thread-generate): Ditto.
1553 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1555 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1556 mm- functions for proper text=flowed handling (addresses SF
1559 2006-01-15 Bill Wohler <wohler@newt.com>
1561 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1562 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1565 * mh-utils.el (mh-show-limit-map): Ditto.
1567 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1569 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1571 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1572 where they are used.
1574 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1575 needed to help remove dependency on mh-utils.
1577 * mh-exec.el: New file. Move process support routines here from
1580 * mh-init.el (mh-utils): Remove require.
1581 (mh-exec): Add require.
1582 (mh-profile-component, mh-profile-component-value): Move here from
1585 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1586 dependencies on mh-utils.el.
1587 (mh-profile-component, mh-profile-component-value): Move to
1588 mh-init.el since that's the only place that uses them. (Other than
1589 mh-alias.el; I'm thinking that mh-find-path can set variable from
1590 the Aliasfile component like it does the other components).
1591 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1592 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1593 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1594 (defvar, mh-exec-cmd-output)
1595 (mh-exchange-point-and-mark-preserving-active-mark)
1596 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1597 file mh-exec.el so that mh-init.el doesn't have to depend on
1598 mh-utils.el, breaking circular dependency.
1612 * mh-speed.el: Added debugging statements (commented out) around
1613 requires to help find dependency loops. Will remove them when
1614 issues are resolved.
1616 2006-01-14 Bill Wohler <wohler@newt.com>
1618 * mh-customize.el (mh-index): Rename group to mh-search and sort
1619 group definition and options accordingly.
1620 (mh-index-program): Rename to mh-search-program.
1621 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1623 (mh-search-mode-hook): Change group from mh-index to mh-search.
1624 (mh-index-folder): Rename to mh-search-folder. Change group from
1625 mh-index to mh-search.
1627 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1628 to mh-search-folder.
1630 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1631 pick and grep are searchers too but aren't indexed.
1632 (mh-index-execute-search-function): Rename to mh-search-function.
1633 (mh-index-next-result-function): Rename to
1634 mh-search-next-result-function.
1635 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1636 (mh-search): Since redo-search-flag defaults to nil and is of
1637 lesser importance, make it an optional argument and place it after
1638 the folder and search-regexp arguments. Sync docstring with manual.
1639 (mh-search-mode-map): Autoload so that keys are shown in help even
1640 before mh-search is loaded.
1641 (mh-search-mode): Sync docstring with manual.
1642 (mh-index-do-search): Rename argument indexer to searcher. Sync
1643 docstring with manual.
1644 (mh-pick-do-search): Sync docstring with manual.
1645 (mh-index-p): Rename to mh-search-p.
1646 (mh-indexer-choices): Rename to mh-search-choices.
1647 (mh-index-choose): Rename to mh-search-choose. Rename argument
1648 indexer to searcher.
1649 (mh-swish++-execute-search, mh-swish-execute-search)
1650 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1651 read the results" from docstring since these functions don't.
1652 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1654 (mh-index-generate-pretty-name): Prune -search from string so that
1655 folder names for pick searches are the same as those of other
1658 2006-01-13 Bill Wohler <wohler@newt.com>
1660 * mh-acros.el (require): Added Satyaki's comment regarding what
1661 needs to happen to remove this defadvice which caused a little
1662 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1663 advices `require' incorrectly).
1665 * mh-search.el (mh-index-next-result-function): Add format to
1667 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1669 (mh-pick-execute-search): Operate across all folders if no folder
1670 given and recurse folder(s).
1671 (mh-pick-next-result): Handle new output.
1673 * mh-utils.el (mh-collect-folder-names): Fix docstring.
1674 (mh-children-p, mh-folder-list): New functions.
1676 2006-01-12 Bill Wohler <wohler@newt.com>
1678 * mh-search.el: New file containing contents of mh-index.el and
1679 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1680 pick. Pick no longer sets the "search" sequence. Instead, it
1681 brings up a folder view that we're accustomed to. (Closes SF
1683 (mh-index-search): Rename to mh-search.
1684 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1685 the Search to Perform Search and call mh-do-search. Add Search
1686 with Pick menu item.
1687 (mh-do-search): Delete.
1688 (mh-search-mode): Rename from mh-pick-mode.
1689 (MH-Search): Rename mode from MH-Pick.
1690 (mh-search-mode-map): Rename from mh-pick-mode-map.
1691 (mh-search-mode-help-messages): Rename from
1692 mh-pick-mode-help-messages.
1693 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1694 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1695 stay with that choice!
1698 * mh-pick.el: Merge into mh-search.el and delete.
1700 * mh-customize.el (mh-index-program): Change mh-index-search to
1701 mh-search in docstring.
1702 (mh-tool-bar-search-function): Change default from
1703 mh-search-folder to mh-search. Remove mh-search-folder as choice
1704 and rename mh-index-search choice to mh-search. Fix docstring.
1705 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1706 mh-search-folder to mh-search in docstring.
1708 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1709 Indexed Search to Search. Use mh-search instead of mh-index-search.
1710 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1711 from mh-show-search-folder to mh-search.
1713 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1714 mh-search-folder no longer creates the search sequence.
1716 * mh-utils.el (mh-show-search-folder): Delete.
1717 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1718 Change s from mh-show-search-folder to mh-search.
1719 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1720 Search to Search. Use mh-search instead of mh-index-search.
1721 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
1722 Move here from deleted mh-index.el.
1724 2006-01-11 Bill Wohler <wohler@newt.com>
1726 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1729 * mh-gnus.el: Require mh-acros.
1730 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1732 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1733 url-hexify-string to remove special characters from filenames
1734 (closes SF #1396499). Note that this invalidates the existing
1735 names in your cache so you might as well remove
1736 ~/Mail/.mhe-x-image-cache/* now.
1737 (url-unreserved-chars, url-hexify-string): Define if not defined.
1738 Copied from url-util.el in Emacs22 for Emacs 21.
1740 * mh-buffers.el: New file. Contains constants and code from
1741 mh-index.el and mh-utils.el.
1751 * mh-seq.el: Require new file mh-buffers.el.
1753 * mh-index.el: Require new file mh-buffers.el.
1754 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1757 * mh-utils.el: Require new file mh-buffers.el.
1758 (mh-temp-buffer, mh-temp-fetch-buffer)
1759 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1760 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1761 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1762 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1764 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1765 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1767 2006-01-10 Bill Wohler <wohler@newt.com>
1769 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1770 the cur message is used. Sync docstring with manual (closes SF
1773 * mh-mime.el (mh-compose-forward): Use standard range argument
1774 instead of messages. Use more powerful mh-read-range instead of
1775 read-string. Sync docstring with manual (close SF #1205890).
1777 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1779 (mh-index-next-folder): Don't back up a line when going backwards
1780 since this skips the current folder heading if point is on the
1781 first message after the folder heading (closes SF #1126188).
1783 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
1784 (mh-variants): Note variable isn't meant to be accessed directly;
1785 use function mh-variants instead.
1786 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1787 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1788 them. Updated to use mh-file-command-p which is more accurrate
1789 than file-executable-p which returns t for directories.
1790 (mh-file-command-p): Move here from mh-utils, since
1791 mh-variant-*-info are the only functions to use it.
1792 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1793 function mh-variants instead of variable. More robust.
1794 (mh-find-path-run): Move here from mh-utils.el. Mention that
1795 checking this variable is unnecessary.
1796 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1797 variants and an mhparam command that doesn't work if there isn't
1798 an MH profile, we can't get libdir for running install-mh. So
1799 don't bother. If there's an issue with the environment, direct the
1800 user to install MH and run install-mh (closes SF #835192). Don't
1801 read ~/.mh_profile directly. Use mh-profile-component which uses
1802 mhparam (closes SF #1016027).
1804 * mh-utils.el (mh-get-profile-field): Rename to
1805 mh-profile-component-value. Add colon to search removing
1806 unnecessary addition of colon to field in mh-profile-component.
1807 (mh-profile-component): Modify call to mh-profile-component-value
1808 accordingly. Move next to mh-profile-component-value.
1809 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1810 mh-init.el. It makes sense that code that is only run once per
1811 session (more or less) is in mh-init.el rather than cluttering
1813 (mh-no-install, mh-install): Delete.
1815 * mh-customize.el (mh-folder-msg-number):
1816 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1818 2006-01-09 Bill Wohler <wohler@newt.com>
1820 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1821 patch from Satyaki from SF #1016027.
1823 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1824 message, even if cur sequence is no longer present (closes SF
1827 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1829 (mh-letter-mode): Derive from mail-mode and delete code copied
1830 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1832 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1833 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1834 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1835 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1836 (mh-to-fcc): Move setting of folder argument to interactive
1837 argument as is the norm.
1838 (mh-letter-complete-function-alist): Add mail-reply-to.
1839 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1840 Mail-Followup-To, Reply-To, From).
1842 * mh-customize.el: Use ";; Forward definition." consistently.
1843 Comment declaration to remind programmer to update forward
1844 definition if default changes.
1851 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1854 2006-01-08 Bill Wohler <wohler@newt.com>
1856 Removed code that was marked as Emacs 20 compatible that was
1857 easily found showing how important it is to document such
1858 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1859 peculiarities that you find. Wrapped code for shushing compiler
1860 with (eval-when-compile), sometimes moving the defvars closer to
1861 where they were used.
1863 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1864 instead of mh-replace-in-string as mh-replace-in-string was
1865 replaced by a more appropriate defsubst in mh-xemacs.el.
1867 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1869 (mh-file-is-vcard-p): Removed redundant test.
1871 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1872 with eval-when-compile.
1873 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1874 (mh-invisible-header-fields-default): Add forward definitions.
1875 (mh-invisible-header-fields-default): Alphabetize.
1877 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1879 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1881 (mh-colors-available-p): Just call display-color-cells. It's on
1882 all supported Emacsen (and defaliased on XEmacs).
1886 * mh-init.el: Wrap compiler-shushing defvars with
1889 * mh-identity.el: Don't need (mh-require-cl).
1891 * mh-index.el: Don't need to load executable any more.
1893 * mh-mime.el: Wrap compiler-shushing defvars with
1895 (mh-have-file-command): Initialize variable to 'undefined. Add
1896 docstring. Update function of same name accordingly. Also don't
1897 need to load executable any more.
1898 (mh-mime-content-types): Delete.
1899 (mh-minibuffer-read-type): Prompt user for type if
1900 mh-file-mime-type returns application/octet-stream. Assume we have
1902 (mh-mime-display): Update error message.
1904 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1905 with eval-when-compile.
1907 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1908 with eval-when-compile.
1909 (mh-clean-msg-header): Don't set after-change-functions to nil.
1910 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1913 2006-01-07 Bill Wohler <wohler@newt.com>
1915 * mh-customize.el: Updated Faces documentation in header.
1916 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1917 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1919 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1920 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1923 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1925 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1926 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1928 2006-01-03 Bill Wohler <wohler@newt.com>
1930 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1931 unification. Use single sentence if possible by using semicolon.
1932 Don't end message with punctuation. Don't need format with
1933 message. Quote messages as in docstrings: use `' around symbols,
1934 \" for option choices. Don't use quotes around %s.
1936 * mh-comp.el (mh-complete-word): Ditto.
1938 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1939 (mh-scan-format-file-check): Ditto.
1941 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1942 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1943 (mh-msg-num-width-to-column): Ditto.
1945 * mh-identity.el (mh-identity-field-handler): Ditto.
1947 * mh-index.el (mh-mairix-execute-search)
1948 (mh-swish-execute-search, mh-swish++-execute-search)
1949 (mh-namazu-execute-search): Ditto.
1951 * mh-init.el (mh-variant-set): Ditto.
1953 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1954 (mh-secure-message, mh-mime-display): Ditto.
1956 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1958 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1959 (mh-read-range, mh-thread-container-subject): Ditto.
1961 * mh-utils.el (mh-x-image-scale-and-display)
1962 (mh-prompt-for-folder, mh-handle-process-error)
1963 (mh-list-to-string-1): Ditto.
1965 * mh-comp.el (mh-reply): Use standard default notation in
1966 prompts (closes SF #1275933).
1968 * mh-mime.el (mh-mime-save-parts): Ditto.
1970 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1972 * mh-customize.el (mh-folder-msg-number): Snow is actually
1973 off-white on low color displays which turns to white when bold.
1974 This is unreadable on white backgrounds. Use snow with min-colors
1975 requirement. Use cyan on low-color displays.
1977 * mh-init.el (mh-defface-compat): On low-color displays, delete
1978 the high-color display rather than simply strip the min-colors
1979 requirement since the existing algorithm shadowed the desired
1980 display on low-color displays.
1982 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1985 2006-01-02 Bill Wohler <wohler@newt.com>
1987 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1988 docstring. Does this mean something in a defun?
1990 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1993 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1994 so it reads better in docstring and manual. Sync docstring with
1997 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1999 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2001 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2002 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2003 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2004 (mh-letter-complete-or-space, mh-letter-confirm-address)
2005 (mh-letter-next-header-field-or-indent)
2006 (mh-letter-previous-header-field): Ditto.
2008 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2009 (mh-default-folder-for-message-function, mh-mml-method-default)
2010 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2011 (mh-show-mode-hook) Ditto.
2013 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2015 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2016 (mh-store-msg, mh-store-buffer): Ditto.
2018 * mh-index.el (mh-index-search, mh-index-do-search)
2019 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2021 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2023 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2024 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2025 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2026 (mh-mml-secure-message-signencrypt): Ditto.
2028 * mh-pick.el (mh-search-folder): Ditto.
2030 * mh-seq.el (mh-widen): Ditto.
2032 * mh-utils.el (mh-show, mh-modify): Ditto.
2034 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2036 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2038 2006-01-01 Bill Wohler <wohler@newt.com>
2040 * mh-customize.el: Sync docstrings with manual for faces and sort
2041 them alphabetically.
2042 (mh-faces): Move below mh-hooks.
2043 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2044 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2045 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2046 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2047 (mh-folder-body-face, mh-folder-cur-msg-face)
2048 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2049 (mh-folder-followup-face, mh-folder-msg-number-face)
2050 (mh-folder-deleted-face, mh-folder-refiled-face)
2051 (mh-folder-subject-face, mh-folder-address-face)
2052 (mh-folder-scan-format-face, mh-folder-to-face)
2053 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2054 (mh-show-header-face, mh-show-pgg-good-face)
2055 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2056 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2058 (mh-folder-cur-msg): Unused. Delete.
2059 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2060 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2061 Inherit from mh-folder-msg-number.
2062 (mh-folder-deleted): Use defface. Inherit from
2063 mh-folder-msg-number.
2064 (mh-folder-sent-to-me-hint): New face. Inherit from
2066 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2067 Use defface. Inherit from mh-folder-followup.
2068 (mh-show-xface): Inherit from mh-show-from and highlight.
2069 (bw-face-generation, bw-toggle-faces)
2070 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2071 variables, functions for toggling between old and new faces.
2073 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2074 eval-when-compile. We should probably do this throughout.
2075 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2076 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2077 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2078 (mh-scan-subject-regexp): Sync docstrings with manual
2079 (mh-scan-format-regexp): Rename to
2080 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2081 expression. Make expression more like the others (anchored at the
2082 beginning of line). Sync docstrings with manual.
2083 (mh-folder-font-lock-keywords): Use faces directly rather than
2084 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2085 mh-scan-format-regexp, and within that expression, use faces
2086 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2087 of mh-folder-date-face and mh-folder-scan-format-face which were
2090 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2091 rather than -face variables.
2093 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2094 rather than -face variables.
2095 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2096 (mh-face-display-function): Use mh-face-foreground-compat and
2097 mh-face-background-compat to use inherited attributes of
2098 mh-show-xface on Emacs 22 while still working on Emacs 21.
2100 2005-12-28 Bill Wohler <wohler@newt.com>
2102 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2103 Use mh-user-agent-compose instead of mh-smail-batch.
2105 2005-12-27 Bill Wohler <wohler@newt.com>
2107 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2108 suppress creation of folder if it doesn't exist.
2110 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2114 2005-12-23 Bill Wohler <wohler@newt.com>
2116 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2118 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2119 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2120 everything else. Otherwise, you can accidently get links to
2123 2005-12-22 Bill Wohler <wohler@newt.com>
2125 Follow Emacs coding conventions. Use default setting of
2126 emacs-lisp-docstring-fill-column which is 65.
2128 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2130 * mh-comp.el (mh-letter-mode): Use 60 column width.
2131 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2133 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2134 you have added a mail-citation-hook and neither are used if you
2135 use one of the supercite flavors of mh-yank-behavior. Sync
2136 docstrings with manual.
2138 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2139 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2140 hook. Use "Hook run by `function'..." instead of "Invoked...".
2141 Sync docstrings with manual.
2142 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2143 mh-ins-buf-prefix isn't used if you have added a
2144 mail-citation-hook and neither are used if you use one of the
2145 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2146 (mail-citation-hook): Delete. Use one in sendmail.el.
2147 (mh-signature-file-name, mh-after-commands-processed-hook)
2148 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2149 (mh-before-quit-hook, mh-before-send-letter-hook)
2150 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2151 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2152 (mh-letter-mode-hook)
2153 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2154 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2155 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2156 of "Invoked...". Sync docstrings with manual.
2158 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2159 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2160 (mh-delete-list, mh-refile-list, mh-folders-changed)
2161 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2162 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2163 (mh-mode-line-annotation, mh-sequence-notation-history)
2164 (mh-colors-available-flag): Move comment into docstring.
2165 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2166 (mh-process-commands): Sync docstrings with manual.
2167 (mh-refile-msg): Small doc edit.
2168 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2169 Rename msg argument to message.
2171 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2173 * mh-e.el (mh-update-unseen): No longer say "The value of
2174 `foo-hook' is a list of functions to be called, with no arguments,
2175 ...," but rather just "The hook foo-hook is called...".
2177 * mh-mime.el (mh-mh-to-mime): Ditto.
2179 * mh-pick.el (mh-pick-mode): Ditto.
2181 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2183 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2185 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2188 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2190 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2191 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2193 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2194 mh-before-commands-processed-hook, call new
2195 mh-after-commands-processed-hook.
2196 (mh-folders-changed): New variable (for use in
2197 mh-after-commands-processed-hook).
2199 2005-12-19 Bill Wohler <wohler@newt.com>
2219 Follow commenting conventions. Don't use ;;; form so much, except
2220 for headings. Precede headings with page feed. This was mostly
2221 already done, so I made it a convention. Did not update copyright
2222 on a couple of files since this was an insignificant change.
2224 2005-12-18 Bill Wohler <wohler@newt.com>
2226 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2227 (mh-tool-bar-search-function): Sync docstrings with manual.
2228 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2229 (mh-tool-bar-letter-help): Fix manual reference.
2230 (mh-xemacs-use-toolbar-flag): Rename to
2231 mh-xemacs-use-tool-bar-flag. Initialize to
2232 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2233 (mh-xemacs-toolbar-position): Rename to
2234 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2235 option (redundant) and change "Same As Default Tool Bar" setting
2236 to nil. Sync docstrings with manual.
2237 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2238 depending on context.
2239 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2240 for calling set-specifier. Only look at the value of
2241 mh-xemacs-use-tool-bar-flag.
2242 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2243 Sync docstrings with manual.
2245 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2248 * mh-e.el (mh-folder-mode): Ditto.
2250 * mh-utils.el (mh-show-mode): Ditto.
2252 2005-12-15 Bill Wohler <wohler@newt.com>
2254 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2256 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2257 (mh-thread-previous-sibling, mh-thread-ancestor)
2258 (mh-thread-delete, mh-thread-refile): Ditto.
2260 2005-12-14 Bill Wohler <wohler@newt.com>
2262 * mh-customize.el (mh-speed-flists-interval): Rename to
2263 mh-speed-update-interval.
2264 (mh-speed-run-flists-flag): Delete. Setting
2265 mh-speed-flists-interval to 0 accomplishes the same thing.
2267 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2268 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2269 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2270 docstrings with manual.
2272 2005-12-09 Bill Wohler <wohler@newt.com>
2274 * mh-customize.el (mh-path): Move here from mh-init.el.
2275 (mh-variant): Mention that mh-path can be customized.
2276 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2277 X-MAIL-INFO, and X-UNTD- from NetZero.
2279 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2281 2005-12-04 Bill Wohler <wohler@newt.com>
2283 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2284 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2287 * mh-customize.el (mh-insert-signature-hook): Rename
2288 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2290 * mh-comp.el (mh-insert-signature): Ditto.
2292 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2293 to nil. Remove t option. Sync docstring with manual (closes SF
2295 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2296 users can see it, look it up in the manual's index, and discover
2297 mh-fetch-x-image-url (closes SF #831278).
2299 * mh-customize.el (mh-new-messages-folders): Rename from
2300 mh-index-new-messages-folders.
2301 (mh-ticked-messages-folders): Rename from
2302 mh-index-ticked-messages-folders.
2304 * mh-index.el (mh-index-sequenced-messages)
2305 (mh-index-new-messages): Ditto.
2307 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2308 in the docstrings and made usage consistent. Generally speaking,
2309 "messages in range" and "range of messages" is redundant and just
2310 "range" can be used in most circumstances. Also ensured that
2311 mh-interactive-range was mentioned in all interactive functions
2312 that use a range which describes the range argument for both users
2315 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2316 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2317 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2318 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2321 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2324 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2326 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2327 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2329 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2330 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2332 2005-12-01 Bill Wohler <wohler@newt.com>
2334 Rewrote Reading Mail chapter in manual which affected mh-show
2335 customization group and related functions.
2337 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2338 instead of mh-highlight-citation-p.
2339 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2340 I think, so use "truncated".
2342 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2343 section is Folders, not Organizing. Parent of mh-folder-faces is
2344 mh-folder, not mh-show.
2345 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2346 (mh-thread): New group that corresponds with manual's Threading chapter.
2347 (mh-letter-faces): Group's manual section is Editing Drafts, not
2349 (mh-sortm-args): New customization variable that used to be a defvar.
2350 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2351 Move from mh-index group to mh-folders group.
2352 (mh-alias-local-users-prefix, mh-large-folder)
2353 (mh-recursive-folders-flag, mh-before-quit-hook)
2354 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2355 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2357 (mh-highlight-citation-style): Rename from
2358 mh-highlight-citation-p. Sync docstrings with manual.
2359 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2361 (mh-show-threads-flag): Move from mh-show group to mh-thread
2363 (mh-find-path-hook): Move from mh-show group to mh-e group.
2364 (mh-folder-updated-hook): Add to mh-folder group.
2365 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2366 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2367 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2368 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2369 (mh-display-buttons-for-inline-parts-flag)
2370 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2371 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2372 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2373 (mh-lpr-command-format, mh-max-inline-image-height)
2374 (mh-max-inline-image-width)
2375 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2376 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2377 (mh-show-use-xface-flag, mh-store-default-directory)
2378 (mh-summary-height, mh-delete-msg-hook
2379 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2381 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2382 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2383 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2384 Use non-fontification instead of non-fontifying.
2385 (mh-header-display): Use mh-mhl-format-file instead of
2386 mhl-formfile. Sync docstrings with manual.
2387 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2388 count. Sync docstrings with manual.
2389 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2390 so that message doesn't change when using this command. Sync
2391 docstrings with manual.
2392 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2393 docstrings with manual.
2394 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2395 to no-header. Sync docstrings with manual.
2396 (mh-ps-print-map): Delete keybindings for deleted commands
2397 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2398 (mh-help-messages): Update printing help.
2399 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2400 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2401 (mh-prev-button, mh-folder-toggle-mime-part)
2402 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2403 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2406 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2408 (mh-pipe-msg): Rename include-headers to include-header.
2409 Sync docstrings with manual.
2410 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2411 (mh-store-msg): Sync docstrings with manual.
2413 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2414 Sync docstrings with manual.
2415 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2416 Sync docstrings with manual.
2417 (mh-mm-display-part, mh-mm-inline-message): Use
2418 mh-highlight-citation-style instead of mh-highlight-citation-p.
2419 (mh-press-button): Sync docstrings with manual.
2420 (mh-display-with-external-viewer): Fix default output in
2421 minibuffer. Sync docstrings with manual.
2423 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2425 (mh-ps-print-color-option): Incorporate docstring from
2427 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2429 (mh-ps-spool-msg): Slimline docstring. Rename from
2430 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2432 (mh-ps-print-range): Extract method from common code in
2433 mh-ps-print-msg and mh-ps-print-msg-file.
2434 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2435 (mh-ps-print-msg-show): Delete. Can use either
2436 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2437 new code in mh-ps-spool-msg.
2438 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2439 Sync docstrings with manual.
2440 (mh-ps-print-msg, mh-ps-print-msg-file)
2441 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2442 Sync docstrings with manual.
2444 * mh-utils.el (mh-show-ps-print-msg-show)
2445 (mh-show-ps-print-toggle-mime): Delete.
2446 (mh-show-ps-print-map): Update accordingly.
2447 (mh-show-mode): Use mh-highlight-citation-style instead of
2448 mh-highlight-citation-p.
2449 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2451 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2452 Sync docstrings with manual.
2453 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2454 Sync docstrings with manual.
2456 2005-12-01 Bill Wohler <wohler@newt.com>
2458 * mh-init.el (mh-defface-compat): Checkdoc fix.
2460 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2461 Bogofilter is lowercase except at beginning of sentence and in
2464 2005-11-04 Bill Wohler <wohler@newt.com>
2466 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2467 Move to mh-init.el to minimize bulk of mh-customize.el.
2469 * mh-init.el: Modify commentary since file is used for load and
2470 initialization as well as setting and getting the variant.
2471 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2474 * mh-customize.el: Refactor faces. Move grayscale requirements
2475 last before t. Use uniform line breaks.
2476 (mh-min-colors-defined-flag): New variable.
2477 (mh-defface-compat): New function. Provides backward compatibility
2479 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2480 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2481 (mh-folder-body): Use mh-defface-compat.
2483 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2485 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2486 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2487 (mh-folder-to-face): Use the min-colors attribute instead of the
2490 2005-11-03 Bill Wohler <wohler@newt.com>
2492 * mh-customize.el (mh-refile-preserves-sequences-flag)
2493 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2494 Sync docstrings with manual.
2496 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2498 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2499 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2502 2005-11-01 Bill Wohler <wohler@newt.com>
2504 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2506 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2507 (mh-reply, mh-send, mh-send-other-window)
2508 (mh-fill-paragraph-function): Sync docstrings with manual.
2509 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2510 msg argument to message (to make for a better docstring).
2512 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2513 to defcustom. Rename by adding -flag.
2514 (mh-compose-forward-as-mime-flag)
2515 (mh-compose-letter-function, mh-forward-subject-format)
2516 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2517 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2520 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2521 (mh-ps-print-msg): Remove debugging messages.
2522 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2523 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2524 after message per conventions.
2526 2005-10-30 Bill Wohler <wohler@newt.com>
2528 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2529 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2530 Sync docstrings with manual.
2532 * mh-customize.el (mh-compose-space-does-completion-flag)
2533 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2534 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2535 means" to remain checkdoc clean and consistent with Emacs. I
2536 raised this issue with the Emacs developers and Stallman agrees
2537 that "On means" should be allowed in custom docstrings but that
2538 this change requires thought and should wait until after the Emacs
2541 2005-10-28 Bill Wohler <wohler@newt.com>
2543 * mh-comp.el (mh-annotate-msg): Use new variable
2544 mh-scan-field-destination-offset rather than hard-coding 1.
2546 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2548 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2549 functions to check input for mh-adaptive-cmd-note-flag and
2550 mh-scan-format-file respectively.
2551 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2554 * mh-e.el (mh-scan-field-destination-offset): New variable. The
2555 destination is the -, t, b, c, or n character for Replied, To, cc,
2556 Bcc, or Newsgroups respectively.
2557 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2558 Call new function mh-msg-num-width-to-column to make leap between
2559 width and column more explicit.
2560 (mh-msg-num-width-to-column): New function that steals logic from
2561 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2562 isn't t since we can't adapt the scan lines in this case.
2563 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2564 make the documentation more clear.
2565 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2566 column, not a width.
2567 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2568 variable mh-scan-field-destination-offset rather than hard-coding 1.
2570 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2571 (mh-notate): Use new variable mh-scan-field-destination-offset
2572 rather than hard-coding 1.
2573 (mh-message-number-width): Rename to mh-msg-num-width to be
2574 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2576 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2577 (mail-citation-hook): Quote URLs in docstrings and precede with
2578 `URL'. The former will suppress checkdoc warnings, the latter will
2579 turn them into hyperlinks in Emacs 22 (I just added the code to do
2581 (mh-scan-format-file): Checkdoc fix.
2583 2005-10-27 Bill Wohler <wohler@newt.com>
2585 * mh-customize.el (mh-adaptive-cmd-note-flag)
2586 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2588 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2589 (mh-note-cur, mh-scan-good-msg-regexp)
2590 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2591 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2592 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2593 (mh-scan-subject-regexp, mh-scan-format-regexp)
2594 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2597 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2599 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2600 of hard-coded string.
2601 (mh-mail-header-separator, mh-signature-separator-regexp):
2602 Use "regular expression" in docstring instead of regexp.
2603 (mh-scan-msg-number-regexp)
2604 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2605 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2606 (mh-cmd-note): Sync docstrings with manual.
2608 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2611 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2613 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2614 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2615 (mh-mml-secure-message-signencrypt): Ditto.
2617 2005-10-24 Bill Wohler <wohler@newt.com>
2619 * mh-gnus.el: Load mml.el in order to see if
2620 mml-minibuffer-read-disposition is defined or not.
2622 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2625 2005-10-23 Miles Bader <miles@gnu.org>
2627 * .arch-inventory: New file.
2629 2005-10-23 Bill Wohler <wohler@newt.com>
2631 * mh-customize.el (mh-interpret-number-as-range-flag):
2632 Sync docstring with manual.
2634 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2635 mh-alias.el and move to mh-acros.el.
2637 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2638 mh-identity.el and move to mh-acros.el.
2640 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2641 mh-identity.el and mh-alias.el.
2643 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2644 warning in Emacs 22.
2646 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2648 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2649 assoc-string (if the function is available) and falls back on
2650 assoc-ignore-case if assoc-string is not found.
2651 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2652 assoc-ignore-case is a obsolete function in Emacs 22.
2654 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2655 track of whether the tool-bar in mh-folder-mode has been
2657 (mh-folder-mode): Initialize the tool-bar for folders the first
2658 time we get into mh-letter-mode.
2660 * mh-customize.el (mh-buffer-exists-p): New function which tests
2661 presence of buffers of a given mode.
2662 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
2663 mh-tool-bar-letter-buttons-init are defined. These functions are
2664 used to create the tool-bar from the corresponding customizable
2667 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2668 keeps track of whether the tool-bar in mh-letter-mode has been
2670 (mh-letter-mode): Initialize the tool-bar for drafts the first
2671 time we get into mh-letter-mode.
2673 2005-10-23 Bill Wohler <wohler@newt.com>
2675 * mh-comp.el (mh-letter-menu): Rename
2676 mh-mhn-compose-external-compressed-tar to
2677 mh-mh-compose-external-compressed-tar. Rename
2678 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2679 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2680 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2681 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2682 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2684 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2685 mh-mh-directive-present-p.
2686 (mh-send-letter): Rename mh-mhn-directive-present-p to
2687 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2688 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2689 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2690 mh-mhn-compose-external-compressed-tar to
2691 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2692 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2693 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2694 mh-mh-compose-anon-ftp. Rename
2695 mh-mhn-compose-external-compressed-tar to
2696 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2697 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2698 mh-mh-compose-external-type.
2699 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2700 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2701 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2702 mh-yank-from-start-of-msg to mh-yank-behavior.
2703 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2704 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2705 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2706 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2707 (mh-letter-complete-or-space, mh-letter-confirm-address)
2708 (mh-letter-next-header-field-or-indent)
2709 (mh-letter-previous-header-field)
2710 (mh-letter-toggle-header-field-display): Sync docstrings with
2713 * mh-customize.el (mh-edit-mhn-hook): Rename to
2715 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2716 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2717 and user-visible values from mhn and Gnus to MH and MML.
2718 (mh-before-send-letter-hook): Add 'ispell-message option.
2719 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2720 mh-pgp-support-flag.
2721 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2722 (mh-delete-yanked-msg-window-flag)
2723 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2724 (mh-letter-complete-function, mh-letter-fill-column)
2725 (mh-mml-method-default, mh-signature-file-name)
2726 (mh-signature-separator-flag, mh-x-face-file)
2727 (mh-yank-behavior, mail-citation-hook)
2728 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2731 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2732 provided for Emacs 21 environments that lack it.
2734 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2736 (mh-compose-forward): mh-mh-forward-message requires string arg.
2737 (mh-minibuffer-read-type): New function.
2738 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2739 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2740 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2741 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2742 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2743 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
2744 (mh-mhn-compose-external-compressed-tar): Rename to
2745 mh-mh-compose-external-compressed-tar. Rename
2746 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2747 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
2748 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2749 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2750 Use correct program in message.
2751 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2752 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2753 (mh-compose-forward, mh-mh-attach-file)
2754 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2755 (mh-mh-compose-external-type, mh-mh-forward-message)
2756 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2757 mh-minibuffer-read-type.
2758 (mh-mime-content-types): Move comment about only being used in
2759 Emacs 20 to docstring.
2760 (mh-mh-compose-external-type): Rename extra-param argument to
2762 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2763 (mh-mime-display-part, mh-mime-display-single): Rename
2764 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2765 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2767 (mh-compose-forward): Rename mh-mhn-compose-forw to
2768 mh-mh-forward-message.
2769 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2771 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2772 (mh-mh-attach-file, mh-mh-compose-type)
2773 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2774 (mh-mh-compose-external-compressed-tar)
2775 (mh-mh-compose-external-type, mh-mh-forward-message)
2776 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2777 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2778 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2779 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2780 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2781 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2782 Sync docstrings with manual.
2784 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2785 mh-pgp-support-flag.
2787 2005-10-17 Peter S Galbraith <psg@debian.org>
2789 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
2790 to compare against header field for mixed-case "From:".
2792 2005-10-17 Bill Wohler <wohler@newt.com>
2794 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2795 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2796 to mail/compose, fld_open to fld-open.
2797 (mh-letter-tool-bar-map): Rename image file mail_send to
2800 2005-10-16 Bill Wohler <wohler@newt.com>
2802 * mh-comp.el (mh-display-completion-list-compat): New macro which
2803 calls `display-completion-list' correctly in older environments.
2804 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2806 (mh-complete-word): Use it.
2808 * mh-init.el (mh-image-load-path): Use locate-library to find
2809 MH-E. This simplified the code a lot. Flattened out nested
2810 statements even more.
2812 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2814 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2815 causes a compiler warning.
2817 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2818 the message to be viewed (closes SF #1306141).
2820 2005-10-16 Masatake YAMATO <jet@gyve.org>
2822 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2823 of completion to `display-completion-list'.
2825 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2827 * mh-init.el (mh-image-load-path-called-flag): New variable which
2828 is used by mh-image-load-path so that it runs only once.
2829 (mh-image-load-path): Modify so that it gets run only once. Also
2830 flatten out heavily nested if statements to make it clearer.
2832 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2833 to find images used in the toolbar.
2835 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2837 2005-10-14 Bill Wohler <wohler@newt.com>
2839 * mh-e.el (Version, mh-version): Add +cvs to version.
2841 2005-10-14 Bill Wohler <wohler@newt.com>
2843 Released MH-E version 7.85.
2845 * mh-e.el (Version, mh-version): Update for release 7.85.
2847 2005-10-14 Bill Wohler <wohler@newt.com>
2849 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
2850 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2851 need to be indented.
2853 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2854 but the code that invoked the face had not been updated. Tick
2855 highlighting working again.
2857 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2858 make-variable-buffer-local call to top level to avoid warnings in
2861 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2864 2005-10-09 Bill Wohler <wohler@newt.com>
2866 * mh-init.el (mh-image-load-path): New function that adds the path
2867 to the MH-E images to the image-load-path or load-path depending
2868 on the version of Emacs.
2870 * mh-customize.el: Call mh-image-load-path just before
2871 mh-tool-bar-define so that the toolbar images can be found.
2873 2005-10-04 Bill Wohler <wohler@newt.com>
2875 * ChangeLog: Move contents into ChangeLog.1 and trim.
2877 * ChangeLog.1: New file. Contains old ChangeLog.
2880 Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
2882 This file is part of GNU Emacs.
2884 GNU Emacs is free software; you can redistribute it and/or modify
2885 it under the terms of the GNU General Public License as published by
2886 the Free Software Foundation; either version 2, or (at your option)
2889 GNU Emacs is distributed in the hope that it will be useful,
2890 but WITHOUT ANY WARRANTY; without even the implied warranty of
2891 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2892 GNU General Public License for more details.
2894 You should have received a copy of the GNU General Public License
2895 along with GNU Emacs; see the file COPYING. If not, write to the
2896 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2897 Boston, MA 02110-1301, USA.
2900 ;; sentence-end-double-space: nil
2901 ;; add-log-time-zone-rule: t
2904 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51