1 2006-11-14 Bill Wohler <wohler@newt.com>
3 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
4 reserved Windows filename characters (closes SF #1396499).
6 2006-11-13 Bill Wohler <wohler@newt.com>
8 Release MH-E version 8.0.3.
10 * mh-e.el (Version, mh-version): Update for release 8.0.3.
12 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
13 with "Non-nil means". Perhaps this option should have a -flag
15 (mh-junk-background): Sync docstring with manual.
17 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
18 (mh-spamprobe-blacklist): Sync docstring with manual.
20 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
22 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
23 Use mh-junk-background consistently in call-process calls.
24 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
25 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
26 Use with-current-buffer so the right thing happens if
27 mh-junk-background is t (closes SF #1594802).
29 * mh-e.el (mh-junk-background): Document that On value is 0;
30 t may be used for debugging.
32 2006-11-10 Andreas Schwab <schwab@suse.de>
34 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
36 2006-11-10 Glenn Morris <rgm@gnu.org>
38 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
40 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
42 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
43 quotation marks, so that the last two arguments of sa-learn
44 are separated properly (closes SF #1565460).
45 (mh-spamassassin-blacklist): In example .procmailrc, add
46 PATH element to find mhparam on Debian.
48 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
50 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
51 so that we always have a valid string for split-string even if
52 nothing is added in mh-send-letter (closes SF #1564742).
54 2006-07-03 Bill Wohler <wohler@newt.com>
56 Release MH-E version 8.0.2.
58 * mh-e.el (Version, mh-version): Update for release 8.0.2.
60 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
62 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
63 it refers to the icons in mh-xemacs-icon-map instead of trying to
64 declare the icons in situ. This allows mh-tool-bar.el to be
65 compiled under XEmacs. Remove initial value for
66 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
67 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
68 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
69 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
71 2006-07-03 Bill Wohler <wohler@newt.com>
73 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
74 that mh-xemacs needs functions in mh-compat.
76 2006-06-29 Bill Wohler <wohler@newt.com>
78 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
79 loop construct to be consistent with other loops, and because
80 edebug doesn't work without it.
82 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
84 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
85 redundant +s in regexp (closes SF #1514424).
87 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
89 * mh-mime.el (mh-mime-save-parts): Add -store option to
90 mhn (closes SF #1513140).
92 2006-06-20 Bill Wohler <wohler@newt.com>
94 Release MH-E version 8.0.1.
96 * mh-e.el (Version, mh-version): Update for release 8.0.1.
98 2006-06-15 Bill Wohler <wohler@newt.com>
100 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
101 suffix for folder names, as <> are illegal filename characters on
102 Windows (closes SF #1507002).
104 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
106 * mh-comp.el (mh-send-uses-spost): New variable.
107 (mh-send-letter): Do not use -msgid and -mime if
108 mh-send-uses-spost is t (closes SF #1486726).
110 2006-06-02 Bill Wohler <wohler@newt.com>
112 (mh-folder-exists-p): Change test from an empty buffer, to one
113 that contains the actual folder, since GNU mailutils' folder
114 command displays output if the folder doesn't exist (closes SF
117 2006-05-06 Bill Wohler <wohler@newt.com>
119 Release MH-E version 8.0.
121 * mh-e.el (Version, mh-version): Update for release 8.0.
123 2006-05-05 Bill Wohler <wohler@newt.com>
125 * mh-e.el: Update commentary.
127 2006-04-28 Bill Wohler <wohler@newt.com>
129 Release MH-E version 7.95.
131 * mh-e.el (Version, mh-version): Update for release 7.95.
133 2006-04-26 Eric Ding <ericding@alum.mit.edu>
135 * mh-e.el (mh-invisible-header-fields-internal): Add entry
138 2006-04-25 Bill Wohler <wohler@newt.com>
140 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
141 Folders returned by mh-folder-completion-function no longer need
142 adornment (closes SF #1476270).
144 2006-04-21 Bill Wohler <wohler@newt.com>
146 * mh-e.el (Version, mh-version): Add +cvs to version.
148 2006-04-21 Bill Wohler <wohler@newt.com>
150 Release MH-E version 7.94.
152 * mh-e.el (Version, mh-version): Update for release 7.94.
154 2006-04-21 Bill Wohler <wohler@newt.com>
156 * mh-letter.el (mh-insert-letter): If a message number isn't
157 given, throw an error rather than using a potentially incorrect
158 message number (closes SF #1473729). In addition, use the cur
159 message if mh-sent-from-msg is nil (when sending a message, in
160 contrast to replying). Move conversion of int to string into
161 interactive stanza so body can assume variables are of proper
164 2006-04-20 Bill Wohler <wohler@newt.com>
166 * mh-tool-bar.el (image-load-path): Define to shush compiler.
167 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
168 isn't used outside of it.
169 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
170 Update load-path/image-load-path before setting buttons.
171 This code used to be in mh-folder-mode/mh-letter-mode but this was
172 the wrong place since mh-tool-bar-*-buttons-init can also be called
173 when customizing the buttons.
174 (mh-tool-bar-update): New function which updates tool-bar-map in
175 all of the MH-E buffers after customizing the buttons (closes SF
177 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
178 Call it (closes SF #1452718).
180 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
181 mh-folder-tool-bar-map instead.
182 (image-load-path): Delete. No longer used.
183 (mh-folder-mode): Moved setting of image-load-path into
184 mh-tool-bar-folder-buttons-init.
186 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
187 mh-letter-tool-bar-map instead.
188 (image-load-path): Delete. No longer used.
189 (mh-letter-mode): Moved setting of image-load-path into
190 mh-tool-bar-letter-buttons-init.
192 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
193 instead of set-buffer.
195 2006-04-19 Bill Wohler <wohler@newt.com>
197 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
198 can permanently disable a button (such as a separator) with nil.
200 2006-04-18 Bill Wohler <wohler@newt.com>
202 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
203 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
204 (mh-min-colors-defined-flag): Do not unbind these macros and
205 variables. Nice idea, but too many nasty side-effects. These
206 macros are needed by [Cc]ustom-make-dependencies when creating the
207 MH-E customization groups in mh-cus-load.el. These disappeared
208 when the macros above were introduced. Besides, if a developer
209 were to try to show the help for a macro or variable they were
210 looking at and got [No match] when they did so, that would be bad.
212 2006-04-17 Bill Wohler <wohler@newt.com>
214 * mh-comp.el (mh-insert-x-mailer): Strip build number from
215 version in X-Mailer field (closes SF #1466481).
217 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
218 variables and functions with the same name are found correctly by
219 find-func (invoked by clicking on the filename link in the *Help*
221 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
223 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
224 (mh-defcustom): Rename to defcustom-mh. Ditto.
225 (mh-defface): Rename to defface-mh. Ditto.
226 (mh-font-lock-add-keywords): Make changes according to these
229 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
232 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
233 have been processed by mh-normalize-folder-name.
234 (mh-folder-completion-function): Handle completion of folders with
235 absolute names. Also, when flag is t, display complete folder name
236 to provide proper highlighting in Emacs 22 now that
237 minibuffer-completing-file-name is nil (closes SF #1470518).
238 (mh-folder-completing-read): No longer set
239 minibuffer-completing-file-name to t. This was causing "Can't set
240 current directory errors" when browsing absolute file names.
241 Another benefit of this change is that SPC can be used for
242 completion again (closes SF #1470518).
244 2006-04-15 Bill Wohler <wohler@newt.com>
246 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
248 2006-04-14 Bill Wohler <wohler@newt.com>
250 * mh-funcs.el (view-exit-action): No need to wrap defvar with
251 eval-when-compile when shushing compiler.
253 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
255 * mh-seq.el (view-exit-action): Ditto.
257 * mh-show.el (font-lock-auto-fontify): Ditto.
259 * mh-utils.el (mh-speed-flists-cache): Ditto
261 * mh-acros.el (struct, x, y): No need to wrap defvar with
262 eval-when-compile when shushing compiler, even when
263 mh-do-in-xemacs or another construct is used.
265 * mh-comp.el (sendmail-coding-system): Ditto.
267 * mh-e.el (mark-active): Ditto.
269 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
270 (image-load-path, font-lock-defaults): Ditto.
272 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
274 * mh-mime.el (dots, type, ov)
275 (mm-verify-function-alist, mm-decrypt-function-alist)
276 (pressed-details): Ditto.
278 * mh-search.el (pick-folder, mh-do-in-xemacs)
279 (mh-mairix-folder, mh-flists-search-folders)
280 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
282 * mh-seq.el (tool-bar-mode): Ditto.
284 * mh-utils.el (completion-root-regexp)
285 (minibuffer-completing-file-name): Ditto.
287 * mh-xface.el (default-enable-multibyte-characters): Ditto.
289 * mh-compat.el (mh-font-lock-add-keywords): New alias for
290 font-lock-add-keywords. Returns nil on XEmacs.
292 * mh-e.el: Add MH-E function and variable keywords such as
293 mh-defun-compat and mh-defcustom to font-lock-keywords.
295 2006-04-13 Bill Wohler <wohler@newt.com>
297 * mh-e.el (customize-package-emacs-version-alist)
298 (mh-e, mh-alias, mh-folder, mh-folder-selection)
299 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
300 (mh-scan-line-formats, mh-search, mh-sending-mail, )
301 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
302 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
303 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
304 (mh-alias-insert-file, mh-alias-insertion-location)
305 (mh-alias-local-users, mh-alias-local-users-prefix)
306 (mh-alias-passwd-gecos-comma-separator-flag)
307 (mh-new-messages-folders, mh-ticked-messages-folders)
308 (mh-large-folder, mh-recenter-summary-flag)
309 (mh-recursive-folders-flag, mh-sortm-args)
310 (mh-default-folder-for-message-function, )
311 (mh-default-folder-list, mh-default-folder-must-exist-flag)
312 (mh-default-folder-prefix, mh-identity-list)
313 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
314 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
315 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
316 (mh-junk-program, mh-compose-insertion)
317 (mh-compose-skipped-header-fields)
318 (mh-compose-space-does-completion-flag)
319 (mh-delete-yanked-msg-window-flag)
320 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
321 (mh-letter-complete-function, mh-letter-fill-column)
322 (mh-mml-method-default, mh-signature-file-name)
323 (mh-signature-separator-flag, mh-x-face-file, )
324 (mh-yank-behavior, mh-interpret-number-as-range-flag)
325 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
326 (mh-search-program, mh-compose-forward-as-mime-flag)
327 (mh-compose-letter-function, mh-compose-prompt-flag)
328 (mh-forward-subject-format, mh-insert-x-mailer-flag)
329 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
330 (mh-reply-show-message-flag, )
331 (mh-refile-preserves-sequences-flag, mh-tick-seq)
332 (mh-update-sequences-after-mh-show-flag)
333 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
334 (mh-decode-mime-flag, )
335 (mh-display-buttons-for-alternatives-flag)
336 (mh-display-buttons-for-inline-parts-flag)
337 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
338 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
339 (mh-highlight-citation-style, mh-invisible-header-fields)
340 (mh-invisible-header-fields-default, mh-lpr-command-format)
341 (mh-max-inline-image-height, mh-max-inline-image-width)
342 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
343 (mh-print-background-flag, mh-show-maximum-size)
344 (mh-show-use-xface-flag, mh-store-default-directory)
345 (mh-summary-height, mh-speed-update-interval)
346 (mh-show-threads-flag, mh-tool-bar-search-function)
347 (mh-defcustom, mh-after-commands-processed-hook)
348 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
349 (mh-before-quit-hook, mh-before-send-letter-hook)
350 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
351 (mh-forward-hook, mh-inc-folder-hook, )
352 (mh-insert-signature-hook, )
353 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
354 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
355 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
356 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
357 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
358 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
359 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
360 (mh-folder-subject, mh-folder-tick, mh-folder-to)
361 (mh-letter-header-field, mh-search-folder, mh-show-cc)
362 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
363 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
364 (mh-show-subject, mh-show-to, mh-show-xface, )
365 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
366 (mh-speedbar-selected-folder)
367 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
368 notation in :package-version keyword.
370 2006-04-07 Bill Wohler <wohler@newt.com>
372 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
373 :package-version keyword.
375 2006-03-31 Bill Wohler <wohler@newt.com>
377 * mh-e.el (mh-strip-package-version): Move before use to avoid
378 compiler error. Make macro, also to avoid compiler error.
379 (mh-defface-compat): Incorporate body into mh-face-data and
382 2006-03-30 Bill Wohler <wohler@newt.com>
384 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
385 remove new :package-version keyword in older settings.
386 (customize-package-emacs-version-alist): Add MH-E version to Emacs
388 (mh-e, mh-alias, mh-folder, mh-folder-selection)
389 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
390 (mh-scan-line-formats, mh-search, mh-sending-mail)
391 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
392 (mh-hooks, mh-faces): Add :package-version keyword to these
393 groups (closes SF #1452724).
394 (mh-alias-completion-ignore-case-flag)
395 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
396 (mh-alias-insert-file, mh-alias-insertion-location)
397 (mh-alias-local-users, mh-alias-local-users-prefix)
398 (mh-alias-passwd-gecos-comma-separator-flag)
399 (mh-new-messages-folders, mh-ticked-messages-folders)
400 (mh-large-folder, mh-recenter-summary-flag)
401 (mh-recursive-folders-flag, mh-sortm-args)
402 (mh-default-folder-for-message-function)
403 (mh-default-folder-list, mh-default-folder-must-exist-flag)
404 (mh-default-folder-prefix, mh-identity-list)
405 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
406 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
407 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
408 (mh-junk-program, mh-compose-insertion)
409 (mh-compose-skipped-header-fields)
410 (mh-compose-space-does-completion-flag)
411 (mh-delete-yanked-msg-window-flag)
412 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
413 (mh-letter-complete-function, mh-letter-fill-column)
414 (mh-mml-method-default, mh-signature-file-name)
415 (mh-signature-separator-flag, mh-x-face-file)
416 (mh-yank-behavior, mh-interpret-number-as-range-flag)
417 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
418 (mh-search-program, mh-compose-forward-as-mime-flag)
419 (mh-compose-letter-function, mh-compose-prompt-flag)
420 (mh-forward-subject-format, mh-insert-x-mailer-flag)
421 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
422 (mh-reply-show-message-flag)
423 (mh-refile-preserves-sequences-flag, mh-tick-seq)
424 (mh-update-sequences-after-mh-show-flag)
425 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
426 (mh-decode-mime-flag)
427 (mh-display-buttons-for-alternatives-flag)
428 (mh-display-buttons-for-inline-parts-flag)
429 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
430 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
431 (mh-highlight-citation-style, mh-invisible-header-fields)
432 (mh-invisible-header-fields-default, mh-lpr-command-format)
433 (mh-max-inline-image-height, mh-max-inline-image-width)
434 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
435 (mh-print-background-flag, mh-show-maximum-size)
436 (mh-show-use-xface-flag, mh-store-default-directory)
437 (mh-summary-height, mh-speed-update-interval)
438 (mh-show-threads-flag, mh-tool-bar-search-function): Add
439 :package-version keyword to these options (closes SF #1452724).
440 (mh-after-commands-processed-hook)
441 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
442 (mh-before-quit-hook, mh-before-send-letter-hook)
443 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
444 (mh-forward-hook, mh-inc-folder-hook)
445 (mh-insert-signature-hook)
446 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
447 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
448 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
449 (mh-unseen-updated-hook): Add :package-version keyword to these
450 hooks (closes SF #1452724).
451 (mh-min-colors-defined-flag)
452 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
453 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
454 (mh-folder-msg-number, mh-folder-refiled)
455 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
456 (mh-folder-subject, mh-folder-tick, mh-folder-to)
457 (mh-letter-header-field, mh-search-folder, mh-show-cc)
458 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
459 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
460 (mh-show-subject, mh-show-to, mh-show-xface)
461 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
462 (mh-speedbar-selected-folder)
463 (mh-speedbar-selected-folder-with-unseen-messages): : Add
464 :package-version keyword to these faces (closes SF #1452724).
466 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
467 :package-version keywords (closes SF #1452724).
469 2006-03-28 Bill Wohler <wohler@newt.com>
471 * mh-tool-bar.el: Use clipboard-kill-region,
472 clipboard-kill-ring-save, and clipboard-yank instead of undo,
473 kill-region, and menu-bar-kill-ring-save respectively. In
474 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
475 front of mh-compose-insertion to be consistent with other mailers,
476 such as Evolution. In MH-Folder mode, move vanilla reply icon to
477 the left of the other reply icons. Use mail/inbox icon instead of
478 mail, next-page instead of page-down, delete instead of close,
479 mail/move instead of mail/refile, data-save instead of execute,
480 mail/flag-for-followup instead of highlight, contact instead of
481 mail/alias, open instead of fld-open, zoom-out instead of widen.
483 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
484 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
486 2006-03-27 Eric Ding <ericding@alum.mit.edu>
488 * mh-e.el (mh-invisible-header-fields-internal): Add entries
489 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
491 2006-03-19 Bill Wohler <wohler@newt.com>
493 * mh-comp.el (mh-reply): Sync docstring with manual.
495 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
498 2006-03-17 Bill Wohler <wohler@newt.com>
500 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
502 2006-03-16 Bill Wohler <wohler@newt.com>
504 * mh-comp.el (mh-send-letter): Use split-string to break up
505 mh-send-args (closes SF #1448604).
506 (mh-compose-and-send-mail): Use run-hook-with-args for
507 mh-compose-letter-function.
509 * mh-e.el (mh-list-to-string-1): Use dolist.
511 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
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 mh-compat.el.
595 (mh-normalize-folder-name): Add return-nil-if-folder-empty
596 argument which is useful when calling mh-normalize-folder-name to
597 process the folder argument for the folders command.
598 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
599 this function more robust. It could too easily list the folders in /.
600 (mh-folder-list): Fix a couple of problems pointed out by Thomas
601 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
603 2006-03-03 Bill Wohler <wohler@newt.com>
605 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
606 mh-image-load-path-for-library.
608 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
609 mh-image-load-path-for-library.
611 * mh-utils.el (mh-image-load-path): Rename to
612 mh-image-load-path-for-library. Add example to docstring. Rename
613 local variable mh-image-directory to image-directory. Move error
614 checks to default case in cond and simplify.
616 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
617 docstrings with manual.
619 2006-03-02 Bill Wohler <wohler@newt.com>
621 * mh-folder.el (mh-tool-bar-init): Autoload.
622 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
623 Set scoped variables image-load-path and load-path with updated
624 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
626 * mh-letter.el (mh-tool-bar-init): Autoload.
627 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
628 Set scoped variables image-load-path and load-path with updated
629 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
631 * mh-show.el (mh-tool-bar-init): Autoload.
632 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
635 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
636 messages per conventions.
637 (mh-tool-bar-folder-buttons-init)
638 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
639 (mh-tool-bar-define call): Format.
641 * mh-utils.el (mh-image-directory)
642 (mh-image-load-path-called-flag): Delete.
643 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
644 changes are that it no longer uses/sets mh-image-directory or
645 mh-image-load-path-called-flag, and returns the updated path
646 rather than change it.
647 (mh-logo-display): Change usage of mh-image-load-path.
649 2006-02-28 Bill Wohler <wohler@newt.com>
651 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
652 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
653 to subjects with special characters by quoting regular expression
654 characters in pick expression derived from existing subjects and
655 other fields (closes SF #1432548).
656 (mh-narrow-to-subject): Remove Re: string from subject so that
657 pick can find originating message (closes SF #1438369).
659 * mh-utils.el (mh-image-load-path): Rename variable to
661 (mh-image-load-path): Access mh-image-directory instead of
663 (mh-folder-list): Fix problem with passing in a folder and getting
664 nothing back. Fix problem with passing in empty string and getting
665 the entire filesystem (or infinite loop). Don't append slash to
666 folder. These fixes fix problems observed with the pick search.
667 Thanks to Thomas Baumann for the help (closes SF #1435381).
668 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
669 function for quoting pick regular expression characters (closes SF
672 2006-02-27 Bill Wohler <wohler@newt.com>
674 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
677 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
678 docstring about obsolete variable mh-mime-content-types.
680 * mh-e.el (mh-variant): Sync docstring with manual.
681 (cus-face): Require as it is needed by mh-inherit-face-flag.
683 * mh-compat.el (mh-display-color-cells): Return 2 if
684 device-color-cells returns nil (closes SF #1436924).
686 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
687 mh-display-color-cells.
689 2006-02-21 Eric Ding <ericding@alum.mit.edu>
691 * mh-e.el (mh-invisible-header-fields-internal): Add entry
694 2006-02-20 Eric Ding <ericding@alum.mit.edu>
696 * mh-e.el (mh-invisible-header-fields-internal): Add entries
697 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
698 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
699 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
700 "X-Roving-" by removing unnecessary "*" at end.
702 2006-02-19 Bill Wohler <wohler@newt.com>
704 * mh-alias.el (mh-address-mail-regexp)
705 (mh-goto-address-find-address-at-point): Delete copies from
707 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
708 mh-address-mail-regexp.
709 (mh-alias-add-address-under-point): Use
710 goto-address-find-address-at-point instead of
711 mh-goto-address-find-address-at-point.
713 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
715 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
717 (mh-show-addr): Call goto-address unconditionally. User should use
718 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
720 2006-02-18 Bill Wohler <wohler@newt.com>
722 * mh-e.el (Version, mh-version): Add +cvs to version.
724 2006-02-18 Bill Wohler <wohler@newt.com>
726 Release MH-E version 7.92.
728 * mh-e.el (Version, mh-version): Update for release 7.92.
730 2006-02-17 Bill Wohler <wohler@newt.com>
732 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
733 backgrounds per Mark's suggestion.
735 * mh-utils.el (mh-image-load-path): Fix problem that images on
736 load-path or image-load-path would win over relative paths (newer
737 MH-E or Emacs distribution).
739 2006-02-16 Bill Wohler <wohler@newt.com>
741 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
742 the defface :inherit keyword is available.
743 (mh-face-data): New variable (contains all face specs) and
745 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
746 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
747 (mh-folder-msg-number, mh-folder-refiled)
748 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
749 (mh-folder-subject, mh-folder-tick, mh-folder-to)
750 (mh-search-folder, mh-letter-header-field, mh-show-cc)
751 (mh-show-date, mh-show-from)
752 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
753 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
754 (mh-show-to, mh-show-xface, mh-speedbar-folder)
755 (mh-speedbar-folder-with-unseen-messages)
756 (mh-speedbar-selected-folder)
757 (mh-speedbar-selected-folder-with-unseen-messages):
760 * mh-utils.el (mh-image-load-path): The variables image-load-path
761 or load-path would not get updated if user set mh-image-load-path.
762 Moved tests and add-to-list calls outside of cond so they are
763 applied consistently, even if they are redundant in some
764 circumstances. Efficiency isn't a concern here. Made error
765 messages more user-friendly.
767 2006-02-15 Peter S Galbraith <psg@debian.org>
769 * mh-compat.el (mh-image-search-load-path): Compatibility code.
770 Emacs 21 and XEmacs don't have `image-search-load-path'.
772 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
773 images are already found.
775 2006-02-10 Bill Wohler <wohler@newt.com>
777 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
778 rather than use defun*. XEmacs cannot create a proper autoload for
781 2006-02-09 Bill Wohler <wohler@newt.com>
783 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
784 that causes an infinite loop on XEmacs.
786 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
789 2006-02-08 Peter S Galbraith <psg@debian.org>
791 * mh-e.el (mh-invisible-header-fields-internal): Added entries
792 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
794 2006-02-04 Bill Wohler <wohler@newt.com>
796 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
797 has an emacsclient command that supports --eval. I had read that
798 gnudoit was deprecated in favor of gnuclient anyway.
800 2006-02-04 Eric Ding <ericding@alum.mit.edu>
802 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
803 handle OpenOffice documents.
805 2006-02-03 Bill Wohler <wohler@newt.com>
807 * mh-e.el (Version, mh-version): Add +cvs to version.
809 2006-02-03 Bill Wohler <wohler@newt.com>
811 Release MH-E version 7.91.
813 * mh-e.el (Version, mh-version): Update for release 7.91.
815 2006-02-03 Bill Wohler <wohler@newt.com>
817 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
818 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
819 of local variable mh-library-name.
821 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
822 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
823 88) with (min-colors 64) in face specifications so that MH-E still
824 looks good on systems with fewer colors (such as Eric Ding's).
826 2006-02-03 Peter S Galbraith <psg@debian.org>
828 * mh-utils.el (mh-image-load-path): New variable to optionally
829 hold the directory where MH-E images are stored. If nil, then
830 the function `mh-image-load-path' will find it. This variable
831 will be used for Debian packaging.
832 (mh-image-load-path function): Use variable `mh-image-load-path'
833 if non-nil and exists.
835 2006-02-03 Mark D. Baushke <mdb@gnu.org>
837 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
838 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
839 errors if describe-bindings is called before tool-bar-mode is used.
841 2006-02-03 Peter S Galbraith <psg@debian.org>
843 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
844 `mh-url-unresrved-chars'.
846 2006-02-02 Bill Wohler <wohler@newt.com>
848 * mh-e.el (Version, mh-version): Add +cvs to version.
850 2006-02-02 Bill Wohler <wohler@newt.com>
852 Release MH-E version 7.90.
854 * mh-e.el (Version, mh-version): Update for release 7.90.
856 2006-02-01 Bill Wohler <wohler@newt.com>
858 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
860 * mh-alias.el (mh-alias-gecos-name): Use
861 mh-replace-regexp-in-string instead of replace-regexp-in-string.
862 (crm, multi-prompt): Use mh-require instead of require.
863 (mh-goto-address-find-address-at-point): Use
864 mh-line-beginning-position and mh-line-end-position instead of
865 line-beginning-position and line-end-position. Use
866 mh-match-string-no-properties instead of
867 match-string-no-properties.
869 * mh-comp.el (mh-modify-header-field): Use
870 mh-line-beginning-position and mh-line-end-position instead of
871 line-beginning-position and line-end-position.
873 * mh-compat.el (mailabbrev): Use mh-require instead of require.
874 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
875 (mh-face-background): Make docstring consistent.
876 (mh-require, mh-cancel-timer, mh-display-color-cells)
877 (mh-line-beginning-position, mh-line-end-position)
878 (mh-match-string-no-properties, mh-replace-regexp-in-string)
879 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
880 add mh- prefix since compatibility functions should have our
881 package prefix (mh-) by Emacs convention and to avoid messing up
882 checks for the same functions in other packages.
884 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
885 from mh-xemacs.el and rename.
886 (mh-xargs): Use mh-line-beginning-position and
887 mh-line-end-position instead of line-beginning-position and
889 (mh-defface-compat): Use mh-display-color-cells instead of
892 * mh-folder.el (which-func): Use mh-require instead of require.
894 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
897 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
898 Use mh-require instead of require.
900 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
901 (mh-letter-next-header-field): Use mh-line-beginning-position and
902 mh-line-end-position instead of line-beginning-position and
905 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
906 mh-match-string-no-properties instead of
907 match-string-no-properties.
908 (mh-narrow-to-header-field): Use mh-line-beginning-position and
909 mh-line-end-position instead of line-beginning-position and
912 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
913 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
914 mh-line-beginning-position and mh-line-end-position instead of
915 line-beginning-position and line-end-position.
917 * mh-search.el (which-func): Use mh-require instead of require.
918 (mh-make-pick-template, mh-index-visit-folder)
919 (mh-pick-parse-search-buffer, mh-swish-next-result)
920 (mh-mairix-next-result, mh-namazu-next-result)
921 (mh-pick-next-result, mh-grep-next-result)
922 (mh-index-create-imenu-index, mh-index-match-checksum)
923 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
924 mh-line-beginning-position and mh-line-end-position instead of
925 line-beginning-position and line-end-position.
927 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
929 (mh-folder-size-flist, mh-parse-flist-output-line)
930 (mh-add-sequence-notation): Use mh-line-beginning-position and
931 mh-line-end-position instead of line-beginning-position and
934 * mh-show.el (mh-show-addr): Use mh-require instead of require.
936 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
937 (mh-speed-view, mh-folder-speedbar-buttons)
938 (mh-speed-highlight, mh-speed-goto-folder)
939 (mh-speed-add-buttons, mh-speed-parse-flists-output)
940 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
941 (mh-speed-add-folder): Use mh-line-beginning-position and
942 mh-line-end-position instead of line-beginning-position and
944 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
946 * mh-thread.el (mh-thread-find-children)
947 (mh-thread-parse-scan-line, mh-thread-generate): Use
948 mh-line-beginning-position and mh-line-end-position instead of
949 line-beginning-position and line-end-position.
951 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
952 instead of display-color-cells.
953 (mh-folder-list): Use mh-replace-regexp-in-string instead of
954 replace-regexp-in-string.
955 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
956 Use mh-line-beginning-position and mh-line-end-position instead of
957 line-beginning-position and line-end-position.
959 * mh-comp.el (mh-send-sub): Don't find components file in current
960 directory--this seems to have been a side-effect of commenting out
961 the use of an old mh-etc variable. Improve error message.
963 2006-01-31 Bill Wohler <wohler@newt.com>
965 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
966 argument since compatibility functions should have our package
967 prefix (mh-) by Emacs convention and to avoid messing up checks
968 for the same functions in other packages. Use explicit argument
969 instead of forming name by adding mh- prefix so that one can grep
970 and find the definition.
972 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
973 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
974 Use mh-assoc-string instead of assoc-string.
976 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
977 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
978 Move here from mh-utils.el.
979 (mh-display-completion-list): Move here from mh-comp.el.
980 (mh-face-foreground, mh-face-background): Move here from
982 (mh-write-file-functions): Move here from mh-folder.el
984 * mh-folder.el (mh-write-file-functions-compat): Move to
985 mh-compat.el and rename to mh-write-file-functions.
986 (mh-folder-mode): Use the new name.
988 * mh-gnus.el (gnus-local-map-property): Rename to
989 mh-gnus-local-map-property.
990 (mm-merge-handles): Rename to mh-mm-merge-handles.
991 (mm-set-handle-multipart-parameter): Rename to
992 mh-mm-set-handle-multipart-parameter.
993 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
994 (mm-possibly-verify-or-decrypt): Rename to
995 mh-mm-possibly-verify-or-decrypt.
996 (mm-handle-multipart-ctl-parameter): Rename to
997 mh-mm-handle-multipart-ctl-parameter.
998 (mm-readable-p): Rename to mh-mm-readable-p.
999 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1000 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1001 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1002 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1003 (mml-minibuffer-read-disposition): Rename to
1004 mh-mml-minibuffer-read-disposition.
1006 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1007 instead of assoc-string.
1009 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1010 (mh-mime-display, mh-mime-display-security)
1011 (mh-insert-mime-button, mh-insert-mime-security-button)
1012 (mh-handle-set-external-undisplayer)
1013 (mh-mime-security-press-button, mh-mime-security-show-details)
1014 (mh-mml-attach-file, mh-mime-cleanup)
1015 (mh-destroy-postponed-handles): Use new mh-* names for
1016 compatibility functions.
1018 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1019 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1020 (mh-beginning-of-word): Use the new name.
1021 (mh-get-field): Delete ancient alias.
1023 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1024 and rename to mh-face-foreground
1025 (mh-face-background-compat): Move to mh-compat.el
1026 and rename to mh-face-background.
1027 (mh-face-display-function): Use the new names.
1028 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1029 instead of url-hexify-string.
1030 (url-unreserved-chars): Move to mh-compat.el and rename to
1031 mh-url-unreserved-chars.
1032 (url-hexify-string): Move to mh-compat.el and rename to
1033 mh-url-hexify-string.
1035 * mh-letter.el (mh-complete-word): Fix bug in call to
1036 mh-display-completion-list. Wrong argument was passed, so
1037 completions wouldn't show highlighted prefix.
1039 2006-01-29 Bill Wohler <wohler@newt.com>
1041 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1042 mh-adaptive-cmd-note-flag.
1044 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1045 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1046 supported versions. In addition, the package name "sc" has been
1047 made obsolete by "supercite since at least Emacs 21.
1049 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1050 revealed character constants that were still strings (closes SF
1053 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1054 (mh-get-header-field): Move to mh-utils.el so that you can read
1055 messages without having to load mh-comp.el and mh-letter.el.
1057 * mh-letter.el (mh-hidden-header-keymap)
1058 (mh-letter-toggle-header-field-display)
1059 (mh-letter-skipped-header-field-p)
1060 (mh-letter-skip-leading-whitespace-in-header-field)
1061 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1062 can read messages without having to load mh-comp.el and
1065 * mh-utils.el (mh-get-header-field)
1066 (mh-letter-hide-all-skipped-fields)
1067 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1068 (mh-letter-toggle-header-field-display)
1069 (mh-letter-skip-leading-whitespace-in-header-field)
1070 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1071 mh-letter.el so that you can read messages without having to load
1072 mh-comp.el and mh-letter.el.
1074 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1075 least, will deliver them to us.
1077 * mh-e.el (mh-after-commands-processed-hook)
1078 (mh-before-commands-processed-hook): Specify what sort of requests
1081 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1084 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1086 (mh-letter-mode): Remove Mail menu.
1088 2006-01-29 Bill Wohler <wohler@newt.com>
1091 Remove circular dependencies. mh-e.el now includes few require
1092 statements and stands alone. Other files should need to require
1093 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1095 Remove unneeded require statements.
1096 Remove unneeded load statements, or replace them with non-fatal
1098 Break out components into their own files that were often spread
1100 As a result, many functions that are now only used within a single
1101 file no longer need to be autoloaded.
1102 Rearrange and provide consistent headings.
1105 * mh-acros.el: Update commentary to reflect current usage.
1106 Add autoload cookies to all macros.
1107 (mh-require-cl): Merge docstring and comment.
1108 (mh-do-in-xemacs): Fix typo in docstring.
1109 (assoc-string): Move to new file mh-compat.el.
1110 (with-mh-folder-updating, mh-in-show-buffer)
1111 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1112 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1115 * mh-alias.el (mh-address-mail-regexp)
1116 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1117 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1119 * mh-buffers.el: Update descriptive text.
1121 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1122 new file mh-scan.el.
1123 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1124 (mh-letter-menu, mh-letter-mode-help-messages)
1125 (mh-letter-buttons-init-flag, mh-letter-mode)
1126 (mh-font-lock-field-data, mh-letter-header-end)
1127 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1128 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1129 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1130 (mh-filter-out-non-text, mh-insert-prefix-string)
1131 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1132 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1133 (mh-letter-complete, mh-letter-complete-or-space)
1134 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1135 (mh-letter-next-header-field-or-indent)
1136 (mh-letter-next-header-field, mh-letter-previous-header-field)
1137 (mh-letter-skipped-header-field-p)
1138 (mh-letter-skip-leading-whitespace-in-header-field)
1139 (mh-hidden-header-keymap)
1140 (mh-letter-toggle-header-field-display-button)
1141 (mh-letter-toggle-header-field-display)
1142 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1144 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1145 (mh-pgp-support-flag, mh-x-mailer-string)
1146 (mh-letter-header-field-regexp): Move to mh-e.el.
1147 (mh-goto-header-field, mh-goto-header-end)
1148 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1150 (mh-insert-header-separator): Move to mh-comp.el.
1151 (mh-display-completion-list-compat): Move to new file
1154 * mh-compat.el: New file.
1155 (assoc-string): Move here from mh-acros.el.
1156 (mh-display-completion-list): Move here from mh-comp.el.
1158 * mh-customize.el: Move content into mh-e.el and remove.
1160 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1161 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1162 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1163 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1164 declared here so that they can be used in docstrings.
1165 (mh-sent-from-folder, mh-sent-from-msg)
1166 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1167 (mh-x-mailer-string): Move here from mh-comp.el.
1168 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1169 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1170 here from mh-seq.el.
1171 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1172 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1173 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1174 (mh-show-folder-buffer, mh-mail-header-separator)
1175 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1176 (mh-signature-separator, mh-signature-separator-regexp)
1177 (mh-list-to-string, mh-list-to-string-1): Move here from
1179 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1180 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1181 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1182 (mh-exec-cmd-output)
1183 (mh-exchange-point-and-mark-preserving-active-mark)
1184 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1185 deprecated file mh-exec.el.
1186 (mh-path): Move here from deprecated file mh-customize.el.
1187 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1188 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1189 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1190 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1191 (mh-profile-component-value, mh-defface-compat): Move here from
1192 deprecated file mh-init.el.
1193 (mh-goto-next-button, mh-folder-mime-action)
1194 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1195 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1197 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1198 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1199 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1200 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1201 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1202 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1203 (mh-scan-cmd-note-width, mh-scan-destination-width)
1204 (mh-scan-date-width, mh-scan-date-flag-width)
1205 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1206 (mh-scan-field-destination-offset)
1207 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1208 (mh-scan-field-subject-start-offset, mh-scan-format)
1209 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1211 (mh-partial-folder-mode-line-annotation)
1212 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1213 (mh-generate-sequence-font-lock, mh-last-destination)
1214 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1215 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1216 (mh-execute-commands, mh-first-msg, mh-header-display)
1217 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1218 (mh-folder-from-address, mh-prompt-for-refile-folder)
1219 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1220 (mh-previous-page, mh-previous-undeleted-msg)
1221 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1222 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1223 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1224 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1225 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1226 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1227 (mh-folder-sequence-menu, mh-folder-message-menu)
1228 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1229 (mh-write-file-functions-compat, mh-folder-mode)
1230 (mh-restore-desktop-buffer, mh-scan-folder)
1231 (mh-regenerate-headers, mh-generate-new-cmd-note)
1232 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1233 (mh-process-or-undo-commands, mh-process-commands)
1234 (mh-update-unseen, mh-delete-scan-msgs)
1235 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1236 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1237 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1238 (mh-lessp): Move to mh-utils.el.
1239 (mh-parse-flist-output-line, mh-folder-size-folder)
1240 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1241 (mh-remove-sequence-notation, mh-remove-cur-notation)
1242 (mh-remove-all-notation, mh-delete-seq-locally)
1243 (mh-read-folder-sequences, mh-read-msg-list)
1244 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1245 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1246 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1247 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1249 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1250 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1251 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1252 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1253 (mh-faces, mh-alias-completion-ignore-case-flag)
1254 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1255 (mh-alias-insert-file, mh-alias-insertion-location)
1256 (mh-alias-local-users, mh-alias-local-users-prefix)
1257 (mh-alias-passwd-gecos-comma-separator-flag)
1258 (mh-new-messages-folders, mh-ticked-messages-folders)
1259 (mh-large-folder, mh-recenter-summary-flag)
1260 (mh-recursive-folders-flag, mh-sortm-args)
1261 (mh-default-folder-for-message-function, mh-default-folder-list)
1262 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1263 (mh-identity-list, mh-auto-fields-list)
1264 (mh-auto-fields-prompt-flag, mh-identity-default)
1265 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1266 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1267 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1268 (mh-compose-insertion, mh-compose-skipped-header-fields)
1269 (mh-compose-space-does-completion-flag)
1270 (mh-delete-yanked-msg-window-flag)
1271 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1272 (mh-letter-complete-function, mh-letter-fill-column)
1273 (mh-mml-method-default, mh-signature-file-name)
1274 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1275 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1276 (mh-scan-format-file-check, mh-scan-format-file)
1277 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1278 (mh-search-program, mh-compose-forward-as-mime-flag)
1279 (mh-compose-letter-function, mh-compose-prompt-flag)
1280 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1281 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1282 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1283 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1284 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1285 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1286 (mh-display-buttons-for-inline-parts-flag)
1287 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1288 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1289 (mh-highlight-citation-style)
1290 (mh-invisible-header-fields-internal)
1291 (mh-delay-invisible-header-generation-flag)
1292 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1293 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1294 (mh-lpr-command-format, mh-max-inline-image-height)
1295 (mh-max-inline-image-width, mh-mhl-format-file)
1296 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1297 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1298 (mh-show-use-xface-flag, mh-store-default-directory)
1299 (mh-summary-height, mh-speed-update-interval)
1300 (mh-show-threads-flag, mh-tool-bar-search-function)
1301 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1302 (mh-before-commands-processed-hook, mh-before-quit-hook)
1303 (mh-before-send-letter-hook, mh-delete-msg-hook)
1304 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1305 (mh-inc-folder-hook, mh-insert-signature-hook)
1306 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1307 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1308 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1309 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1310 (mh-folder-address, mh-folder-body)
1311 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1312 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1313 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1314 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1315 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1316 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1317 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1318 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1319 (mh-speedbar-folder-with-unseen-messages)
1320 (mh-speedbar-selected-folder)
1321 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1322 deprecated file mh-customize.el.
1324 * mh-exec.el: Move content into mh-e.el and remove.
1326 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1328 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1330 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1332 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1333 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1334 to mail-abbrev-make-syntax-table.
1336 * mh-identity.el (mh-identity-menu): New variable for existing
1338 (mh-identity-make-menu-no-autoload): New alias for
1339 mh-identity-make-menu which can be called from mh-e.el.
1340 (mh-identity-list-set): Move to mh-e.el.
1341 (mh-identity-add-menu): New function
1342 (mh-insert-identity): Add optional argument maybe-insert so that
1343 local variable mh-identity-local does not have to be visible.
1345 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1346 rest of keymaps). Update key binding for ? to call mh-help with
1347 help messages in new argument.
1348 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1349 which can be called from mh-e.el.
1350 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1352 * mh-init.el: Move content into mh-e.el and remove.
1354 * mh-junk.el: Update requires, untabify, and add mh-autoload
1357 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1359 * mh-limit.el: New file. Contains display limit commands from
1362 * mh-mime.el: Rearrange for consistency with other files.
1363 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1365 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1366 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1367 (mh-goto-next-button): Move here from mh-e.el.
1369 * mh-print.el: Rearrange for consistency with other files.
1371 * mh-scan.el: New file. Contains scan line constants and utilities
1372 from XXX, mh-funcs, mh-utils.el.
1374 * mh-search.el: Rearrange for consistency with other files.
1375 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1376 fields which don't exist in the saved header. Replace C-c C-f f
1377 with C-c C-f m per mail-mode consistency.
1378 (mh-search-mode): Use mh-set-help instead of setting
1381 * mh-seq.el (mh-thread-message, mh-thread-container)
1382 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1383 (mh-thread-id-index-map, mh-thread-index-id-map)
1384 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1385 (mh-thread-subject-container-hash, mh-thread-duplicates)
1386 (mh-thread-history, mh-thread-body-width)
1387 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1388 (mh-thread-initialize, mh-thread-id-container)
1389 (mh-thread-remove-parent-link, mh-thread-add-link)
1390 (mh-thread-ancestor-p, mh-thread-get-message-container)
1391 (mh-thread-get-message, mh-thread-canonicalize-id)
1392 (mh-thread-prune-subject, mh-thread-container-subject)
1393 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1394 (mh-thread-sort-containers, mh-thread-group-by-subject)
1395 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1396 (mh-thread-update-id-index-maps, mh-thread-generate)
1397 (mh-thread-inc, mh-thread-generate-scan-lines)
1398 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1399 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1400 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1401 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1402 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1403 (mh-thread-ancestor, mh-thread-find-children)
1404 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1405 Move to new file mh-thread.el.
1406 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1407 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1408 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1409 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1410 (mh-current-message-header-field, mh-narrow-to-range)
1411 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1413 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1415 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1416 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1417 (mh-define-sequence, mh-undefine-sequence)
1418 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1419 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1420 (mh-parse-flist-output-line, mh-read-folder-sequences)
1421 (mh-read-msg-list, mh-notate-user-sequences)
1422 (mh-remove-cur-notation, mh-add-sequence-notation)
1423 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1425 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1426 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1428 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1430 * mh-speed.el: Rearrange for consistency with other files.
1432 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1434 * mh-tool-bar.el: New file. Contains tool bar creation code from
1435 deprecated file mh-customize.el.
1437 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1439 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1440 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1441 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1442 (mh-update-scan-format, mh-msg-num-width): Move to new file
1444 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1445 (mh-header-field-font-lock, mh-header-to-font-lock)
1446 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1447 (mh-show-font-lock-keywords)
1448 (mh-show-font-lock-keywords-with-cite)
1449 (mh-show-font-lock-fontify-region)
1450 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1451 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1452 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1453 (mh-show-sequence-menu, mh-show-message-menu)
1454 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1455 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1456 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1458 (mh-mail-header-separator, mh-signature-separator-regexp)
1459 (mh-signature-separator, mh-globals-hash, mh-user-path)
1460 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1461 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1462 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1463 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1464 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1465 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1466 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1467 Move to mh-alias.el.
1468 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1469 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1470 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1471 Move to new file mh-folder.el.
1472 (with-mh-folder-updating, mh-in-show-buffer)
1473 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1474 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1475 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1477 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1478 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1479 (mh-face-background-compat, mh-face-display-function)
1480 (mh-show-xface, mh-picon-directory-list)
1481 (mh-picon-existing-directory-list)
1482 (mh-picon-cache, mh-picon-image-types)
1483 (mh-picon-set-directory-list, mh-picon-get-image)
1484 (mh-picon-file-contents, mh-picon-generate-path)
1485 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1486 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1487 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1488 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1489 (mh-x-image-scale-with-convert)
1490 (url-unreserved-chars, url-hexify-string)
1491 (mh-x-image-url-cache-canonicalize)
1492 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1493 (mh-x-image-url-fetch-image, mh-x-image-display)
1494 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1495 (mh-x-image-url-display): Move to new file mh-xface.el.
1496 (mh-logo-display): Call mh-image-load-path.
1497 (mh-find-path-run, mh-find-path): Move here from deprecated file
1499 (mh-help-messages): Now an alist of modes to an alist of messages.
1500 (mh-set-help): New function used to set mh-help-messages
1501 (mh-help): Adjust for new format of mh-help-messages. Add
1502 help-messages argument.
1503 (mh-prefix-help): Refactor to use mh-help.
1504 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1506 (mh-clear-sub-folders-cache): New function added to avoid exposing
1507 mh-sub-folders-cache variable.
1509 * mh-xface.el: New file. Contains X-Face and Face header field
1510 display routines from mh-utils.el.
1512 2006-01-17 Bill Wohler <wohler@newt.com>
1514 * mh-acros.el (assoc-string): Fix typo in argument.
1516 2006-01-16 Bill Wohler <wohler@newt.com>
1518 * mh-acros.el (require): Remove defadvice of require as defadvice
1519 is verboten within Emacs and our implementation was returning the
1520 wrong value from require. Upcoming restructuring should make this
1522 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1524 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1525 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1527 * mh-identity.el (mh-identity-field-handler): Use it.
1529 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1530 (read-from-string string) with (string-to-number string).
1532 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1535 * mh-mime.el (mh-mml-forward-message): Ditto.
1537 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1538 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1539 (mh-openssl-parser, mh-index-update-maps): Ditto.
1541 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1542 (mh-thread-generate): Ditto.
1544 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1546 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1547 mm- functions for proper text=flowed handling (addresses SF
1550 2006-01-15 Bill Wohler <wohler@newt.com>
1552 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1553 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1556 * mh-utils.el (mh-show-limit-map): Ditto.
1558 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1560 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1562 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1563 where they are used.
1565 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1566 needed to help remove dependency on mh-utils.
1568 * mh-exec.el: New file. Move process support routines here from
1571 * mh-init.el (mh-utils): Remove require.
1572 (mh-exec): Add require.
1573 (mh-profile-component, mh-profile-component-value): Move here from
1576 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1577 dependencies on mh-utils.el.
1578 (mh-profile-component, mh-profile-component-value): Move to
1579 mh-init.el since that's the only place that uses them. (Other than
1580 mh-alias.el; I'm thinking that mh-find-path can set variable from
1581 the Aliasfile component like it does the other components).
1582 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1583 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1584 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1585 (defvar, mh-exec-cmd-output)
1586 (mh-exchange-point-and-mark-preserving-active-mark)
1587 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1588 file mh-exec.el so that mh-init.el doesn't have to depend on
1589 mh-utils.el, breaking circular dependency.
1603 * mh-speed.el: Added debugging statements (commented out) around
1604 requires to help find dependency loops. Will remove them when
1605 issues are resolved.
1607 2006-01-14 Bill Wohler <wohler@newt.com>
1609 * mh-customize.el (mh-index): Rename group to mh-search and sort
1610 group definition and options accordingly.
1611 (mh-index-program): Rename to mh-search-program.
1612 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1614 (mh-search-mode-hook): Change group from mh-index to mh-search.
1615 (mh-index-folder): Rename to mh-search-folder. Change group from
1616 mh-index to mh-search.
1618 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1619 to mh-search-folder.
1621 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1622 pick and grep are searchers too but aren't indexed.
1623 (mh-index-execute-search-function): Rename to mh-search-function.
1624 (mh-index-next-result-function): Rename to
1625 mh-search-next-result-function.
1626 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1627 (mh-search): Since redo-search-flag defaults to nil and is of
1628 lesser importance, make it an optional argument and place it after
1629 the folder and search-regexp arguments. Sync docstring with manual.
1630 (mh-search-mode-map): Autoload so that keys are shown in help even
1631 before mh-search is loaded.
1632 (mh-search-mode): Sync docstring with manual.
1633 (mh-index-do-search): Rename argument indexer to searcher. Sync
1634 docstring with manual.
1635 (mh-pick-do-search): Sync docstring with manual.
1636 (mh-index-p): Rename to mh-search-p.
1637 (mh-indexer-choices): Rename to mh-search-choices.
1638 (mh-index-choose): Rename to mh-search-choose. Rename argument
1639 indexer to searcher.
1640 (mh-swish++-execute-search, mh-swish-execute-search)
1641 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1642 read the results" from docstring since these functions don't.
1643 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1645 (mh-index-generate-pretty-name): Prune -search from string so that
1646 folder names for pick searches are the same as those of other
1649 2006-01-13 Bill Wohler <wohler@newt.com>
1651 * mh-acros.el (require): Added Satyaki's comment regarding what
1652 needs to happen to remove this defadvice which caused a little
1653 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1654 advices `require' incorrectly).
1656 * mh-search.el (mh-index-next-result-function): Add format to
1658 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1660 (mh-pick-execute-search): Operate across all folders if no folder
1661 given and recurse folder(s).
1662 (mh-pick-next-result): Handle new output.
1664 * mh-utils.el (mh-collect-folder-names): Fix docstring.
1665 (mh-children-p, mh-folder-list): New functions.
1667 2006-01-12 Bill Wohler <wohler@newt.com>
1669 * mh-search.el: New file containing contents of mh-index.el and
1670 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1671 pick. Pick no longer sets the "search" sequence. Instead, it
1672 brings up a folder view that we're accustomed to. (Closes SF
1674 (mh-index-search): Rename to mh-search.
1675 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1676 the Search to Perform Search and call mh-do-search. Add Search
1677 with Pick menu item.
1678 (mh-do-search): Delete.
1679 (mh-search-mode): Rename from mh-pick-mode.
1680 (MH-Search): Rename mode from MH-Pick.
1681 (mh-search-mode-map): Rename from mh-pick-mode-map.
1682 (mh-search-mode-help-messages): Rename from
1683 mh-pick-mode-help-messages.
1684 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1685 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1686 stay with that choice!
1689 * mh-pick.el: Merge into mh-search.el and delete.
1691 * mh-customize.el (mh-index-program): Change mh-index-search to
1692 mh-search in docstring.
1693 (mh-tool-bar-search-function): Change default from
1694 mh-search-folder to mh-search. Remove mh-search-folder as choice
1695 and rename mh-index-search choice to mh-search. Fix docstring.
1696 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1697 mh-search-folder to mh-search in docstring.
1699 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1700 Indexed Search to Search. Use mh-search instead of mh-index-search.
1701 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1702 from mh-show-search-folder to mh-search.
1704 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1705 mh-search-folder no longer creates the search sequence.
1707 * mh-utils.el (mh-show-search-folder): Delete.
1708 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1709 Change s from mh-show-search-folder to mh-search.
1710 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1711 Search to Search. Use mh-search instead of mh-index-search.
1712 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
1713 Move here from deleted mh-index.el.
1715 2006-01-11 Bill Wohler <wohler@newt.com>
1717 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1720 * mh-gnus.el: Require mh-acros.
1721 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1723 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1724 url-hexify-string to remove special characters from filenames
1725 (closes SF #1396499). Note that this invalidates the existing
1726 names in your cache so you might as well remove
1727 ~/Mail/.mhe-x-image-cache/* now.
1728 (url-unreserved-chars, url-hexify-string): Define if not defined.
1729 Copied from url-util.el in Emacs22 for Emacs 21.
1731 * mh-buffers.el: New file. Contains constants and code from
1732 mh-index.el and mh-utils.el.
1742 * mh-seq.el: Require new file mh-buffers.el.
1744 * mh-index.el: Require new file mh-buffers.el.
1745 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1748 * mh-utils.el: Require new file mh-buffers.el.
1749 (mh-temp-buffer, mh-temp-fetch-buffer)
1750 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1751 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1752 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1753 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1755 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1756 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1758 2006-01-10 Bill Wohler <wohler@newt.com>
1760 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1761 the cur message is used. Sync docstring with manual (closes SF
1764 * mh-mime.el (mh-compose-forward): Use standard range argument
1765 instead of messages. Use more powerful mh-read-range instead of
1766 read-string. Sync docstring with manual (close SF #1205890).
1768 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1770 (mh-index-next-folder): Don't back up a line when going backwards
1771 since this skips the current folder heading if point is on the
1772 first message after the folder heading (closes SF #1126188).
1774 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
1775 (mh-variants): Note variable isn't meant to be accessed directly;
1776 use function mh-variants instead.
1777 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1778 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1779 them. Updated to use mh-file-command-p which is more accurrate
1780 than file-executable-p which returns t for directories.
1781 (mh-file-command-p): Move here from mh-utils, since
1782 mh-variant-*-info are the only functions to use it.
1783 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1784 function mh-variants instead of variable. More robust.
1785 (mh-find-path-run): Move here from mh-utils.el. Mention that
1786 checking this variable is unnecessary.
1787 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1788 variants and an mhparam command that doesn't work if there isn't
1789 an MH profile, we can't get libdir for running install-mh. So
1790 don't bother. If there's an issue with the environment, direct the
1791 user to install MH and run install-mh (closes SF #835192). Don't
1792 read ~/.mh_profile directly. Use mh-profile-component which uses
1793 mhparam (closes SF #1016027).
1795 * mh-utils.el (mh-get-profile-field): Rename to
1796 mh-profile-component-value. Add colon to search removing
1797 unnecessary addition of colon to field in mh-profile-component.
1798 (mh-profile-component): Modify call to mh-profile-component-value
1799 accordingly. Move next to mh-profile-component-value.
1800 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1801 mh-init.el. It makes sense that code that is only run once per
1802 session (more or less) is in mh-init.el rather than cluttering
1804 (mh-no-install, mh-install): Delete.
1806 * mh-customize.el (mh-folder-msg-number):
1807 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1809 2006-01-09 Bill Wohler <wohler@newt.com>
1811 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1812 patch from Satyaki from SF #1016027.
1814 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1815 message, even if cur sequence is no longer present (closes SF
1818 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1820 (mh-letter-mode): Derive from mail-mode and delete code copied
1821 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1823 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1824 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1825 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1826 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1827 (mh-to-fcc): Move setting of folder argument to interactive
1828 argument as is the norm.
1829 (mh-letter-complete-function-alist): Add mail-reply-to.
1830 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1831 Mail-Followup-To, Reply-To, From).
1833 * mh-customize.el: Use ";; Forward definition." consistently.
1834 Comment declaration to remind programmer to update forward
1835 definition if default changes.
1842 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1845 2006-01-08 Bill Wohler <wohler@newt.com>
1847 Removed code that was marked as Emacs 20 compatible that was
1848 easily found showing how important it is to document such
1849 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1850 peculiarities that you find. Wrapped code for shushing compiler
1851 with (eval-when-compile), sometimes moving the defvars closer to
1852 where they were used.
1854 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1855 instead of mh-replace-in-string as mh-replace-in-string was
1856 replaced by a more appropriate defsubst in mh-xemacs.el.
1858 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1860 (mh-file-is-vcard-p): Removed redundant test.
1862 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1863 with eval-when-compile.
1864 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1865 (mh-invisible-header-fields-default): Add forward definitions.
1866 (mh-invisible-header-fields-default): Alphabetize.
1868 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1870 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1872 (mh-colors-available-p): Just call display-color-cells. It's on
1873 all supported Emacsen (and defaliased on XEmacs).
1877 * mh-init.el: Wrap compiler-shushing defvars with
1880 * mh-identity.el: Don't need (mh-require-cl).
1882 * mh-index.el: Don't need to load executable any more.
1884 * mh-mime.el: Wrap compiler-shushing defvars with
1886 (mh-have-file-command): Initialize variable to 'undefined. Add
1887 docstring. Update function of same name accordingly. Also don't
1888 need to load executable any more.
1889 (mh-mime-content-types): Delete.
1890 (mh-minibuffer-read-type): Prompt user for type if
1891 mh-file-mime-type returns application/octet-stream. Assume we have
1893 (mh-mime-display): Update error message.
1895 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1896 with eval-when-compile.
1898 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1899 with eval-when-compile.
1900 (mh-clean-msg-header): Don't set after-change-functions to nil.
1901 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1904 2006-01-07 Bill Wohler <wohler@newt.com>
1906 * mh-customize.el: Updated Faces documentation in header.
1907 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1908 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1910 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1911 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1914 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1916 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1917 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1919 2006-01-03 Bill Wohler <wohler@newt.com>
1921 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1922 unification. Use single sentence if possible by using semicolon.
1923 Don't end message with punctuation. Don't need format with
1924 message. Quote messages as in docstrings: use `' around symbols,
1925 \" for option choices. Don't use quotes around %s.
1927 * mh-comp.el (mh-complete-word): Ditto.
1929 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1930 (mh-scan-format-file-check): Ditto.
1932 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1933 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1934 (mh-msg-num-width-to-column): Ditto.
1936 * mh-identity.el (mh-identity-field-handler): Ditto.
1938 * mh-index.el (mh-mairix-execute-search)
1939 (mh-swish-execute-search, mh-swish++-execute-search)
1940 (mh-namazu-execute-search): Ditto.
1942 * mh-init.el (mh-variant-set): Ditto.
1944 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1945 (mh-secure-message, mh-mime-display): Ditto.
1947 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1949 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1950 (mh-read-range, mh-thread-container-subject): Ditto.
1952 * mh-utils.el (mh-x-image-scale-and-display)
1953 (mh-prompt-for-folder, mh-handle-process-error)
1954 (mh-list-to-string-1): Ditto.
1956 * mh-comp.el (mh-reply): Use standard default notation in
1957 prompts (closes SF #1275933).
1959 * mh-mime.el (mh-mime-save-parts): Ditto.
1961 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1963 * mh-customize.el (mh-folder-msg-number): Snow is actually
1964 off-white on low color displays which turns to white when bold.
1965 This is unreadable on white backgrounds. Use snow with min-colors
1966 requirement. Use cyan on low-color displays.
1968 * mh-init.el (mh-defface-compat): On low-color displays, delete
1969 the high-color display rather than simply strip the min-colors
1970 requirement since the existing algorithm shadowed the desired
1971 display on low-color displays.
1973 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1976 2006-01-02 Bill Wohler <wohler@newt.com>
1978 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1979 docstring. Does this mean something in a defun?
1981 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1984 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1985 so it reads better in docstring and manual. Sync docstring with
1988 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1990 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1992 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1993 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1994 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1995 (mh-letter-complete-or-space, mh-letter-confirm-address)
1996 (mh-letter-next-header-field-or-indent)
1997 (mh-letter-previous-header-field): Ditto.
1999 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2000 (mh-default-folder-for-message-function, mh-mml-method-default)
2001 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2002 (mh-show-mode-hook) Ditto.
2004 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2006 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2007 (mh-store-msg, mh-store-buffer): Ditto
2009 * mh-index.el (mh-index-search, mh-index-do-search)
2010 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2012 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2014 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2015 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2016 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2017 (mh-mml-secure-message-signencrypt): Ditto
2019 * mh-pick.el (mh-search-folder): Ditto.
2021 * mh-seq.el (mh-widen): Ditto.
2023 * mh-utils.el (mh-show, mh-modify): Ditto.
2025 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2027 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2029 2006-01-01 Bill Wohler <wohler@newt.com>
2031 * mh-customize.el: Sync docstrings with manual for faces and sort
2032 them alphabetically.
2033 (mh-faces): Move below mh-hooks.
2034 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2035 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2036 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2037 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2038 (mh-folder-body-face, mh-folder-cur-msg-face)
2039 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2040 (mh-folder-followup-face, mh-folder-msg-number-face)
2041 (mh-folder-deleted-face, mh-folder-refiled-face)
2042 (mh-folder-subject-face, mh-folder-address-face)
2043 (mh-folder-scan-format-face, mh-folder-to-face)
2044 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2045 (mh-show-header-face, mh-show-pgg-good-face)
2046 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2047 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2049 (mh-folder-cur-msg): Unused. Delete.
2050 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2051 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2052 Inherit from mh-folder-msg-number.
2053 (mh-folder-deleted): Use defface. Inherit from
2054 mh-folder-msg-number.
2055 (mh-folder-sent-to-me-hint): New face. Inherit from
2057 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2058 Use defface. Inherit from mh-folder-followup.
2059 (mh-show-xface): Inherit from mh-show-from and highlight.
2060 (bw-face-generation, bw-toggle-faces)
2061 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2062 variables, functions for toggling between old and new faces.
2064 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2065 eval-when-compile. We should probably do this throughout.
2066 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2067 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2068 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2069 (mh-scan-subject-regexp): Sync docstrings with manual
2070 (mh-scan-format-regexp): Rename to
2071 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2072 expression. Make expression more like the others (anchored at the
2073 beginning of line). Sync docstrings with manual.
2074 (mh-folder-font-lock-keywords): Use faces directly rather than
2075 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2076 mh-scan-format-regexp, and within that expression, use faces
2077 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2078 of mh-folder-date-face and mh-folder-scan-format-face which were
2081 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2082 rather than -face variables.
2084 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2085 rather than -face variables.
2086 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2087 (mh-face-display-function): Use mh-face-foreground-compat and
2088 mh-face-background-compat to use inherited attributes of
2089 mh-show-xface on Emacs 22 while still working on Emacs 21.
2091 2005-12-28 Bill Wohler <wohler@newt.com>
2093 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2094 Use mh-user-agent-compose instead of mh-smail-batch.
2096 2005-12-27 Bill Wohler <wohler@newt.com>
2098 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2099 suppress creation of folder if it doesn't exist.
2101 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2105 2005-12-23 Bill Wohler <wohler@newt.com>
2107 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2109 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2110 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2111 everything else. Otherwise, you can accidently get links to
2114 2005-12-22 Bill Wohler <wohler@newt.com>
2116 Follow Emacs coding conventions. Use default setting of
2117 emacs-lisp-docstring-fill-column which is 65.
2119 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2121 * mh-comp.el (mh-letter-mode): Use 60 column width.
2122 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2124 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2125 you have added a mail-citation-hook and neither are used if you
2126 use one of the supercite flavors of mh-yank-behavior. Sync
2127 docstrings with manual.
2129 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2130 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2131 hook. Use "Hook run by `function'..." instead of "Invoked...".
2132 Sync docstrings with manual.
2133 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2134 mh-ins-buf-prefix isn't used if you have added a
2135 mail-citation-hook and neither are used if you use one of the
2136 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2137 (mail-citation-hook): Delete. Use one in sendmail.el.
2138 (mh-signature-file-name, mh-after-commands-processed-hook)
2139 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2140 (mh-before-quit-hook, mh-before-send-letter-hook)
2141 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2142 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2143 (mh-letter-mode-hook)
2144 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2145 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2146 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2147 of "Invoked...". Sync docstrings with manual.
2149 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2150 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2151 (mh-delete-list, mh-refile-list, mh-folders-changed)
2152 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2153 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2154 (mh-mode-line-annotation, mh-sequence-notation-history)
2155 (mh-colors-available-flag): Move comment into docstring.
2156 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2157 (mh-process-commands): Sync docstrings with manual.
2158 (mh-refile-msg): Small doc edit.
2159 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2160 Rename msg argument to message.
2162 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2164 * mh-e.el (mh-update-unseen): No longer say "The value of
2165 `foo-hook' is a list of functions to be called, with no arguments,
2166 ...," but rather just "The hook foo-hook is called...".
2168 * mh-mime.el (mh-mh-to-mime): Ditto.
2170 * mh-pick.el (mh-pick-mode): Ditto.
2172 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2174 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2176 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2179 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2181 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2182 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2184 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2185 mh-before-commands-processed-hook, call new
2186 mh-after-commands-processed-hook.
2187 (mh-folders-changed): New variable (for use in
2188 mh-after-commands-processed-hook).
2190 2005-12-19 Bill Wohler <wohler@newt.com>
2210 Follow commenting conventions. Don't use ;;; form so much, except
2211 for headings. Precede headings with page feed. This was mostly
2212 already done, so I made it a convention. Did not update copyright
2213 on a couple of files since this was an insignificant change.
2215 2005-12-18 Bill Wohler <wohler@newt.com>
2217 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2218 (mh-tool-bar-search-function): Sync docstrings with manual.
2219 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2220 (mh-tool-bar-letter-help): Fix manual reference.
2221 (mh-xemacs-use-toolbar-flag): Rename to
2222 mh-xemacs-use-tool-bar-flag. Initialize to
2223 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2224 (mh-xemacs-toolbar-position): Rename to
2225 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2226 option (redundant) and change "Same As Default Tool Bar" setting
2227 to nil. Sync docstrings with manual.
2228 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2229 depending on context.
2230 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2231 for calling set-specifier. Only look at the value of
2232 mh-xemacs-use-tool-bar-flag.
2233 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2234 Sync docstrings with manual.
2236 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2239 * mh-e.el (mh-folder-mode): Ditto.
2241 * mh-utils.el (mh-show-mode): Ditto.
2243 2005-12-15 Bill Wohler <wohler@newt.com>
2245 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2247 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2248 (mh-thread-previous-sibling, mh-thread-ancestor)
2249 (mh-thread-delete, mh-thread-refile): Ditto.
2251 2005-12-14 Bill Wohler <wohler@newt.com>
2253 * mh-customize.el (mh-speed-flists-interval): Rename to
2254 mh-speed-update-interval.
2255 (mh-speed-run-flists-flag): Delete. Setting
2256 mh-speed-flists-interval to 0 accomplishes the same thing.
2258 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2259 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2260 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2261 docstrings with manual.
2263 2005-12-09 Bill Wohler <wohler@newt.com>
2265 * mh-customize.el (mh-path): Move here from mh-init.el.
2266 (mh-variant): Mention that mh-path can be customized.
2267 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2268 X-MAIL-INFO, and X-UNTD- from NetZero.
2270 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2272 2005-12-04 Bill Wohler <wohler@newt.com>
2274 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2275 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2278 * mh-customize.el (mh-insert-signature-hook): Rename
2279 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2281 * mh-comp.el (mh-insert-signature): Ditto.
2283 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2284 to nil. Remove t option. Sync docstring with manual (closes SF
2286 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2287 users can see it, look it up in the manual's index, and discover
2288 mh-fetch-x-image-url (closes SF #831278).
2290 * mh-customize.el (mh-new-messages-folders): Rename from
2291 mh-index-new-messages-folders.
2292 (mh-ticked-messages-folders): Rename from
2293 mh-index-ticked-messages-folders.
2295 * mh-index.el (mh-index-sequenced-messages)
2296 (mh-index-new-messages): Ditto.
2298 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2299 in the docstrings and made usage consistent. Generally speaking,
2300 "messages in range" and "range of messages" is redundant and just
2301 "range" can be used in most circumstances. Also ensured that
2302 mh-interactive-range was mentioned in all interactive functions
2303 that use a range which describes the range argument for both users
2306 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2307 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2308 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2309 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2312 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2315 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2317 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2318 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2320 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2321 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2323 2005-12-01 Bill Wohler <wohler@newt.com>
2325 Rewrote Reading Mail chapter in manual which affected mh-show
2326 customization group and related functions.
2328 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2329 instead of mh-highlight-citation-p.
2330 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2331 I think, so use "truncated".
2333 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2334 section is Folders, not Organizing. Parent of mh-folder-faces is
2335 mh-folder, not mh-show.
2336 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2337 (mh-thread): New group that corresponds with manual's Threading chapter.
2338 (mh-letter-faces): Group's manual section is Editing Drafts, not
2340 (mh-sortm-args): New customization variable that used to be a defvar.
2341 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2342 Move from mh-index group to mh-folders group.
2343 (mh-alias-local-users-prefix, mh-large-folder)
2344 (mh-recursive-folders-flag, mh-before-quit-hook)
2345 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2346 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2348 (mh-highlight-citation-style): Rename from
2349 mh-highlight-citation-p. Sync docstrings with manual.
2350 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2352 (mh-show-threads-flag): Move from mh-show group to mh-thread
2354 (mh-find-path-hook): Move from mh-show group to mh-e group.
2355 (mh-folder-updated-hook): Add to mh-folder group.
2356 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2357 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2358 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2359 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2360 (mh-display-buttons-for-inline-parts-flag)
2361 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2362 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2363 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2364 (mh-lpr-command-format, mh-max-inline-image-height)
2365 (mh-max-inline-image-width)
2366 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2367 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2368 (mh-show-use-xface-flag, mh-store-default-directory)
2369 (mh-summary-height, mh-delete-msg-hook
2370 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2372 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
2373 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2374 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2375 Use non-fontification instead of non-fontifying.
2376 (mh-header-display): Use mh-mhl-format-file instead of
2377 mhl-formfile. Sync docstrings with manual.
2378 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2379 count. Sync docstrings with manual.
2380 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2381 so that message doesn't change when using this command. Sync
2382 docstrings with manual.
2383 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2384 docstrings with manual.
2385 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2386 to no-header. Sync docstrings with manual.
2387 (mh-ps-print-map): Delete keybindings for deleted commands
2388 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2389 (mh-help-messages): Update printing help.
2390 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2391 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2392 (mh-prev-button, mh-folder-toggle-mime-part)
2393 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2394 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2397 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2399 (mh-pipe-msg): Rename include-headers to include-header.
2400 Sync docstrings with manual.
2401 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2402 (mh-store-msg): Sync docstrings with manual.
2404 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2405 Sync docstrings with manual.
2406 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2407 Sync docstrings with manual.
2408 (mh-mm-display-part, mh-mm-inline-message): Use
2409 mh-highlight-citation-style instead of mh-highlight-citation-p.
2410 (mh-press-button): Sync docstrings with manual.
2411 (mh-display-with-external-viewer): Fix default output in
2412 minibuffer. Sync docstrings with manual.
2414 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
2416 (mh-ps-print-color-option): Incorporate docstring from
2418 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2420 (mh-ps-spool-msg): Slimline docstring. Rename from
2421 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2423 (mh-ps-print-range): Extract method from common code in
2424 mh-ps-print-msg and mh-ps-print-msg-file.
2425 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2426 (mh-ps-print-msg-show): Delete. Can use either
2427 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2428 new code in mh-ps-spool-msg.
2429 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2430 Sync docstrings with manual.
2431 (mh-ps-print-msg, mh-ps-print-msg-file)
2432 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2433 Sync docstrings with manual.
2435 * mh-utils.el (mh-show-ps-print-msg-show)
2436 (mh-show-ps-print-toggle-mime): Delete.
2437 (mh-show-ps-print-map): Update accordingly.
2438 (mh-show-mode): Use mh-highlight-citation-style instead of
2439 mh-highlight-citation-p.
2440 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2442 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2443 Sync docstrings with manual.
2444 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2445 Sync docstrings with manual.
2447 2005-12-01 Bill Wohler <wohler@newt.com>
2449 * mh-init.el (mh-defface-compat): Checkdoc fix.
2451 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2452 Bogofilter is lowercase except at beginning of sentence and in
2455 2005-11-04 Bill Wohler <wohler@newt.com>
2457 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2458 Move to mh-init.el to minimize bulk of mh-customize.el.
2460 * mh-init.el: Modify commentary since file is used for load and
2461 initialization as well as setting and getting the variant.
2462 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2465 * mh-customize.el: Refactor faces. Move grayscale requirements
2466 last before t. Use uniform line breaks.
2467 (mh-min-colors-defined-flag): New variable.
2468 (mh-defface-compat): New function. Provides backward compatibility
2470 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2471 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2472 (mh-folder-body): Use mh-defface-compat.
2474 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2476 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2477 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2478 (mh-folder-to-face): Use the min-colors attribute instead of the
2481 2005-11-03 Bill Wohler <wohler@newt.com>
2483 * mh-customize.el (mh-refile-preserves-sequences-flag)
2484 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2485 Sync docstrings with manual.
2487 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2489 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2490 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2493 2005-11-01 Bill Wohler <wohler@newt.com>
2495 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2497 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2498 (mh-reply, mh-send, mh-send-other-window)
2499 (mh-fill-paragraph-function): Sync docstrings with manual.
2500 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2501 msg argument to message (to make for a better docstring).
2503 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2504 to defcustom. Rename by adding -flag.
2505 (mh-compose-forward-as-mime-flag)
2506 (mh-compose-letter-function, mh-forward-subject-format)
2507 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2508 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2511 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2512 (mh-ps-print-msg): Remove debugging messages.
2513 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2514 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2515 after message per conventions.
2517 2005-10-30 Bill Wohler <wohler@newt.com>
2519 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2520 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2521 Sync docstrings with manual.
2523 * mh-customize.el (mh-compose-space-does-completion-flag)
2524 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2525 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2526 means" to remain checkdoc clean and consistent with Emacs. I
2527 raised this issue with the Emacs developers and Stallman agrees
2528 that "On means" should be allowed in custom docstrings but that
2529 this change requires thought and should wait until after the Emacs
2532 2005-10-28 Bill Wohler <wohler@newt.com>
2534 * mh-comp.el (mh-annotate-msg): Use new variable
2535 mh-scan-field-destination-offset rather than hard-coding 1.
2537 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2539 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2540 functions to check input for mh-adaptive-cmd-note-flag and
2541 mh-scan-format-file respectively.
2542 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2545 * mh-e.el (mh-scan-field-destination-offset): New variable. The
2546 destination is the -, t, b, c, or n character for Replied, To, cc,
2547 Bcc, or Newsgroups respectively.
2548 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
2549 Call new function mh-msg-num-width-to-column to make leap between
2550 width and column more explicit.
2551 (mh-msg-num-width-to-column): New function that steals logic from
2552 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2553 isn't t since we can't adapt the scan lines in this case.
2554 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2555 make the documentation more clear.
2556 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2557 column, not a width.
2558 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2559 variable mh-scan-field-destination-offset rather than hard-coding 1.
2561 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2562 (mh-notate): Use new variable mh-scan-field-destination-offset
2563 rather than hard-coding 1.
2564 (mh-message-number-width): Rename to mh-msg-num-width to be
2565 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2567 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2568 (mail-citation-hook): Quote URLs in docstrings and precede with
2569 `URL'. The former will suppress checkdoc warnings, the latter will
2570 turn them into hyperlinks in Emacs 22 (I just added the code to do
2572 (mh-scan-format-file): Checkdoc fix.
2574 2005-10-27 Bill Wohler <wohler@newt.com>
2576 * mh-customize.el (mh-adaptive-cmd-note-flag)
2577 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2579 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2580 (mh-note-cur, mh-scan-good-msg-regexp)
2581 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2582 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2583 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2584 (mh-scan-subject-regexp, mh-scan-format-regexp)
2585 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2588 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2590 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2591 of hard-coded string.
2592 (mh-mail-header-separator, mh-signature-separator-regexp):
2593 Use "regular expression" in docstring instead of regexp.
2594 (mh-scan-msg-number-regexp)
2595 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2596 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2597 (mh-cmd-note): Sync docstrings with manual.
2599 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2602 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2604 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2605 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2606 (mh-mml-secure-message-signencrypt): Ditto.
2608 2005-10-24 Bill Wohler <wohler@newt.com>
2610 * mh-gnus.el: Load mml.el in order to see if
2611 mml-minibuffer-read-disposition is defined or not.
2613 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2616 2005-10-23 Miles Bader <miles@gnu.org>
2618 * .arch-inventory: New file.
2620 2005-10-23 Bill Wohler <wohler@newt.com>
2622 * mh-customize.el (mh-interpret-number-as-range-flag):
2623 Sync docstring with manual.
2625 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2626 mh-alias.el and move to mh-acros.el
2628 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2629 mh-identity.el and move to mh-acros.el
2631 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2632 mh-identity.el and mh-alias.el.
2634 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2635 warning in Emacs 22.
2637 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2639 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2640 assoc-string (if the function is available) and falls back on
2641 assoc-ignore-case if assoc-string is not found.
2642 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2643 assoc-ignore-case is a obsolete function in Emacs 22.
2645 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2646 track of whether the tool-bar in mh-folder-mode has been
2648 (mh-folder-mode): Initialize the tool-bar for folders the first
2649 time we get into mh-letter-mode.
2651 * mh-customize.el (mh-buffer-exists-p): New function which tests
2652 presence of buffers of a given mode.
2653 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
2654 mh-tool-bar-letter-buttons-init are defined. These functions are
2655 used to create the tool-bar from the corresponding customizable
2658 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2659 keeps track of whether the tool-bar in mh-letter-mode has been
2661 (mh-letter-mode): Initialize the tool-bar for drafts the first
2662 time we get into mh-letter-mode.
2664 2005-10-23 Bill Wohler <wohler@newt.com>
2666 * mh-comp.el (mh-letter-menu): Rename
2667 mh-mhn-compose-external-compressed-tar to
2668 mh-mh-compose-external-compressed-tar. Rename
2669 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2670 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2671 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2672 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2673 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2675 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2676 mh-mh-directive-present-p.
2677 (mh-send-letter): Rename mh-mhn-directive-present-p to
2678 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2679 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2680 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2681 mh-mhn-compose-external-compressed-tar to
2682 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2683 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2684 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2685 mh-mh-compose-anon-ftp. Rename
2686 mh-mhn-compose-external-compressed-tar to
2687 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2688 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2689 mh-mh-compose-external-type.
2690 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2691 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2692 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2693 mh-yank-from-start-of-msg to mh-yank-behavior.
2694 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2695 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2696 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2697 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2698 (mh-letter-complete-or-space, mh-letter-confirm-address)
2699 (mh-letter-next-header-field-or-indent)
2700 (mh-letter-previous-header-field)
2701 (mh-letter-toggle-header-field-display): Sync docstrings with
2704 * mh-customize.el (mh-edit-mhn-hook): Rename to
2706 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2707 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2708 and user-visible values from mhn and Gnus to MH and MML.
2709 (mh-before-send-letter-hook): Add 'ispell-message option.
2710 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2711 mh-pgp-support-flag.
2712 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2713 (mh-delete-yanked-msg-window-flag)
2714 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2715 (mh-letter-complete-function, mh-letter-fill-column)
2716 (mh-mml-method-default, mh-signature-file-name)
2717 (mh-signature-separator-flag, mh-x-face-file)
2718 (mh-yank-behavior, mail-citation-hook)
2719 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2722 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2723 provided for Emacs 21 environments that lack it.
2725 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2727 (mh-compose-forward): mh-mh-forward-message requires string arg.
2728 (mh-minibuffer-read-type): New function.
2729 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2730 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2731 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2732 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2733 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2734 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
2735 (mh-mhn-compose-external-compressed-tar): Rename to
2736 mh-mh-compose-external-compressed-tar. Rename
2737 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2738 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
2739 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2740 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2741 Use correct program in message.
2742 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2743 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2744 (mh-compose-forward, mh-mh-attach-file)
2745 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2746 (mh-mh-compose-external-type, mh-mh-forward-message)
2747 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2748 mh-minibuffer-read-type.
2749 (mh-mime-content-types): Move comment about only being used in
2750 Emacs 20 to docstring.
2751 (mh-mh-compose-external-type): Rename extra-param argument to
2753 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2754 (mh-mime-display-part, mh-mime-display-single): Rename
2755 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2756 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2758 (mh-compose-forward): Rename mh-mhn-compose-forw to
2759 mh-mh-forward-message.
2760 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2762 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2763 (mh-mh-attach-file, mh-mh-compose-type)
2764 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2765 (mh-mh-compose-external-compressed-tar)
2766 (mh-mh-compose-external-type, mh-mh-forward-message)
2767 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2768 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2769 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2770 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2771 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2772 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2773 Sync docstrings with manual.
2775 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2776 mh-pgp-support-flag.
2778 2005-10-17 Peter S Galbraith <psg@debian.org>
2780 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
2781 to compare against header field for mixed-case "From:".
2783 2005-10-17 Bill Wohler <wohler@newt.com>
2785 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2786 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2787 to mail/compose, fld_open to fld-open.
2788 (mh-letter-tool-bar-map): Rename image file mail_send to
2791 2005-10-16 Bill Wohler <wohler@newt.com>
2793 * mh-comp.el (mh-display-completion-list-compat): New macro which
2794 calls `display-completion-list' correctly in older environments.
2795 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2797 (mh-complete-word): Use it.
2799 * mh-init.el (mh-image-load-path): Use locate-library to find
2800 MH-E. This simplified the code a lot. Flattened out nested
2801 statements even more.
2803 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2805 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2806 causes a compiler warning.
2808 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2809 the message to be viewed (closes SF #1306141).
2811 2005-10-16 Masatake YAMATO <jet@gyve.org>
2813 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2814 of completion to `display-completion-list'.
2816 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2818 * mh-init.el (mh-image-load-path-called-flag): New variable which
2819 is used by mh-image-load-path so that it runs only once.
2820 (mh-image-load-path): Modify so that it gets run only once. Also
2821 flatten out heavily nested if statements to make it clearer.
2823 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2824 to find images used in the toolbar.
2826 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2828 2005-10-14 Bill Wohler <wohler@newt.com>
2830 * mh-e.el (Version, mh-version): Add +cvs to version.
2832 2005-10-14 Bill Wohler <wohler@newt.com>
2834 Released MH-E version 7.85.
2836 * mh-e.el (Version, mh-version): Update for release 7.85.
2838 2005-10-14 Bill Wohler <wohler@newt.com>
2840 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
2841 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2842 need to be indented.
2844 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2845 but the code that invoked the face had not been updated. Tick
2846 highlighting working again.
2848 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2849 make-variable-buffer-local call to top level to avoid warnings in
2852 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2855 2005-10-09 Bill Wohler <wohler@newt.com>
2857 * mh-init.el (mh-image-load-path): New function that adds the path
2858 to the MH-E images to the image-load-path or load-path depending
2859 on the version of Emacs.
2861 * mh-customize.el: Call mh-image-load-path just before
2862 mh-tool-bar-define so that the toolbar images can be found.
2864 2005-10-04 Bill Wohler <wohler@newt.com>
2866 * ChangeLog: Move contents into ChangeLog.1 and trim.
2868 * ChangeLog.1: New file. Contains old ChangeLog.
2871 Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
2873 This file is part of GNU Emacs.
2875 GNU Emacs is free software; you can redistribute it and/or modify
2876 it under the terms of the GNU General Public License as published by
2877 the Free Software Foundation; either version 2, or (at your option)
2880 GNU Emacs is distributed in the hope that it will be useful,
2881 but WITHOUT ANY WARRANTY; without even the implied warranty of
2882 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2883 GNU General Public License for more details.
2885 You should have received a copy of the GNU General Public License
2886 along with GNU Emacs; see the file COPYING. If not, write to the
2887 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2888 Boston, MA 02110-1301, USA.
2891 ;; sentence-end-double-space: nil
2892 ;; add-log-time-zone-rule: t
2895 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51