1 2006-11-13 Bill Wohler <wohler@newt.com>
3 Release MH-E version 8.0.3.
5 * mh-e.el (Version, mh-version): Update for release 8.0.3.
7 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
8 with "Non-nil means". Perhaps this option should have a -flag
10 (mh-junk-background): Sync docstring with manual.
12 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
13 (mh-spamprobe-blacklist): Sync docstring with manual.
15 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
17 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
18 Use mh-junk-background consistently in call-process calls.
20 * (mh-bogofilter-blacklist, mh-bogofilter-whitelist,
21 mh-spamprobe-blacklist, mh-spamprobe-whitelist): Use
22 with-current-buffer so the right thing happens if
23 mh-junk-background is t (closes SF #1594802).
25 * mh-e.el (mh-junk-background): Document that On value is 0;
26 t may be used for debugging.
28 2006-11-10 Andreas Schwab <schwab@suse.de>
30 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
32 2006-11-10 Glenn Morris <rgm@gnu.org>
34 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
36 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
38 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
39 quotation marks, so that the last two arguments of sa-learn
40 are separated properly (closes SF #1565460).
42 * (mh-spamassassin-blacklist): In example .procmailrc, add
43 PATH element to find mhparam on Debian.
45 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
47 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
48 so that we always have a valid string for split-string even if
49 nothing is added in mh-send-letter (closes SF #1564742).
51 2006-07-03 Bill Wohler <wohler@newt.com>
53 Release MH-E version 8.0.2.
55 * mh-e.el (Version, mh-version): Update for release 8.0.2.
57 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
59 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
60 it refers to the icons in mh-xemacs-icon-map instead of trying to
61 declare the icons in situ. This allows mh-tool-bar.el to be
62 compiled under XEmacs. Remove initial value for
63 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
64 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
65 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
66 This allows MH-E to be used in XEmacs in a tty (closes SF
69 2006-07-03 Bill Wohler <wohler@newt.com>
71 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
72 that mh-xemacs needs functions in mh-compat.
74 2006-06-29 Bill Wohler <wohler@newt.com>
76 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
77 loop construct to be consistent with other loops, and because
78 edebug doesn't work without it.
80 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
82 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
83 redundant +s in regexp (closes SF #1514424).
85 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
87 * mh-mime.el (mh-mime-save-parts): Add -store option to
88 mhn (closes SF #1513140).
90 2006-06-20 Bill Wohler <wohler@newt.com>
92 Release MH-E version 8.0.1.
94 * mh-e.el (Version, mh-version): Update for release 8.0.1.
96 2006-06-15 Bill Wohler <wohler@newt.com>
98 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
99 suffix for folder names, as <> are illegal filename characters on
100 Windows (closes SF #1507002).
102 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
104 * mh-comp.el (mh-send-uses-spost): New variable.
105 (mh-send-letter): Do not use -msgid and -mime if
106 mh-send-uses-spost is t (closes SF #1486726).
108 2006-06-02 Bill Wohler <wohler@newt.com>
110 (mh-folder-exists-p): Change test from an empty buffer, to one
111 that contains the actual folder, since GNU mailutils' folder
112 command displays output if the folder doesn't exist (closes SF
115 2006-05-06 Bill Wohler <wohler@newt.com>
117 Release MH-E version 8.0.
119 * mh-e.el (Version, mh-version): Update for release 8.0.
121 2006-05-05 Bill Wohler <wohler@newt.com>
123 * mh-e.el: Update commentary.
125 2006-04-28 Bill Wohler <wohler@newt.com>
127 Release MH-E version 7.95.
129 * mh-e.el (Version, mh-version): Update for release 7.95.
131 2006-04-26 Eric Ding <ericding@alum.mit.edu>
133 * mh-e.el (mh-invisible-header-fields-internal): Add entry
136 2006-04-25 Bill Wohler <wohler@newt.com>
138 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
139 Folders returned by mh-folder-completion-function no longer need
140 adornment (closes SF #1476270).
142 2006-04-21 Bill Wohler <wohler@newt.com>
144 * mh-e.el (Version, mh-version): Add +cvs to version.
146 2006-04-21 Bill Wohler <wohler@newt.com>
148 Release MH-E version 7.94.
150 * mh-e.el (Version, mh-version): Update for release 7.94.
152 2006-04-21 Bill Wohler <wohler@newt.com>
154 * mh-letter.el (mh-insert-letter): If a message number isn't
155 given, throw an error rather than using a potentially incorrect
156 message number (closes SF #1473729). In addition, use the cur
157 message if mh-sent-from-msg is nil (when sending a message, in
158 contrast to replying). Move conversion of int to string into
159 interactive stanza so body can assume variables are of proper
162 2006-04-20 Bill Wohler <wohler@newt.com>
164 * mh-tool-bar.el (image-load-path): Define to shush compiler.
165 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
166 isn't used outside of it.
167 (mh-tool-bar-folder-buttons-init,
168 mh-tool-bar-letter-buttons-init): Update load-path/image-load-path
169 before setting buttons. This code used to be in
170 mh-folder-mode/mh-letter-mode but this was the wrong place since
171 mh-tool-bar-*-buttons-init can also be called when customizing the
173 (mh-tool-bar-update): New function which updates tool-bar-map in
174 all of the MH-E buffers after customizing the buttons (closes SF
176 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
177 Call it (closes SF #1452718).
179 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
180 mh-folder-tool-bar-map instead.
181 (image-load-path): Delete. No longer used.
182 (mh-folder-mode): Moved setting of image-load-path into
183 mh-tool-bar-folder-buttons-init.
185 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
186 mh-letter-tool-bar-map instead.
187 (image-load-path): Delete. No longer used.
188 (mh-letter-mode): Moved setting of image-load-path into
189 mh-tool-bar-letter-buttons-init.
191 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
192 instead of set-buffer.
194 2006-04-19 Bill Wohler <wohler@newt.com>
196 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
197 can permanently disable a button (such as a separator) with nil.
199 2006-04-18 Bill Wohler <wohler@newt.com>
201 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
202 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
203 (mh-min-colors-defined-flag): Do not unbind these macros and
204 variables. Nice idea, but too many nasty side-effects. These
205 macros are needed by [Cc]ustom-make-dependencies when creating the
206 MH-E customization groups in mh-cus-load.el. These disappeared
207 when the macros above were introduced. Besides, if a developer
208 were to try to show the help for a macro or variable they were
209 looking at and got [No match] when they did so, that would be bad.
211 2006-04-17 Bill Wohler <wohler@newt.com>
213 * mh-comp.el (mh-insert-x-mailer): Strip build number from
214 version in X-Mailer field (closes SF #1466481).
216 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
217 variables and functions with the same name are found correctly by
218 find-func (invoked by clicking on the filename link in the *Help*
220 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
221 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
222 (mh-defcustom): Rename to defcustom-mh. Ditto.
223 (mh-defface): Rename to defface-mh. Ditto.
224 (mh-font-lock-add-keywords): Make changes according to these
227 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
230 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
231 have been processed by mh-normalize-folder-name.
232 (mh-folder-completion-function): Handle completion of folders with
233 absolute names. Also, when flag is t, display complete folder name
234 to provide proper highlighting in Emacs 22 now that
235 minibuffer-completing-file-name is nil (closes SF #1470518).
236 (mh-folder-completing-read): No longer set
237 minibuffer-completing-file-name to t. This was causing "Can't set
238 current directory errors" when browsing absolute file names.
239 Another benefit of this change is that SPC can be used for
240 completion again (closes SF #1470518).
242 2006-04-15 Bill Wohler <wohler@newt.com>
244 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
246 2006-04-14 Bill Wohler <wohler@newt.com>
248 * mh-funcs.el (view-exit-action): No need to wrap defvar with
249 eval-when-compile when shushing compiler.
251 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
253 * mh-seq.el (view-exit-action): Ditto.
255 * mh-show.el (font-lock-auto-fontify): Ditto.
257 * mh-utils.el (mh-speed-flists-cache): Ditto
259 * mh-acros.el (struct, x, y): No need to wrap defvar with
260 eval-when-compile when shushing compiler, even when
261 mh-do-in-xemacs or another construct is used.
263 * mh-comp.el (sendmail-coding-system): Ditto.
265 * mh-e.el (mark-active): Ditto.
267 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
268 (image-load-path, font-lock-defaults): Ditto.
270 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
272 * mh-mime.el (dots, type, ov)
273 (mm-verify-function-alist, mm-decrypt-function-alist)
274 (pressed-details): Ditto.
276 * mh-search.el (pick-folder, mh-do-in-xemacs)
277 (mh-mairix-folder, mh-flists-search-folders)
278 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
280 * mh-seq.el (tool-bar-mode): Ditto.
282 * mh-utils.el (completion-root-regexp)
283 (minibuffer-completing-file-name): Ditto.
285 * mh-xface.el (default-enable-multibyte-characters): Ditto.
287 * mh-compat.el (mh-font-lock-add-keywords): New alias for
288 font-lock-add-keywords. Returns nil on XEmacs.
290 * mh-e.el: Add MH-E function and variable keywords such as
291 mh-defun-compat and mh-defcustom to font-lock-keywords.
293 2006-04-13 Bill Wohler <wohler@newt.com>
295 * mh-e.el (customize-package-emacs-version-alist)
296 (mh-e, mh-alias, mh-folder, mh-folder-selection)
297 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
298 (mh-scan-line-formats, mh-search, mh-sending-mail, )
299 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
300 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
301 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
302 (mh-alias-insert-file, mh-alias-insertion-location)
303 (mh-alias-local-users, mh-alias-local-users-prefix)
304 (mh-alias-passwd-gecos-comma-separator-flag)
305 (mh-new-messages-folders, mh-ticked-messages-folders)
306 (mh-large-folder, mh-recenter-summary-flag)
307 (mh-recursive-folders-flag, mh-sortm-args)
308 (mh-default-folder-for-message-function, )
309 (mh-default-folder-list, mh-default-folder-must-exist-flag)
310 (mh-default-folder-prefix, mh-identity-list)
311 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
312 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
313 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
314 (mh-junk-program, mh-compose-insertion)
315 (mh-compose-skipped-header-fields)
316 (mh-compose-space-does-completion-flag)
317 (mh-delete-yanked-msg-window-flag)
318 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
319 (mh-letter-complete-function, mh-letter-fill-column)
320 (mh-mml-method-default, mh-signature-file-name)
321 (mh-signature-separator-flag, mh-x-face-file, )
322 (mh-yank-behavior, mh-interpret-number-as-range-flag)
323 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
324 (mh-search-program, mh-compose-forward-as-mime-flag)
325 (mh-compose-letter-function, mh-compose-prompt-flag)
326 (mh-forward-subject-format, mh-insert-x-mailer-flag)
327 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
328 (mh-reply-show-message-flag, )
329 (mh-refile-preserves-sequences-flag, mh-tick-seq)
330 (mh-update-sequences-after-mh-show-flag)
331 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
332 (mh-decode-mime-flag, )
333 (mh-display-buttons-for-alternatives-flag)
334 (mh-display-buttons-for-inline-parts-flag)
335 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
336 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
337 (mh-highlight-citation-style, mh-invisible-header-fields)
338 (mh-invisible-header-fields-default, mh-lpr-command-format)
339 (mh-max-inline-image-height, mh-max-inline-image-width)
340 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
341 (mh-print-background-flag, mh-show-maximum-size)
342 (mh-show-use-xface-flag, mh-store-default-directory)
343 (mh-summary-height, mh-speed-update-interval)
344 (mh-show-threads-flag, mh-tool-bar-search-function)
345 (mh-defcustom, mh-after-commands-processed-hook)
346 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
347 (mh-before-quit-hook, mh-before-send-letter-hook)
348 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
349 (mh-forward-hook, mh-inc-folder-hook, )
350 (mh-insert-signature-hook, )
351 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
352 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
353 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
354 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
355 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
356 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
357 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
358 (mh-folder-subject, mh-folder-tick, mh-folder-to)
359 (mh-letter-header-field, mh-search-folder, mh-show-cc)
360 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
361 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
362 (mh-show-subject, mh-show-to, mh-show-xface, )
363 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
364 (mh-speedbar-selected-folder)
365 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
366 notation in :package-version keyword.
368 2006-04-07 Bill Wohler <wohler@newt.com>
370 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
371 :package-version keyword.
373 2006-03-31 Bill Wohler <wohler@newt.com>
375 * mh-e.el (mh-strip-package-version): Move before use to avoid
376 compiler error. Make macro, also to avoid compiler error.
377 (mh-defface-compat): Incorporate body into mh-face-data and
380 2006-03-30 Bill Wohler <wohler@newt.com>
382 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
383 remove new :package-version keyword in older settings.
384 (customize-package-emacs-version-alist): Add MH-E version to Emacs
386 (mh-e, mh-alias, mh-folder, mh-folder-selection)
387 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
388 (mh-scan-line-formats, mh-search, mh-sending-mail)
389 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
390 (mh-hooks, mh-faces): Add :package-version keyword to these
391 groups (closes SF #1452724).
392 (mh-alias-completion-ignore-case-flag)
393 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
394 (mh-alias-insert-file, mh-alias-insertion-location)
395 (mh-alias-local-users, mh-alias-local-users-prefix)
396 (mh-alias-passwd-gecos-comma-separator-flag)
397 (mh-new-messages-folders, mh-ticked-messages-folders)
398 (mh-large-folder, mh-recenter-summary-flag)
399 (mh-recursive-folders-flag, mh-sortm-args)
400 (mh-default-folder-for-message-function)
401 (mh-default-folder-list, mh-default-folder-must-exist-flag)
402 (mh-default-folder-prefix, mh-identity-list)
403 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
404 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
405 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
406 (mh-junk-program, mh-compose-insertion)
407 (mh-compose-skipped-header-fields)
408 (mh-compose-space-does-completion-flag)
409 (mh-delete-yanked-msg-window-flag)
410 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
411 (mh-letter-complete-function, mh-letter-fill-column)
412 (mh-mml-method-default, mh-signature-file-name)
413 (mh-signature-separator-flag, mh-x-face-file)
414 (mh-yank-behavior, mh-interpret-number-as-range-flag)
415 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
416 (mh-search-program, mh-compose-forward-as-mime-flag)
417 (mh-compose-letter-function, mh-compose-prompt-flag)
418 (mh-forward-subject-format, mh-insert-x-mailer-flag)
419 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
420 (mh-reply-show-message-flag)
421 (mh-refile-preserves-sequences-flag, mh-tick-seq)
422 (mh-update-sequences-after-mh-show-flag)
423 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
424 (mh-decode-mime-flag)
425 (mh-display-buttons-for-alternatives-flag)
426 (mh-display-buttons-for-inline-parts-flag)
427 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
428 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
429 (mh-highlight-citation-style, mh-invisible-header-fields)
430 (mh-invisible-header-fields-default, mh-lpr-command-format)
431 (mh-max-inline-image-height, mh-max-inline-image-width)
432 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
433 (mh-print-background-flag, mh-show-maximum-size)
434 (mh-show-use-xface-flag, mh-store-default-directory)
435 (mh-summary-height, mh-speed-update-interval)
436 (mh-show-threads-flag, mh-tool-bar-search-function): Add
437 :package-version keyword to these options (closes SF #1452724).
438 (mh-after-commands-processed-hook)
439 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
440 (mh-before-quit-hook, mh-before-send-letter-hook)
441 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
442 (mh-forward-hook, mh-inc-folder-hook)
443 (mh-insert-signature-hook)
444 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
445 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
446 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
447 (mh-unseen-updated-hook): Add :package-version keyword to these
448 hooks (closes SF #1452724).
449 (mh-min-colors-defined-flag)
450 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
451 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
452 (mh-folder-msg-number, mh-folder-refiled)
453 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
454 (mh-folder-subject, mh-folder-tick, mh-folder-to)
455 (mh-letter-header-field, mh-search-folder, mh-show-cc)
456 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
457 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
458 (mh-show-subject, mh-show-to, mh-show-xface)
459 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
460 (mh-speedbar-selected-folder)
461 (mh-speedbar-selected-folder-with-unseen-messages): : Add
462 :package-version keyword to these faces (closes SF #1452724).
464 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
465 :package-version keywords (closes SF #1452724).
467 2006-03-28 Bill Wohler <wohler@newt.com>
469 * mh-tool-bar.el: Use clipboard-kill-region,
470 clipboard-kill-ring-save, and clipboard-yank instead of undo,
471 kill-region, and menu-bar-kill-ring-save respectively. In
472 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
473 front of mh-compose-insertion to be consistent with other mailers,
474 such as Evolution. In MH-Folder mode, move vanilla reply icon to
475 the left of the other reply icons. Use mail/inbox icon instead of
476 mail, next-page instead of page-down, delete instead of close,
477 mail/move instead of mail/refile, data-save instead of execute,
478 mail/flag-for-followup instead of highlight, contact instead of
479 mail/alias, open instead of fld-open, zoom-out instead of widen.
481 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
482 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
484 2006-03-27 Eric Ding <ericding@alum.mit.edu>
486 * mh-e.el (mh-invisible-header-fields-internal): Add entries
487 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
489 2006-03-19 Bill Wohler <wohler@newt.com>
491 * mh-comp.el (mh-reply): Sync docstring with manual.
493 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
496 2006-03-17 Bill Wohler <wohler@newt.com>
498 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
501 2006-03-16 Bill Wohler <wohler@newt.com>
503 * mh-comp.el (mh-send-letter): Use split-string to break up
504 mh-send-args (closes SF #1448604).
505 (mh-compose-and-send-mail): Use run-hook-with-args for
506 mh-compose-letter-function.
508 * mh-e.el (mh-list-to-string-1): Use dolist.
510 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
513 2006-03-15 Bill Wohler <wohler@newt.com>
515 * mh-compat.el (mh-image-load-path-for-library): Fix example by
516 not recommending that one binds image-load-path. Just defvar it to
517 placate compiler and only use it if previously defined.
519 * mh-e.el (image-load-path): Don't bind!
521 * mh-folder.el (mh-folder-mode): Only use image-load-path if
524 * mh-letter.el (mh-letter-mode): Ditto.
526 * mh-utils.el (mh-logo-display): Ditto.
528 2006-03-14 Bill Wohler <wohler@newt.com>
530 * mh-compat.el (mh-image-load-path-for-library): Incorporate
531 changes from image-load-path-for-library, which are:
532 (image-load-path-for-library): Pass value of path rather than
533 symbol. Always return list of directories. Guarantee that image
534 directory comes first.
536 * mh-e.el (image-load-path): Define on those Emacsen that lack it
537 to avoid compile and run-time errors.
539 * mh-folder.el (mh-folder-mode): Use new idiom for setting
542 * mh-letter.el (mh-letter-mode): Ditto.
544 * mh-utils.el (mh-logo-display): Ditto.
546 2006-03-12 Bill Wohler <wohler@newt.com>
548 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
551 2006-03-10 Bill Wohler <wohler@newt.com>
553 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
554 flag to replace-in-string. This was badly needed by
555 mh-quote-pick-expr in order to properly quote subjects when using
556 / s on XEmacs (closes SF #1447598).
557 (mh-image-load-path-for-library): Merged changes from Reiner. Add
558 no-error argument. If path t, just return directory.
560 * mh-e.el (mh-profile-component): Drop `s' from mhparam
561 -components for Mailutils compatibility (closes SF #1446985).
563 2006-03-06 Bill Wohler <wohler@newt.com>
565 * mh-e.el (Version, mh-version): Add +cvs to version.
567 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
569 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
570 handling of duplicate messages. The test in cond was too strong
571 and wasn't catching the case where origin-map was nil.
573 2006-03-05 Bill Wohler <wohler@newt.com>
575 Release MH-E version 7.93.
577 * mh-e.el (Version, mh-version): Update for release 7.93.
579 2006-03-05 Bill Wohler <wohler@newt.com>
581 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
582 calling mh-image-load-path-for-library since this is the default.
584 * mh-letter.el (mh-letter-mode): Ditto.
586 * mh-utils.el (mh-logo-display): Ditto.
588 2006-03-04 Bill Wohler <wohler@newt.com>
590 * mh-compat.el (mh-image-load-path-for-library): Move here from
591 mh-utils.el and wrap with mh-defun-compat since this function will
592 be soon added to image.el.
594 * mh-utils.el (mh-image-load-path-for-library): Move to
596 (mh-normalize-folder-name): Add return-nil-if-folder-empty
597 argument which is useful when calling mh-normalize-folder-name to
598 process the folder argument for the folders command.
599 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
600 this function more robust. It could too easily list the folders in
602 (mh-folder-list): Fix a couple of problems pointed out by Thomas
603 Baumann. Set folder to nil if empty. Don't append "/" if folder
606 2006-03-03 Bill Wohler <wohler@newt.com>
608 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
609 mh-image-load-path-for-library.
611 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
612 mh-image-load-path-for-library.
614 * mh-utils.el (mh-image-load-path): Rename to
615 mh-image-load-path-for-library. Add example to docstring. Rename
616 local variable mh-image-directory to image-directory. Move error
617 checks to default case in cond and simplify.
619 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
620 docstrings with manual.
622 2006-03-02 Bill Wohler <wohler@newt.com>
624 * mh-folder.el (mh-tool-bar-init): Autoload.
625 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
626 Set scoped variables image-load-path and load-path with updated
627 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
629 * mh-letter.el (mh-tool-bar-init): Autoload.
630 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
631 Set scoped variables image-load-path and load-path with updated
632 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
634 * mh-show.el (mh-tool-bar-init): Autoload.
635 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
638 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
639 messages per conventions.
640 (mh-tool-bar-folder-buttons-init)
641 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
642 (mh-tool-bar-define call): Format.
644 * mh-utils.el (mh-image-directory)
645 (mh-image-load-path-called-flag): Delete.
646 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
647 changes are that it no longer uses/sets mh-image-directory or
648 mh-image-load-path-called-flag, and returns the updated path
649 rather than change it.
650 (mh-logo-display): Change usage of mh-image-load-path.
652 2006-02-28 Bill Wohler <wohler@newt.com>
654 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
655 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
656 to subjects with special characters by quoting regular expression
657 characters in pick expression derived from existing subjects and
658 other fields (closes SF #1432548).
659 (mh-narrow-to-subject): Remove Re: string from subject so that
660 pick can find originating message (closes SF #1438369).
662 * mh-utils.el (mh-image-load-path): Rename variable to
664 (mh-image-load-path): Access mh-image-directory instead of
666 (mh-folder-list): Fix problem with passing in a folder and getting
667 nothing back. Fix problem with passing in empty string and getting
668 the entire filesystem (or infinite loop). Don't append slash to
669 folder. These fixes fix problems observed with the pick search.
670 Thanks to Thomas Baumann for the help (closes SF #1435381).
671 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
672 function for quoting pick regular expression characters (closes SF
675 2006-02-27 Bill Wohler <wohler@newt.com>
677 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
680 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
681 docstring about obsolete variable mh-mime-content-types.
683 * mh-e.el (mh-variant): Sync docstring with manual.
684 (cus-face): Require as it is needed by mh-inherit-face-flag.
686 * mh-compat.el (mh-display-color-cells): Return 2 if
687 device-color-cells returns nil (closes SF #1436924).
689 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
690 mh-display-color-cells.
692 2006-02-21 Eric Ding <ericding@alum.mit.edu>
694 * mh-e.el (mh-invisible-header-fields-internal): Add entry
697 2006-02-20 Eric Ding <ericding@alum.mit.edu>
699 * mh-e.el (mh-invisible-header-fields-internal): Add entries
700 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
701 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
702 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
703 "X-Roving-" by removing unnecessary "*" at end.
705 2006-02-19 Bill Wohler <wohler@newt.com>
707 * mh-alias.el (mh-address-mail-regexp)
708 (mh-goto-address-find-address-at-point): Delete copies from
710 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
711 mh-address-mail-regexp.
712 (mh-alias-add-address-under-point): Use
713 goto-address-find-address-at-point instead of
714 mh-goto-address-find-address-at-point.
716 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
718 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
720 (mh-show-addr): Call goto-address unconditionally. User should use
721 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
723 2006-02-18 Bill Wohler <wohler@newt.com>
725 * mh-e.el (Version, mh-version): Add +cvs to version.
727 2006-02-18 Bill Wohler <wohler@newt.com>
729 Release MH-E version 7.92.
731 * mh-e.el (Version, mh-version): Update for release 7.92.
733 2006-02-17 Bill Wohler <wohler@newt.com>
735 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
736 backgrounds per Mark's suggestion.
738 * mh-utils.el (mh-image-load-path): Fix problem that images on
739 load-path or image-load-path would win over relative paths (newer
740 MH-E or Emacs distribution).
742 2006-02-16 Bill Wohler <wohler@newt.com>
744 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
745 the defface :inherit keyword is available.
746 (mh-face-data): New variable (contains all face specs) and
748 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
749 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
750 (mh-folder-msg-number, mh-folder-refiled)
751 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
752 (mh-folder-subject, mh-folder-tick, mh-folder-to)
753 (mh-search-folder, mh-letter-header-field, mh-show-cc)
754 (mh-show-date, mh-show-from)
755 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
756 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
757 (mh-show-to, mh-show-xface, mh-speedbar-folder)
758 (mh-speedbar-folder-with-unseen-messages)
759 (mh-speedbar-selected-folder)
760 (mh-speedbar-selected-folder-with-unseen-messages): Use
763 * mh-utils.el (mh-image-load-path): The variables image-load-path
764 or load-path would not get updated if user set mh-image-load-path.
765 Moved tests and add-to-list calls outside of cond so they are
766 applied consistently, even if they are redundant in some
767 circumstances. Efficiency isn't a concern here. Made error
768 messages more user-friendly.
770 2006-02-15 Peter S Galbraith <psg@debian.org>
772 * mh-compat.el (mh-image-search-load-path): Compatibility code.
773 Emacs 21 and XEmacs don't have `image-search-load-path'.
775 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
776 images are already found.
778 2006-02-10 Bill Wohler <wohler@newt.com>
780 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
781 rather than use defun*. XEmacs cannot create a proper autoload for
784 2006-02-09 Bill Wohler <wohler@newt.com>
786 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
787 that causes an infinite loop on XEmacs.
789 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
792 2006-02-08 Peter S Galbraith <psg@debian.org>
794 * mh-e.el (mh-invisible-header-fields-internal): Added entries
795 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
797 2006-02-04 Bill Wohler <wohler@newt.com>
799 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
800 has an emacsclient command that supports --eval. I had read that
801 gnudoit was deprecated in favor of gnuclient anyway.
803 2006-02-04 Eric Ding <ericding@alum.mit.edu>
805 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
806 handle OpenOffice documents.
808 2006-02-03 Bill Wohler <wohler@newt.com>
810 * mh-e.el (Version, mh-version): Add +cvs to version.
812 2006-02-03 Bill Wohler <wohler@newt.com>
814 Release MH-E version 7.91.
816 * mh-e.el (Version, mh-version): Update for release 7.91.
818 2006-02-03 Bill Wohler <wohler@newt.com>
820 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
821 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
822 of local variable mh-library-name.
824 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
825 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
826 88) with (min-colors 64) in face specifications so that MH-E still
827 looks good on systems with fewer colors (such as Eric Ding's).
829 2006-02-03 Peter S Galbraith <psg@debian.org>
831 * mh-utils.el (mh-image-load-path): New variable to optionally
832 hold the directory where MH-E images are stored. If nil, then
833 the function `mh-image-load-path' will find it. This variable
834 will be used for Debian packaging.
835 (mh-image-load-path function): Use variable `mh-image-load-path'
836 if non-nil and exists.
838 2006-02-03 Mark D. Baushke <mdb@gnu.org>
840 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
841 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
842 errors if describe-bindings is called before tool-bar-mode is used.
844 2006-02-03 Peter S Galbraith <psg@debian.org>
846 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
847 `mh-url-unresrved-chars'.
849 2006-02-02 Bill Wohler <wohler@newt.com>
851 * mh-e.el (Version, mh-version): Add +cvs to version.
853 2006-02-02 Bill Wohler <wohler@newt.com>
855 Release MH-E version 7.90.
857 * mh-e.el (Version, mh-version): Update for release 7.90.
859 2006-02-01 Bill Wohler <wohler@newt.com>
861 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
863 * mh-alias.el (mh-alias-gecos-name): Use
864 mh-replace-regexp-in-string instead of replace-regexp-in-string.
865 (crm, multi-prompt): Use mh-require instead of require.
866 (mh-goto-address-find-address-at-point): Use
867 mh-line-beginning-position and mh-line-end-position instead of
868 line-beginning-position and line-end-position. Use
869 mh-match-string-no-properties instead of
870 match-string-no-properties.
872 * mh-comp.el (mh-modify-header-field): Use
873 mh-line-beginning-position and mh-line-end-position instead of
874 line-beginning-position and line-end-position.
876 * mh-compat.el (mailabbrev): Use mh-require instead of require.
877 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
878 (mh-face-background): Make docstring consistent.
879 (mh-require, mh-cancel-timer, mh-display-color-cells)
880 (mh-line-beginning-position, mh-line-end-position)
881 (mh-match-string-no-properties, mh-replace-regexp-in-string)
882 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
883 add mh- prefix since compatibility functions should have our
884 package prefix (mh-) by Emacs convention and to avoid messing up
885 checks for the same functions in other packages.
887 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
888 from mh-xemacs.el and rename.
889 (mh-xargs): Use mh-line-beginning-position and
890 mh-line-end-position instead of line-beginning-position and
892 (mh-defface-compat): Use mh-display-color-cells instead of
895 * mh-folder.el (which-func): Use mh-require instead of require.
897 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
900 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
901 mh-require instead of require.
903 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
904 (mh-letter-next-header-field): Use mh-line-beginning-position and
905 mh-line-end-position instead of line-beginning-position and
908 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
909 mh-match-string-no-properties instead of
910 match-string-no-properties.
911 (mh-narrow-to-header-field): Use mh-line-beginning-position and
912 mh-line-end-position instead of line-beginning-position and
915 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
916 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
917 mh-line-beginning-position and mh-line-end-position instead of
918 line-beginning-position and line-end-position.
920 * mh-search.el (which-func): Use mh-require instead of require.
921 (mh-make-pick-template, mh-index-visit-folder)
922 (mh-pick-parse-search-buffer, mh-swish-next-result)
923 (mh-mairix-next-result, mh-namazu-next-result)
924 (mh-pick-next-result, mh-grep-next-result)
925 (mh-index-create-imenu-index, mh-index-match-checksum)
926 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
927 mh-line-beginning-position and mh-line-end-position instead of
928 line-beginning-position and line-end-position.
930 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
932 (mh-folder-size-flist, mh-parse-flist-output-line)
933 (mh-add-sequence-notation): Use mh-line-beginning-position and
934 mh-line-end-position instead of line-beginning-position and
937 * mh-show.el (mh-show-addr): Use mh-require instead of require.
939 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
940 (mh-speed-view, mh-folder-speedbar-buttons)
941 (mh-speed-highlight, mh-speed-goto-folder)
942 (mh-speed-add-buttons, mh-speed-parse-flists-output)
943 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
944 (mh-speed-add-folder): Use mh-line-beginning-position and
945 mh-line-end-position instead of line-beginning-position and
947 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
949 * mh-thread.el (mh-thread-find-children)
950 (mh-thread-parse-scan-line, mh-thread-generate): Use
951 mh-line-beginning-position and mh-line-end-position instead of
952 line-beginning-position and line-end-position.
954 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
955 instead of display-color-cells.
956 (mh-folder-list): Use mh-replace-regexp-in-string instead of
957 replace-regexp-in-string.
958 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
959 Use mh-line-beginning-position and mh-line-end-position instead of
960 line-beginning-position and line-end-position.
962 * mh-comp.el (mh-send-sub): Don't find components file in current
963 directory--this seems to have been a side-effect of commenting out
964 the use of an old mh-etc variable. Improve error message.
966 2006-01-31 Bill Wohler <wohler@newt.com>
968 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
969 argument since compatibility functions should have our package
970 prefix (mh-) by Emacs convention and to avoid messing up checks
971 for the same functions in other packages. Use explicit argument
972 instead of forming name by adding mh- prefix so that one can grep
973 and find the definition.
975 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
976 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
977 mh-assoc-string instead of assoc-string.
979 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
980 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
981 here from mh-utils.el.
982 (mh-display-completion-list): Move here from mh-comp.el.
983 (mh-face-foreground, mh-face-background): Move here from
985 (mh-write-file-functions): Move here from mh-folder.el
987 * mh-folder.el (mh-write-file-functions-compat): Move to
988 mh-compat.el and rename to mh-write-file-functions.
989 (mh-folder-mode): Use the new name.
991 * mh-gnus.el (gnus-local-map-property): Rename to
992 mh-gnus-local-map-property.
993 (mm-merge-handles): Rename to mh-mm-merge-handles.
994 (mm-set-handle-multipart-parameter): Rename to
995 mh-mm-set-handle-multipart-parameter.
996 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
997 (mm-possibly-verify-or-decrypt): Rename to
998 mh-mm-possibly-verify-or-decrypt.
999 (mm-handle-multipart-ctl-parameter): Rename to
1000 mh-mm-handle-multipart-ctl-parameter.
1001 (mm-readable-p): Rename to mh-mm-readable-p.
1002 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1003 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1004 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1005 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1006 (mml-minibuffer-read-disposition): Rename to
1007 mh-mml-minibuffer-read-disposition.
1009 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1010 instead of assoc-string.
1012 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1013 (mh-mime-display, mh-mime-display-security)
1014 (mh-insert-mime-button, mh-insert-mime-security-button)
1015 (mh-handle-set-external-undisplayer)
1016 (mh-mime-security-press-button, mh-mime-security-show-details)
1017 (mh-mml-attach-file, mh-mime-cleanup)
1018 (mh-destroy-postponed-handles): Use new mh-* names for
1019 compatibility functions.
1021 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1022 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1023 (mh-beginning-of-word): Use the new name.
1024 (mh-get-field): Delete ancient alias.
1026 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1027 and rename to mh-face-foreground
1028 (mh-face-background-compat): Move to mh-compat.el
1029 and rename to mh-face-background.
1030 (mh-face-display-function): Use the new names.
1031 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1032 instead of url-hexify-string.
1033 (url-unreserved-chars): Move to mh-compat.el and rename to
1034 mh-url-unreserved-chars.
1035 (url-hexify-string): Move to mh-compat.el and rename to
1036 mh-url-hexify-string.
1038 * mh-letter.el (mh-complete-word): Fix bug in call to
1039 mh-display-completion-list. Wrong argument was passed, so
1040 completions wouldn't show highlighted prefix.
1042 2006-01-29 Bill Wohler <wohler@newt.com>
1044 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1045 mh-adaptive-cmd-note-flag.
1047 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1048 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1049 supported versions. In addition, the package name "sc" has been
1050 made obsolete by "supercite since at least Emacs 21.
1052 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1053 revealed character constants that were still strings (closes SF
1056 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1057 (mh-get-header-field): Move to mh-utils.el so that you can read
1058 messages without having to load mh-comp.el and mh-letter.el.
1060 * mh-letter.el (mh-hidden-header-keymap)
1061 (mh-letter-toggle-header-field-display)
1062 (mh-letter-skipped-header-field-p)
1063 (mh-letter-skip-leading-whitespace-in-header-field)
1064 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1065 can read messages without having to load mh-comp.el and
1068 * mh-utils.el (mh-get-header-field)
1069 (mh-letter-hide-all-skipped-fields)
1070 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1071 (mh-letter-toggle-header-field-display)
1072 (mh-letter-skip-leading-whitespace-in-header-field)
1073 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1074 mh-letter.el so that you can read messages without having to load
1075 mh-comp.el and mh-letter.el.
1077 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1078 least, will deliver them to us.
1080 * mh-e.el (mh-after-commands-processed-hook)
1081 (mh-before-commands-processed-hook): Specify what sort of requests
1084 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1087 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1089 (mh-letter-mode): Remove Mail menu.
1091 2006-01-29 Bill Wohler <wohler@newt.com>
1094 Remove circular dependencies. mh-e.el now includes few require
1095 statements and stands alone. Other files should need to require
1096 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1098 Remove unneeded require statements.
1099 Remove unneeded load statements, or replace them with non-fatal
1101 Break out components into their own files that were often spread
1103 As a result, many functions that are now only used within a single
1104 file no longer need to be autoloaded.
1105 Rearrange and provide consistent headings.
1108 * mh-acros.el: Update commentary to reflect current usage. Add
1109 autoload cookies to all macros.
1110 (mh-require-cl): Merge docstring and comment.
1111 (mh-do-in-xemacs): Fix typo in docstring.
1112 (assoc-string): Move to new file mh-compat.el.
1113 (with-mh-folder-updating, mh-in-show-buffer)
1114 (mh-do-at-event-location, mh-seq-msgs): Move here from
1116 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1119 * mh-alias.el (mh-address-mail-regexp)
1120 (mh-goto-address-find-address-at-point): Move here from
1122 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1124 * mh-buffers.el: Update descriptive text.
1126 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1127 new file mh-scan.el.
1128 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1129 (mh-letter-menu, mh-letter-mode-help-messages)
1130 (mh-letter-buttons-init-flag, mh-letter-mode)
1131 (mh-font-lock-field-data, mh-letter-header-end)
1132 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1133 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1134 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1135 (mh-filter-out-non-text, mh-insert-prefix-string)
1136 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1137 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1138 (mh-letter-complete, mh-letter-complete-or-space)
1139 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1140 (mh-letter-next-header-field-or-indent)
1141 (mh-letter-next-header-field, mh-letter-previous-header-field)
1142 (mh-letter-skipped-header-field-p)
1143 (mh-letter-skip-leading-whitespace-in-header-field)
1144 (mh-hidden-header-keymap)
1145 (mh-letter-toggle-header-field-display-button)
1146 (mh-letter-toggle-header-field-display)
1147 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1149 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1150 (mh-pgp-support-flag, mh-x-mailer-string)
1151 (mh-letter-header-field-regexp): Move to mh-e.el.
1152 (mh-goto-header-field, mh-goto-header-end)
1153 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1155 (mh-insert-header-separator): Move to mh-comp.el.
1156 (mh-display-completion-list-compat): Move to new file
1159 * mh-compat.el: New file.
1160 (assoc-string): Move here from mh-acros.el.
1161 (mh-display-completion-list): Move here from mh-comp.el.
1163 * mh-customize.el: Move content into mh-e.el and remove.
1165 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1166 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1167 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1168 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1169 declared here so that they can be used in docstrings.
1170 (mh-sent-from-folder, mh-sent-from-msg)
1171 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1172 (mh-x-mailer-string): Move here from mh-comp.el.
1173 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1174 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1175 here from mh-seq.el.
1176 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1177 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1178 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1179 (mh-show-folder-buffer, mh-mail-header-separator)
1180 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1181 (mh-signature-separator, mh-signature-separator-regexp)
1182 (mh-list-to-string, mh-list-to-string-1): Move here from
1184 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1185 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1186 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1187 (mh-exec-cmd-output)
1188 (mh-exchange-point-and-mark-preserving-active-mark)
1189 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1190 deprecated file mh-exec.el.
1191 (mh-path): Move here from deprecated file mh-customize.el.
1192 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1193 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1194 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1195 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1196 (mh-profile-component-value, mh-defface-compat): Move here from
1197 deprecated file mh-init.el.
1198 (mh-goto-next-button, mh-folder-mime-action)
1199 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1200 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1202 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1203 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1204 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1205 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1206 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1207 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1208 (mh-scan-cmd-note-width, mh-scan-destination-width)
1209 (mh-scan-date-width, mh-scan-date-flag-width)
1210 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1211 (mh-scan-field-destination-offset)
1212 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1213 (mh-scan-field-subject-start-offset, mh-scan-format)
1214 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1216 (mh-partial-folder-mode-line-annotation)
1217 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1218 (mh-generate-sequence-font-lock, mh-last-destination)
1219 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1220 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1221 (mh-execute-commands, mh-first-msg, mh-header-display)
1222 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1223 (mh-folder-from-address, mh-prompt-for-refile-folder)
1224 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1225 (mh-previous-page, mh-previous-undeleted-msg)
1226 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1227 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1228 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1229 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1230 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1231 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1232 (mh-folder-sequence-menu, mh-folder-message-menu)
1233 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1234 (mh-write-file-functions-compat, mh-folder-mode)
1235 (mh-restore-desktop-buffer, mh-scan-folder)
1236 (mh-regenerate-headers, mh-generate-new-cmd-note)
1237 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1238 (mh-process-or-undo-commands, mh-process-commands)
1239 (mh-update-unseen, mh-delete-scan-msgs)
1240 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1241 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1242 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1243 (mh-lessp): Move to mh-utils.el.
1244 (mh-parse-flist-output-line, mh-folder-size-folder)
1245 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1246 (mh-remove-sequence-notation, mh-remove-cur-notation)
1247 (mh-remove-all-notation, mh-delete-seq-locally)
1248 (mh-read-folder-sequences, mh-read-msg-list)
1249 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1250 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1251 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1252 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1254 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1255 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1256 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1257 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1258 (mh-faces, mh-alias-completion-ignore-case-flag)
1259 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1260 (mh-alias-insert-file, mh-alias-insertion-location)
1261 (mh-alias-local-users, mh-alias-local-users-prefix)
1262 (mh-alias-passwd-gecos-comma-separator-flag)
1263 (mh-new-messages-folders, mh-ticked-messages-folders)
1264 (mh-large-folder, mh-recenter-summary-flag)
1265 (mh-recursive-folders-flag, mh-sortm-args)
1266 (mh-default-folder-for-message-function, mh-default-folder-list)
1267 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1268 (mh-identity-list, mh-auto-fields-list)
1269 (mh-auto-fields-prompt-flag, mh-identity-default)
1270 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1271 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1272 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1273 (mh-compose-insertion, mh-compose-skipped-header-fields)
1274 (mh-compose-space-does-completion-flag)
1275 (mh-delete-yanked-msg-window-flag)
1276 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1277 (mh-letter-complete-function, mh-letter-fill-column)
1278 (mh-mml-method-default, mh-signature-file-name)
1279 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1280 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1281 (mh-scan-format-file-check, mh-scan-format-file)
1282 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1283 (mh-search-program, mh-compose-forward-as-mime-flag)
1284 (mh-compose-letter-function, mh-compose-prompt-flag)
1285 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1286 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1287 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1288 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1289 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1290 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1291 (mh-display-buttons-for-inline-parts-flag)
1292 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1293 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1294 (mh-highlight-citation-style)
1295 (mh-invisible-header-fields-internal)
1296 (mh-delay-invisible-header-generation-flag)
1297 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1298 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1299 (mh-lpr-command-format, mh-max-inline-image-height)
1300 (mh-max-inline-image-width, mh-mhl-format-file)
1301 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1302 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1303 (mh-show-use-xface-flag, mh-store-default-directory)
1304 (mh-summary-height, mh-speed-update-interval)
1305 (mh-show-threads-flag, mh-tool-bar-search-function)
1306 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1307 (mh-before-commands-processed-hook, mh-before-quit-hook)
1308 (mh-before-send-letter-hook, mh-delete-msg-hook)
1309 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1310 (mh-inc-folder-hook, mh-insert-signature-hook)
1311 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1312 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1313 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1314 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1315 (mh-folder-address, mh-folder-body)
1316 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1317 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1318 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1319 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1320 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1321 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1322 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1323 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1324 (mh-speedbar-folder-with-unseen-messages)
1325 (mh-speedbar-selected-folder)
1326 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1327 deprecated file mh-customize.el.
1329 * mh-exec.el: Move content into mh-e.el and remove.
1331 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
1333 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1335 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1337 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1338 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1339 to mail-abbrev-make-syntax-table.
1341 * mh-identity.el (mh-identity-menu): New variable for existing
1343 (mh-identity-make-menu-no-autoload): New alias for
1344 mh-identity-make-menu which can be called from mh-e.el.
1345 (mh-identity-list-set): Move to mh-e.el.
1346 (mh-identity-add-menu): New function
1347 (mh-insert-identity): Add optional argument maybe-insert so that
1348 local variable mh-identity-local does not have to be visible.
1349 (mh-identity-handler-default):
1351 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1352 rest of keymaps). Update key binding for ? to call mh-help with
1353 help messages in new argument.
1354 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1355 which can be called from mh-e.el.
1356 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1358 * mh-init.el: Move content into mh-e.el and remove.
1360 * mh-junk.el: Update requires, untabify, and add mh-autoload
1363 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1365 * mh-limit.el: New file. Contains display limit commands from
1368 * mh-mime.el: Rearrange for consistency with other files.
1369 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1371 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1372 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1373 (mh-goto-next-button): Move here from mh-e.el.
1375 * mh-print.el: Rearrange for consistency with other files.
1377 * mh-scan.el: New file. Contains scan line constants and utilities
1378 from XXX, mh-funcs, mh-utils.el.
1380 * mh-search.el: Rearrange for consistency with other files.
1381 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1382 fields which don't exist in the saved header. Replace C-c C-f f
1383 with C-c C-f m per mail-mode consistency.
1384 (mh-search-mode): Use mh-set-help instead of setting
1387 * mh-seq.el (mh-thread-message, mh-thread-container)
1388 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1389 (mh-thread-id-index-map, mh-thread-index-id-map)
1390 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1391 (mh-thread-subject-container-hash, mh-thread-duplicates)
1392 (mh-thread-history, mh-thread-body-width)
1393 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1394 (mh-thread-initialize, mh-thread-id-container)
1395 (mh-thread-remove-parent-link, mh-thread-add-link)
1396 (mh-thread-ancestor-p, mh-thread-get-message-container)
1397 (mh-thread-get-message, mh-thread-canonicalize-id)
1398 (mh-thread-prune-subject, mh-thread-container-subject)
1399 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1400 (mh-thread-sort-containers, mh-thread-group-by-subject)
1401 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1402 (mh-thread-update-id-index-maps, mh-thread-generate)
1403 (mh-thread-inc, mh-thread-generate-scan-lines)
1404 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1405 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1406 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1407 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1408 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1409 (mh-thread-ancestor, mh-thread-find-children)
1410 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
1411 to new file mh-thread.el.
1412 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1413 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1414 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1415 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1416 (mh-current-message-header-field, mh-narrow-to-range)
1417 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1419 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1421 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1422 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1423 (mh-define-sequence, mh-undefine-sequence)
1424 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1425 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1426 (mh-parse-flist-output-line, mh-read-folder-sequences)
1427 (mh-read-msg-list, mh-notate-user-sequences)
1428 (mh-remove-cur-notation, mh-add-sequence-notation)
1429 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1431 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1432 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1434 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1436 * mh-speed.el: Rearrange for consistency with other files.
1438 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1440 * mh-tool-bar.el: New file. Contains tool bar creation code from
1441 deprecated file mh-customize.el.
1443 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
1445 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1446 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1447 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1448 (mh-update-scan-format, mh-msg-num-width): Move to new file
1450 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1451 (mh-header-field-font-lock, mh-header-to-font-lock)
1452 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1453 (mh-show-font-lock-keywords)
1454 (mh-show-font-lock-keywords-with-cite)
1455 (mh-show-font-lock-fontify-region)
1456 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1457 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1458 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1459 (mh-show-sequence-menu, mh-show-message-menu)
1460 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1461 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1462 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1464 (mh-mail-header-separator, mh-signature-separator-regexp)
1465 (mh-signature-separator, mh-globals-hash, mh-user-path)
1466 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1467 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1468 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1469 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1470 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1471 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1472 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1473 Move to mh-alias.el.
1474 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1475 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1476 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1477 Move to new file mh-folder.el.
1478 (with-mh-folder-updating, mh-in-show-buffer)
1479 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1480 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1481 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1483 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1484 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1485 (mh-face-background-compat, mh-face-display-function)
1486 (mh-show-xface, mh-picon-directory-list)
1487 (mh-picon-existing-directory-list)
1488 (mh-picon-cache, mh-picon-image-types)
1489 (mh-picon-set-directory-list, mh-picon-get-image)
1490 (mh-picon-file-contents, mh-picon-generate-path)
1491 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1492 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1493 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1494 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1495 (mh-x-image-scale-with-convert)
1496 (url-unreserved-chars, url-hexify-string)
1497 (mh-x-image-url-cache-canonicalize)
1498 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1499 (mh-x-image-url-fetch-image, mh-x-image-display)
1500 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1501 (mh-x-image-url-display): Move to new file mh-xface.el.
1502 (mh-logo-display): Call mh-image-load-path.
1503 (mh-find-path-run, mh-find-path): Move here from deprecated file
1505 (mh-help-messages): Now an alist of modes to an alist of messages.
1506 (mh-set-help): New function used to set mh-help-messages
1507 (mh-help): Adjust for new format of mh-help-messages. Add
1508 help-messages argument.
1509 (mh-prefix-help): Refactor to use mh-help.
1510 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1512 (mh-clear-sub-folders-cache): New function added to avoid exposing
1513 mh-sub-folders-cache variable.
1515 * mh-xface.el: New file. Contains X-Face and Face header field
1516 display routines from mh-utils.el.
1518 2006-01-17 Bill Wohler <wohler@newt.com>
1520 * mh-acros.el (assoc-string): Fix typo in argument.
1522 2006-01-16 Bill Wohler <wohler@newt.com>
1524 * mh-acros.el (require): Remove defadvice of require as defadvice
1525 is verboten within Emacs and our implementation was returning the
1526 wrong value from require. Upcoming restructuring should make this
1528 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1530 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1531 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1533 * mh-identity.el (mh-identity-field-handler): Use it.
1535 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1536 (read-from-string string) with (string-to-number string).
1538 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1541 * mh-mime.el (mh-mml-forward-message): Ditto.
1543 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1544 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1545 (mh-openssl-parser, mh-index-update-maps): Ditto.
1547 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1548 (mh-thread-generate): Ditto.
1550 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1552 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1553 mm- functions for proper text=flowed handling (addresses SF
1556 2006-01-15 Bill Wohler <wohler@newt.com>
1558 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1559 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1562 * mh-utils.el (mh-show-limit-map): Ditto.
1564 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1566 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1568 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1569 where they are used.
1571 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1572 needed to help remove dependency on mh-utils.
1574 * mh-exec.el: New file. Move process support routines here from
1577 * mh-init.el (mh-utils): Remove require.
1578 (mh-exec): Add require.
1579 (mh-profile-component, mh-profile-component-value): Move here from
1582 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1583 dependencies on mh-utils.el.
1584 (mh-profile-component, mh-profile-component-value): Move to
1585 mh-init.el since that's the only place that uses them. (Other than
1586 mh-alias.el; I'm thinking that mh-find-path can set variable from
1587 the Aliasfile component like it does the other components).
1588 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1589 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1590 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1591 (defvar, mh-exec-cmd-output)
1592 (mh-exchange-point-and-mark-preserving-active-mark)
1593 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1594 file mh-exec.el so that mh-init.el doesn't have to depend on
1595 mh-utils.el, breaking circular dependency.
1609 * mh-speed.el: Added debugging statements (commented out) around
1610 requires to help find dependency loops. Will remove them when
1611 issues are resolved.
1613 2006-01-14 Bill Wohler <wohler@newt.com>
1615 * mh-customize.el (mh-index): Rename group to mh-search and sort
1616 group definition and options accordingly.
1617 (mh-index-program): Rename to mh-search-program.
1618 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1620 (mh-search-mode-hook): Change group from mh-index to mh-search.
1621 (mh-index-folder): Rename to mh-search-folder. Change group from
1622 mh-index to mh-search.
1624 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1625 to mh-search-folder.
1627 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1628 pick and grep are searchers too but aren't indexed.
1629 (mh-index-execute-search-function): Rename to mh-search-function.
1630 (mh-index-next-result-function): Rename to
1631 mh-search-next-result-function.
1632 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1633 (mh-search): Since redo-search-flag defaults to nil and is of
1634 lesser importance, make it an optional argument and place it after
1635 the folder and search-regexp arguments. Sync docstring with
1637 (mh-search-mode-map): Autoload so that keys are shown in help even
1638 before mh-search is loaded.
1639 (mh-search-mode): Sync docstring with manual.
1640 (mh-index-do-search): Rename argument indexer to searcher. Sync
1641 docstring with manual.
1642 (mh-pick-do-search): Sync docstring with manual.
1643 (mh-index-p): Rename to mh-search-p.
1644 (mh-indexer-choices): Rename to mh-search-choices.
1645 (mh-index-choose): Rename to mh-search-choose. Rename argument
1646 indexer to searcher.
1647 (mh-swish++-execute-search, mh-swish-execute-search)
1648 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1649 read the results" from docstring since these functions don't.
1650 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1652 (mh-index-generate-pretty-name): Prune -search from string so that
1653 folder names for pick searches are the same as those of other
1656 2006-01-13 Bill Wohler <wohler@newt.com>
1658 * mh-acros.el (require): Added Satyaki's comment regarding what
1659 needs to happen to remove this defadvice which caused a little
1660 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1661 advices `require' incorrectly).
1663 * mh-search.el (mh-index-next-result-function): Add format to
1665 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1667 (mh-pick-execute-search): Operate across all folders if no folder
1668 given and recurse folder(s).
1669 (mh-pick-next-result): Handle new output.
1671 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1672 (mh-children-p, mh-folder-list): New functions.
1674 2006-01-12 Bill Wohler <wohler@newt.com>
1676 * mh-search.el: New file containing contents of mh-index.el and
1677 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1678 pick. Pick no longer sets the "search" sequence. Instead, it
1679 brings up a folder view that we're accustomed to. (closes SF
1681 (mh-index-search): Rename to mh-search.
1682 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1683 the Search to Perform Search and call mh-do-search. Add Search
1684 with Pick menu item.
1685 (mh-do-search): Delete.
1686 (mh-search-mode): Rename from mh-pick-mode.
1687 (MH-Search): Rename mode from MH-Pick.
1688 (mh-search-mode-map): Rename from mh-pick-mode-map.
1689 (mh-search-mode-help-messages): Rename from
1690 mh-pick-mode-help-messages.
1691 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1692 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1693 stay with that choice!
1696 * mh-pick.el: Merge into mh-search.el and delete.
1698 * mh-customize.el (mh-index-program): Change mh-index-search to
1699 mh-search in docstring.
1700 (mh-tool-bar-search-function): Change default from
1701 mh-search-folder to mh-search. Remove mh-search-folder as choice
1702 and rename mh-index-search choice to mh-search. Fix docstring.
1703 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1704 mh-search-folder to mh-search in docstring.
1706 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1707 Indexed Search to Search. Use mh-search instead of
1709 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1710 from mh-show-search-folder to mh-search.
1712 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1713 mh-search-folder no longer creates the search sequence.
1715 * mh-utils.el (mh-show-search-folder): Delete.
1716 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1717 Change s from mh-show-search-folder to mh-search.
1718 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1719 Search to Search. Use mh-search instead of mh-index-search.
1720 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1721 here from deleted mh-index.el.
1723 2006-01-11 Bill Wohler <wohler@newt.com>
1725 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1728 * mh-gnus.el: Require mh-acros.
1729 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1731 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1732 url-hexify-string to remove special characters from filenames
1733 (closes SF #1396499). Note that this invalidates the existing
1734 names in your cache so you might as well remove
1735 ~/Mail/.mhe-x-image-cache/* now.
1736 (url-unreserved-chars, url-hexify-string): Define if not defined.
1737 Copied from url-util.el in Emacs22 for Emacs 21.
1739 * mh-buffers.el: New file. Contains constants and code from
1740 mh-index.el and mh-utils.el.
1750 * mh-seq.el: Require new file mh-buffers.el.
1752 * mh-index.el: Require new file mh-buffers.el.
1753 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1756 * mh-utils.el: Require new file mh-buffers.el.
1757 (mh-temp-buffer, mh-temp-fetch-buffer)
1758 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1759 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1760 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1761 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1763 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1764 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1766 2006-01-10 Bill Wohler <wohler@newt.com>
1768 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1769 the cur message is used. Sync docstring with manual (closes SF
1772 * mh-mime.el (mh-compose-forward): Use standard range argument
1773 instead of messages. Use more powerful mh-read-range instead of
1774 read-string. Sync docstring with manual (close SF #1205890).
1776 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1778 (mh-index-next-folder): Don't back up a line when going backwards
1779 since this skips the current folder heading if point is on the
1780 first message after the folder heading (closes SF #1126188).
1782 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1784 (mh-variants): Note variable isn't meant to be accessed directly;
1785 use function mh-variants instead.
1786 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1787 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1788 them. Updated to use mh-file-command-p which is more accurrate
1789 than file-executable-p which returns t for directories.
1790 (mh-file-command-p): Move here from mh-utils, since
1791 mh-variant-*-info are the only functions to use it.
1792 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1793 function mh-variants instead of variable. More robust.
1794 (mh-find-path-run): Move here from mh-utils.el. Mention that
1795 checking this variable is unnecessary.
1796 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1797 variants and an mhparam command that doesn't work if there isn't
1798 an MH profile, we can't get libdir for running install-mh. So
1799 don't bother. If there's an issue with the environment, direct the
1800 user to install MH and run install-mh (closes SF #835192). Don't
1801 read ~/.mh_profile directly. Use mh-profile-component which uses
1802 mhparam (closes SF #1016027).
1804 * mh-utils.el (mh-get-profile-field): Rename to
1805 mh-profile-component-value. Add colon to search removing
1806 unnecessary addition of colon to field in mh-profile-component.
1807 (mh-profile-component): Modify call to mh-profile-component-value
1808 accordingly. Move next to mh-profile-component-value.
1809 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1810 mh-init.el. It makes sense that code that is only run once per
1811 session (more or less) is in mh-init.el rather than cluttering
1813 (mh-no-install, mh-install): Delete.
1815 * mh-customize.el (mh-folder-msg-number):
1816 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1818 2006-01-09 Bill Wohler <wohler@newt.com>
1820 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1821 patch from Satyaki from SF #1016027.
1823 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1824 message, even if cur sequence is no longer present (closes SF
1827 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1829 (mh-letter-mode): Derive from mail-mode and delete code copied
1830 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1832 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1833 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1834 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1835 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1836 (mh-to-fcc): Move setting of folder argument to interactive
1837 argument as is the norm.
1838 (mh-letter-complete-function-alist): Add mail-reply-to.
1839 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1840 Mail-Followup-To, Reply-To, From).
1842 * mh-customize.el: Use ";; Forward definition." consistently.
1843 Comment declaration to remind programmer to update forward
1844 definition if default changes.
1851 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1854 2006-01-08 Bill Wohler <wohler@newt.com>
1856 Removed code that was marked as Emacs 20 compatible that was
1857 easily found showing how important it is to document such
1858 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1859 peculiarities that you find. Wrapped code for shushing compiler
1860 with (eval-when-compile), sometimes moving the defvars closer to
1861 where they were used.
1863 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1864 instead of mh-replace-in-string as mh-replace-in-string was
1865 replaced by a more appropriate defsubst in mh-xemacs.el.
1867 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1869 (mh-file-is-vcard-p): Removed redundant test.
1871 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1872 with eval-when-compile.
1873 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1874 (mh-invisible-header-fields-default): Add forward definitions.
1875 (mh-invisible-header-fields-default): Alphabetize.
1877 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1879 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1881 (mh-colors-available-p): Just call display-color-cells. It's on
1882 all supported Emacsen (and defaliased on XEmacs).
1886 * mh-init.el: Wrap compiler-shushing defvars with
1889 * mh-identity.el: Don't need (mh-require-cl).
1891 * mh-index.el: Don't need to load executable any more.
1893 * mh-mime.el: Wrap compiler-shushing defvars with
1895 (mh-have-file-command): Initialize variable to 'undefined. Add
1896 docstring. Update function of same name accordingly. Also don't
1897 need to load executable any more.
1898 (mh-mime-content-types): Delete.
1899 (mh-minibuffer-read-type): Prompt user for type if
1900 mh-file-mime-type returns application/octet-stream. Assume we have
1902 (mh-mime-display): Update error message.
1904 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1905 with eval-when-compile.
1907 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1908 with eval-when-compile.
1909 (mh-clean-msg-header): Don't set after-change-functions to nil.
1910 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1913 2006-01-07 Bill Wohler <wohler@newt.com>
1915 * mh-customize.el: Updated Faces documentation in header.
1916 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1917 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1919 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1920 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1923 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1925 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1926 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1928 2006-01-03 Bill Wohler <wohler@newt.com>
1930 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1931 unification. Use single sentence if possible by using semicolon.
1932 Don't end message with punctuation. Don't need format with
1933 message. Quote messages as in docstrings: use `' around symbols,
1934 \" for option choices. Don't use quotes around %s.
1936 * mh-comp.el (mh-complete-word): Ditto.
1938 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1939 (mh-scan-format-file-check): Ditto.
1941 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1942 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1943 (mh-msg-num-width-to-column): Ditto.
1945 * mh-identity.el (mh-identity-field-handler): Ditto.
1947 * mh-index.el (mh-mairix-execute-search)
1948 (mh-swish-execute-search, mh-swish++-execute-search)
1949 (mh-namazu-execute-search): Ditto.
1951 * mh-init.el (mh-variant-set): Ditto.
1953 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1954 (mh-secure-message, mh-mime-display): Ditto.
1956 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1958 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1959 (mh-read-range, mh-thread-container-subject): Ditto.
1961 * mh-utils.el (mh-x-image-scale-and-display)
1962 (mh-prompt-for-folder, mh-handle-process-error)
1963 (mh-list-to-string-1): Ditto.
1965 * mh-comp.el (mh-reply): Use standard default notation in
1966 prompts (closes SF #1275933).
1968 * mh-mime.el (mh-mime-save-parts): Ditto.
1970 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1972 * mh-customize.el (mh-folder-msg-number): Snow is actually
1973 off-white on low color displays which turns to white when bold.
1974 This is unreadable on white backgrounds. Use snow with min-colors
1975 requirement. Use cyan on low-color displays.
1977 * mh-init.el (mh-defface-compat): On low-color displays, delete
1978 the high-color display rather than simply strip the min-colors
1979 requirement since the existing algorithm shadowed the desired
1980 display on low-color displays.
1982 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1985 2006-01-02 Bill Wohler <wohler@newt.com>
1987 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1988 docstring. Does this mean something in a defun?
1990 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1993 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1994 so it reads better in docstring and manual. Sync docstring with
1997 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1999 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2001 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2002 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2003 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2004 (mh-letter-complete-or-space, mh-letter-confirm-address)
2005 (mh-letter-next-header-field-or-indent)
2006 (mh-letter-previous-header-field): Ditto.
2008 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2009 (mh-default-folder-for-message-function, mh-mml-method-default)
2010 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2011 (mh-show-mode-hook) Ditto.
2013 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2015 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2016 (mh-store-msg, mh-store-buffer): Ditto
2018 * mh-index.el (mh-index-search, mh-index-do-search)
2019 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2021 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2023 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2024 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2025 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2026 (mh-mml-secure-message-signencrypt): Ditto
2028 * mh-pick.el (mh-search-folder): Ditto.
2030 * mh-seq.el (mh-widen): Ditto.
2032 * mh-utils.el (mh-show, mh-modify): Ditto.
2034 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2036 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2038 2006-01-01 Bill Wohler <wohler@newt.com>
2040 * mh-customize.el: Sync docstrings with manual for faces and sort
2041 them alphabetically.
2042 (mh-faces): Move below mh-hooks.
2043 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2044 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
2046 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2047 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2048 (mh-folder-body-face, mh-folder-cur-msg-face)
2049 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2050 (mh-folder-followup-face, mh-folder-msg-number-face)
2051 (mh-folder-deleted-face, mh-folder-refiled-face)
2052 (mh-folder-subject-face, mh-folder-address-face)
2053 (mh-folder-scan-format-face, mh-folder-to-face)
2054 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2055 (mh-show-header-face, mh-show-pgg-good-face)
2056 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2057 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2059 (mh-folder-cur-msg): Unused. Delete.
2060 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2061 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2062 Inherit from mh-folder-msg-number.
2063 (mh-folder-deleted): Use defface. Inherit from
2064 mh-folder-msg-number.
2065 (mh-folder-sent-to-me-hint): New face. Inherit from
2067 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2068 Use defface. Inherit from mh-folder-followup.
2069 (mh-show-xface): Inherit from mh-show-from and highlight.
2070 (bw-face-generation, bw-toggle-faces)
2071 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2072 variables, functions for toggling between old and new faces.
2074 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2075 eval-when-compile. We should probably do this throughout.
2076 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2077 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2078 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2079 (mh-scan-subject-regexp): Sync docstrings with manual
2080 (mh-scan-format-regexp): Rename to
2081 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2082 expression. Make expression more like the others (anchored at the
2083 beginning of line). Sync docstrings with manual.
2084 (mh-folder-font-lock-keywords): Use faces directly rather than
2085 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2086 mh-scan-format-regexp, and within that expression, use faces
2087 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2088 of mh-folder-date-face and mh-folder-scan-format-face which were
2091 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2092 rather than -face variables.
2094 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2095 rather than -face variables.
2096 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2097 (mh-face-display-function): Use mh-face-foreground-compat and
2098 mh-face-background-compat to use inherited attributes of
2099 mh-show-xface on Emacs 22 while still working on Emacs 21.
2101 2005-12-28 Bill Wohler <wohler@newt.com>
2103 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
2104 mh-user-agent-compose instead of mh-smail-batch.
2106 2005-12-27 Bill Wohler <wohler@newt.com>
2108 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2109 suppress creation of folder if it doesn't exist.
2111 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2115 2005-12-23 Bill Wohler <wohler@newt.com>
2117 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2119 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2120 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2121 everything else. Otherwise, you can accidently get links to
2124 2005-12-22 Bill Wohler <wohler@newt.com>
2126 Follow Emacs coding conventions. Use default setting of
2127 emacs-lisp-docstring-fill-column which is 65.
2129 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2131 * mh-comp.el (mh-letter-mode): Use 60 column width.
2132 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2134 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2135 you have added a mail-citation-hook and neither are used if you
2136 use one of the supercite flavors of mh-yank-behavior. Sync
2137 docstrings with manual.
2139 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2140 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2141 hook. Use "Hook run by `function'..." instead of "Invoked...".
2142 Sync docstrings with manual.
2143 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2144 mh-ins-buf-prefix isn't used if you have added a
2145 mail-citation-hook and neither are used if you use one of the
2146 supercite flavors of mh-yank-behavior. Sync docstrings with
2148 (mail-citation-hook): Delete. Use one in sendmail.el.
2149 (mh-signature-file-name, mh-after-commands-processed-hook)
2150 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2151 (mh-before-quit-hook, mh-before-send-letter-hook)
2152 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2153 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2154 (mh-letter-mode-hook)
2155 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2156 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2157 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2158 of "Invoked...". Sync docstrings with manual.
2160 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2161 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2162 (mh-delete-list, mh-refile-list, mh-folders-changed)
2163 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2164 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2165 (mh-mode-line-annotation, mh-sequence-notation-history)
2166 (mh-colors-available-flag): Move comment into docstring.
2167 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2168 (mh-process-commands): Sync docstrings with manual.
2169 (mh-refile-msg): Small doc edit.
2170 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2171 Rename msg argument to message.
2173 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2175 * mh-e.el (mh-update-unseen): No longer say "The value of
2176 `foo-hook' is a list of functions to be called, with no arguments,
2177 ...," but rather just "The hook foo-hook is called...".
2179 * mh-mime.el (mh-mh-to-mime): Ditto.
2181 * mh-pick.el (mh-pick-mode): Ditto.
2183 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2185 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2187 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2190 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2192 * mh-customize.el (mh-after-commands-processed-hook): New
2194 (mh-before-commands-processed-hook): Rename
2195 mh-folder-updated-hook.
2197 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2198 mh-before-commands-processed-hook, call new
2199 mh-after-commands-processed-hook.
2200 (mh-folders-changed): New variable (for use in
2201 mh-after-commands-processed-hook).
2203 2005-12-19 Bill Wohler <wohler@newt.com>
2223 Follow commenting conventions. Don't use ;;; form so much, except
2224 for headings. Precede headings with page feed. This was mostly
2225 already done, so I made it a convention. Did not update copyright
2226 on a couple of files since this was an insignificant change.
2228 2005-12-18 Bill Wohler <wohler@newt.com>
2230 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2231 (mh-tool-bar-search-function): Sync docstrings with manual.
2232 (mh-tool-bar-customize): Replace toolbar with tool bar in
2234 (mh-tool-bar-letter-help): Fix manual reference.
2235 (mh-xemacs-use-toolbar-flag): Rename to
2236 mh-xemacs-use-tool-bar-flag. Initialize to
2237 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2238 (mh-xemacs-toolbar-position): Rename to
2239 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2240 option (redundant) and change "Same As Default Tool Bar" setting
2241 to nil. Sync docstrings with manual.
2242 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2243 depending on context.
2244 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2245 for calling set-specifier. Only look at the value of
2246 mh-xemacs-use-tool-bar-flag.
2247 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
2248 docstrings with manual.
2250 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2253 * mh-e.el (mh-folder-mode): Ditto.
2255 * mh-utils.el (mh-show-mode): Ditto.
2257 2005-12-15 Bill Wohler <wohler@newt.com>
2259 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2261 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2262 (mh-thread-previous-sibling, mh-thread-ancestor)
2263 (mh-thread-delete, mh-thread-refile): Ditto.
2265 2005-12-14 Bill Wohler <wohler@newt.com>
2267 * mh-customize.el (mh-speed-flists-interval): Rename to
2268 mh-speed-update-interval.
2269 (mh-speed-run-flists-flag): Delete. Setting
2270 mh-speed-flists-interval to 0 accomplishes the same thing.
2272 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2273 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2274 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2275 docstrings with manual.
2277 2005-12-09 Bill Wohler <wohler@newt.com>
2279 * mh-customize.el (mh-path): Move here from mh-init.el.
2280 (mh-variant): Mention that mh-path can be customized.
2281 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2282 X-MAIL-INFO, and X-UNTD- from NetZero.
2284 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2286 2005-12-04 Bill Wohler <wohler@newt.com>
2288 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2289 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2292 * mh-customize.el (mh-insert-signature-hook): Rename
2293 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2295 * mh-comp.el (mh-insert-signature): Ditto.
2297 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2298 to nil. Remove t option. Sync docstring with manual (closes SF
2300 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2301 users can see it, look it up in the manual's index, and discover
2302 mh-fetch-x-image-url (closes SF #831278).
2304 * mh-customize.el (mh-new-messages-folders): Rename from
2305 mh-index-new-messages-folders.
2306 (mh-ticked-messages-folders): Rename from
2307 mh-index-ticked-messages-folders.
2309 * mh-index.el (mh-index-sequenced-messages)
2310 (mh-index-new-messages): Ditto.
2312 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2313 in the docstrings and made usage consistent. Generally speaking,
2314 "messages in range" and "range of messages" is redundant and just
2315 "range" can be used in most circumstances. Also ensured that
2316 mh-interactive-range was mentioned in all interactive functions
2317 that use a range which describes the range argument for both users
2320 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2321 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2322 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2323 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2326 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2329 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2331 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2332 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2334 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2335 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2337 2005-12-01 Bill Wohler <wohler@newt.com>
2339 Rewrote Reading Mail chapter in manual which affected mh-show
2340 customization group and related functions.
2342 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2343 instead of mh-highlight-citation-p.
2344 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2345 I think, so use "truncated".
2347 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2348 section is Folders, not Organizing. Parent of mh-folder-faces is
2349 mh-folder, not mh-show.
2350 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2351 (mh-thread): New group that corresponds with manual's Threading
2353 (mh-letter-faces): Group's manual section is Editing Drafts, not
2355 (mh-sortm-args): New customization variable that used to be a
2357 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2358 Move from mh-index group to mh-folders group.
2359 (mh-alias-local-users-prefix, mh-large-folder)
2360 (mh-recursive-folders-flag, mh-before-quit-hook)
2361 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2362 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2364 (mh-highlight-citation-style): Rename from
2365 mh-highlight-citation-p. Sync docstrings with manual.
2366 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2368 (mh-show-threads-flag): Move from mh-show group to mh-thread
2370 (mh-find-path-hook): Move from mh-show group to mh-e group.
2371 (mh-folder-updated-hook): Add to mh-folder group.
2372 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2373 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2374 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2375 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2376 (mh-display-buttons-for-inline-parts-flag)
2377 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2378 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2379 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2380 (mh-lpr-command-format, mh-max-inline-image-height)
2381 (mh-max-inline-image-width)
2382 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2383 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2384 (mh-show-use-xface-flag, mh-store-default-directory)
2385 (mh-summary-height, mh-delete-msg-hook
2386 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2389 (mh-scan-format-mh, mh-scan-good-msg-regexp)
2390 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2391 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
2392 non-fontification instead of non-fontifying.
2393 (mh-header-display): Use mh-mhl-format-file instead of
2394 mhl-formfile. Sync docstrings with manual.
2395 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2396 count. Sync docstrings with manual.
2397 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2398 so that message doesn't change when using this command. Sync
2399 docstrings with manual.
2400 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2401 docstrings with manual.
2402 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2403 to no-header. Sync docstrings with manual.
2404 (mh-ps-print-map): Delete keybindings for deleted commands
2405 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2406 (mh-help-messages): Update printing help.
2407 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2408 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2409 (mh-prev-button, mh-folder-toggle-mime-part)
2410 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2411 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2414 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2416 (mh-pipe-msg): Rename include-headers to include-header. Sync
2417 docstrings with manual.
2418 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2419 (mh-store-msg): Sync docstrings with manual.
2421 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
2422 docstrings with manual.
2423 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2424 Sync docstrings with manual.
2425 (mh-mm-display-part, mh-mm-inline-message): Use
2426 mh-highlight-citation-style instead of mh-highlight-citation-p.
2427 (mh-press-button): Sync docstrings with manual.
2428 (mh-display-with-external-viewer): Fix default output in
2429 minibuffer. Sync docstrings with manual.
2431 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
2433 (mh-ps-print-color-option): Incorporate docstring from
2435 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
2437 (mh-ps-spool-msg): Slimline docstring. Rename from
2438 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2440 (mh-ps-print-range): Extract method from common code in
2441 mh-ps-print-msg and mh-ps-print-msg-file.
2442 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2443 (mh-ps-print-msg-show): Delete. Can use either
2444 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2445 new code in mh-ps-spool-msg.
2446 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2447 Sync docstrings with manual.
2448 (mh-ps-print-msg, mh-ps-print-msg-file)
2449 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
2450 docstrings with manual.
2452 * mh-utils.el (mh-show-ps-print-msg-show)
2453 mh-show-ps-print-toggle-mime): Delete.
2454 (mh-show-ps-print-map): Update accordingly.
2455 (mh-show-mode): Use mh-highlight-citation-style instead of
2456 mh-highlight-citation-p.
2457 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2459 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
2460 docstrings with manual.
2461 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
2462 docstrings with manual.
2464 2005-12-01 Bill Wohler <wohler@newt.com>
2466 * mh-init.el (mh-defface-compat): Checkdoc fix.
2468 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2469 Bogofilter is lowercase except at beginning of sentence and in
2472 2005-11-04 Bill Wohler <wohler@newt.com>
2474 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2475 Move to mh-init.el to minimize bulk of mh-customize.el.
2477 * mh-init.el: Modify commentary since file is used for load and
2478 initialization as well as setting and getting the variant.
2479 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2482 * mh-customize.el: Refactor faces. Move grayscale requirements
2483 last before t. Use uniform line breaks.
2484 (mh-min-colors-defined-flag): New variable.
2485 (mh-defface-compat): New function. Provides backward compatibility
2487 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2488 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2489 (mh-folder-body): Use mh-defface-compat.
2491 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2493 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2494 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2495 (mh-folder-to-face): Use the min-colors attribute instead of the
2498 2005-11-03 Bill Wohler <wohler@newt.com>
2500 * mh-customize.el (mh-refile-preserves-sequences-flag)
2501 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2502 docstrings with manual.
2504 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2506 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2507 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2510 2005-11-01 Bill Wohler <wohler@newt.com>
2512 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2514 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2515 (mh-reply, mh-send, mh-send-other-window)
2516 (mh-fill-paragraph-function): Sync docstrings with manual.
2517 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2518 msg argument to message (to make for a better docstring).
2520 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2521 to defcustom. Rename by adding -flag.
2522 (mh-compose-forward-as-mime-flag)
2523 (mh-compose-letter-function, mh-forward-subject-format)
2524 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2525 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2528 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2529 (mh-ps-print-msg): Remove debugging messages.
2530 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2531 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2532 after message per conventions.
2534 2005-10-30 Bill Wohler <wohler@newt.com>
2536 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2537 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2538 docstrings with manual.
2540 * mh-customize.el (mh-compose-space-does-completion-flag)
2541 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2542 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2543 means" to remain checkdoc clean and consistent with Emacs. I
2544 raised this issue with the Emacs developers and Stallman agrees
2545 that "On means" should be allowed in custom docstrings but that
2546 this change requires thought and should wait until after the Emacs
2549 2005-10-28 Bill Wohler <wohler@newt.com>
2551 * mh-comp.el (mh-annotate-msg): Use new variable
2552 mh-scan-field-destination-offset rather than hard-coding 1.
2554 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2556 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2557 functions to check input for mh-adaptive-cmd-note-flag and
2558 mh-scan-format-file respectively.
2559 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2562 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2563 destination is the -, t, b, c, or n character for Replied, To, cc,
2564 Bcc, or Newsgroups respectively.
2565 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2566 Call new function mh-msg-num-width-to-column to make leap between
2567 width and column more explicit.
2568 (mh-msg-num-width-to-column): New function that steals logic from
2569 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2570 isn't t since we can't adapt the scan lines in this case.
2571 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2572 make the documentation more clear.
2573 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2574 column, not a width.
2575 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2576 variable mh-scan-field-destination-offset rather than hard-coding
2579 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2580 (mh-notate): Use new variable mh-scan-field-destination-offset
2581 rather than hard-coding 1.
2582 (mh-message-number-width): Rename to mh-msg-num-width to be
2583 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2585 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2586 (mail-citation-hook): Quote URLs in docstrings and precede with
2587 `URL'. The former will suppress checkdoc warnings, the latter will
2588 turn them into hyperlinks in Emacs 22 (I just added the code to do
2590 (mh-scan-format-file): Checkdoc fix.
2592 2005-10-27 Bill Wohler <wohler@newt.com>
2594 * mh-customize.el (mh-adaptive-cmd-note-flag)
2595 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2597 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2598 (mh-note-cur, mh-scan-good-msg-regexp)
2599 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2600 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2601 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2602 (mh-scan-subject-regexp, mh-scan-format-regexp)
2603 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2606 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2608 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2609 of hard-coded string.
2610 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2611 "regular expression" in docstring instead of regexp.
2612 (mh-scan-msg-number-regexp)
2613 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2614 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2615 (mh-cmd-note): Sync docstrings with manual.
2617 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2620 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2622 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2623 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2624 (mh-mml-secure-message-signencrypt): Ditto.
2626 2005-10-24 Bill Wohler <wohler@newt.com>
2628 * mh-gnus.el: Load mml.el in order to see if
2629 mml-minibuffer-read-disposition is defined or not.
2631 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2634 2005-10-23 Miles Bader <miles@gnu.org>
2636 * .arch-inventory: New file.
2638 2005-10-23 Bill Wohler <wohler@newt.com>
2640 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2641 docstring with manual.
2643 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2644 mh-alias.el and move to mh-acros.el
2646 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2647 mh-identity.el and move to mh-acros.el
2649 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2650 mh-identity.el and mh-alias.el.
2652 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2653 warning in Emacs 22.
2655 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2657 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2658 assoc-string (if the function is available) and falls back on
2659 assoc-ignore-case if assoc-string is not found.
2660 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2661 assoc-ignore-case is a obsolete function in Emacs 22.
2663 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2664 track of whether the tool-bar in mh-folder-mode has been
2666 (mh-folder-mode): Initialize the tool-bar for folders the first
2667 time we get into mh-letter-mode.
2669 * mh-customize.el (mh-buffer-exists-p): New function which tests
2670 presence of buffers of a given mode.
2671 (mh-tool-bar-define): New functions
2672 mh-tool-bar-folder-buttons-init and
2673 mh-tool-bar-letter-buttons-init are defined. These functions are
2674 used to create the tool-bar from the corresponding customizable
2677 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2678 keeps track of whether the tool-bar in mh-letter-mode has been
2680 (mh-letter-mode): Initialize the tool-bar for drafts the first
2681 time we get into mh-letter-mode.
2683 2005-10-23 Bill Wohler <wohler@newt.com>
2685 * mh-comp.el (mh-letter-menu): Rename
2686 mh-mhn-compose-external-compressed-tar to
2687 mh-mh-compose-external-compressed-tar. Rename
2688 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2689 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2690 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2691 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2692 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2694 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2695 mh-mh-directive-present-p.
2696 (mh-send-letter): Rename mh-mhn-directive-present-p to
2697 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2698 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2699 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2700 mh-mhn-compose-external-compressed-tar to
2701 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2702 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2703 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2704 mh-mh-compose-anon-ftp. Rename
2705 mh-mhn-compose-external-compressed-tar to
2706 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2707 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2708 mh-mh-compose-external-type.
2709 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2710 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2711 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2712 mh-yank-from-start-of-msg to mh-yank-behavior.
2713 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2714 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2715 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2716 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2717 (mh-letter-complete-or-space, mh-letter-confirm-address)
2718 (mh-letter-next-header-field-or-indent)
2719 (mh-letter-previous-header-field)
2720 (mh-letter-toggle-header-field-display): Sync docstrings with
2723 * mh-customize.el (mh-edit-mhn-hook): Rename to
2725 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2726 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2727 and user-visible values from mhn and Gnus to MH and MML.
2728 (mh-before-send-letter-hook): Add 'ispell-message option.
2729 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2730 mh-pgp-support-flag.
2731 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2732 (mh-delete-yanked-msg-window-flag)
2733 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2734 (mh-letter-complete-function, mh-letter-fill-column)
2735 (mh-mml-method-default, mh-signature-file-name)
2736 (mh-signature-separator-flag, mh-x-face-file)
2737 (mh-yank-behavior, mail-citation-hook)
2738 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2741 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2742 provided for Emacs 21 environments that lack it.
2744 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2746 (mh-compose-forward): mh-mh-forward-message requires string arg.
2747 (mh-minibuffer-read-type): New function.
2748 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2749 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2750 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2751 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2752 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2753 Rename mh-mhn-compose-external-type to
2754 mh-mh-compose-external-type.
2755 (mh-mhn-compose-external-compressed-tar): Rename to
2756 mh-mh-compose-external-compressed-tar. Rename
2757 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2758 (mh-mhn-compose-external-type): Rename to
2759 mh-mh-compose-external-type.
2760 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2761 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2762 Use correct program in message.
2763 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2764 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2765 (mh-compose-forward, mh-mh-attach-file)
2766 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2767 (mh-mh-compose-external-type, mh-mh-forward-message)
2768 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2769 mh-minibuffer-read-type.
2770 (mh-mime-content-types): Move comment about only being used in
2771 Emacs 20 to docstring.
2772 (mh-mh-compose-external-type): Rename extra-param argument to
2774 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2775 (mh-mime-display-part, mh-mime-display-single): Rename
2776 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2777 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2779 (mh-compose-forward): Rename mh-mhn-compose-forw to
2780 mh-mh-forward-message.
2781 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2783 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2784 (mh-mh-attach-file, mh-mh-compose-type)
2785 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2786 (mh-mh-compose-external-compressed-tar)
2787 (mh-mh-compose-external-type, mh-mh-forward-message)
2788 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2789 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2790 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2791 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2792 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2793 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2794 Sync docstrings with manual.
2796 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2797 mh-pgp-support-flag.
2799 2005-10-17 Peter S Galbraith <psg@debian.org>
2801 * mh-identity.el (mh-identity-field-handler): Use
2802 `assoc-ignore-case' to compare against header field for mixed-case
2805 2005-10-17 Bill Wohler <wohler@newt.com>
2807 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2808 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2809 to mail/compose, fld_open to fld-open.
2810 (mh-letter-tool-bar-map): Rename image file mail_send to
2813 2005-10-16 Bill Wohler <wohler@newt.com>
2815 * mh-comp.el (mh-display-completion-list-compat): New macro which
2816 calls `display-completion-list' correctly in older environments.
2817 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2819 (mh-complete-word): Use it.
2821 * mh-init.el (mh-image-load-path): Use locate-library to find
2822 MH-E. This simplified the code a lot. Flattened out nested
2823 statements even more.
2825 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2827 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2828 causes a compiler warning.
2830 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2831 the message to be viewed (closes SF #1306141).
2833 2005-10-16 Masatake YAMATO <jet@gyve.org>
2835 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2836 of completion to `display-completion-list'.
2838 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2840 * mh-init.el (mh-image-load-path-called-flag): New variable which
2841 is used by mh-image-load-path so that it runs only once.
2842 (mh-image-load-path): Modify so that it gets run only once. Also
2843 flatten out heavily nested if statements to make it clearer.
2845 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2846 to find images used in the toolbar.
2848 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2850 2005-10-14 Bill Wohler <wohler@newt.com>
2852 * mh-e.el (Version, mh-version): Add +cvs to version.
2854 2005-10-14 Bill Wohler <wohler@newt.com>
2856 Released MH-E version 7.85.
2858 * mh-e.el (Version, mh-version): Update for release 7.85.
2860 2005-10-14 Bill Wohler <wohler@newt.com>
2862 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2863 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2864 need to be indented.
2866 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2867 but the code that invoked the face had not been updated. Tick
2868 highlighting working again.
2870 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2871 make-variable-buffer-local call to top level to avoid warnings in
2874 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2877 2005-10-09 Bill Wohler <wohler@newt.com>
2879 * mh-init.el (mh-image-load-path): New function that adds the path
2880 to the MH-E images to the image-load-path or load-path depending
2881 on the version of Emacs.
2883 * mh-customize.el: Call mh-image-load-path just before
2884 mh-tool-bar-define so that the toolbar images can be found.
2886 2005-10-04 Bill Wohler <wohler@newt.com>
2888 * ChangeLog: Move contents into ChangeLog.1 and trim.
2890 * ChangeLog.1: New file. Contains old ChangeLog.
2893 Copyright (C) 2005 Free Software Foundation, Inc.
2895 Copying and distribution of this file, with or without modification,
2896 are permitted in any medium without royalty provided the copyright
2897 notice and this notice are preserved.
2900 ;; sentence-end-double-space: nil
2901 ;; add-log-time-zone-rule: t
2904 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51