1 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
3 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
4 use mh-junk-background consistently in call-process calls.
6 * (mh-bogofilter-blacklist, mh-bogofilter-whitelist,
7 mh-spamprobe-blacklist, mh-spamprobe-whitelist): use
8 with-current-buffer so the right thing happens if
9 mh-junk-background is t. (closes SF #1594802).
11 * mh-e.el (mh-junk-background): document that On value is 0;
12 t may be used for debugging.
14 2006-11-10 Andreas Schwab <schwab@suse.de>
16 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
18 2006-11-10 Glenn Morris <rgm@gnu.org>
20 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
22 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
24 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
25 quotation marks, so that the last two arguments of sa-learn
26 are separated properly (closes SF #1565460).
28 * (mh-spamassassin-blacklist): In example .procmailrc, add
29 PATH element to find mhparam on Debian.
31 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
33 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
34 so that we always have a valid string for split-string even if
35 nothing is added in mh-send-letter (closes SF #1564742).
37 2006-07-03 Bill Wohler <wohler@newt.com>
39 Release MH-E version 8.0.2.
41 * mh-e.el (Version, mh-version): Update for release 8.0.2.
43 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
45 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
46 it refers to the icons in mh-xemacs-icon-map instead of trying to
47 declare the icons in situ. This allows mh-tool-bar.el to be
48 compiled under XEmacs. Remove initial value for
49 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
50 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
51 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
52 This allows MH-E to be used in XEmacs in a tty (closes SF
55 2006-07-03 Bill Wohler <wohler@newt.com>
57 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
58 that mh-xemacs needs functions in mh-compat.
60 2006-06-29 Bill Wohler <wohler@newt.com>
62 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
63 loop construct to be consistent with other loops, and because
64 edebug doesn't work without it.
66 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
68 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
69 redundant +s in regexp (closes SF #1514424).
71 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
73 * mh-mime.el (mh-mime-save-parts): Add -store option to
74 mhn (closes SF #1513140).
76 2006-06-20 Bill Wohler <wohler@newt.com>
78 Release MH-E version 8.0.1.
80 * mh-e.el (Version, mh-version): Update for release 8.0.1.
82 2006-06-15 Bill Wohler <wohler@newt.com>
84 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
85 suffix for folder names, as <> are illegal filenakme characters on
86 Windows (closes SF #1507002).
88 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
90 * mh-comp.el (mh-send-uses-spost): New variable.
91 (mh-send-letter): Do not use -msgid and -mime if
92 mh-send-uses-spost is t (closes SF #1486726).
94 2006-06-02 Bill Wohler <wohler@newt.com>
96 (mh-folder-exists-p): Change test from an empty buffer, to one
97 that contains the actual folder, since GNU mailutils' folder
98 command displays output if the folder doesn't exist (closes SF
101 2006-05-06 Bill Wohler <wohler@newt.com>
103 Release MH-E version 8.0.
105 * mh-e.el (Version, mh-version): Update for release 8.0.
107 2006-05-05 Bill Wohler <wohler@newt.com>
109 * mh-e.el: Update commentary.
111 2006-04-28 Bill Wohler <wohler@newt.com>
113 Release MH-E version 7.95.
115 * mh-e.el (Version, mh-version): Update for release 7.95.
117 2006-04-26 Eric Ding <ericding@alum.mit.edu>
119 * mh-e.el (mh-invisible-header-fields-internal): Add entry
122 2006-04-25 Bill Wohler <wohler@newt.com>
124 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
125 Folders returned by mh-folder-completion-function no longer need
126 adornment (closes SF #1476270).
128 2006-04-21 Bill Wohler <wohler@newt.com>
130 * mh-e.el (Version, mh-version): Add +cvs to version.
132 2006-04-21 Bill Wohler <wohler@newt.com>
134 Release MH-E version 7.94.
136 * mh-e.el (Version, mh-version): Update for release 7.94.
138 2006-04-21 Bill Wohler <wohler@newt.com>
140 * mh-letter.el (mh-insert-letter): If a message number isn't
141 given, throw an error rather than using a potentially incorrect
142 message number (closes SF #1473729). In addition, use the cur
143 message if mh-sent-from-msg is nil (when sending a message, in
144 contrast to replying). Move conversion of int to string into
145 interactive stanza so body can assume variables are of proper
148 2006-04-20 Bill Wohler <wohler@newt.com>
150 * mh-tool-bar.el (image-load-path): Define to shush compiler.
151 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
152 isn't used outside of it.
153 (mh-tool-bar-folder-buttons-init,
154 mh-tool-bar-letter-buttons-init): Update load-path/image-load-path
155 before setting buttons. This code used to be in
156 mh-folder-mode/mh-letter-mode but this was the wrong place since
157 mh-tool-bar-*-buttons-init can also be called when customizing the
159 (mh-tool-bar-update): New function which updates tool-bar-map in
160 all of the MH-E buffers after customizing the buttons (closes SF
162 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
163 Call it (closes SF #1452718).
165 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
166 mh-folder-tool-bar-map instead.
167 (image-load-path): Delete. No longer used.
168 (mh-folder-mode): Moved setting of image-load-path into
169 mh-tool-bar-folder-buttons-init.
171 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
172 mh-letter-tool-bar-map instead.
173 (image-load-path): Delete. No longer used.
174 (mh-letter-mode): Moved setting of image-load-path into
175 mh-tool-bar-letter-buttons-init.
177 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
178 instead of set-buffer.
180 2006-04-19 Bill Wohler <wohler@newt.com>
182 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
183 can permanently disable a button (such as a separator) with nil.
185 2006-04-18 Bill Wohler <wohler@newt.com>
187 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
188 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
189 (mh-min-colors-defined-flag): Do not unbind these macros and
190 variables. Nice idea, but too many nasty side-effects. These
191 macros are needed by [Cc]ustom-make-dependencies when creating the
192 MH-E customization groups in mh-cus-load.el. These disappeared
193 when the macros above were introduced. Besides, if a developer
194 were to try to show the help for a macro or variable they were
195 looking at and got [No match] when they did so, that would be bad.
197 2006-04-17 Bill Wohler <wohler@newt.com>
199 * mh-comp.el (mh-insert-x-mailer): Strip build number from
200 version in X-Mailer field (closes SF #1466481).
202 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
203 variables and functions with the same name are found correctly by
204 find-func (invoked by clicking on the filename link in the *Help*
206 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
207 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
208 (mh-defcustom): Rename to defcustom-mh. Ditto.
209 (mh-defface): Rename to defface-mh. Ditto.
210 (mh-font-lock-add-keywords): Make changes according to these
213 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
216 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
217 have been processed by mh-normalize-folder-name.
218 (mh-folder-completion-function): Handle completion of folders with
219 absolute names. Also, when flag is t, display complete folder name
220 to provide proper highlighting in Emacs 22 now that
221 minibuffer-completing-file-name is nil (closes SF #1470518).
222 (mh-folder-completing-read): No longer set
223 minibuffer-completing-file-name to t. This was causing "Can't set
224 current directory errors" when browsing absolute file names.
225 Another benefit of this change is that SPC can be used for
226 completion again (closes SF #1470518).
228 2006-04-15 Bill Wohler <wohler@newt.com>
230 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
232 2006-04-14 Bill Wohler <wohler@newt.com>
234 * mh-funcs.el (view-exit-action): No need to wrap defvar with
235 eval-when-compile when shushing compiler.
237 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
239 * mh-seq.el (view-exit-action): Ditto.
241 * mh-show.el (font-lock-auto-fontify): Ditto.
243 * mh-utils.el (mh-speed-flists-cache): Ditto
245 * mh-acros.el (struct, x, y): No need to wrap defvar with
246 eval-when-compile when shushing compiler, even when
247 mh-do-in-xemacs or another construct is used.
249 * mh-comp.el (sendmail-coding-system): Ditto.
251 * mh-e.el (mark-active): Ditto.
253 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
254 (image-load-path, font-lock-defaults): Ditto.
256 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
258 * mh-mime.el (dots, type, ov)
259 (mm-verify-function-alist, mm-decrypt-function-alist)
260 (pressed-details): Ditto.
262 * mh-search.el (pick-folder, mh-do-in-xemacs)
263 (mh-mairix-folder, mh-flists-search-folders)
264 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
266 * mh-seq.el (tool-bar-mode): Ditto.
268 * mh-utils.el (completion-root-regexp)
269 (minibuffer-completing-file-name): Ditto.
271 * mh-xface.el (default-enable-multibyte-characters): Ditto.
273 * mh-compat.el (mh-font-lock-add-keywords): New alias for
274 font-lock-add-keywords. Returns nil on XEmacs.
276 * mh-e.el: Add MH-E function and variable keywords such as
277 mh-defun-compat and mh-defcustom to font-lock-keywords.
279 2006-04-13 Bill Wohler <wohler@newt.com>
281 * mh-e.el (customize-package-emacs-version-alist)
282 (mh-e, mh-alias, mh-folder, mh-folder-selection)
283 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
284 (mh-scan-line-formats, mh-search, mh-sending-mail, )
285 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
286 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
287 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
288 (mh-alias-insert-file, mh-alias-insertion-location)
289 (mh-alias-local-users, mh-alias-local-users-prefix)
290 (mh-alias-passwd-gecos-comma-separator-flag)
291 (mh-new-messages-folders, mh-ticked-messages-folders)
292 (mh-large-folder, mh-recenter-summary-flag)
293 (mh-recursive-folders-flag, mh-sortm-args)
294 (mh-default-folder-for-message-function, )
295 (mh-default-folder-list, mh-default-folder-must-exist-flag)
296 (mh-default-folder-prefix, mh-identity-list)
297 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
298 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
299 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
300 (mh-junk-program, mh-compose-insertion)
301 (mh-compose-skipped-header-fields)
302 (mh-compose-space-does-completion-flag)
303 (mh-delete-yanked-msg-window-flag)
304 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
305 (mh-letter-complete-function, mh-letter-fill-column)
306 (mh-mml-method-default, mh-signature-file-name)
307 (mh-signature-separator-flag, mh-x-face-file, )
308 (mh-yank-behavior, mh-interpret-number-as-range-flag)
309 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
310 (mh-search-program, mh-compose-forward-as-mime-flag)
311 (mh-compose-letter-function, mh-compose-prompt-flag)
312 (mh-forward-subject-format, mh-insert-x-mailer-flag)
313 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
314 (mh-reply-show-message-flag, )
315 (mh-refile-preserves-sequences-flag, mh-tick-seq)
316 (mh-update-sequences-after-mh-show-flag)
317 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
318 (mh-decode-mime-flag, )
319 (mh-display-buttons-for-alternatives-flag)
320 (mh-display-buttons-for-inline-parts-flag)
321 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
322 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
323 (mh-highlight-citation-style, mh-invisible-header-fields)
324 (mh-invisible-header-fields-default, mh-lpr-command-format)
325 (mh-max-inline-image-height, mh-max-inline-image-width)
326 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
327 (mh-print-background-flag, mh-show-maximum-size)
328 (mh-show-use-xface-flag, mh-store-default-directory)
329 (mh-summary-height, mh-speed-update-interval)
330 (mh-show-threads-flag, mh-tool-bar-search-function)
331 (mh-defcustom, mh-after-commands-processed-hook)
332 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
333 (mh-before-quit-hook, mh-before-send-letter-hook)
334 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
335 (mh-forward-hook, mh-inc-folder-hook, )
336 (mh-insert-signature-hook, )
337 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
338 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
339 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
340 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
341 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
342 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
343 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
344 (mh-folder-subject, mh-folder-tick, mh-folder-to)
345 (mh-letter-header-field, mh-search-folder, mh-show-cc)
346 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
347 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
348 (mh-show-subject, mh-show-to, mh-show-xface, )
349 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
350 (mh-speedbar-selected-folder)
351 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
352 notation in :package-version keyword.
354 2006-04-07 Bill Wohler <wohler@newt.com>
356 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
357 :package-version keyword.
359 2006-03-31 Bill Wohler <wohler@newt.com>
361 * mh-e.el (mh-strip-package-version): Move before use to avoid
362 compiler error. Make macro, also to avoid compiler error.
363 (mh-defface-compat): Incorporate body into mh-face-data and
366 2006-03-30 Bill Wohler <wohler@newt.com>
368 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
369 remove new :package-version keyword in older settings.
370 (customize-package-emacs-version-alist): Add MH-E version to Emacs
372 (mh-e, mh-alias, mh-folder, mh-folder-selection)
373 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
374 (mh-scan-line-formats, mh-search, mh-sending-mail)
375 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
376 (mh-hooks, mh-faces): Add :package-version keyword to these
377 groups (closes SF #1452724).
378 (mh-alias-completion-ignore-case-flag)
379 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
380 (mh-alias-insert-file, mh-alias-insertion-location)
381 (mh-alias-local-users, mh-alias-local-users-prefix)
382 (mh-alias-passwd-gecos-comma-separator-flag)
383 (mh-new-messages-folders, mh-ticked-messages-folders)
384 (mh-large-folder, mh-recenter-summary-flag)
385 (mh-recursive-folders-flag, mh-sortm-args)
386 (mh-default-folder-for-message-function)
387 (mh-default-folder-list, mh-default-folder-must-exist-flag)
388 (mh-default-folder-prefix, mh-identity-list)
389 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
390 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
391 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
392 (mh-junk-program, mh-compose-insertion)
393 (mh-compose-skipped-header-fields)
394 (mh-compose-space-does-completion-flag)
395 (mh-delete-yanked-msg-window-flag)
396 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
397 (mh-letter-complete-function, mh-letter-fill-column)
398 (mh-mml-method-default, mh-signature-file-name)
399 (mh-signature-separator-flag, mh-x-face-file)
400 (mh-yank-behavior, mh-interpret-number-as-range-flag)
401 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
402 (mh-search-program, mh-compose-forward-as-mime-flag)
403 (mh-compose-letter-function, mh-compose-prompt-flag)
404 (mh-forward-subject-format, mh-insert-x-mailer-flag)
405 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
406 (mh-reply-show-message-flag)
407 (mh-refile-preserves-sequences-flag, mh-tick-seq)
408 (mh-update-sequences-after-mh-show-flag)
409 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
410 (mh-decode-mime-flag)
411 (mh-display-buttons-for-alternatives-flag)
412 (mh-display-buttons-for-inline-parts-flag)
413 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
414 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
415 (mh-highlight-citation-style, mh-invisible-header-fields)
416 (mh-invisible-header-fields-default, mh-lpr-command-format)
417 (mh-max-inline-image-height, mh-max-inline-image-width)
418 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
419 (mh-print-background-flag, mh-show-maximum-size)
420 (mh-show-use-xface-flag, mh-store-default-directory)
421 (mh-summary-height, mh-speed-update-interval)
422 (mh-show-threads-flag, mh-tool-bar-search-function): Add
423 :package-version keyword to these options (closes SF #1452724).
424 (mh-after-commands-processed-hook)
425 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
426 (mh-before-quit-hook, mh-before-send-letter-hook)
427 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
428 (mh-forward-hook, mh-inc-folder-hook)
429 (mh-insert-signature-hook)
430 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
431 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
432 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
433 (mh-unseen-updated-hook): Add :package-version keyword to these
434 hooks (closes SF #1452724).
435 (mh-min-colors-defined-flag)
436 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
437 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
438 (mh-folder-msg-number, mh-folder-refiled)
439 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
440 (mh-folder-subject, mh-folder-tick, mh-folder-to)
441 (mh-letter-header-field, mh-search-folder, mh-show-cc)
442 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
443 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
444 (mh-show-subject, mh-show-to, mh-show-xface)
445 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
446 (mh-speedbar-selected-folder)
447 (mh-speedbar-selected-folder-with-unseen-messages): : Add
448 :package-version keyword to these faces (closes SF #1452724).
450 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
451 :package-version keywords (closes SF #1452724).
453 2006-03-28 Bill Wohler <wohler@newt.com>
455 * mh-tool-bar.el: Use clipboard-kill-region,
456 clipboard-kill-ring-save, and clipboard-yank instead of undo,
457 kill-region, and menu-bar-kill-ring-save respectively. In
458 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
459 front of mh-compose-insertion to be consistent with other mailers,
460 such as Evolution. In MH-Folder mode, move vanilla reply icon to
461 the left of the other reply icons. Use mail/inbox icon instead of
462 mail, next-page instead of page-down, delete instead of close,
463 mail/move instead of mail/refile, data-save instead of execute,
464 mail/flag-for-followup instead of highlight, contact instead of
465 mail/alias, open instead of fld-open, zoom-out instead of widen.
467 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
468 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
470 2006-03-27 Eric Ding <ericding@alum.mit.edu>
472 * mh-e.el (mh-invisible-header-fields-internal): Add entries
473 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
475 2006-03-19 Bill Wohler <wohler@newt.com>
477 * mh-comp.el (mh-reply): Sync docstring with manual.
479 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
482 2006-03-17 Bill Wohler <wohler@newt.com>
484 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
487 2006-03-16 Bill Wohler <wohler@newt.com>
489 * mh-comp.el (mh-send-letter): Use split-string to break up
490 mh-send-args (closes SF #1448604).
491 (mh-compose-and-send-mail): Use run-hook-with-args for
492 mh-compose-letter-function.
494 * mh-e.el (mh-list-to-string-1): Use dolist.
496 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
499 2006-03-15 Bill Wohler <wohler@newt.com>
501 * mh-compat.el (mh-image-load-path-for-library): Fix example by
502 not recommending that one binds image-load-path. Just defvar it to
503 placate compiler and only use it if previously defined.
505 * mh-e.el (image-load-path): Don't bind!
507 * mh-folder.el (mh-folder-mode): Only use image-load-path if
510 * mh-letter.el (mh-letter-mode): Ditto.
512 * mh-utils.el (mh-logo-display): Ditto.
514 2006-03-14 Bill Wohler <wohler@newt.com>
516 * mh-compat.el (mh-image-load-path-for-library): Incorporate
517 changes from image-load-path-for-library, which are:
518 (image-load-path-for-library): Pass value of path rather than
519 symbol. Always return list of directories. Guarantee that image
520 directory comes first.
522 * mh-e.el (image-load-path): Define on those Emacsen that lack it
523 to avoid compile and run-time errors.
525 * mh-folder.el (mh-folder-mode): Use new idiom for setting
528 * mh-letter.el (mh-letter-mode): Ditto.
530 * mh-utils.el (mh-logo-display): Ditto.
532 2006-03-12 Bill Wohler <wohler@newt.com>
534 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
537 2006-03-10 Bill Wohler <wohler@newt.com>
539 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
540 flag to replace-in-string. This was badly needed by
541 mh-quote-pick-expr in order to properly quote subjects when using
542 / s on XEmacs (closes SF #1447598).
543 (mh-image-load-path-for-library): Merged changes from Reiner. Add
544 no-error argument. If path t, just return directory.
546 * mh-e.el (mh-profile-component): Drop `s' from mhparam
547 -components for Mailutils compatibility (closes SF #1446985).
549 2006-03-06 Bill Wohler <wohler@newt.com>
551 * mh-e.el (Version, mh-version): Add +cvs to version.
553 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
555 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
556 handling of duplicate messages. The test in cond was too strong
557 and wasn't catching the case where origin-map was nil.
559 2006-03-05 Bill Wohler <wohler@newt.com>
561 Release MH-E version 7.93.
563 * mh-e.el (Version, mh-version): Update for release 7.93.
565 2006-03-05 Bill Wohler <wohler@newt.com>
567 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
568 calling mh-image-load-path-for-library since this is the default.
570 * mh-letter.el (mh-letter-mode): Ditto.
572 * mh-utils.el (mh-logo-display): Ditto.
574 2006-03-04 Bill Wohler <wohler@newt.com>
576 * mh-compat.el (mh-image-load-path-for-library): Move here from
577 mh-utils.el and wrap with mh-defun-compat since this function will
578 be soon added to image.el.
580 * mh-utils.el (mh-image-load-path-for-library): Move to
582 (mh-normalize-folder-name): Add return-nil-if-folder-empty
583 argument which is useful when calling mh-normalize-folder-name to
584 process the folder argument for the folders command.
585 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
586 this function more robust. It could too easily list the folders in
588 (mh-folder-list): Fix a couple of problems pointed out by Thomas
589 Baumann. Set folder to nil if empty. Don't append "/" if folder
592 2006-03-03 Bill Wohler <wohler@newt.com>
594 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
595 mh-image-load-path-for-library.
597 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
598 mh-image-load-path-for-library.
600 * mh-utils.el (mh-image-load-path): Rename to
601 mh-image-load-path-for-library. Add example to docstring. Rename
602 local variable mh-image-directory to image-directory. Move error
603 checks to default case in cond and simplify.
605 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
606 docstrings with manual.
608 2006-03-02 Bill Wohler <wohler@newt.com>
610 * mh-folder.el (mh-tool-bar-init): Autoload.
611 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
612 Set scoped variables image-load-path and load-path with updated
613 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
615 * mh-letter.el (mh-tool-bar-init): Autoload.
616 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
617 Set scoped variables image-load-path and load-path with updated
618 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
620 * mh-show.el (mh-tool-bar-init): Autoload.
621 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
624 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
625 messages per conventions.
626 (mh-tool-bar-folder-buttons-init)
627 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
628 (mh-tool-bar-define call): Format.
630 * mh-utils.el (mh-image-directory)
631 (mh-image-load-path-called-flag): Delete.
632 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
633 changes are that it no longer uses/sets mh-image-directory or
634 mh-image-load-path-called-flag, and returns the updated path
635 rather than change it.
636 (mh-logo-display): Change usage of mh-image-load-path.
638 2006-02-28 Bill Wohler <wohler@newt.com>
640 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
641 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
642 to subjects with special characters by quoting regular expression
643 characters in pick expression derived from existing subjects and
644 other fields (closes SF #1432548).
645 (mh-narrow-to-subject): Remove Re: string from subject so that
646 pick can find originating message (closes SF #1438369).
648 * mh-utils.el (mh-image-load-path): Rename variable to
650 (mh-image-load-path): Access mh-image-directory instead of
652 (mh-folder-list): Fix problem with passing in a folder and getting
653 nothing back. Fix problem with passing in empty string and getting
654 the entire filesystem (or infinite loop). Don't append slash to
655 folder. These fixes fix problems observed with the pick search.
656 Thanks to Thomas Baumann for the help (closes SF #1435381).
657 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
658 function for quoting pick regular expression characters (closes SF
661 2006-02-27 Bill Wohler <wohler@newt.com>
663 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
666 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
667 docstring about obsolete variable mh-mime-content-types.
669 * mh-e.el (mh-variant): Sync docstring with manual.
670 (cus-face): Require as it is needed by mh-inherit-face-flag.
672 * mh-compat.el (mh-display-color-cells): Return 2 if
673 device-color-cells returns nil (closes SF #1436924).
675 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
676 mh-display-color-cells.
678 2006-02-21 Eric Ding <ericding@alum.mit.edu>
680 * mh-e.el (mh-invisible-header-fields-internal): Add entry
683 2006-02-20 Eric Ding <ericding@alum.mit.edu>
685 * mh-e.el (mh-invisible-header-fields-internal): Add entries
686 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
687 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
688 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
689 "X-Roving-" by removing unnecessary "*" at end.
691 2006-02-19 Bill Wohler <wohler@newt.com>
693 * mh-alias.el (mh-address-mail-regexp)
694 (mh-goto-address-find-address-at-point): Delete copies from
696 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
697 mh-address-mail-regexp.
698 (mh-alias-add-address-under-point): Use
699 goto-address-find-address-at-point instead of
700 mh-goto-address-find-address-at-point.
702 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
704 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
706 (mh-show-addr): Call goto-address unconditionally. User should use
707 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
709 2006-02-18 Bill Wohler <wohler@newt.com>
711 * mh-e.el (Version, mh-version): Add +cvs to version.
713 2006-02-18 Bill Wohler <wohler@newt.com>
715 Release MH-E version 7.92.
717 * mh-e.el (Version, mh-version): Update for release 7.92.
719 2006-02-17 Bill Wohler <wohler@newt.com>
721 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
722 backgrounds per Mark's suggestion.
724 * mh-utils.el (mh-image-load-path): Fix problem that images on
725 load-path or image-load-path would win over relative paths (newer
726 MH-E or Emacs distribution).
728 2006-02-16 Bill Wohler <wohler@newt.com>
730 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
731 the defface :inherit keyword is available.
732 (mh-face-data): New variable (contains all face specs) and
734 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
735 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
736 (mh-folder-msg-number, mh-folder-refiled)
737 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
738 (mh-folder-subject, mh-folder-tick, mh-folder-to)
739 (mh-search-folder, mh-letter-header-field, mh-show-cc)
740 (mh-show-date, mh-show-from)
741 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
742 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
743 (mh-show-to, mh-show-xface, mh-speedbar-folder)
744 (mh-speedbar-folder-with-unseen-messages)
745 (mh-speedbar-selected-folder)
746 (mh-speedbar-selected-folder-with-unseen-messages): Use
749 * mh-utils.el (mh-image-load-path): The variables image-load-path
750 or load-path would not get updated if user set mh-image-load-path.
751 Moved tests and add-to-list calls outside of cond so they are
752 applied consistently, even if they are redundant in some
753 circumstances. Efficiency isn't a concern here. Made error
754 messages more user-friendly.
756 2006-02-15 Peter S Galbraith <psg@debian.org>
758 * mh-compat.el (mh-image-search-load-path): Compatibility code.
759 Emacs 21 and XEmacs don't have `image-search-load-path'.
761 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
762 images are already found.
764 2006-02-10 Bill Wohler <wohler@newt.com>
766 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
767 rather than use defun*. XEmacs cannot create a proper autoload for
770 2006-02-09 Bill Wohler <wohler@newt.com>
772 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
773 that causes an infinite loop on XEmacs.
775 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
778 2006-02-08 Peter S Galbraith <psg@debian.org>
780 * mh-e.el (mh-invisible-header-fields-internal): Added entries
781 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
783 2006-02-04 Bill Wohler <wohler@newt.com>
785 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
786 has an emacsclient command that supports --eval. I had read that
787 gnudoit was deprecated in favor of gnuclient anyway.
789 2006-02-04 Eric Ding <ericding@alum.mit.edu>
791 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
792 handle OpenOffice documents.
794 2006-02-03 Bill Wohler <wohler@newt.com>
796 * mh-e.el (Version, mh-version): Add +cvs to version.
798 2006-02-03 Bill Wohler <wohler@newt.com>
800 Release MH-E version 7.91.
802 * mh-e.el (Version, mh-version): Update for release 7.91.
804 2006-02-03 Bill Wohler <wohler@newt.com>
806 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
807 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
808 of local variable mh-library-name.
810 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
811 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
812 88) with (min-colors 64) in face specifications so that MH-E still
813 looks good on systems with fewer colors (such as Eric Ding's).
815 2006-02-03 Peter S Galbraith <psg@debian.org>
817 * mh-utils.el (mh-image-load-path): New variable to optionally
818 hold the directory where MH-E images are stored. If nil, then
819 the function `mh-image-load-path' will find it. This variable
820 will be used for Debian packaging.
821 (mh-image-load-path function): Use variable `mh-image-load-path'
822 if non-nil and exists.
824 2006-02-03 Mark D. Baushke <mdb@gnu.org>
826 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
827 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
828 errors if describe-bindings is called before tool-bar-mode is used.
830 2006-02-03 Peter S Galbraith <psg@debian.org>
832 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
833 `mh-url-unresrved-chars'.
835 2006-02-02 Bill Wohler <wohler@newt.com>
837 * mh-e.el (Version, mh-version): Add +cvs to version.
839 2006-02-02 Bill Wohler <wohler@newt.com>
841 Release MH-E version 7.90.
843 * mh-e.el (Version, mh-version): Update for release 7.90.
845 2006-02-01 Bill Wohler <wohler@newt.com>
847 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
849 * mh-alias.el (mh-alias-gecos-name): Use
850 mh-replace-regexp-in-string instead of replace-regexp-in-string.
851 (crm, multi-prompt): Use mh-require instead of require.
852 (mh-goto-address-find-address-at-point): Use
853 mh-line-beginning-position and mh-line-end-position instead of
854 line-beginning-position and line-end-position. Use
855 mh-match-string-no-properties instead of
856 match-string-no-properties.
858 * mh-comp.el (mh-modify-header-field): Use
859 mh-line-beginning-position and mh-line-end-position instead of
860 line-beginning-position and line-end-position.
862 * mh-compat.el (mailabbrev): Use mh-require instead of require.
863 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
864 (mh-face-background): Make docstring consistent.
865 (mh-require, mh-cancel-timer, mh-display-color-cells)
866 (mh-line-beginning-position, mh-line-end-position)
867 (mh-match-string-no-properties, mh-replace-regexp-in-string)
868 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
869 add mh- prefix since compatibility functions should have our
870 package prefix (mh-) by Emacs convention and to avoid messing up
871 checks for the same functions in other packages.
873 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
874 from mh-xemacs.el and rename.
875 (mh-xargs): Use mh-line-beginning-position and
876 mh-line-end-position instead of line-beginning-position and
878 (mh-defface-compat): Use mh-display-color-cells instead of
881 * mh-folder.el (which-func): Use mh-require instead of require.
883 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
886 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
887 mh-require instead of require.
889 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
890 (mh-letter-next-header-field): Use mh-line-beginning-position and
891 mh-line-end-position instead of line-beginning-position and
894 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
895 mh-match-string-no-properties instead of
896 match-string-no-properties.
897 (mh-narrow-to-header-field): Use mh-line-beginning-position and
898 mh-line-end-position instead of line-beginning-position and
901 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
902 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
903 mh-line-beginning-position and mh-line-end-position instead of
904 line-beginning-position and line-end-position.
906 * mh-search.el (which-func): Use mh-require instead of require.
907 (mh-make-pick-template, mh-index-visit-folder)
908 (mh-pick-parse-search-buffer, mh-swish-next-result)
909 (mh-mairix-next-result, mh-namazu-next-result)
910 (mh-pick-next-result, mh-grep-next-result)
911 (mh-index-create-imenu-index, mh-index-match-checksum)
912 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
913 mh-line-beginning-position and mh-line-end-position instead of
914 line-beginning-position and line-end-position.
916 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
918 (mh-folder-size-flist, mh-parse-flist-output-line)
919 (mh-add-sequence-notation): Use mh-line-beginning-position and
920 mh-line-end-position instead of line-beginning-position and
923 * mh-show.el (mh-show-addr): Use mh-require instead of require.
925 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
926 (mh-speed-view, mh-folder-speedbar-buttons)
927 (mh-speed-highlight, mh-speed-goto-folder)
928 (mh-speed-add-buttons, mh-speed-parse-flists-output)
929 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
930 (mh-speed-add-folder): Use mh-line-beginning-position and
931 mh-line-end-position instead of line-beginning-position and
933 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
935 * mh-thread.el (mh-thread-find-children)
936 (mh-thread-parse-scan-line, mh-thread-generate): Use
937 mh-line-beginning-position and mh-line-end-position instead of
938 line-beginning-position and line-end-position.
940 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
941 instead of display-color-cells.
942 (mh-folder-list): Use mh-replace-regexp-in-string instead of
943 replace-regexp-in-string.
944 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
945 Use mh-line-beginning-position and mh-line-end-position instead of
946 line-beginning-position and line-end-position.
948 * mh-comp.el (mh-send-sub): Don't find components file in current
949 directory--this seems to have been a side-effect of commenting out
950 the use of an old mh-etc variable. Improve error message.
952 2006-01-31 Bill Wohler <wohler@newt.com>
954 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
955 argument since compatibility functions should have our package
956 prefix (mh-) by Emacs convention and to avoid messing up checks
957 for the same functions in other packages. Use explicit argument
958 instead of forming name by adding mh- prefix so that one can grep
959 and find the definition.
961 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
962 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
963 mh-assoc-string instead of assoc-string.
965 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
966 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
967 here from mh-utils.el.
968 (mh-display-completion-list): Move here from mh-comp.el.
969 (mh-face-foreground, mh-face-background): Move here from
971 (mh-write-file-functions): Move here from mh-folder.el
973 * mh-folder.el (mh-write-file-functions-compat): Move to
974 mh-compat.el and rename to mh-write-file-functions.
975 (mh-folder-mode): Use the new name.
977 * mh-gnus.el (gnus-local-map-property): Rename to
978 mh-gnus-local-map-property.
979 (mm-merge-handles): Rename to mh-mm-merge-handles.
980 (mm-set-handle-multipart-parameter): Rename to
981 mh-mm-set-handle-multipart-parameter.
982 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
983 (mm-possibly-verify-or-decrypt): Rename to
984 mh-mm-possibly-verify-or-decrypt.
985 (mm-handle-multipart-ctl-parameter): Rename to
986 mh-mm-handle-multipart-ctl-parameter.
987 (mm-readable-p): Rename to mh-mm-readable-p.
988 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
989 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
990 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
991 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
992 (mml-minibuffer-read-disposition): Rename to
993 mh-mml-minibuffer-read-disposition.
995 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
996 instead of assoc-string.
998 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
999 (mh-mime-display, mh-mime-display-security)
1000 (mh-insert-mime-button, mh-insert-mime-security-button)
1001 (mh-handle-set-external-undisplayer)
1002 (mh-mime-security-press-button, mh-mime-security-show-details)
1003 (mh-mml-attach-file, mh-mime-cleanup)
1004 (mh-destroy-postponed-handles): Use new mh-* names for
1005 compatibility functions.
1007 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1008 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1009 (mh-beginning-of-word): Use the new name.
1010 (mh-get-field): Delete ancient alias.
1012 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1013 and rename to mh-face-foreground
1014 (mh-face-background-compat): Move to mh-compat.el
1015 and rename to mh-face-background.
1016 (mh-face-display-function): Use the new names.
1017 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1018 instead of url-hexify-string.
1019 (url-unreserved-chars): Move to mh-compat.el and rename to
1020 mh-url-unreserved-chars.
1021 (url-hexify-string): Move to mh-compat.el and rename to
1022 mh-url-hexify-string.
1024 * mh-letter.el (mh-complete-word): Fix bug in call to
1025 mh-display-completion-list. Wrong argument was passed, so
1026 completions wouldn't show highlighted prefix.
1028 2006-01-29 Bill Wohler <wohler@newt.com>
1030 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1031 mh-adaptive-cmd-note-flag.
1033 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1034 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1035 supported versions. In addition, the package name "sc" has been
1036 made obsolete by "supercite since at least Emacs 21.
1038 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1039 revealed character constants that were still strings (closes SF
1042 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1043 (mh-get-header-field): Move to mh-utils.el so that you can read
1044 messages without having to load mh-comp.el and mh-letter.el.
1046 * mh-letter.el (mh-hidden-header-keymap)
1047 (mh-letter-toggle-header-field-display)
1048 (mh-letter-skipped-header-field-p)
1049 (mh-letter-skip-leading-whitespace-in-header-field)
1050 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1051 can read messages without having to load mh-comp.el and
1054 * mh-utils.el (mh-get-header-field)
1055 (mh-letter-hide-all-skipped-fields)
1056 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1057 (mh-letter-toggle-header-field-display)
1058 (mh-letter-skip-leading-whitespace-in-header-field)
1059 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1060 mh-letter.el so that you can read messages without having to load
1061 mh-comp.el and mh-letter.el.
1063 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1064 least, will deliver them to us.
1066 * mh-e.el (mh-after-commands-processed-hook)
1067 (mh-before-commands-processed-hook): Specify what sort of requests
1070 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1073 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1075 (mh-letter-mode): Remove Mail menu.
1077 2006-01-29 Bill Wohler <wohler@newt.com>
1080 Remove circular dependencies. mh-e.el now includes few require
1081 statements and stands alone. Other files should need to require
1082 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1084 Remove unneeded require statements.
1085 Remove unneeded load statements, or replace them with non-fatal
1087 Break out components into their own files that were often spread
1089 As a result, many functions that are now only used within a single
1090 file no longer need to be autoloaded.
1091 Rearrange and provide consistent headings.
1094 * mh-acros.el: Update commentary to reflect current usage. Add
1095 autoload cookies to all macros.
1096 (mh-require-cl): Merge docstring and comment.
1097 (mh-do-in-xemacs): Fix typo in docstring.
1098 (assoc-string): Move to new file mh-compat.el.
1099 (with-mh-folder-updating, mh-in-show-buffer)
1100 (mh-do-at-event-location, mh-seq-msgs): Move here from
1102 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1105 * mh-alias.el (mh-address-mail-regexp)
1106 (mh-goto-address-find-address-at-point): Move here from
1108 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1110 * mh-buffers.el: Update descriptive text.
1112 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1113 new file mh-scan.el.
1114 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1115 (mh-letter-menu, mh-letter-mode-help-messages)
1116 (mh-letter-buttons-init-flag, mh-letter-mode)
1117 (mh-font-lock-field-data, mh-letter-header-end)
1118 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1119 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1120 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1121 (mh-filter-out-non-text, mh-insert-prefix-string)
1122 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1123 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1124 (mh-letter-complete, mh-letter-complete-or-space)
1125 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1126 (mh-letter-next-header-field-or-indent)
1127 (mh-letter-next-header-field, mh-letter-previous-header-field)
1128 (mh-letter-skipped-header-field-p)
1129 (mh-letter-skip-leading-whitespace-in-header-field)
1130 (mh-hidden-header-keymap)
1131 (mh-letter-toggle-header-field-display-button)
1132 (mh-letter-toggle-header-field-display)
1133 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1135 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1136 (mh-pgp-support-flag, mh-x-mailer-string)
1137 (mh-letter-header-field-regexp): Move to mh-e.el.
1138 (mh-goto-header-field, mh-goto-header-end)
1139 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1141 (mh-insert-header-separator): Move to mh-comp.el.
1142 (mh-display-completion-list-compat): Move to new file
1145 * mh-compat.el: New file.
1146 (assoc-string): Move here from mh-acros.el.
1147 (mh-display-completion-list): Move here from mh-comp.el.
1149 * mh-customize.el: Move content into mh-e.el and remove.
1151 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1152 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1153 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1154 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1155 declared here so that they can be used in docstrings.
1156 (mh-sent-from-folder, mh-sent-from-msg)
1157 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1158 (mh-x-mailer-string): Move here from mh-comp.el.
1159 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1160 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1161 here from mh-seq.el.
1162 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1163 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1164 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1165 (mh-show-folder-buffer, mh-mail-header-separator)
1166 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1167 (mh-signature-separator, mh-signature-separator-regexp)
1168 (mh-list-to-string, mh-list-to-string-1): Move here from
1170 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1171 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1172 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1173 (mh-exec-cmd-output)
1174 (mh-exchange-point-and-mark-preserving-active-mark)
1175 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1176 deprecated file mh-exec.el.
1177 (mh-path): Move here from deprecated file mh-customize.el.
1178 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1179 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1180 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1181 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1182 (mh-profile-component-value, mh-defface-compat): Move here from
1183 deprecated file mh-init.el.
1184 (mh-goto-next-button, mh-folder-mime-action)
1185 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1186 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1188 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1189 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1190 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1191 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1192 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1193 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1194 (mh-scan-cmd-note-width, mh-scan-destination-width)
1195 (mh-scan-date-width, mh-scan-date-flag-width)
1196 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1197 (mh-scan-field-destination-offset)
1198 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1199 (mh-scan-field-subject-start-offset, mh-scan-format)
1200 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1202 (mh-partial-folder-mode-line-annotation)
1203 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1204 (mh-generate-sequence-font-lock, mh-last-destination)
1205 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1206 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1207 (mh-execute-commands, mh-first-msg, mh-header-display)
1208 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1209 (mh-folder-from-address, mh-prompt-for-refile-folder)
1210 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1211 (mh-previous-page, mh-previous-undeleted-msg)
1212 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1213 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1214 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1215 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1216 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1217 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1218 (mh-folder-sequence-menu, mh-folder-message-menu)
1219 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1220 (mh-write-file-functions-compat, mh-folder-mode)
1221 (mh-restore-desktop-buffer, mh-scan-folder)
1222 (mh-regenerate-headers, mh-generate-new-cmd-note)
1223 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1224 (mh-process-or-undo-commands, mh-process-commands)
1225 (mh-update-unseen, mh-delete-scan-msgs)
1226 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1227 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1228 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1229 (mh-lessp): Move to mh-utils.el.
1230 (mh-parse-flist-output-line, mh-folder-size-folder)
1231 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1232 (mh-remove-sequence-notation, mh-remove-cur-notation)
1233 (mh-remove-all-notation, mh-delete-seq-locally)
1234 (mh-read-folder-sequences, mh-read-msg-list)
1235 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1236 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1237 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1238 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1240 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1241 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1242 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1243 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1244 (mh-faces, mh-alias-completion-ignore-case-flag)
1245 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1246 (mh-alias-insert-file, mh-alias-insertion-location)
1247 (mh-alias-local-users, mh-alias-local-users-prefix)
1248 (mh-alias-passwd-gecos-comma-separator-flag)
1249 (mh-new-messages-folders, mh-ticked-messages-folders)
1250 (mh-large-folder, mh-recenter-summary-flag)
1251 (mh-recursive-folders-flag, mh-sortm-args)
1252 (mh-default-folder-for-message-function, mh-default-folder-list)
1253 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1254 (mh-identity-list, mh-auto-fields-list)
1255 (mh-auto-fields-prompt-flag, mh-identity-default)
1256 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1257 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1258 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1259 (mh-compose-insertion, mh-compose-skipped-header-fields)
1260 (mh-compose-space-does-completion-flag)
1261 (mh-delete-yanked-msg-window-flag)
1262 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1263 (mh-letter-complete-function, mh-letter-fill-column)
1264 (mh-mml-method-default, mh-signature-file-name)
1265 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1266 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1267 (mh-scan-format-file-check, mh-scan-format-file)
1268 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1269 (mh-search-program, mh-compose-forward-as-mime-flag)
1270 (mh-compose-letter-function, mh-compose-prompt-flag)
1271 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1272 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1273 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1274 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1275 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1276 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1277 (mh-display-buttons-for-inline-parts-flag)
1278 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1279 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1280 (mh-highlight-citation-style)
1281 (mh-invisible-header-fields-internal)
1282 (mh-delay-invisible-header-generation-flag)
1283 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1284 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1285 (mh-lpr-command-format, mh-max-inline-image-height)
1286 (mh-max-inline-image-width, mh-mhl-format-file)
1287 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1288 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1289 (mh-show-use-xface-flag, mh-store-default-directory)
1290 (mh-summary-height, mh-speed-update-interval)
1291 (mh-show-threads-flag, mh-tool-bar-search-function)
1292 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1293 (mh-before-commands-processed-hook, mh-before-quit-hook)
1294 (mh-before-send-letter-hook, mh-delete-msg-hook)
1295 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1296 (mh-inc-folder-hook, mh-insert-signature-hook)
1297 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1298 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1299 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1300 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1301 (mh-folder-address, mh-folder-body)
1302 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1303 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1304 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1305 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1306 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1307 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1308 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1309 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1310 (mh-speedbar-folder-with-unseen-messages)
1311 (mh-speedbar-selected-folder)
1312 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1313 deprecated file mh-customize.el.
1315 * mh-exec.el: Move content into mh-e.el and remove.
1317 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
1319 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1321 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1323 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1324 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1325 to mail-abbrev-make-syntax-table.
1327 * mh-identity.el (mh-identity-menu): New variable for existing
1329 (mh-identity-make-menu-no-autoload): New alias for
1330 mh-identity-make-menu which can be called from mh-e.el.
1331 (mh-identity-list-set): Move to mh-e.el.
1332 (mh-identity-add-menu): New function
1333 (mh-insert-identity): Add optional argument maybe-insert so that
1334 local variable mh-identity-local does not have to be visible.
1335 (mh-identity-handler-default):
1337 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1338 rest of keymaps). Update key binding for ? to call mh-help with
1339 help messages in new argument.
1340 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1341 which can be called from mh-e.el.
1342 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1344 * mh-init.el: Move content into mh-e.el and remove.
1346 * mh-junk.el: Update requires, untabify, and add mh-autoload
1349 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1351 * mh-limit.el: New file. Contains display limit commands from
1354 * mh-mime.el: Rearrange for consistency with other files.
1355 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1357 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1358 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1359 (mh-goto-next-button): Move here from mh-e.el.
1361 * mh-print.el: Rearrange for consistency with other files.
1363 * mh-scan.el: New file. Contains scan line constants and utilities
1364 from XXX, mh-funcs, mh-utils.el.
1366 * mh-search.el: Rearrange for consistency with other files.
1367 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1368 fields which don't exist in the saved header. Replace C-c C-f f
1369 with C-c C-f m per mail-mode consistency.
1370 (mh-search-mode): Use mh-set-help instead of setting
1373 * mh-seq.el (mh-thread-message, mh-thread-container)
1374 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1375 (mh-thread-id-index-map, mh-thread-index-id-map)
1376 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1377 (mh-thread-subject-container-hash, mh-thread-duplicates)
1378 (mh-thread-history, mh-thread-body-width)
1379 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1380 (mh-thread-initialize, mh-thread-id-container)
1381 (mh-thread-remove-parent-link, mh-thread-add-link)
1382 (mh-thread-ancestor-p, mh-thread-get-message-container)
1383 (mh-thread-get-message, mh-thread-canonicalize-id)
1384 (mh-thread-prune-subject, mh-thread-container-subject)
1385 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1386 (mh-thread-sort-containers, mh-thread-group-by-subject)
1387 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1388 (mh-thread-update-id-index-maps, mh-thread-generate)
1389 (mh-thread-inc, mh-thread-generate-scan-lines)
1390 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1391 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1392 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1393 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1394 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1395 (mh-thread-ancestor, mh-thread-find-children)
1396 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
1397 to new file mh-thread.el.
1398 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1399 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1400 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1401 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1402 (mh-current-message-header-field, mh-narrow-to-range)
1403 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1405 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1407 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1408 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1409 (mh-define-sequence, mh-undefine-sequence)
1410 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1411 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1412 (mh-parse-flist-output-line, mh-read-folder-sequences)
1413 (mh-read-msg-list, mh-notate-user-sequences)
1414 (mh-remove-cur-notation, mh-add-sequence-notation)
1415 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1417 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1418 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1420 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1422 * mh-speed.el: Rearrange for consistency with other files.
1424 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1426 * mh-tool-bar.el: New file. Contains tool bar creation code from
1427 deprecated file mh-customize.el.
1429 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
1431 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1432 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1433 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1434 (mh-update-scan-format, mh-msg-num-width): Move to new file
1436 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1437 (mh-header-field-font-lock, mh-header-to-font-lock)
1438 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1439 (mh-show-font-lock-keywords)
1440 (mh-show-font-lock-keywords-with-cite)
1441 (mh-show-font-lock-fontify-region)
1442 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1443 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1444 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1445 (mh-show-sequence-menu, mh-show-message-menu)
1446 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1447 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1448 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1450 (mh-mail-header-separator, mh-signature-separator-regexp)
1451 (mh-signature-separator, mh-globals-hash, mh-user-path)
1452 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1453 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1454 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1455 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1456 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1457 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1458 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1459 Move to mh-alias.el.
1460 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1461 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1462 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1463 Move to new file mh-folder.el.
1464 (with-mh-folder-updating, mh-in-show-buffer)
1465 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1466 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1467 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1469 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1470 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1471 (mh-face-background-compat, mh-face-display-function)
1472 (mh-show-xface, mh-picon-directory-list)
1473 (mh-picon-existing-directory-list)
1474 (mh-picon-cache, mh-picon-image-types)
1475 (mh-picon-set-directory-list, mh-picon-get-image)
1476 (mh-picon-file-contents, mh-picon-generate-path)
1477 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1478 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1479 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1480 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1481 (mh-x-image-scale-with-convert)
1482 (url-unreserved-chars, url-hexify-string)
1483 (mh-x-image-url-cache-canonicalize)
1484 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1485 (mh-x-image-url-fetch-image, mh-x-image-display)
1486 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1487 (mh-x-image-url-display): Move to new file mh-xface.el.
1488 (mh-logo-display): Call mh-image-load-path.
1489 (mh-find-path-run, mh-find-path): Move here from deprecated file
1491 (mh-help-messages): Now an alist of modes to an alist of messages.
1492 (mh-set-help): New function used to set mh-help-messages
1493 (mh-help): Adjust for new format of mh-help-messages. Add
1494 help-messages argument.
1495 (mh-prefix-help): Refactor to use mh-help.
1496 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1498 (mh-clear-sub-folders-cache): New function added to avoid exposing
1499 mh-sub-folders-cache variable.
1501 * mh-xface.el: New file. Contains X-Face and Face header field
1502 display routines from mh-utils.el.
1504 2006-01-17 Bill Wohler <wohler@newt.com>
1506 * mh-acros.el (assoc-string): Fix typo in argument.
1508 2006-01-16 Bill Wohler <wohler@newt.com>
1510 * mh-acros.el (require): Remove defadvice of require as defadvice
1511 is verboten within Emacs and our implementation was returning the
1512 wrong value from require. Upcoming restructuring should make this
1514 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1516 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1517 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1519 * mh-identity.el (mh-identity-field-handler): Use it.
1521 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1522 (read-from-string string) with (string-to-number string).
1524 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1527 * mh-mime.el (mh-mml-forward-message): Ditto.
1529 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1530 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1531 (mh-openssl-parser, mh-index-update-maps): Ditto.
1533 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1534 (mh-thread-generate): Ditto.
1536 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1538 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1539 mm- functions for proper text=flowed handling (addresses SF
1542 2006-01-15 Bill Wohler <wohler@newt.com>
1544 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1545 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1548 * mh-utils.el (mh-show-limit-map): Ditto.
1550 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1552 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1554 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1555 where they are used.
1557 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1558 needed to help remove dependency on mh-utils.
1560 * mh-exec.el: New file. Move process support routines here from
1563 * mh-init.el (mh-utils): Remove require.
1564 (mh-exec): Add require.
1565 (mh-profile-component, mh-profile-component-value): Move here from
1568 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1569 dependencies on mh-utils.el.
1570 (mh-profile-component, mh-profile-component-value): Move to
1571 mh-init.el since that's the only place that uses them. (Other than
1572 mh-alias.el; I'm thinking that mh-find-path can set variable from
1573 the Aliasfile component like it does the other components).
1574 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1575 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1576 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1577 (defvar, mh-exec-cmd-output)
1578 (mh-exchange-point-and-mark-preserving-active-mark)
1579 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1580 file mh-exec.el so that mh-init.el doesn't have to depend on
1581 mh-utils.el, breaking circular dependency.
1595 * mh-speed.el: Added debugging statements (commented out) around
1596 requires to help find dependency loops. Will remove them when
1597 issues are resolved.
1599 2006-01-14 Bill Wohler <wohler@newt.com>
1601 * mh-customize.el (mh-index): Rename group to mh-search and sort
1602 group definition and options accordingly.
1603 (mh-index-program): Rename to mh-search-program.
1604 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1606 (mh-search-mode-hook): Change group from mh-index to mh-search.
1607 (mh-index-folder): Rename to mh-search-folder. Change group from
1608 mh-index to mh-search.
1610 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1611 to mh-search-folder.
1613 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1614 pick and grep are searchers too but aren't indexed.
1615 (mh-index-execute-search-function): Rename to mh-search-function.
1616 (mh-index-next-result-function): Rename to
1617 mh-search-next-result-function.
1618 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1619 (mh-search): Since redo-search-flag defaults to nil and is of
1620 lesser importance, make it an optional argument and place it after
1621 the folder and search-regexp arguments. Sync docstring with
1623 (mh-search-mode-map): Autoload so that keys are shown in help even
1624 before mh-search is loaded.
1625 (mh-search-mode): Sync docstring with manual.
1626 (mh-index-do-search): Rename argument indexer to searcher. Sync
1627 docstring with manual.
1628 (mh-pick-do-search): Sync docstring with manual.
1629 (mh-index-p): Rename to mh-search-p.
1630 (mh-indexer-choices): Rename to mh-search-choices.
1631 (mh-index-choose): Rename to mh-search-choose. Rename argument
1632 indexer to searcher.
1633 (mh-swish++-execute-search, mh-swish-execute-search)
1634 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1635 read the results" from docstring since these functions don't.
1636 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1638 (mh-index-generate-pretty-name): Prune -search from string so that
1639 folder names for pick searches are the same as those of other
1642 2006-01-13 Bill Wohler <wohler@newt.com>
1644 * mh-acros.el (require): Added Satyaki's comment regarding what
1645 needs to happen to remove this defadvice which caused a little
1646 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1647 advices `require' incorrectly).
1649 * mh-search.el (mh-index-next-result-function): Add format to
1651 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1653 (mh-pick-execute-search): Operate across all folders if no folder
1654 given and recurse folder(s).
1655 (mh-pick-next-result): Handle new output.
1657 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1658 (mh-children-p, mh-folder-list): New functions.
1660 2006-01-12 Bill Wohler <wohler@newt.com>
1662 * mh-search.el: New file containing contents of mh-index.el and
1663 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1664 pick. Pick no longer sets the "search" sequence. Instead, it
1665 brings up a folder view that we're accustomed to. (closes SF
1667 (mh-index-search): Rename to mh-search.
1668 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1669 the Search to Perform Search and call mh-do-search. Add Search
1670 with Pick menu item.
1671 (mh-do-search): Delete.
1672 (mh-search-mode): Rename from mh-pick-mode.
1673 (MH-Search): Rename mode from MH-Pick.
1674 (mh-search-mode-map): Rename from mh-pick-mode-map.
1675 (mh-search-mode-help-messages): Rename from
1676 mh-pick-mode-help-messages.
1677 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1678 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1679 stay with that choice!
1682 * mh-pick.el: Merge into mh-search.el and delete.
1684 * mh-customize.el (mh-index-program): Change mh-index-search to
1685 mh-search in docstring.
1686 (mh-tool-bar-search-function): Change default from
1687 mh-search-folder to mh-search. Remove mh-search-folder as choice
1688 and rename mh-index-search choice to mh-search. Fix docstring.
1689 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1690 mh-search-folder to mh-search in docstring.
1692 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1693 Indexed Search to Search. Use mh-search instead of
1695 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1696 from mh-show-search-folder to mh-search.
1698 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1699 mh-search-folder no longer creates the search sequence.
1701 * mh-utils.el (mh-show-search-folder): Delete.
1702 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1703 Change s from mh-show-search-folder to mh-search.
1704 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1705 Search to Search. Use mh-search instead of mh-index-search.
1706 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1707 here from deleted mh-index.el.
1709 2006-01-11 Bill Wohler <wohler@newt.com>
1711 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1714 * mh-gnus.el: Require mh-acros.
1715 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1717 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1718 url-hexify-string to remove special characters from filenames
1719 (closes SF #1396499). Note that this invalidates the existing
1720 names in your cache so you might as well remove
1721 ~/Mail/.mhe-x-image-cache/* now.
1722 (url-unreserved-chars, url-hexify-string): Define if not defined.
1723 Copied from url-util.el in Emacs22 for Emacs 21.
1725 * mh-buffers.el: New file. Contains constants and code from
1726 mh-index.el and mh-utils.el.
1736 * mh-seq.el: Require new file mh-buffers.el.
1738 * mh-index.el: Require new file mh-buffers.el.
1739 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1742 * mh-utils.el: Require new file mh-buffers.el.
1743 (mh-temp-buffer, mh-temp-fetch-buffer)
1744 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1745 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1746 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1747 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1749 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1750 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1752 2006-01-10 Bill Wohler <wohler@newt.com>
1754 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1755 the cur message is used. Sync docstring with manual (closes SF
1758 * mh-mime.el (mh-compose-forward): Use standard range argument
1759 instead of messages. Use more powerful mh-read-range instead of
1760 read-string. Sync docstring with manual (close SF #1205890).
1762 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1764 (mh-index-next-folder): Don't back up a line when going backwards
1765 since this skips the current folder heading if point is on the
1766 first message after the folder heading (closes SF #1126188).
1768 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1770 (mh-variants): Note variable isn't meant to be accessed directly;
1771 use function mh-variants instead.
1772 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1773 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1774 them. Updated to use mh-file-command-p which is more accurrate
1775 than file-executable-p which returns t for directories.
1776 (mh-file-command-p): Move here from mh-utils, since
1777 mh-variant-*-info are the only functions to use it.
1778 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1779 function mh-variants instead of variable. More robust.
1780 (mh-find-path-run): Move here from mh-utils.el. Mention that
1781 checking this variable is unnecessary.
1782 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1783 variants and an mhparam command that doesn't work if there isn't
1784 an MH profile, we can't get libdir for running install-mh. So
1785 don't bother. If there's an issue with the environment, direct the
1786 user to install MH and run install-mh (closes SF #835192). Don't
1787 read ~/.mh_profile directly. Use mh-profile-component which uses
1788 mhparam (closes SF #1016027).
1790 * mh-utils.el (mh-get-profile-field): Rename to
1791 mh-profile-component-value. Add colon to search removing
1792 unnecessary addition of colon to field in mh-profile-component.
1793 (mh-profile-component): Modify call to mh-profile-component-value
1794 accordingly. Move next to mh-profile-component-value.
1795 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1796 mh-init.el. It makes sense that code that is only run once per
1797 session (more or less) is in mh-init.el rather than cluttering
1799 (mh-no-install, mh-install): Delete.
1801 * mh-customize.el (mh-folder-msg-number):
1802 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1804 2006-01-09 Bill Wohler <wohler@newt.com>
1806 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1807 patch from Satyaki from SF #1016027.
1809 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1810 message, even if cur sequence is no longer present (closes SF
1813 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1815 (mh-letter-mode): Derive from mail-mode and delete code copied
1816 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1818 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1819 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1820 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1821 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1822 (mh-to-fcc): Move setting of folder argument to interactive
1823 argument as is the norm.
1824 (mh-letter-complete-function-alist): Add mail-reply-to.
1825 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1826 Mail-Followup-To, Reply-To, From).
1828 * mh-customize.el: Use ";; Forward definition." consistently.
1829 Comment declaration to remind programmer to update forward
1830 definition if default changes.
1837 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1840 2006-01-08 Bill Wohler <wohler@newt.com>
1842 Removed code that was marked as Emacs 20 compatible that was
1843 easily found showing how important it is to document such
1844 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1845 peculiarities that you find. Wrapped code for shushing compiler
1846 with (eval-when-compile), sometimes moving the defvars closer to
1847 where they were used.
1849 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1850 instead of mh-replace-in-string as mh-replace-in-string was
1851 replaced by a more appropriate defsubst in mh-xemacs.el.
1853 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1855 (mh-file-is-vcard-p): Removed redundant test.
1857 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1858 with eval-when-compile.
1859 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1860 (mh-invisible-header-fields-default): Add forward definitions.
1861 (mh-invisible-header-fields-default): Alphabetize.
1863 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1865 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1867 (mh-colors-available-p): Just call display-color-cells. It's on
1868 all supported Emacsen (and defaliased on XEmacs).
1872 * mh-init.el: Wrap compiler-shushing defvars with
1875 * mh-identity.el: Don't need (mh-require-cl).
1877 * mh-index.el: Don't need to load executable any more.
1879 * mh-mime.el: Wrap compiler-shushing defvars with
1881 (mh-have-file-command): Initialize variable to 'undefined. Add
1882 docstring. Update function of same name accordingly. Also don't
1883 need to load executable any more.
1884 (mh-mime-content-types): Delete.
1885 (mh-minibuffer-read-type): Prompt user for type if
1886 mh-file-mime-type returns application/octet-stream. Assume we have
1888 (mh-mime-display): Update error message.
1890 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1891 with eval-when-compile.
1893 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1894 with eval-when-compile.
1895 (mh-clean-msg-header): Don't set after-change-functions to nil.
1896 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1899 2006-01-07 Bill Wohler <wohler@newt.com>
1901 * mh-customize.el: Updated Faces documentation in header.
1902 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1903 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1905 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1906 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1909 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1911 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1912 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1914 2006-01-03 Bill Wohler <wohler@newt.com>
1916 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1917 unification. Use single sentence if possible by using semicolon.
1918 Don't end message with punctuation. Don't need format with
1919 message. Quote messages as in docstrings: use `' around symbols,
1920 \" for option choices. Don't use quotes around %s.
1922 * mh-comp.el (mh-complete-word): Ditto.
1924 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1925 (mh-scan-format-file-check): Ditto.
1927 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1928 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1929 (mh-msg-num-width-to-column): Ditto.
1931 * mh-identity.el (mh-identity-field-handler): Ditto.
1933 * mh-index.el (mh-mairix-execute-search)
1934 (mh-swish-execute-search, mh-swish++-execute-search)
1935 (mh-namazu-execute-search): Ditto.
1937 * mh-init.el (mh-variant-set): Ditto.
1939 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1940 (mh-secure-message, mh-mime-display): Ditto.
1942 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1944 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1945 (mh-read-range, mh-thread-container-subject): Ditto.
1947 * mh-utils.el (mh-x-image-scale-and-display)
1948 (mh-prompt-for-folder, mh-handle-process-error)
1949 (mh-list-to-string-1): Ditto.
1951 * mh-comp.el (mh-reply): Use standard default notation in
1952 prompts (closes SF #1275933).
1954 * mh-mime.el (mh-mime-save-parts): Ditto.
1956 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1958 * mh-customize.el (mh-folder-msg-number): Snow is actually
1959 off-white on low color displays which turns to white when bold.
1960 This is unreadable on white backgrounds. Use snow with min-colors
1961 requirement. Use cyan on low-color displays.
1963 * mh-init.el (mh-defface-compat): On low-color displays, delete
1964 the high-color display rather than simply strip the min-colors
1965 requirement since the existing algorithm shadowed the desired
1966 display on low-color displays.
1968 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1971 2006-01-02 Bill Wohler <wohler@newt.com>
1973 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1974 docstring. Does this mean something in a defun?
1976 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1979 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1980 so it reads better in docstring and manual. Sync docstring with
1983 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1985 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1987 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1988 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1989 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1990 (mh-letter-complete-or-space, mh-letter-confirm-address)
1991 (mh-letter-next-header-field-or-indent)
1992 (mh-letter-previous-header-field): Ditto.
1994 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1995 (mh-default-folder-for-message-function, mh-mml-method-default)
1996 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1997 (mh-show-mode-hook) Ditto.
1999 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2001 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2002 (mh-store-msg, mh-store-buffer): Ditto
2004 * mh-index.el (mh-index-search, mh-index-do-search)
2005 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2007 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2009 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2010 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2011 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2012 (mh-mml-secure-message-signencrypt): Ditto
2014 * mh-pick.el (mh-search-folder): Ditto.
2016 * mh-seq.el (mh-widen): Ditto.
2018 * mh-utils.el (mh-show, mh-modify): Ditto.
2020 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2022 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2024 2006-01-01 Bill Wohler <wohler@newt.com>
2026 * mh-customize.el: Sync docstrings with manual for faces and sort
2027 them alphabetically.
2028 (mh-faces): Move below mh-hooks.
2029 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2030 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
2032 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2033 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2034 (mh-folder-body-face, mh-folder-cur-msg-face)
2035 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2036 (mh-folder-followup-face, mh-folder-msg-number-face)
2037 (mh-folder-deleted-face, mh-folder-refiled-face)
2038 (mh-folder-subject-face, mh-folder-address-face)
2039 (mh-folder-scan-format-face, mh-folder-to-face)
2040 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2041 (mh-show-header-face, mh-show-pgg-good-face)
2042 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2043 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2045 (mh-folder-cur-msg): Unused. Delete.
2046 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2047 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2048 Inherit from mh-folder-msg-number.
2049 (mh-folder-deleted): Use defface. Inherit from
2050 mh-folder-msg-number.
2051 (mh-folder-sent-to-me-hint): New face. Inherit from
2053 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2054 Use defface. Inherit from mh-folder-followup.
2055 (mh-show-xface): Inherit from mh-show-from and highlight.
2056 (bw-face-generation, bw-toggle-faces)
2057 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2058 variables, functions for toggling between old and new faces.
2060 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2061 eval-when-compile. We should probably do this throughout.
2062 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2063 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2064 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2065 (mh-scan-subject-regexp): Sync docstrings with manual
2066 (mh-scan-format-regexp): Rename to
2067 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2068 expression. Make expression more like the others (anchored at the
2069 beginning of line). Sync docstrings with manual.
2070 (mh-folder-font-lock-keywords): Use faces directly rather than
2071 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2072 mh-scan-format-regexp, and within that expression, use faces
2073 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2074 of mh-folder-date-face and mh-folder-scan-format-face which were
2077 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2078 rather than -face variables.
2080 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2081 rather than -face variables.
2082 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2083 (mh-face-display-function): Use mh-face-foreground-compat and
2084 mh-face-background-compat to use inherited attributes of
2085 mh-show-xface on Emacs 22 while still working on Emacs 21.
2087 2005-12-28 Bill Wohler <wohler@newt.com>
2089 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
2090 mh-user-agent-compose instead of mh-smail-batch.
2092 2005-12-27 Bill Wohler <wohler@newt.com>
2094 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2095 suppress creation of folder if it doesn't exist.
2097 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2101 2005-12-23 Bill Wohler <wohler@newt.com>
2103 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2105 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2106 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2107 everything else. Otherwise, you can accidently get links to
2110 2005-12-22 Bill Wohler <wohler@newt.com>
2112 Follow Emacs coding conventions. Use default setting of
2113 emacs-lisp-docstring-fill-column which is 65.
2115 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2117 * mh-comp.el (mh-letter-mode): Use 60 column width.
2118 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2120 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2121 you have added a mail-citation-hook and neither are used if you
2122 use one of the supercite flavors of mh-yank-behavior. Sync
2123 docstrings with manual.
2125 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2126 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2127 hook. Use "Hook run by `function'..." instead of "Invoked...".
2128 Sync docstrings with manual.
2129 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2130 mh-ins-buf-prefix isn't used if you have added a
2131 mail-citation-hook and neither are used if you use one of the
2132 supercite flavors of mh-yank-behavior. Sync docstrings with
2134 (mail-citation-hook): Delete. Use one in sendmail.el.
2135 (mh-signature-file-name, mh-after-commands-processed-hook)
2136 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2137 (mh-before-quit-hook, mh-before-send-letter-hook)
2138 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2139 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2140 (mh-letter-mode-hook)
2141 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2142 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2143 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2144 of "Invoked...". Sync docstrings with manual.
2146 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2147 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2148 (mh-delete-list, mh-refile-list, mh-folders-changed)
2149 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2150 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2151 (mh-mode-line-annotation, mh-sequence-notation-history)
2152 (mh-colors-available-flag): Move comment into docstring.
2153 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2154 (mh-process-commands): Sync docstrings with manual.
2155 (mh-refile-msg): Small doc edit.
2156 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2157 Rename msg argument to message.
2159 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2161 * mh-e.el (mh-update-unseen): No longer say "The value of
2162 `foo-hook' is a list of functions to be called, with no arguments,
2163 ...," but rather just "The hook foo-hook is called...".
2165 * mh-mime.el (mh-mh-to-mime): Ditto.
2167 * mh-pick.el (mh-pick-mode): Ditto.
2169 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2171 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2173 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2176 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2178 * mh-customize.el (mh-after-commands-processed-hook): New
2180 (mh-before-commands-processed-hook): Rename
2181 mh-folder-updated-hook.
2183 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2184 mh-before-commands-processed-hook, call new
2185 mh-after-commands-processed-hook.
2186 (mh-folders-changed): New variable (for use in
2187 mh-after-commands-processed-hook).
2189 2005-12-19 Bill Wohler <wohler@newt.com>
2209 Follow commenting conventions. Don't use ;;; form so much, except
2210 for headings. Precede headings with page feed. This was mostly
2211 already done, so I made it a convention. Did not update copyright
2212 on a couple of files since this was an insignificant change.
2214 2005-12-18 Bill Wohler <wohler@newt.com>
2216 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2217 (mh-tool-bar-search-function): Sync docstrings with manual.
2218 (mh-tool-bar-customize): Replace toolbar with tool bar in
2220 (mh-tool-bar-letter-help): Fix manual reference.
2221 (mh-xemacs-use-toolbar-flag): Rename to
2222 mh-xemacs-use-tool-bar-flag. Initialize to
2223 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2224 (mh-xemacs-toolbar-position): Rename to
2225 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2226 option (redundant) and change "Same As Default Tool Bar" setting
2227 to nil. Sync docstrings with manual.
2228 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2229 depending on context.
2230 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2231 for calling set-specifier. Only look at the value of
2232 mh-xemacs-use-tool-bar-flag.
2233 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
2234 docstrings with manual.
2236 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2239 * mh-e.el (mh-folder-mode): Ditto.
2241 * mh-utils.el (mh-show-mode): Ditto.
2243 2005-12-15 Bill Wohler <wohler@newt.com>
2245 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2247 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2248 (mh-thread-previous-sibling, mh-thread-ancestor)
2249 (mh-thread-delete, mh-thread-refile): Ditto.
2251 2005-12-14 Bill Wohler <wohler@newt.com>
2253 * mh-customize.el (mh-speed-flists-interval): Rename to
2254 mh-speed-update-interval.
2255 (mh-speed-run-flists-flag): Delete. Setting
2256 mh-speed-flists-interval to 0 accomplishes the same thing.
2258 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2259 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2260 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2261 docstrings with manual.
2263 2005-12-09 Bill Wohler <wohler@newt.com>
2265 * mh-customize.el (mh-path): Move here from mh-init.el.
2266 (mh-variant): Mention that mh-path can be customized.
2267 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2268 X-MAIL-INFO, and X-UNTD- from NetZero.
2270 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2272 2005-12-04 Bill Wohler <wohler@newt.com>
2274 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2275 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2278 * mh-customize.el (mh-insert-signature-hook): Rename
2279 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2281 * mh-comp.el (mh-insert-signature): Ditto.
2283 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2284 to nil. Remove t option. Sync docstring with manual (closes SF
2286 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2287 users can see it, look it up in the manual's index, and discover
2288 mh-fetch-x-image-url (closes SF #831278).
2290 * mh-customize.el (mh-new-messages-folders): Rename from
2291 mh-index-new-messages-folders.
2292 (mh-ticked-messages-folders): Rename from
2293 mh-index-ticked-messages-folders.
2295 * mh-index.el (mh-index-sequenced-messages)
2296 (mh-index-new-messages): Ditto.
2298 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2299 in the docstrings and made usage consistent. Generally speaking,
2300 "messages in range" and "range of messages" is redundant and just
2301 "range" can be used in most circumstances. Also ensured that
2302 mh-interactive-range was mentioned in all interactive functions
2303 that use a range which describes the range argument for both users
2306 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2307 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2308 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2309 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2312 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2315 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2317 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2318 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2320 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2321 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2323 2005-12-01 Bill Wohler <wohler@newt.com>
2325 Rewrote Reading Mail chapter in manual which affected mh-show
2326 customization group and related functions.
2328 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2329 instead of mh-highlight-citation-p.
2330 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2331 I think, so use "truncated".
2333 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2334 section is Folders, not Organizing. Parent of mh-folder-faces is
2335 mh-folder, not mh-show.
2336 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2337 (mh-thread): New group that corresponds with manual's Threading
2339 (mh-letter-faces): Group's manual section is Editing Drafts, not
2341 (mh-sortm-args): New customization variable that used to be a
2343 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2344 Move from mh-index group to mh-folders group.
2345 (mh-alias-local-users-prefix, mh-large-folder)
2346 (mh-recursive-folders-flag, mh-before-quit-hook)
2347 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2348 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2350 (mh-highlight-citation-style): Rename from
2351 mh-highlight-citation-p. Sync docstrings with manual.
2352 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2354 (mh-show-threads-flag): Move from mh-show group to mh-thread
2356 (mh-find-path-hook): Move from mh-show group to mh-e group.
2357 (mh-folder-updated-hook): Add to mh-folder group.
2358 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2359 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2360 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2361 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2362 (mh-display-buttons-for-inline-parts-flag)
2363 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2364 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2365 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2366 (mh-lpr-command-format, mh-max-inline-image-height)
2367 (mh-max-inline-image-width)
2368 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2369 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2370 (mh-show-use-xface-flag, mh-store-default-directory)
2371 (mh-summary-height, mh-delete-msg-hook
2372 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2375 (mh-scan-format-mh, mh-scan-good-msg-regexp)
2376 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2377 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
2378 non-fontification instead of non-fontifying.
2379 (mh-header-display): Use mh-mhl-format-file instead of
2380 mhl-formfile. Sync docstrings with manual.
2381 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2382 count. Sync docstrings with manual.
2383 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2384 so that message doesn't change when using this command. Sync
2385 docstrings with manual.
2386 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2387 docstrings with manual.
2388 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2389 to no-header. Sync docstrings with manual.
2390 (mh-ps-print-map): Delete keybindings for deleted commands
2391 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2392 (mh-help-messages): Update printing help.
2393 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2394 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2395 (mh-prev-button, mh-folder-toggle-mime-part)
2396 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2397 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2400 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2402 (mh-pipe-msg): Rename include-headers to include-header. Sync
2403 docstrings with manual.
2404 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2405 (mh-store-msg): Sync docstrings with manual.
2407 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
2408 docstrings with manual.
2409 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2410 Sync docstrings with manual.
2411 (mh-mm-display-part, mh-mm-inline-message): Use
2412 mh-highlight-citation-style instead of mh-highlight-citation-p.
2413 (mh-press-button): Sync docstrings with manual.
2414 (mh-display-with-external-viewer): Fix default output in
2415 minibuffer. Sync docstrings with manual.
2417 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
2419 (mh-ps-print-color-option): Incorporate docstring from
2421 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
2423 (mh-ps-spool-msg): Slimline docstring. Rename from
2424 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2426 (mh-ps-print-range): Extract method from common code in
2427 mh-ps-print-msg and mh-ps-print-msg-file.
2428 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2429 (mh-ps-print-msg-show): Delete. Can use either
2430 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2431 new code in mh-ps-spool-msg.
2432 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2433 Sync docstrings with manual.
2434 (mh-ps-print-msg, mh-ps-print-msg-file)
2435 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
2436 docstrings with manual.
2438 * mh-utils.el (mh-show-ps-print-msg-show)
2439 mh-show-ps-print-toggle-mime): Delete.
2440 (mh-show-ps-print-map): Update accordingly.
2441 (mh-show-mode): Use mh-highlight-citation-style instead of
2442 mh-highlight-citation-p.
2443 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2445 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
2446 docstrings with manual.
2447 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
2448 docstrings with manual.
2450 2005-12-01 Bill Wohler <wohler@newt.com>
2452 * mh-init.el (mh-defface-compat): Checkdoc fix.
2454 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2455 Bogofilter is lowercase except at beginning of sentence and in
2458 2005-11-04 Bill Wohler <wohler@newt.com>
2460 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2461 Move to mh-init.el to minimize bulk of mh-customize.el.
2463 * mh-init.el: Modify commentary since file is used for load and
2464 initialization as well as setting and getting the variant.
2465 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2468 * mh-customize.el: Refactor faces. Move grayscale requirements
2469 last before t. Use uniform line breaks.
2470 (mh-min-colors-defined-flag): New variable.
2471 (mh-defface-compat): New function. Provides backward compatibility
2473 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2474 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2475 (mh-folder-body): Use mh-defface-compat.
2477 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2479 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2480 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2481 (mh-folder-to-face): Use the min-colors attribute instead of the
2484 2005-11-03 Bill Wohler <wohler@newt.com>
2486 * mh-customize.el (mh-refile-preserves-sequences-flag)
2487 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2488 docstrings with manual.
2490 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2492 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2493 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2496 2005-11-01 Bill Wohler <wohler@newt.com>
2498 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2500 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2501 (mh-reply, mh-send, mh-send-other-window)
2502 (mh-fill-paragraph-function): Sync docstrings with manual.
2503 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2504 msg argument to message (to make for a better docstring).
2506 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2507 to defcustom. Rename by adding -flag.
2508 (mh-compose-forward-as-mime-flag)
2509 (mh-compose-letter-function, mh-forward-subject-format)
2510 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2511 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2514 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2515 (mh-ps-print-msg): Remove debugging messages.
2516 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2517 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2518 after message per conventions.
2520 2005-10-30 Bill Wohler <wohler@newt.com>
2522 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2523 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2524 docstrings with manual.
2526 * mh-customize.el (mh-compose-space-does-completion-flag)
2527 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2528 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2529 means" to remain checkdoc clean and consistent with Emacs. I
2530 raised this issue with the Emacs developers and Stallman agrees
2531 that "On means" should be allowed in custom docstrings but that
2532 this change requires thought and should wait until after the Emacs
2535 2005-10-28 Bill Wohler <wohler@newt.com>
2537 * mh-comp.el (mh-annotate-msg): Use new variable
2538 mh-scan-field-destination-offset rather than hard-coding 1.
2540 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2542 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2543 functions to check input for mh-adaptive-cmd-note-flag and
2544 mh-scan-format-file respectively.
2545 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2548 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2549 destination is the -, t, b, c, or n character for Replied, To, cc,
2550 Bcc, or Newsgroups respectively.
2551 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2552 Call new function mh-msg-num-width-to-column to make leap between
2553 width and column more explicit.
2554 (mh-msg-num-width-to-column): New function that steals logic from
2555 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2556 isn't t since we can't adapt the scan lines in this case.
2557 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2558 make the documentation more clear.
2559 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2560 column, not a width.
2561 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2562 variable mh-scan-field-destination-offset rather than hard-coding
2565 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2566 (mh-notate): Use new variable mh-scan-field-destination-offset
2567 rather than hard-coding 1.
2568 (mh-message-number-width): Rename to mh-msg-num-width to be
2569 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2571 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2572 (mail-citation-hook): Quote URLs in docstrings and precede with
2573 `URL'. The former will suppress checkdoc warnings, the latter will
2574 turn them into hyperlinks in Emacs 22 (I just added the code to do
2576 (mh-scan-format-file): Checkdoc fix.
2578 2005-10-27 Bill Wohler <wohler@newt.com>
2580 * mh-customize.el (mh-adaptive-cmd-note-flag)
2581 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2583 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2584 (mh-note-cur, mh-scan-good-msg-regexp)
2585 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2586 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2587 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2588 (mh-scan-subject-regexp, mh-scan-format-regexp)
2589 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2592 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2594 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2595 of hard-coded string.
2596 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2597 "regular expression" in docstring instead of regexp.
2598 (mh-scan-msg-number-regexp)
2599 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2600 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2601 (mh-cmd-note): Sync docstrings with manual.
2603 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2606 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2608 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2609 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2610 (mh-mml-secure-message-signencrypt): Ditto.
2612 2005-10-24 Bill Wohler <wohler@newt.com>
2614 * mh-gnus.el: Load mml.el in order to see if
2615 mml-minibuffer-read-disposition is defined or not.
2617 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2620 2005-10-23 Miles Bader <miles@gnu.org>
2622 * .arch-inventory: New file.
2624 2005-10-23 Bill Wohler <wohler@newt.com>
2626 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2627 docstring with manual.
2629 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2630 mh-alias.el and move to mh-acros.el
2632 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2633 mh-identity.el and move to mh-acros.el
2635 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2636 mh-identity.el and mh-alias.el.
2638 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2639 warning in Emacs 22.
2641 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2643 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2644 assoc-string (if the function is available) and falls back on
2645 assoc-ignore-case if assoc-string is not found.
2646 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2647 assoc-ignore-case is a obsolete function in Emacs 22.
2649 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2650 track of whether the tool-bar in mh-folder-mode has been
2652 (mh-folder-mode): Initialize the tool-bar for folders the first
2653 time we get into mh-letter-mode.
2655 * mh-customize.el (mh-buffer-exists-p): New function which tests
2656 presence of buffers of a given mode.
2657 (mh-tool-bar-define): New functions
2658 mh-tool-bar-folder-buttons-init and
2659 mh-tool-bar-letter-buttons-init are defined. These functions are
2660 used to create the tool-bar from the corresponding customizable
2663 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2664 keeps track of whether the tool-bar in mh-letter-mode has been
2666 (mh-letter-mode): Initialize the tool-bar for drafts the first
2667 time we get into mh-letter-mode.
2669 2005-10-23 Bill Wohler <wohler@newt.com>
2671 * mh-comp.el (mh-letter-menu): Rename
2672 mh-mhn-compose-external-compressed-tar to
2673 mh-mh-compose-external-compressed-tar. Rename
2674 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2675 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2676 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2677 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2678 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2680 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2681 mh-mh-directive-present-p.
2682 (mh-send-letter): Rename mh-mhn-directive-present-p to
2683 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2684 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2685 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2686 mh-mhn-compose-external-compressed-tar to
2687 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2688 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2689 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2690 mh-mh-compose-anon-ftp. Rename
2691 mh-mhn-compose-external-compressed-tar to
2692 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2693 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2694 mh-mh-compose-external-type.
2695 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2696 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2697 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2698 mh-yank-from-start-of-msg to mh-yank-behavior.
2699 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2700 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2701 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2702 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2703 (mh-letter-complete-or-space, mh-letter-confirm-address)
2704 (mh-letter-next-header-field-or-indent)
2705 (mh-letter-previous-header-field)
2706 (mh-letter-toggle-header-field-display): Sync docstrings with
2709 * mh-customize.el (mh-edit-mhn-hook): Rename to
2711 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2712 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2713 and user-visible values from mhn and Gnus to MH and MML.
2714 (mh-before-send-letter-hook): Add 'ispell-message option.
2715 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2716 mh-pgp-support-flag.
2717 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2718 (mh-delete-yanked-msg-window-flag)
2719 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2720 (mh-letter-complete-function, mh-letter-fill-column)
2721 (mh-mml-method-default, mh-signature-file-name)
2722 (mh-signature-separator-flag, mh-x-face-file)
2723 (mh-yank-behavior, mail-citation-hook)
2724 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2727 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2728 provided for Emacs 21 environments that lack it.
2730 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2732 (mh-compose-forward): mh-mh-forward-message requires string arg.
2733 (mh-minibuffer-read-type): New function.
2734 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2735 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2736 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2737 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2738 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2739 Rename mh-mhn-compose-external-type to
2740 mh-mh-compose-external-type.
2741 (mh-mhn-compose-external-compressed-tar): Rename to
2742 mh-mh-compose-external-compressed-tar. Rename
2743 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2744 (mh-mhn-compose-external-type): Rename to
2745 mh-mh-compose-external-type.
2746 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2747 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2748 Use correct program in message.
2749 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2750 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2751 (mh-compose-forward, mh-mh-attach-file)
2752 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2753 (mh-mh-compose-external-type, mh-mh-forward-message)
2754 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2755 mh-minibuffer-read-type.
2756 (mh-mime-content-types): Move comment about only being used in
2757 Emacs 20 to docstring.
2758 (mh-mh-compose-external-type): Rename extra-param argument to
2760 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2761 (mh-mime-display-part, mh-mime-display-single): Rename
2762 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2763 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2765 (mh-compose-forward): Rename mh-mhn-compose-forw to
2766 mh-mh-forward-message.
2767 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2769 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2770 (mh-mh-attach-file, mh-mh-compose-type)
2771 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2772 (mh-mh-compose-external-compressed-tar)
2773 (mh-mh-compose-external-type, mh-mh-forward-message)
2774 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2775 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2776 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2777 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2778 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2779 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2780 Sync docstrings with manual.
2782 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2783 mh-pgp-support-flag.
2785 2005-10-17 Peter S Galbraith <psg@debian.org>
2787 * mh-identity.el (mh-identity-field-handler): Use
2788 `assoc-ignore-case' to compare against header field for mixed-case
2791 2005-10-17 Bill Wohler <wohler@newt.com>
2793 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2794 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2795 to mail/compose, fld_open to fld-open.
2796 (mh-letter-tool-bar-map): Rename image file mail_send to
2799 2005-10-16 Bill Wohler <wohler@newt.com>
2801 * mh-comp.el (mh-display-completion-list-compat): New macro which
2802 calls `display-completion-list' correctly in older environments.
2803 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2805 (mh-complete-word): Use it.
2807 * mh-init.el (mh-image-load-path): Use locate-library to find
2808 MH-E. This simplified the code a lot. Flattened out nested
2809 statements even more.
2811 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2813 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2814 causes a compiler warning.
2816 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2817 the message to be viewed (closes SF #1306141).
2819 2005-10-16 Masatake YAMATO <jet@gyve.org>
2821 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2822 of completion to `display-completion-list'.
2824 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2826 * mh-init.el (mh-image-load-path-called-flag): New variable which
2827 is used by mh-image-load-path so that it runs only once.
2828 (mh-image-load-path): Modify so that it gets run only once. Also
2829 flatten out heavily nested if statements to make it clearer.
2831 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2832 to find images used in the toolbar.
2834 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2836 2005-10-14 Bill Wohler <wohler@newt.com>
2838 * mh-e.el (Version, mh-version): Add +cvs to version.
2840 2005-10-14 Bill Wohler <wohler@newt.com>
2842 Released MH-E version 7.85.
2844 * mh-e.el (Version, mh-version): Update for release 7.85.
2846 2005-10-14 Bill Wohler <wohler@newt.com>
2848 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2849 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2850 need to be indented.
2852 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2853 but the code that invoked the face had not been updated. Tick
2854 highlighting working again.
2856 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2857 make-variable-buffer-local call to top level to avoid warnings in
2860 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2863 2005-10-09 Bill Wohler <wohler@newt.com>
2865 * mh-init.el (mh-image-load-path): New function that adds the path
2866 to the MH-E images to the image-load-path or load-path depending
2867 on the version of Emacs.
2869 * mh-customize.el: Call mh-image-load-path just before
2870 mh-tool-bar-define so that the toolbar images can be found.
2872 2005-10-04 Bill Wohler <wohler@newt.com>
2874 * ChangeLog: Move contents into ChangeLog.1 and trim.
2876 * ChangeLog.1: New file. Contains old ChangeLog.
2879 Copyright (C) 2005 Free Software Foundation, Inc.
2881 Copying and distribution of this file, with or without modification,
2882 are permitted in any medium without royalty provided the copyright
2883 notice and this notice are preserved.
2886 ;; sentence-end-double-space: nil
2887 ;; add-log-time-zone-rule: t
2890 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51