1 2006-11-10 Andreas Schwab <schwab@suse.de>
3 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
5 2006-11-10 Glenn Morris <rgm@gnu.org>
7 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
9 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
11 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
12 quotation marks, so that the last two arguments of sa-learn
13 are separated properly (closes SF #1565460).
15 * (mh-spamassassin-blacklist): In example .procmailrc, add
16 PATH element to find mhparam on Debian.
18 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
20 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
21 so that we always have a valid string for split-string even if
22 nothing is added in mh-send-letter (closes SF #1564742).
24 2006-07-03 Bill Wohler <wohler@newt.com>
26 Release MH-E version 8.0.2.
28 * mh-e.el (Version, mh-version): Update for release 8.0.2.
30 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
32 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
33 it refers to the icons in mh-xemacs-icon-map instead of trying to
34 declare the icons in situ. This allows mh-tool-bar.el to be
35 compiled under XEmacs. Remove initial value for
36 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
37 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
38 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
39 This allows MH-E to be used in XEmacs in a tty (closes SF
42 2006-07-03 Bill Wohler <wohler@newt.com>
44 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
45 that mh-xemacs needs functions in mh-compat.
47 2006-06-29 Bill Wohler <wohler@newt.com>
49 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
50 loop construct to be consistent with other loops, and because
51 edebug doesn't work without it.
53 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
55 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
56 redundant +s in regexp (closes SF #1514424).
58 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
60 * mh-mime.el (mh-mime-save-parts): Add -store option to
61 mhn (closes SF #1513140).
63 2006-06-20 Bill Wohler <wohler@newt.com>
65 Release MH-E version 8.0.1.
67 * mh-e.el (Version, mh-version): Update for release 8.0.1.
69 2006-06-15 Bill Wohler <wohler@newt.com>
71 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
72 suffix for folder names, as <> are illegal filenakme characters on
73 Windows (closes SF #1507002).
75 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
77 * mh-comp.el (mh-send-uses-spost): New variable.
78 (mh-send-letter): Do not use -msgid and -mime if
79 mh-send-uses-spost is t (closes SF #1486726).
81 2006-06-02 Bill Wohler <wohler@newt.com>
83 (mh-folder-exists-p): Change test from an empty buffer, to one
84 that contains the actual folder, since GNU mailutils' folder
85 command displays output if the folder doesn't exist (closes SF
88 2006-05-06 Bill Wohler <wohler@newt.com>
90 Release MH-E version 8.0.
92 * mh-e.el (Version, mh-version): Update for release 8.0.
94 2006-05-05 Bill Wohler <wohler@newt.com>
96 * mh-e.el: Update commentary.
98 2006-04-28 Bill Wohler <wohler@newt.com>
100 Release MH-E version 7.95.
102 * mh-e.el (Version, mh-version): Update for release 7.95.
104 2006-04-26 Eric Ding <ericding@alum.mit.edu>
106 * mh-e.el (mh-invisible-header-fields-internal): Add entry
109 2006-04-25 Bill Wohler <wohler@newt.com>
111 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
112 Folders returned by mh-folder-completion-function no longer need
113 adornment (closes SF #1476270).
115 2006-04-21 Bill Wohler <wohler@newt.com>
117 * mh-e.el (Version, mh-version): Add +cvs to version.
119 2006-04-21 Bill Wohler <wohler@newt.com>
121 Release MH-E version 7.94.
123 * mh-e.el (Version, mh-version): Update for release 7.94.
125 2006-04-21 Bill Wohler <wohler@newt.com>
127 * mh-letter.el (mh-insert-letter): If a message number isn't
128 given, throw an error rather than using a potentially incorrect
129 message number (closes SF #1473729). In addition, use the cur
130 message if mh-sent-from-msg is nil (when sending a message, in
131 contrast to replying). Move conversion of int to string into
132 interactive stanza so body can assume variables are of proper
135 2006-04-20 Bill Wohler <wohler@newt.com>
137 * mh-tool-bar.el (image-load-path): Define to shush compiler.
138 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
139 isn't used outside of it.
140 (mh-tool-bar-folder-buttons-init,
141 mh-tool-bar-letter-buttons-init): Update load-path/image-load-path
142 before setting buttons. This code used to be in
143 mh-folder-mode/mh-letter-mode but this was the wrong place since
144 mh-tool-bar-*-buttons-init can also be called when customizing the
146 (mh-tool-bar-update): New function which updates tool-bar-map in
147 all of the MH-E buffers after customizing the buttons (closes SF
149 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
150 Call it (closes SF #1452718).
152 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
153 mh-folder-tool-bar-map instead.
154 (image-load-path): Delete. No longer used.
155 (mh-folder-mode): Moved setting of image-load-path into
156 mh-tool-bar-folder-buttons-init.
158 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
159 mh-letter-tool-bar-map instead.
160 (image-load-path): Delete. No longer used.
161 (mh-letter-mode): Moved setting of image-load-path into
162 mh-tool-bar-letter-buttons-init.
164 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
165 instead of set-buffer.
167 2006-04-19 Bill Wohler <wohler@newt.com>
169 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
170 can permanently disable a button (such as a separator) with nil.
172 2006-04-18 Bill Wohler <wohler@newt.com>
174 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
175 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
176 (mh-min-colors-defined-flag): Do not unbind these macros and
177 variables. Nice idea, but too many nasty side-effects. These
178 macros are needed by [Cc]ustom-make-dependencies when creating the
179 MH-E customization groups in mh-cus-load.el. These disappeared
180 when the macros above were introduced. Besides, if a developer
181 were to try to show the help for a macro or variable they were
182 looking at and got [No match] when they did so, that would be bad.
184 2006-04-17 Bill Wohler <wohler@newt.com>
186 * mh-comp.el (mh-insert-x-mailer): Strip build number from
187 version in X-Mailer field (closes SF #1466481).
189 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
190 variables and functions with the same name are found correctly by
191 find-func (invoked by clicking on the filename link in the *Help*
193 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
194 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
195 (mh-defcustom): Rename to defcustom-mh. Ditto.
196 (mh-defface): Rename to defface-mh. Ditto.
197 (mh-font-lock-add-keywords): Make changes according to these
200 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
203 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
204 have been processed by mh-normalize-folder-name.
205 (mh-folder-completion-function): Handle completion of folders with
206 absolute names. Also, when flag is t, display complete folder name
207 to provide proper highlighting in Emacs 22 now that
208 minibuffer-completing-file-name is nil (closes SF #1470518).
209 (mh-folder-completing-read): No longer set
210 minibuffer-completing-file-name to t. This was causing "Can't set
211 current directory errors" when browsing absolute file names.
212 Another benefit of this change is that SPC can be used for
213 completion again (closes SF #1470518).
215 2006-04-15 Bill Wohler <wohler@newt.com>
217 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
219 2006-04-14 Bill Wohler <wohler@newt.com>
221 * mh-funcs.el (view-exit-action): No need to wrap defvar with
222 eval-when-compile when shushing compiler.
224 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
226 * mh-seq.el (view-exit-action): Ditto.
228 * mh-show.el (font-lock-auto-fontify): Ditto.
230 * mh-utils.el (mh-speed-flists-cache): Ditto
232 * mh-acros.el (struct, x, y): No need to wrap defvar with
233 eval-when-compile when shushing compiler, even when
234 mh-do-in-xemacs or another construct is used.
236 * mh-comp.el (sendmail-coding-system): Ditto.
238 * mh-e.el (mark-active): Ditto.
240 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
241 (image-load-path, font-lock-defaults): Ditto.
243 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
245 * mh-mime.el (dots, type, ov)
246 (mm-verify-function-alist, mm-decrypt-function-alist)
247 (pressed-details): Ditto.
249 * mh-search.el (pick-folder, mh-do-in-xemacs)
250 (mh-mairix-folder, mh-flists-search-folders)
251 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
253 * mh-seq.el (tool-bar-mode): Ditto.
255 * mh-utils.el (completion-root-regexp)
256 (minibuffer-completing-file-name): Ditto.
258 * mh-xface.el (default-enable-multibyte-characters): Ditto.
260 * mh-compat.el (mh-font-lock-add-keywords): New alias for
261 font-lock-add-keywords. Returns nil on XEmacs.
263 * mh-e.el: Add MH-E function and variable keywords such as
264 mh-defun-compat and mh-defcustom to font-lock-keywords.
266 2006-04-13 Bill Wohler <wohler@newt.com>
268 * mh-e.el (customize-package-emacs-version-alist)
269 (mh-e, mh-alias, mh-folder, mh-folder-selection)
270 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
271 (mh-scan-line-formats, mh-search, mh-sending-mail, )
272 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
273 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
274 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
275 (mh-alias-insert-file, mh-alias-insertion-location)
276 (mh-alias-local-users, mh-alias-local-users-prefix)
277 (mh-alias-passwd-gecos-comma-separator-flag)
278 (mh-new-messages-folders, mh-ticked-messages-folders)
279 (mh-large-folder, mh-recenter-summary-flag)
280 (mh-recursive-folders-flag, mh-sortm-args)
281 (mh-default-folder-for-message-function, )
282 (mh-default-folder-list, mh-default-folder-must-exist-flag)
283 (mh-default-folder-prefix, mh-identity-list)
284 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
285 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
286 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
287 (mh-junk-program, mh-compose-insertion)
288 (mh-compose-skipped-header-fields)
289 (mh-compose-space-does-completion-flag)
290 (mh-delete-yanked-msg-window-flag)
291 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
292 (mh-letter-complete-function, mh-letter-fill-column)
293 (mh-mml-method-default, mh-signature-file-name)
294 (mh-signature-separator-flag, mh-x-face-file, )
295 (mh-yank-behavior, mh-interpret-number-as-range-flag)
296 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
297 (mh-search-program, mh-compose-forward-as-mime-flag)
298 (mh-compose-letter-function, mh-compose-prompt-flag)
299 (mh-forward-subject-format, mh-insert-x-mailer-flag)
300 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
301 (mh-reply-show-message-flag, )
302 (mh-refile-preserves-sequences-flag, mh-tick-seq)
303 (mh-update-sequences-after-mh-show-flag)
304 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
305 (mh-decode-mime-flag, )
306 (mh-display-buttons-for-alternatives-flag)
307 (mh-display-buttons-for-inline-parts-flag)
308 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
309 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
310 (mh-highlight-citation-style, mh-invisible-header-fields)
311 (mh-invisible-header-fields-default, mh-lpr-command-format)
312 (mh-max-inline-image-height, mh-max-inline-image-width)
313 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
314 (mh-print-background-flag, mh-show-maximum-size)
315 (mh-show-use-xface-flag, mh-store-default-directory)
316 (mh-summary-height, mh-speed-update-interval)
317 (mh-show-threads-flag, mh-tool-bar-search-function)
318 (mh-defcustom, mh-after-commands-processed-hook)
319 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
320 (mh-before-quit-hook, mh-before-send-letter-hook)
321 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
322 (mh-forward-hook, mh-inc-folder-hook, )
323 (mh-insert-signature-hook, )
324 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
325 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
326 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
327 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
328 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
329 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
330 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
331 (mh-folder-subject, mh-folder-tick, mh-folder-to)
332 (mh-letter-header-field, mh-search-folder, mh-show-cc)
333 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
334 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
335 (mh-show-subject, mh-show-to, mh-show-xface, )
336 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
337 (mh-speedbar-selected-folder)
338 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
339 notation in :package-version keyword.
341 2006-04-07 Bill Wohler <wohler@newt.com>
343 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
344 :package-version keyword.
346 2006-03-31 Bill Wohler <wohler@newt.com>
348 * mh-e.el (mh-strip-package-version): Move before use to avoid
349 compiler error. Make macro, also to avoid compiler error.
350 (mh-defface-compat): Incorporate body into mh-face-data and
353 2006-03-30 Bill Wohler <wohler@newt.com>
355 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
356 remove new :package-version keyword in older settings.
357 (customize-package-emacs-version-alist): Add MH-E version to Emacs
359 (mh-e, mh-alias, mh-folder, mh-folder-selection)
360 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
361 (mh-scan-line-formats, mh-search, mh-sending-mail)
362 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
363 (mh-hooks, mh-faces): Add :package-version keyword to these
364 groups (closes SF #1452724).
365 (mh-alias-completion-ignore-case-flag)
366 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
367 (mh-alias-insert-file, mh-alias-insertion-location)
368 (mh-alias-local-users, mh-alias-local-users-prefix)
369 (mh-alias-passwd-gecos-comma-separator-flag)
370 (mh-new-messages-folders, mh-ticked-messages-folders)
371 (mh-large-folder, mh-recenter-summary-flag)
372 (mh-recursive-folders-flag, mh-sortm-args)
373 (mh-default-folder-for-message-function)
374 (mh-default-folder-list, mh-default-folder-must-exist-flag)
375 (mh-default-folder-prefix, mh-identity-list)
376 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
377 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
378 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
379 (mh-junk-program, mh-compose-insertion)
380 (mh-compose-skipped-header-fields)
381 (mh-compose-space-does-completion-flag)
382 (mh-delete-yanked-msg-window-flag)
383 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
384 (mh-letter-complete-function, mh-letter-fill-column)
385 (mh-mml-method-default, mh-signature-file-name)
386 (mh-signature-separator-flag, mh-x-face-file)
387 (mh-yank-behavior, mh-interpret-number-as-range-flag)
388 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
389 (mh-search-program, mh-compose-forward-as-mime-flag)
390 (mh-compose-letter-function, mh-compose-prompt-flag)
391 (mh-forward-subject-format, mh-insert-x-mailer-flag)
392 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
393 (mh-reply-show-message-flag)
394 (mh-refile-preserves-sequences-flag, mh-tick-seq)
395 (mh-update-sequences-after-mh-show-flag)
396 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
397 (mh-decode-mime-flag)
398 (mh-display-buttons-for-alternatives-flag)
399 (mh-display-buttons-for-inline-parts-flag)
400 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
401 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
402 (mh-highlight-citation-style, mh-invisible-header-fields)
403 (mh-invisible-header-fields-default, mh-lpr-command-format)
404 (mh-max-inline-image-height, mh-max-inline-image-width)
405 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
406 (mh-print-background-flag, mh-show-maximum-size)
407 (mh-show-use-xface-flag, mh-store-default-directory)
408 (mh-summary-height, mh-speed-update-interval)
409 (mh-show-threads-flag, mh-tool-bar-search-function): Add
410 :package-version keyword to these options (closes SF #1452724).
411 (mh-after-commands-processed-hook)
412 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
413 (mh-before-quit-hook, mh-before-send-letter-hook)
414 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
415 (mh-forward-hook, mh-inc-folder-hook)
416 (mh-insert-signature-hook)
417 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
418 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
419 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
420 (mh-unseen-updated-hook): Add :package-version keyword to these
421 hooks (closes SF #1452724).
422 (mh-min-colors-defined-flag)
423 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
424 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
425 (mh-folder-msg-number, mh-folder-refiled)
426 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
427 (mh-folder-subject, mh-folder-tick, mh-folder-to)
428 (mh-letter-header-field, mh-search-folder, mh-show-cc)
429 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
430 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
431 (mh-show-subject, mh-show-to, mh-show-xface)
432 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
433 (mh-speedbar-selected-folder)
434 (mh-speedbar-selected-folder-with-unseen-messages): : Add
435 :package-version keyword to these faces (closes SF #1452724).
437 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
438 :package-version keywords (closes SF #1452724).
440 2006-03-28 Bill Wohler <wohler@newt.com>
442 * mh-tool-bar.el: Use clipboard-kill-region,
443 clipboard-kill-ring-save, and clipboard-yank instead of undo,
444 kill-region, and menu-bar-kill-ring-save respectively. In
445 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
446 front of mh-compose-insertion to be consistent with other mailers,
447 such as Evolution. In MH-Folder mode, move vanilla reply icon to
448 the left of the other reply icons. Use mail/inbox icon instead of
449 mail, next-page instead of page-down, delete instead of close,
450 mail/move instead of mail/refile, data-save instead of execute,
451 mail/flag-for-followup instead of highlight, contact instead of
452 mail/alias, open instead of fld-open, zoom-out instead of widen.
454 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
455 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
457 2006-03-27 Eric Ding <ericding@alum.mit.edu>
459 * mh-e.el (mh-invisible-header-fields-internal): Add entries
460 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
462 2006-03-19 Bill Wohler <wohler@newt.com>
464 * mh-comp.el (mh-reply): Sync docstring with manual.
466 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
469 2006-03-17 Bill Wohler <wohler@newt.com>
471 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
474 2006-03-16 Bill Wohler <wohler@newt.com>
476 * mh-comp.el (mh-send-letter): Use split-string to break up
477 mh-send-args (closes SF #1448604).
478 (mh-compose-and-send-mail): Use run-hook-with-args for
479 mh-compose-letter-function.
481 * mh-e.el (mh-list-to-string-1): Use dolist.
483 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
486 2006-03-15 Bill Wohler <wohler@newt.com>
488 * mh-compat.el (mh-image-load-path-for-library): Fix example by
489 not recommending that one binds image-load-path. Just defvar it to
490 placate compiler and only use it if previously defined.
492 * mh-e.el (image-load-path): Don't bind!
494 * mh-folder.el (mh-folder-mode): Only use image-load-path if
497 * mh-letter.el (mh-letter-mode): Ditto.
499 * mh-utils.el (mh-logo-display): Ditto.
501 2006-03-14 Bill Wohler <wohler@newt.com>
503 * mh-compat.el (mh-image-load-path-for-library): Incorporate
504 changes from image-load-path-for-library, which are:
505 (image-load-path-for-library): Pass value of path rather than
506 symbol. Always return list of directories. Guarantee that image
507 directory comes first.
509 * mh-e.el (image-load-path): Define on those Emacsen that lack it
510 to avoid compile and run-time errors.
512 * mh-folder.el (mh-folder-mode): Use new idiom for setting
515 * mh-letter.el (mh-letter-mode): Ditto.
517 * mh-utils.el (mh-logo-display): Ditto.
519 2006-03-12 Bill Wohler <wohler@newt.com>
521 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
524 2006-03-10 Bill Wohler <wohler@newt.com>
526 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
527 flag to replace-in-string. This was badly needed by
528 mh-quote-pick-expr in order to properly quote subjects when using
529 / s on XEmacs (closes SF #1447598).
530 (mh-image-load-path-for-library): Merged changes from Reiner. Add
531 no-error argument. If path t, just return directory.
533 * mh-e.el (mh-profile-component): Drop `s' from mhparam
534 -components for Mailutils compatibility (closes SF #1446985).
536 2006-03-06 Bill Wohler <wohler@newt.com>
538 * mh-e.el (Version, mh-version): Add +cvs to version.
540 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
542 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
543 handling of duplicate messages. The test in cond was too strong
544 and wasn't catching the case where origin-map was nil.
546 2006-03-05 Bill Wohler <wohler@newt.com>
548 Release MH-E version 7.93.
550 * mh-e.el (Version, mh-version): Update for release 7.93.
552 2006-03-05 Bill Wohler <wohler@newt.com>
554 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
555 calling mh-image-load-path-for-library since this is the default.
557 * mh-letter.el (mh-letter-mode): Ditto.
559 * mh-utils.el (mh-logo-display): Ditto.
561 2006-03-04 Bill Wohler <wohler@newt.com>
563 * mh-compat.el (mh-image-load-path-for-library): Move here from
564 mh-utils.el and wrap with mh-defun-compat since this function will
565 be soon added to image.el.
567 * mh-utils.el (mh-image-load-path-for-library): Move to
569 (mh-normalize-folder-name): Add return-nil-if-folder-empty
570 argument which is useful when calling mh-normalize-folder-name to
571 process the folder argument for the folders command.
572 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
573 this function more robust. It could too easily list the folders in
575 (mh-folder-list): Fix a couple of problems pointed out by Thomas
576 Baumann. Set folder to nil if empty. Don't append "/" if folder
579 2006-03-03 Bill Wohler <wohler@newt.com>
581 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
582 mh-image-load-path-for-library.
584 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
585 mh-image-load-path-for-library.
587 * mh-utils.el (mh-image-load-path): Rename to
588 mh-image-load-path-for-library. Add example to docstring. Rename
589 local variable mh-image-directory to image-directory. Move error
590 checks to default case in cond and simplify.
592 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
593 docstrings with manual.
595 2006-03-02 Bill Wohler <wohler@newt.com>
597 * mh-folder.el (mh-tool-bar-init): Autoload.
598 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
599 Set scoped variables image-load-path and load-path with updated
600 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
602 * mh-letter.el (mh-tool-bar-init): Autoload.
603 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
604 Set scoped variables image-load-path and load-path with updated
605 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
607 * mh-show.el (mh-tool-bar-init): Autoload.
608 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
611 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
612 messages per conventions.
613 (mh-tool-bar-folder-buttons-init)
614 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
615 (mh-tool-bar-define call): Format.
617 * mh-utils.el (mh-image-directory)
618 (mh-image-load-path-called-flag): Delete.
619 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
620 changes are that it no longer uses/sets mh-image-directory or
621 mh-image-load-path-called-flag, and returns the updated path
622 rather than change it.
623 (mh-logo-display): Change usage of mh-image-load-path.
625 2006-02-28 Bill Wohler <wohler@newt.com>
627 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
628 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
629 to subjects with special characters by quoting regular expression
630 characters in pick expression derived from existing subjects and
631 other fields (closes SF #1432548).
632 (mh-narrow-to-subject): Remove Re: string from subject so that
633 pick can find originating message (closes SF #1438369).
635 * mh-utils.el (mh-image-load-path): Rename variable to
637 (mh-image-load-path): Access mh-image-directory instead of
639 (mh-folder-list): Fix problem with passing in a folder and getting
640 nothing back. Fix problem with passing in empty string and getting
641 the entire filesystem (or infinite loop). Don't append slash to
642 folder. These fixes fix problems observed with the pick search.
643 Thanks to Thomas Baumann for the help (closes SF #1435381).
644 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
645 function for quoting pick regular expression characters (closes SF
648 2006-02-27 Bill Wohler <wohler@newt.com>
650 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
653 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
654 docstring about obsolete variable mh-mime-content-types.
656 * mh-e.el (mh-variant): Sync docstring with manual.
657 (cus-face): Require as it is needed by mh-inherit-face-flag.
659 * mh-compat.el (mh-display-color-cells): Return 2 if
660 device-color-cells returns nil (closes SF #1436924).
662 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
663 mh-display-color-cells.
665 2006-02-21 Eric Ding <ericding@alum.mit.edu>
667 * mh-e.el (mh-invisible-header-fields-internal): Add entry
670 2006-02-20 Eric Ding <ericding@alum.mit.edu>
672 * mh-e.el (mh-invisible-header-fields-internal): Add entries
673 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
674 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
675 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
676 "X-Roving-" by removing unnecessary "*" at end.
678 2006-02-19 Bill Wohler <wohler@newt.com>
680 * mh-alias.el (mh-address-mail-regexp)
681 (mh-goto-address-find-address-at-point): Delete copies from
683 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
684 mh-address-mail-regexp.
685 (mh-alias-add-address-under-point): Use
686 goto-address-find-address-at-point instead of
687 mh-goto-address-find-address-at-point.
689 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
691 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
693 (mh-show-addr): Call goto-address unconditionally. User should use
694 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
696 2006-02-18 Bill Wohler <wohler@newt.com>
698 * mh-e.el (Version, mh-version): Add +cvs to version.
700 2006-02-18 Bill Wohler <wohler@newt.com>
702 Release MH-E version 7.92.
704 * mh-e.el (Version, mh-version): Update for release 7.92.
706 2006-02-17 Bill Wohler <wohler@newt.com>
708 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
709 backgrounds per Mark's suggestion.
711 * mh-utils.el (mh-image-load-path): Fix problem that images on
712 load-path or image-load-path would win over relative paths (newer
713 MH-E or Emacs distribution).
715 2006-02-16 Bill Wohler <wohler@newt.com>
717 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
718 the defface :inherit keyword is available.
719 (mh-face-data): New variable (contains all face specs) and
721 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
722 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
723 (mh-folder-msg-number, mh-folder-refiled)
724 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
725 (mh-folder-subject, mh-folder-tick, mh-folder-to)
726 (mh-search-folder, mh-letter-header-field, mh-show-cc)
727 (mh-show-date, mh-show-from)
728 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
729 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
730 (mh-show-to, mh-show-xface, mh-speedbar-folder)
731 (mh-speedbar-folder-with-unseen-messages)
732 (mh-speedbar-selected-folder)
733 (mh-speedbar-selected-folder-with-unseen-messages): Use
736 * mh-utils.el (mh-image-load-path): The variables image-load-path
737 or load-path would not get updated if user set mh-image-load-path.
738 Moved tests and add-to-list calls outside of cond so they are
739 applied consistently, even if they are redundant in some
740 circumstances. Efficiency isn't a concern here. Made error
741 messages more user-friendly.
743 2006-02-15 Peter S Galbraith <psg@debian.org>
745 * mh-compat.el (mh-image-search-load-path): Compatibility code.
746 Emacs 21 and XEmacs don't have `image-search-load-path'.
748 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
749 images are already found.
751 2006-02-10 Bill Wohler <wohler@newt.com>
753 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
754 rather than use defun*. XEmacs cannot create a proper autoload for
757 2006-02-09 Bill Wohler <wohler@newt.com>
759 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
760 that causes an infinite loop on XEmacs.
762 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
765 2006-02-08 Peter S Galbraith <psg@debian.org>
767 * mh-e.el (mh-invisible-header-fields-internal): Added entries
768 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
770 2006-02-04 Bill Wohler <wohler@newt.com>
772 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
773 has an emacsclient command that supports --eval. I had read that
774 gnudoit was deprecated in favor of gnuclient anyway.
776 2006-02-04 Eric Ding <ericding@alum.mit.edu>
778 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
779 handle OpenOffice documents.
781 2006-02-03 Bill Wohler <wohler@newt.com>
783 * mh-e.el (Version, mh-version): Add +cvs to version.
785 2006-02-03 Bill Wohler <wohler@newt.com>
787 Release MH-E version 7.91.
789 * mh-e.el (Version, mh-version): Update for release 7.91.
791 2006-02-03 Bill Wohler <wohler@newt.com>
793 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
794 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
795 of local variable mh-library-name.
797 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
798 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
799 88) with (min-colors 64) in face specifications so that MH-E still
800 looks good on systems with fewer colors (such as Eric Ding's).
802 2006-02-03 Peter S Galbraith <psg@debian.org>
804 * mh-utils.el (mh-image-load-path): New variable to optionally
805 hold the directory where MH-E images are stored. If nil, then
806 the function `mh-image-load-path' will find it. This variable
807 will be used for Debian packaging.
808 (mh-image-load-path function): Use variable `mh-image-load-path'
809 if non-nil and exists.
811 2006-02-03 Mark D. Baushke <mdb@gnu.org>
813 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
814 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
815 errors if describe-bindings is called before tool-bar-mode is used.
817 2006-02-03 Peter S Galbraith <psg@debian.org>
819 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
820 `mh-url-unresrved-chars'.
822 2006-02-02 Bill Wohler <wohler@newt.com>
824 * mh-e.el (Version, mh-version): Add +cvs to version.
826 2006-02-02 Bill Wohler <wohler@newt.com>
828 Release MH-E version 7.90.
830 * mh-e.el (Version, mh-version): Update for release 7.90.
832 2006-02-01 Bill Wohler <wohler@newt.com>
834 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
836 * mh-alias.el (mh-alias-gecos-name): Use
837 mh-replace-regexp-in-string instead of replace-regexp-in-string.
838 (crm, multi-prompt): Use mh-require instead of require.
839 (mh-goto-address-find-address-at-point): Use
840 mh-line-beginning-position and mh-line-end-position instead of
841 line-beginning-position and line-end-position. Use
842 mh-match-string-no-properties instead of
843 match-string-no-properties.
845 * mh-comp.el (mh-modify-header-field): Use
846 mh-line-beginning-position and mh-line-end-position instead of
847 line-beginning-position and line-end-position.
849 * mh-compat.el (mailabbrev): Use mh-require instead of require.
850 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
851 (mh-face-background): Make docstring consistent.
852 (mh-require, mh-cancel-timer, mh-display-color-cells)
853 (mh-line-beginning-position, mh-line-end-position)
854 (mh-match-string-no-properties, mh-replace-regexp-in-string)
855 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
856 add mh- prefix since compatibility functions should have our
857 package prefix (mh-) by Emacs convention and to avoid messing up
858 checks for the same functions in other packages.
860 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
861 from mh-xemacs.el and rename.
862 (mh-xargs): Use mh-line-beginning-position and
863 mh-line-end-position instead of line-beginning-position and
865 (mh-defface-compat): Use mh-display-color-cells instead of
868 * mh-folder.el (which-func): Use mh-require instead of require.
870 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
873 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
874 mh-require instead of require.
876 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
877 (mh-letter-next-header-field): Use mh-line-beginning-position and
878 mh-line-end-position instead of line-beginning-position and
881 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
882 mh-match-string-no-properties instead of
883 match-string-no-properties.
884 (mh-narrow-to-header-field): Use mh-line-beginning-position and
885 mh-line-end-position instead of line-beginning-position and
888 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
889 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
890 mh-line-beginning-position and mh-line-end-position instead of
891 line-beginning-position and line-end-position.
893 * mh-search.el (which-func): Use mh-require instead of require.
894 (mh-make-pick-template, mh-index-visit-folder)
895 (mh-pick-parse-search-buffer, mh-swish-next-result)
896 (mh-mairix-next-result, mh-namazu-next-result)
897 (mh-pick-next-result, mh-grep-next-result)
898 (mh-index-create-imenu-index, mh-index-match-checksum)
899 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
900 mh-line-beginning-position and mh-line-end-position instead of
901 line-beginning-position and line-end-position.
903 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
905 (mh-folder-size-flist, mh-parse-flist-output-line)
906 (mh-add-sequence-notation): Use mh-line-beginning-position and
907 mh-line-end-position instead of line-beginning-position and
910 * mh-show.el (mh-show-addr): Use mh-require instead of require.
912 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
913 (mh-speed-view, mh-folder-speedbar-buttons)
914 (mh-speed-highlight, mh-speed-goto-folder)
915 (mh-speed-add-buttons, mh-speed-parse-flists-output)
916 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
917 (mh-speed-add-folder): Use mh-line-beginning-position and
918 mh-line-end-position instead of line-beginning-position and
920 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
922 * mh-thread.el (mh-thread-find-children)
923 (mh-thread-parse-scan-line, mh-thread-generate): Use
924 mh-line-beginning-position and mh-line-end-position instead of
925 line-beginning-position and line-end-position.
927 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
928 instead of display-color-cells.
929 (mh-folder-list): Use mh-replace-regexp-in-string instead of
930 replace-regexp-in-string.
931 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
932 Use mh-line-beginning-position and mh-line-end-position instead of
933 line-beginning-position and line-end-position.
935 * mh-comp.el (mh-send-sub): Don't find components file in current
936 directory--this seems to have been a side-effect of commenting out
937 the use of an old mh-etc variable. Improve error message.
939 2006-01-31 Bill Wohler <wohler@newt.com>
941 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
942 argument since compatibility functions should have our package
943 prefix (mh-) by Emacs convention and to avoid messing up checks
944 for the same functions in other packages. Use explicit argument
945 instead of forming name by adding mh- prefix so that one can grep
946 and find the definition.
948 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
949 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
950 mh-assoc-string instead of assoc-string.
952 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
953 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
954 here from mh-utils.el.
955 (mh-display-completion-list): Move here from mh-comp.el.
956 (mh-face-foreground, mh-face-background): Move here from
958 (mh-write-file-functions): Move here from mh-folder.el
960 * mh-folder.el (mh-write-file-functions-compat): Move to
961 mh-compat.el and rename to mh-write-file-functions.
962 (mh-folder-mode): Use the new name.
964 * mh-gnus.el (gnus-local-map-property): Rename to
965 mh-gnus-local-map-property.
966 (mm-merge-handles): Rename to mh-mm-merge-handles.
967 (mm-set-handle-multipart-parameter): Rename to
968 mh-mm-set-handle-multipart-parameter.
969 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
970 (mm-possibly-verify-or-decrypt): Rename to
971 mh-mm-possibly-verify-or-decrypt.
972 (mm-handle-multipart-ctl-parameter): Rename to
973 mh-mm-handle-multipart-ctl-parameter.
974 (mm-readable-p): Rename to mh-mm-readable-p.
975 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
976 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
977 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
978 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
979 (mml-minibuffer-read-disposition): Rename to
980 mh-mml-minibuffer-read-disposition.
982 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
983 instead of assoc-string.
985 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
986 (mh-mime-display, mh-mime-display-security)
987 (mh-insert-mime-button, mh-insert-mime-security-button)
988 (mh-handle-set-external-undisplayer)
989 (mh-mime-security-press-button, mh-mime-security-show-details)
990 (mh-mml-attach-file, mh-mime-cleanup)
991 (mh-destroy-postponed-handles): Use new mh-* names for
992 compatibility functions.
994 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
995 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
996 (mh-beginning-of-word): Use the new name.
997 (mh-get-field): Delete ancient alias.
999 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1000 and rename to mh-face-foreground
1001 (mh-face-background-compat): Move to mh-compat.el
1002 and rename to mh-face-background.
1003 (mh-face-display-function): Use the new names.
1004 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1005 instead of url-hexify-string.
1006 (url-unreserved-chars): Move to mh-compat.el and rename to
1007 mh-url-unreserved-chars.
1008 (url-hexify-string): Move to mh-compat.el and rename to
1009 mh-url-hexify-string.
1011 * mh-letter.el (mh-complete-word): Fix bug in call to
1012 mh-display-completion-list. Wrong argument was passed, so
1013 completions wouldn't show highlighted prefix.
1015 2006-01-29 Bill Wohler <wohler@newt.com>
1017 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1018 mh-adaptive-cmd-note-flag.
1020 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1021 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1022 supported versions. In addition, the package name "sc" has been
1023 made obsolete by "supercite since at least Emacs 21.
1025 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1026 revealed character constants that were still strings (closes SF
1029 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1030 (mh-get-header-field): Move to mh-utils.el so that you can read
1031 messages without having to load mh-comp.el and mh-letter.el.
1033 * mh-letter.el (mh-hidden-header-keymap)
1034 (mh-letter-toggle-header-field-display)
1035 (mh-letter-skipped-header-field-p)
1036 (mh-letter-skip-leading-whitespace-in-header-field)
1037 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1038 can read messages without having to load mh-comp.el and
1041 * mh-utils.el (mh-get-header-field)
1042 (mh-letter-hide-all-skipped-fields)
1043 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1044 (mh-letter-toggle-header-field-display)
1045 (mh-letter-skip-leading-whitespace-in-header-field)
1046 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1047 mh-letter.el so that you can read messages without having to load
1048 mh-comp.el and mh-letter.el.
1050 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1051 least, will deliver them to us.
1053 * mh-e.el (mh-after-commands-processed-hook)
1054 (mh-before-commands-processed-hook): Specify what sort of requests
1057 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1060 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1062 (mh-letter-mode): Remove Mail menu.
1064 2006-01-29 Bill Wohler <wohler@newt.com>
1067 Remove circular dependencies. mh-e.el now includes few require
1068 statements and stands alone. Other files should need to require
1069 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1071 Remove unneeded require statements.
1072 Remove unneeded load statements, or replace them with non-fatal
1074 Break out components into their own files that were often spread
1076 As a result, many functions that are now only used within a single
1077 file no longer need to be autoloaded.
1078 Rearrange and provide consistent headings.
1081 * mh-acros.el: Update commentary to reflect current usage. Add
1082 autoload cookies to all macros.
1083 (mh-require-cl): Merge docstring and comment.
1084 (mh-do-in-xemacs): Fix typo in docstring.
1085 (assoc-string): Move to new file mh-compat.el.
1086 (with-mh-folder-updating, mh-in-show-buffer)
1087 (mh-do-at-event-location, mh-seq-msgs): Move here from
1089 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1092 * mh-alias.el (mh-address-mail-regexp)
1093 (mh-goto-address-find-address-at-point): Move here from
1095 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1097 * mh-buffers.el: Update descriptive text.
1099 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1100 new file mh-scan.el.
1101 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1102 (mh-letter-menu, mh-letter-mode-help-messages)
1103 (mh-letter-buttons-init-flag, mh-letter-mode)
1104 (mh-font-lock-field-data, mh-letter-header-end)
1105 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1106 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1107 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1108 (mh-filter-out-non-text, mh-insert-prefix-string)
1109 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1110 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1111 (mh-letter-complete, mh-letter-complete-or-space)
1112 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1113 (mh-letter-next-header-field-or-indent)
1114 (mh-letter-next-header-field, mh-letter-previous-header-field)
1115 (mh-letter-skipped-header-field-p)
1116 (mh-letter-skip-leading-whitespace-in-header-field)
1117 (mh-hidden-header-keymap)
1118 (mh-letter-toggle-header-field-display-button)
1119 (mh-letter-toggle-header-field-display)
1120 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1122 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1123 (mh-pgp-support-flag, mh-x-mailer-string)
1124 (mh-letter-header-field-regexp): Move to mh-e.el.
1125 (mh-goto-header-field, mh-goto-header-end)
1126 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1128 (mh-insert-header-separator): Move to mh-comp.el.
1129 (mh-display-completion-list-compat): Move to new file
1132 * mh-compat.el: New file.
1133 (assoc-string): Move here from mh-acros.el.
1134 (mh-display-completion-list): Move here from mh-comp.el.
1136 * mh-customize.el: Move content into mh-e.el and remove.
1138 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1139 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1140 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1141 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1142 declared here so that they can be used in docstrings.
1143 (mh-sent-from-folder, mh-sent-from-msg)
1144 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1145 (mh-x-mailer-string): Move here from mh-comp.el.
1146 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1147 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1148 here from mh-seq.el.
1149 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1150 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1151 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1152 (mh-show-folder-buffer, mh-mail-header-separator)
1153 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1154 (mh-signature-separator, mh-signature-separator-regexp)
1155 (mh-list-to-string, mh-list-to-string-1): Move here from
1157 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1158 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1159 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1160 (mh-exec-cmd-output)
1161 (mh-exchange-point-and-mark-preserving-active-mark)
1162 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1163 deprecated file mh-exec.el.
1164 (mh-path): Move here from deprecated file mh-customize.el.
1165 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1166 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1167 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1168 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1169 (mh-profile-component-value, mh-defface-compat): Move here from
1170 deprecated file mh-init.el.
1171 (mh-goto-next-button, mh-folder-mime-action)
1172 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1173 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1175 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1176 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1177 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1178 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1179 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1180 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1181 (mh-scan-cmd-note-width, mh-scan-destination-width)
1182 (mh-scan-date-width, mh-scan-date-flag-width)
1183 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1184 (mh-scan-field-destination-offset)
1185 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1186 (mh-scan-field-subject-start-offset, mh-scan-format)
1187 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1189 (mh-partial-folder-mode-line-annotation)
1190 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1191 (mh-generate-sequence-font-lock, mh-last-destination)
1192 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1193 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1194 (mh-execute-commands, mh-first-msg, mh-header-display)
1195 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1196 (mh-folder-from-address, mh-prompt-for-refile-folder)
1197 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1198 (mh-previous-page, mh-previous-undeleted-msg)
1199 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1200 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1201 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1202 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1203 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1204 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1205 (mh-folder-sequence-menu, mh-folder-message-menu)
1206 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1207 (mh-write-file-functions-compat, mh-folder-mode)
1208 (mh-restore-desktop-buffer, mh-scan-folder)
1209 (mh-regenerate-headers, mh-generate-new-cmd-note)
1210 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1211 (mh-process-or-undo-commands, mh-process-commands)
1212 (mh-update-unseen, mh-delete-scan-msgs)
1213 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1214 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1215 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1216 (mh-lessp): Move to mh-utils.el.
1217 (mh-parse-flist-output-line, mh-folder-size-folder)
1218 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1219 (mh-remove-sequence-notation, mh-remove-cur-notation)
1220 (mh-remove-all-notation, mh-delete-seq-locally)
1221 (mh-read-folder-sequences, mh-read-msg-list)
1222 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1223 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1224 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1225 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1227 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1228 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1229 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1230 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1231 (mh-faces, mh-alias-completion-ignore-case-flag)
1232 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1233 (mh-alias-insert-file, mh-alias-insertion-location)
1234 (mh-alias-local-users, mh-alias-local-users-prefix)
1235 (mh-alias-passwd-gecos-comma-separator-flag)
1236 (mh-new-messages-folders, mh-ticked-messages-folders)
1237 (mh-large-folder, mh-recenter-summary-flag)
1238 (mh-recursive-folders-flag, mh-sortm-args)
1239 (mh-default-folder-for-message-function, mh-default-folder-list)
1240 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1241 (mh-identity-list, mh-auto-fields-list)
1242 (mh-auto-fields-prompt-flag, mh-identity-default)
1243 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1244 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1245 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1246 (mh-compose-insertion, mh-compose-skipped-header-fields)
1247 (mh-compose-space-does-completion-flag)
1248 (mh-delete-yanked-msg-window-flag)
1249 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1250 (mh-letter-complete-function, mh-letter-fill-column)
1251 (mh-mml-method-default, mh-signature-file-name)
1252 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1253 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1254 (mh-scan-format-file-check, mh-scan-format-file)
1255 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1256 (mh-search-program, mh-compose-forward-as-mime-flag)
1257 (mh-compose-letter-function, mh-compose-prompt-flag)
1258 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1259 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1260 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1261 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1262 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1263 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1264 (mh-display-buttons-for-inline-parts-flag)
1265 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1266 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1267 (mh-highlight-citation-style)
1268 (mh-invisible-header-fields-internal)
1269 (mh-delay-invisible-header-generation-flag)
1270 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1271 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1272 (mh-lpr-command-format, mh-max-inline-image-height)
1273 (mh-max-inline-image-width, mh-mhl-format-file)
1274 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1275 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1276 (mh-show-use-xface-flag, mh-store-default-directory)
1277 (mh-summary-height, mh-speed-update-interval)
1278 (mh-show-threads-flag, mh-tool-bar-search-function)
1279 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1280 (mh-before-commands-processed-hook, mh-before-quit-hook)
1281 (mh-before-send-letter-hook, mh-delete-msg-hook)
1282 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1283 (mh-inc-folder-hook, mh-insert-signature-hook)
1284 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1285 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1286 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1287 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1288 (mh-folder-address, mh-folder-body)
1289 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1290 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1291 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1292 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1293 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1294 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1295 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1296 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1297 (mh-speedbar-folder-with-unseen-messages)
1298 (mh-speedbar-selected-folder)
1299 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1300 deprecated file mh-customize.el.
1302 * mh-exec.el: Move content into mh-e.el and remove.
1304 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
1306 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1308 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1310 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1311 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1312 to mail-abbrev-make-syntax-table.
1314 * mh-identity.el (mh-identity-menu): New variable for existing
1316 (mh-identity-make-menu-no-autoload): New alias for
1317 mh-identity-make-menu which can be called from mh-e.el.
1318 (mh-identity-list-set): Move to mh-e.el.
1319 (mh-identity-add-menu): New function
1320 (mh-insert-identity): Add optional argument maybe-insert so that
1321 local variable mh-identity-local does not have to be visible.
1322 (mh-identity-handler-default):
1324 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1325 rest of keymaps). Update key binding for ? to call mh-help with
1326 help messages in new argument.
1327 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1328 which can be called from mh-e.el.
1329 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1331 * mh-init.el: Move content into mh-e.el and remove.
1333 * mh-junk.el: Update requires, untabify, and add mh-autoload
1336 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1338 * mh-limit.el: New file. Contains display limit commands from
1341 * mh-mime.el: Rearrange for consistency with other files.
1342 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1344 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1345 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1346 (mh-goto-next-button): Move here from mh-e.el.
1348 * mh-print.el: Rearrange for consistency with other files.
1350 * mh-scan.el: New file. Contains scan line constants and utilities
1351 from XXX, mh-funcs, mh-utils.el.
1353 * mh-search.el: Rearrange for consistency with other files.
1354 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1355 fields which don't exist in the saved header. Replace C-c C-f f
1356 with C-c C-f m per mail-mode consistency.
1357 (mh-search-mode): Use mh-set-help instead of setting
1360 * mh-seq.el (mh-thread-message, mh-thread-container)
1361 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1362 (mh-thread-id-index-map, mh-thread-index-id-map)
1363 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1364 (mh-thread-subject-container-hash, mh-thread-duplicates)
1365 (mh-thread-history, mh-thread-body-width)
1366 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1367 (mh-thread-initialize, mh-thread-id-container)
1368 (mh-thread-remove-parent-link, mh-thread-add-link)
1369 (mh-thread-ancestor-p, mh-thread-get-message-container)
1370 (mh-thread-get-message, mh-thread-canonicalize-id)
1371 (mh-thread-prune-subject, mh-thread-container-subject)
1372 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1373 (mh-thread-sort-containers, mh-thread-group-by-subject)
1374 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1375 (mh-thread-update-id-index-maps, mh-thread-generate)
1376 (mh-thread-inc, mh-thread-generate-scan-lines)
1377 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1378 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1379 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1380 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1381 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1382 (mh-thread-ancestor, mh-thread-find-children)
1383 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
1384 to new file mh-thread.el.
1385 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1386 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1387 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1388 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1389 (mh-current-message-header-field, mh-narrow-to-range)
1390 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1392 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1394 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1395 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1396 (mh-define-sequence, mh-undefine-sequence)
1397 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1398 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1399 (mh-parse-flist-output-line, mh-read-folder-sequences)
1400 (mh-read-msg-list, mh-notate-user-sequences)
1401 (mh-remove-cur-notation, mh-add-sequence-notation)
1402 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1404 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1405 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1407 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1409 * mh-speed.el: Rearrange for consistency with other files.
1411 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1413 * mh-tool-bar.el: New file. Contains tool bar creation code from
1414 deprecated file mh-customize.el.
1416 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
1418 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1419 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1420 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1421 (mh-update-scan-format, mh-msg-num-width): Move to new file
1423 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1424 (mh-header-field-font-lock, mh-header-to-font-lock)
1425 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1426 (mh-show-font-lock-keywords)
1427 (mh-show-font-lock-keywords-with-cite)
1428 (mh-show-font-lock-fontify-region)
1429 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1430 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1431 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1432 (mh-show-sequence-menu, mh-show-message-menu)
1433 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1434 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1435 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1437 (mh-mail-header-separator, mh-signature-separator-regexp)
1438 (mh-signature-separator, mh-globals-hash, mh-user-path)
1439 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1440 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1441 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1442 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1443 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1444 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1445 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1446 Move to mh-alias.el.
1447 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1448 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1449 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1450 Move to new file mh-folder.el.
1451 (with-mh-folder-updating, mh-in-show-buffer)
1452 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1453 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1454 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1456 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1457 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1458 (mh-face-background-compat, mh-face-display-function)
1459 (mh-show-xface, mh-picon-directory-list)
1460 (mh-picon-existing-directory-list)
1461 (mh-picon-cache, mh-picon-image-types)
1462 (mh-picon-set-directory-list, mh-picon-get-image)
1463 (mh-picon-file-contents, mh-picon-generate-path)
1464 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1465 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1466 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1467 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1468 (mh-x-image-scale-with-convert)
1469 (url-unreserved-chars, url-hexify-string)
1470 (mh-x-image-url-cache-canonicalize)
1471 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1472 (mh-x-image-url-fetch-image, mh-x-image-display)
1473 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1474 (mh-x-image-url-display): Move to new file mh-xface.el.
1475 (mh-logo-display): Call mh-image-load-path.
1476 (mh-find-path-run, mh-find-path): Move here from deprecated file
1478 (mh-help-messages): Now an alist of modes to an alist of messages.
1479 (mh-set-help): New function used to set mh-help-messages
1480 (mh-help): Adjust for new format of mh-help-messages. Add
1481 help-messages argument.
1482 (mh-prefix-help): Refactor to use mh-help.
1483 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1485 (mh-clear-sub-folders-cache): New function added to avoid exposing
1486 mh-sub-folders-cache variable.
1488 * mh-xface.el: New file. Contains X-Face and Face header field
1489 display routines from mh-utils.el.
1491 2006-01-17 Bill Wohler <wohler@newt.com>
1493 * mh-acros.el (assoc-string): Fix typo in argument.
1495 2006-01-16 Bill Wohler <wohler@newt.com>
1497 * mh-acros.el (require): Remove defadvice of require as defadvice
1498 is verboten within Emacs and our implementation was returning the
1499 wrong value from require. Upcoming restructuring should make this
1501 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1503 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1504 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1506 * mh-identity.el (mh-identity-field-handler): Use it.
1508 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1509 (read-from-string string) with (string-to-number string).
1511 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1514 * mh-mime.el (mh-mml-forward-message): Ditto.
1516 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1517 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1518 (mh-openssl-parser, mh-index-update-maps): Ditto.
1520 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1521 (mh-thread-generate): Ditto.
1523 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1525 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1526 mm- functions for proper text=flowed handling (addresses SF
1529 2006-01-15 Bill Wohler <wohler@newt.com>
1531 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1532 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1535 * mh-utils.el (mh-show-limit-map): Ditto.
1537 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1539 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1541 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1542 where they are used.
1544 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1545 needed to help remove dependency on mh-utils.
1547 * mh-exec.el: New file. Move process support routines here from
1550 * mh-init.el (mh-utils): Remove require.
1551 (mh-exec): Add require.
1552 (mh-profile-component, mh-profile-component-value): Move here from
1555 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1556 dependencies on mh-utils.el.
1557 (mh-profile-component, mh-profile-component-value): Move to
1558 mh-init.el since that's the only place that uses them. (Other than
1559 mh-alias.el; I'm thinking that mh-find-path can set variable from
1560 the Aliasfile component like it does the other components).
1561 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1562 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1563 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1564 (defvar, mh-exec-cmd-output)
1565 (mh-exchange-point-and-mark-preserving-active-mark)
1566 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1567 file mh-exec.el so that mh-init.el doesn't have to depend on
1568 mh-utils.el, breaking circular dependency.
1582 * mh-speed.el: Added debugging statements (commented out) around
1583 requires to help find dependency loops. Will remove them when
1584 issues are resolved.
1586 2006-01-14 Bill Wohler <wohler@newt.com>
1588 * mh-customize.el (mh-index): Rename group to mh-search and sort
1589 group definition and options accordingly.
1590 (mh-index-program): Rename to mh-search-program.
1591 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1593 (mh-search-mode-hook): Change group from mh-index to mh-search.
1594 (mh-index-folder): Rename to mh-search-folder. Change group from
1595 mh-index to mh-search.
1597 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1598 to mh-search-folder.
1600 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1601 pick and grep are searchers too but aren't indexed.
1602 (mh-index-execute-search-function): Rename to mh-search-function.
1603 (mh-index-next-result-function): Rename to
1604 mh-search-next-result-function.
1605 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1606 (mh-search): Since redo-search-flag defaults to nil and is of
1607 lesser importance, make it an optional argument and place it after
1608 the folder and search-regexp arguments. Sync docstring with
1610 (mh-search-mode-map): Autoload so that keys are shown in help even
1611 before mh-search is loaded.
1612 (mh-search-mode): Sync docstring with manual.
1613 (mh-index-do-search): Rename argument indexer to searcher. Sync
1614 docstring with manual.
1615 (mh-pick-do-search): Sync docstring with manual.
1616 (mh-index-p): Rename to mh-search-p.
1617 (mh-indexer-choices): Rename to mh-search-choices.
1618 (mh-index-choose): Rename to mh-search-choose. Rename argument
1619 indexer to searcher.
1620 (mh-swish++-execute-search, mh-swish-execute-search)
1621 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1622 read the results" from docstring since these functions don't.
1623 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1625 (mh-index-generate-pretty-name): Prune -search from string so that
1626 folder names for pick searches are the same as those of other
1629 2006-01-13 Bill Wohler <wohler@newt.com>
1631 * mh-acros.el (require): Added Satyaki's comment regarding what
1632 needs to happen to remove this defadvice which caused a little
1633 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1634 advices `require' incorrectly).
1636 * mh-search.el (mh-index-next-result-function): Add format to
1638 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1640 (mh-pick-execute-search): Operate across all folders if no folder
1641 given and recurse folder(s).
1642 (mh-pick-next-result): Handle new output.
1644 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1645 (mh-children-p, mh-folder-list): New functions.
1647 2006-01-12 Bill Wohler <wohler@newt.com>
1649 * mh-search.el: New file containing contents of mh-index.el and
1650 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1651 pick. Pick no longer sets the "search" sequence. Instead, it
1652 brings up a folder view that we're accustomed to. (closes SF
1654 (mh-index-search): Rename to mh-search.
1655 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1656 the Search to Perform Search and call mh-do-search. Add Search
1657 with Pick menu item.
1658 (mh-do-search): Delete.
1659 (mh-search-mode): Rename from mh-pick-mode.
1660 (MH-Search): Rename mode from MH-Pick.
1661 (mh-search-mode-map): Rename from mh-pick-mode-map.
1662 (mh-search-mode-help-messages): Rename from
1663 mh-pick-mode-help-messages.
1664 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1665 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1666 stay with that choice!
1669 * mh-pick.el: Merge into mh-search.el and delete.
1671 * mh-customize.el (mh-index-program): Change mh-index-search to
1672 mh-search in docstring.
1673 (mh-tool-bar-search-function): Change default from
1674 mh-search-folder to mh-search. Remove mh-search-folder as choice
1675 and rename mh-index-search choice to mh-search. Fix docstring.
1676 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1677 mh-search-folder to mh-search in docstring.
1679 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1680 Indexed Search to Search. Use mh-search instead of
1682 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1683 from mh-show-search-folder to mh-search.
1685 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1686 mh-search-folder no longer creates the search sequence.
1688 * mh-utils.el (mh-show-search-folder): Delete.
1689 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1690 Change s from mh-show-search-folder to mh-search.
1691 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1692 Search to Search. Use mh-search instead of mh-index-search.
1693 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1694 here from deleted mh-index.el.
1696 2006-01-11 Bill Wohler <wohler@newt.com>
1698 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1701 * mh-gnus.el: Require mh-acros.
1702 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1704 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1705 url-hexify-string to remove special characters from filenames
1706 (closes SF #1396499). Note that this invalidates the existing
1707 names in your cache so you might as well remove
1708 ~/Mail/.mhe-x-image-cache/* now.
1709 (url-unreserved-chars, url-hexify-string): Define if not defined.
1710 Copied from url-util.el in Emacs22 for Emacs 21.
1712 * mh-buffers.el: New file. Contains constants and code from
1713 mh-index.el and mh-utils.el.
1723 * mh-seq.el: Require new file mh-buffers.el.
1725 * mh-index.el: Require new file mh-buffers.el.
1726 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1729 * mh-utils.el: Require new file mh-buffers.el.
1730 (mh-temp-buffer, mh-temp-fetch-buffer)
1731 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1732 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1733 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1734 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1736 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1737 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1739 2006-01-10 Bill Wohler <wohler@newt.com>
1741 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1742 the cur message is used. Sync docstring with manual (closes SF
1745 * mh-mime.el (mh-compose-forward): Use standard range argument
1746 instead of messages. Use more powerful mh-read-range instead of
1747 read-string. Sync docstring with manual (close SF #1205890).
1749 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1751 (mh-index-next-folder): Don't back up a line when going backwards
1752 since this skips the current folder heading if point is on the
1753 first message after the folder heading (closes SF #1126188).
1755 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1757 (mh-variants): Note variable isn't meant to be accessed directly;
1758 use function mh-variants instead.
1759 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1760 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1761 them. Updated to use mh-file-command-p which is more accurrate
1762 than file-executable-p which returns t for directories.
1763 (mh-file-command-p): Move here from mh-utils, since
1764 mh-variant-*-info are the only functions to use it.
1765 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1766 function mh-variants instead of variable. More robust.
1767 (mh-find-path-run): Move here from mh-utils.el. Mention that
1768 checking this variable is unnecessary.
1769 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1770 variants and an mhparam command that doesn't work if there isn't
1771 an MH profile, we can't get libdir for running install-mh. So
1772 don't bother. If there's an issue with the environment, direct the
1773 user to install MH and run install-mh (closes SF #835192). Don't
1774 read ~/.mh_profile directly. Use mh-profile-component which uses
1775 mhparam (closes SF #1016027).
1777 * mh-utils.el (mh-get-profile-field): Rename to
1778 mh-profile-component-value. Add colon to search removing
1779 unnecessary addition of colon to field in mh-profile-component.
1780 (mh-profile-component): Modify call to mh-profile-component-value
1781 accordingly. Move next to mh-profile-component-value.
1782 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1783 mh-init.el. It makes sense that code that is only run once per
1784 session (more or less) is in mh-init.el rather than cluttering
1786 (mh-no-install, mh-install): Delete.
1788 * mh-customize.el (mh-folder-msg-number):
1789 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1791 2006-01-09 Bill Wohler <wohler@newt.com>
1793 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1794 patch from Satyaki from SF #1016027.
1796 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1797 message, even if cur sequence is no longer present (closes SF
1800 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1802 (mh-letter-mode): Derive from mail-mode and delete code copied
1803 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1805 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1806 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1807 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1808 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1809 (mh-to-fcc): Move setting of folder argument to interactive
1810 argument as is the norm.
1811 (mh-letter-complete-function-alist): Add mail-reply-to.
1812 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1813 Mail-Followup-To, Reply-To, From).
1815 * mh-customize.el: Use ";; Forward definition." consistently.
1816 Comment declaration to remind programmer to update forward
1817 definition if default changes.
1824 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1827 2006-01-08 Bill Wohler <wohler@newt.com>
1829 Removed code that was marked as Emacs 20 compatible that was
1830 easily found showing how important it is to document such
1831 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1832 peculiarities that you find. Wrapped code for shushing compiler
1833 with (eval-when-compile), sometimes moving the defvars closer to
1834 where they were used.
1836 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1837 instead of mh-replace-in-string as mh-replace-in-string was
1838 replaced by a more appropriate defsubst in mh-xemacs.el.
1840 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1842 (mh-file-is-vcard-p): Removed redundant test.
1844 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1845 with eval-when-compile.
1846 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1847 (mh-invisible-header-fields-default): Add forward definitions.
1848 (mh-invisible-header-fields-default): Alphabetize.
1850 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1852 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1854 (mh-colors-available-p): Just call display-color-cells. It's on
1855 all supported Emacsen (and defaliased on XEmacs).
1859 * mh-init.el: Wrap compiler-shushing defvars with
1862 * mh-identity.el: Don't need (mh-require-cl).
1864 * mh-index.el: Don't need to load executable any more.
1866 * mh-mime.el: Wrap compiler-shushing defvars with
1868 (mh-have-file-command): Initialize variable to 'undefined. Add
1869 docstring. Update function of same name accordingly. Also don't
1870 need to load executable any more.
1871 (mh-mime-content-types): Delete.
1872 (mh-minibuffer-read-type): Prompt user for type if
1873 mh-file-mime-type returns application/octet-stream. Assume we have
1875 (mh-mime-display): Update error message.
1877 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1878 with eval-when-compile.
1880 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1881 with eval-when-compile.
1882 (mh-clean-msg-header): Don't set after-change-functions to nil.
1883 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1886 2006-01-07 Bill Wohler <wohler@newt.com>
1888 * mh-customize.el: Updated Faces documentation in header.
1889 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1890 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1892 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1893 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1896 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1898 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1899 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1901 2006-01-03 Bill Wohler <wohler@newt.com>
1903 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1904 unification. Use single sentence if possible by using semicolon.
1905 Don't end message with punctuation. Don't need format with
1906 message. Quote messages as in docstrings: use `' around symbols,
1907 \" for option choices. Don't use quotes around %s.
1909 * mh-comp.el (mh-complete-word): Ditto.
1911 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1912 (mh-scan-format-file-check): Ditto.
1914 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1915 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1916 (mh-msg-num-width-to-column): Ditto.
1918 * mh-identity.el (mh-identity-field-handler): Ditto.
1920 * mh-index.el (mh-mairix-execute-search)
1921 (mh-swish-execute-search, mh-swish++-execute-search)
1922 (mh-namazu-execute-search): Ditto.
1924 * mh-init.el (mh-variant-set): Ditto.
1926 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1927 (mh-secure-message, mh-mime-display): Ditto.
1929 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1931 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1932 (mh-read-range, mh-thread-container-subject): Ditto.
1934 * mh-utils.el (mh-x-image-scale-and-display)
1935 (mh-prompt-for-folder, mh-handle-process-error)
1936 (mh-list-to-string-1): Ditto.
1938 * mh-comp.el (mh-reply): Use standard default notation in
1939 prompts (closes SF #1275933).
1941 * mh-mime.el (mh-mime-save-parts): Ditto.
1943 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1945 * mh-customize.el (mh-folder-msg-number): Snow is actually
1946 off-white on low color displays which turns to white when bold.
1947 This is unreadable on white backgrounds. Use snow with min-colors
1948 requirement. Use cyan on low-color displays.
1950 * mh-init.el (mh-defface-compat): On low-color displays, delete
1951 the high-color display rather than simply strip the min-colors
1952 requirement since the existing algorithm shadowed the desired
1953 display on low-color displays.
1955 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1958 2006-01-02 Bill Wohler <wohler@newt.com>
1960 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1961 docstring. Does this mean something in a defun?
1963 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1966 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1967 so it reads better in docstring and manual. Sync docstring with
1970 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1972 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1974 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1975 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1976 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1977 (mh-letter-complete-or-space, mh-letter-confirm-address)
1978 (mh-letter-next-header-field-or-indent)
1979 (mh-letter-previous-header-field): Ditto.
1981 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1982 (mh-default-folder-for-message-function, mh-mml-method-default)
1983 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1984 (mh-show-mode-hook) Ditto.
1986 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1988 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1989 (mh-store-msg, mh-store-buffer): Ditto
1991 * mh-index.el (mh-index-search, mh-index-do-search)
1992 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1994 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1996 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1997 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1998 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1999 (mh-mml-secure-message-signencrypt): Ditto
2001 * mh-pick.el (mh-search-folder): Ditto.
2003 * mh-seq.el (mh-widen): Ditto.
2005 * mh-utils.el (mh-show, mh-modify): Ditto.
2007 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2009 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2011 2006-01-01 Bill Wohler <wohler@newt.com>
2013 * mh-customize.el: Sync docstrings with manual for faces and sort
2014 them alphabetically.
2015 (mh-faces): Move below mh-hooks.
2016 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2017 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
2019 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2020 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2021 (mh-folder-body-face, mh-folder-cur-msg-face)
2022 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2023 (mh-folder-followup-face, mh-folder-msg-number-face)
2024 (mh-folder-deleted-face, mh-folder-refiled-face)
2025 (mh-folder-subject-face, mh-folder-address-face)
2026 (mh-folder-scan-format-face, mh-folder-to-face)
2027 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2028 (mh-show-header-face, mh-show-pgg-good-face)
2029 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2030 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2032 (mh-folder-cur-msg): Unused. Delete.
2033 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2034 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2035 Inherit from mh-folder-msg-number.
2036 (mh-folder-deleted): Use defface. Inherit from
2037 mh-folder-msg-number.
2038 (mh-folder-sent-to-me-hint): New face. Inherit from
2040 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2041 Use defface. Inherit from mh-folder-followup.
2042 (mh-show-xface): Inherit from mh-show-from and highlight.
2043 (bw-face-generation, bw-toggle-faces)
2044 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2045 variables, functions for toggling between old and new faces.
2047 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2048 eval-when-compile. We should probably do this throughout.
2049 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2050 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2051 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2052 (mh-scan-subject-regexp): Sync docstrings with manual
2053 (mh-scan-format-regexp): Rename to
2054 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2055 expression. Make expression more like the others (anchored at the
2056 beginning of line). Sync docstrings with manual.
2057 (mh-folder-font-lock-keywords): Use faces directly rather than
2058 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2059 mh-scan-format-regexp, and within that expression, use faces
2060 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2061 of mh-folder-date-face and mh-folder-scan-format-face which were
2064 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2065 rather than -face variables.
2067 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2068 rather than -face variables.
2069 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2070 (mh-face-display-function): Use mh-face-foreground-compat and
2071 mh-face-background-compat to use inherited attributes of
2072 mh-show-xface on Emacs 22 while still working on Emacs 21.
2074 2005-12-28 Bill Wohler <wohler@newt.com>
2076 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
2077 mh-user-agent-compose instead of mh-smail-batch.
2079 2005-12-27 Bill Wohler <wohler@newt.com>
2081 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2082 suppress creation of folder if it doesn't exist.
2084 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2088 2005-12-23 Bill Wohler <wohler@newt.com>
2090 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2092 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2093 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2094 everything else. Otherwise, you can accidently get links to
2097 2005-12-22 Bill Wohler <wohler@newt.com>
2099 Follow Emacs coding conventions. Use default setting of
2100 emacs-lisp-docstring-fill-column which is 65.
2102 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2104 * mh-comp.el (mh-letter-mode): Use 60 column width.
2105 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2107 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2108 you have added a mail-citation-hook and neither are used if you
2109 use one of the supercite flavors of mh-yank-behavior. Sync
2110 docstrings with manual.
2112 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2113 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2114 hook. Use "Hook run by `function'..." instead of "Invoked...".
2115 Sync docstrings with manual.
2116 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2117 mh-ins-buf-prefix isn't used if you have added a
2118 mail-citation-hook and neither are used if you use one of the
2119 supercite flavors of mh-yank-behavior. Sync docstrings with
2121 (mail-citation-hook): Delete. Use one in sendmail.el.
2122 (mh-signature-file-name, mh-after-commands-processed-hook)
2123 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2124 (mh-before-quit-hook, mh-before-send-letter-hook)
2125 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2126 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2127 (mh-letter-mode-hook)
2128 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2129 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2130 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2131 of "Invoked...". Sync docstrings with manual.
2133 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2134 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2135 (mh-delete-list, mh-refile-list, mh-folders-changed)
2136 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2137 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2138 (mh-mode-line-annotation, mh-sequence-notation-history)
2139 (mh-colors-available-flag): Move comment into docstring.
2140 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2141 (mh-process-commands): Sync docstrings with manual.
2142 (mh-refile-msg): Small doc edit.
2143 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2144 Rename msg argument to message.
2146 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2148 * mh-e.el (mh-update-unseen): No longer say "The value of
2149 `foo-hook' is a list of functions to be called, with no arguments,
2150 ...," but rather just "The hook foo-hook is called...".
2152 * mh-mime.el (mh-mh-to-mime): Ditto.
2154 * mh-pick.el (mh-pick-mode): Ditto.
2156 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2158 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2160 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2163 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2165 * mh-customize.el (mh-after-commands-processed-hook): New
2167 (mh-before-commands-processed-hook): Rename
2168 mh-folder-updated-hook.
2170 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2171 mh-before-commands-processed-hook, call new
2172 mh-after-commands-processed-hook.
2173 (mh-folders-changed): New variable (for use in
2174 mh-after-commands-processed-hook).
2176 2005-12-19 Bill Wohler <wohler@newt.com>
2196 Follow commenting conventions. Don't use ;;; form so much, except
2197 for headings. Precede headings with page feed. This was mostly
2198 already done, so I made it a convention. Did not update copyright
2199 on a couple of files since this was an insignificant change.
2201 2005-12-18 Bill Wohler <wohler@newt.com>
2203 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2204 (mh-tool-bar-search-function): Sync docstrings with manual.
2205 (mh-tool-bar-customize): Replace toolbar with tool bar in
2207 (mh-tool-bar-letter-help): Fix manual reference.
2208 (mh-xemacs-use-toolbar-flag): Rename to
2209 mh-xemacs-use-tool-bar-flag. Initialize to
2210 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2211 (mh-xemacs-toolbar-position): Rename to
2212 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2213 option (redundant) and change "Same As Default Tool Bar" setting
2214 to nil. Sync docstrings with manual.
2215 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2216 depending on context.
2217 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2218 for calling set-specifier. Only look at the value of
2219 mh-xemacs-use-tool-bar-flag.
2220 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
2221 docstrings with manual.
2223 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2226 * mh-e.el (mh-folder-mode): Ditto.
2228 * mh-utils.el (mh-show-mode): Ditto.
2230 2005-12-15 Bill Wohler <wohler@newt.com>
2232 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2234 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2235 (mh-thread-previous-sibling, mh-thread-ancestor)
2236 (mh-thread-delete, mh-thread-refile): Ditto.
2238 2005-12-14 Bill Wohler <wohler@newt.com>
2240 * mh-customize.el (mh-speed-flists-interval): Rename to
2241 mh-speed-update-interval.
2242 (mh-speed-run-flists-flag): Delete. Setting
2243 mh-speed-flists-interval to 0 accomplishes the same thing.
2245 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2246 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2247 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2248 docstrings with manual.
2250 2005-12-09 Bill Wohler <wohler@newt.com>
2252 * mh-customize.el (mh-path): Move here from mh-init.el.
2253 (mh-variant): Mention that mh-path can be customized.
2254 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2255 X-MAIL-INFO, and X-UNTD- from NetZero.
2257 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2259 2005-12-04 Bill Wohler <wohler@newt.com>
2261 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2262 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2265 * mh-customize.el (mh-insert-signature-hook): Rename
2266 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2268 * mh-comp.el (mh-insert-signature): Ditto.
2270 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2271 to nil. Remove t option. Sync docstring with manual (closes SF
2273 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2274 users can see it, look it up in the manual's index, and discover
2275 mh-fetch-x-image-url (closes SF #831278).
2277 * mh-customize.el (mh-new-messages-folders): Rename from
2278 mh-index-new-messages-folders.
2279 (mh-ticked-messages-folders): Rename from
2280 mh-index-ticked-messages-folders.
2282 * mh-index.el (mh-index-sequenced-messages)
2283 (mh-index-new-messages): Ditto.
2285 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2286 in the docstrings and made usage consistent. Generally speaking,
2287 "messages in range" and "range of messages" is redundant and just
2288 "range" can be used in most circumstances. Also ensured that
2289 mh-interactive-range was mentioned in all interactive functions
2290 that use a range which describes the range argument for both users
2293 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2294 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2295 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2296 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2299 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2302 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2304 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2305 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2307 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2308 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2310 2005-12-01 Bill Wohler <wohler@newt.com>
2312 Rewrote Reading Mail chapter in manual which affected mh-show
2313 customization group and related functions.
2315 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2316 instead of mh-highlight-citation-p.
2317 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2318 I think, so use "truncated".
2320 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2321 section is Folders, not Organizing. Parent of mh-folder-faces is
2322 mh-folder, not mh-show.
2323 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2324 (mh-thread): New group that corresponds with manual's Threading
2326 (mh-letter-faces): Group's manual section is Editing Drafts, not
2328 (mh-sortm-args): New customization variable that used to be a
2330 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2331 Move from mh-index group to mh-folders group.
2332 (mh-alias-local-users-prefix, mh-large-folder)
2333 (mh-recursive-folders-flag, mh-before-quit-hook)
2334 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2335 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2337 (mh-highlight-citation-style): Rename from
2338 mh-highlight-citation-p. Sync docstrings with manual.
2339 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2341 (mh-show-threads-flag): Move from mh-show group to mh-thread
2343 (mh-find-path-hook): Move from mh-show group to mh-e group.
2344 (mh-folder-updated-hook): Add to mh-folder group.
2345 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2346 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2347 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2348 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2349 (mh-display-buttons-for-inline-parts-flag)
2350 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2351 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2352 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2353 (mh-lpr-command-format, mh-max-inline-image-height)
2354 (mh-max-inline-image-width)
2355 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2356 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2357 (mh-show-use-xface-flag, mh-store-default-directory)
2358 (mh-summary-height, mh-delete-msg-hook
2359 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2362 (mh-scan-format-mh, mh-scan-good-msg-regexp)
2363 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2364 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
2365 non-fontification instead of non-fontifying.
2366 (mh-header-display): Use mh-mhl-format-file instead of
2367 mhl-formfile. Sync docstrings with manual.
2368 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2369 count. Sync docstrings with manual.
2370 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2371 so that message doesn't change when using this command. Sync
2372 docstrings with manual.
2373 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2374 docstrings with manual.
2375 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2376 to no-header. Sync docstrings with manual.
2377 (mh-ps-print-map): Delete keybindings for deleted commands
2378 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2379 (mh-help-messages): Update printing help.
2380 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2381 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2382 (mh-prev-button, mh-folder-toggle-mime-part)
2383 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2384 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2387 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2389 (mh-pipe-msg): Rename include-headers to include-header. Sync
2390 docstrings with manual.
2391 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2392 (mh-store-msg): Sync docstrings with manual.
2394 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
2395 docstrings with manual.
2396 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2397 Sync docstrings with manual.
2398 (mh-mm-display-part, mh-mm-inline-message): Use
2399 mh-highlight-citation-style instead of mh-highlight-citation-p.
2400 (mh-press-button): Sync docstrings with manual.
2401 (mh-display-with-external-viewer): Fix default output in
2402 minibuffer. Sync docstrings with manual.
2404 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
2406 (mh-ps-print-color-option): Incorporate docstring from
2408 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
2410 (mh-ps-spool-msg): Slimline docstring. Rename from
2411 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2413 (mh-ps-print-range): Extract method from common code in
2414 mh-ps-print-msg and mh-ps-print-msg-file.
2415 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2416 (mh-ps-print-msg-show): Delete. Can use either
2417 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2418 new code in mh-ps-spool-msg.
2419 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2420 Sync docstrings with manual.
2421 (mh-ps-print-msg, mh-ps-print-msg-file)
2422 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
2423 docstrings with manual.
2425 * mh-utils.el (mh-show-ps-print-msg-show)
2426 mh-show-ps-print-toggle-mime): Delete.
2427 (mh-show-ps-print-map): Update accordingly.
2428 (mh-show-mode): Use mh-highlight-citation-style instead of
2429 mh-highlight-citation-p.
2430 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2432 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
2433 docstrings with manual.
2434 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
2435 docstrings with manual.
2437 2005-12-01 Bill Wohler <wohler@newt.com>
2439 * mh-init.el (mh-defface-compat): Checkdoc fix.
2441 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2442 Bogofilter is lowercase except at beginning of sentence and in
2445 2005-11-04 Bill Wohler <wohler@newt.com>
2447 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2448 Move to mh-init.el to minimize bulk of mh-customize.el.
2450 * mh-init.el: Modify commentary since file is used for load and
2451 initialization as well as setting and getting the variant.
2452 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2455 * mh-customize.el: Refactor faces. Move grayscale requirements
2456 last before t. Use uniform line breaks.
2457 (mh-min-colors-defined-flag): New variable.
2458 (mh-defface-compat): New function. Provides backward compatibility
2460 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2461 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2462 (mh-folder-body): Use mh-defface-compat.
2464 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2466 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2467 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2468 (mh-folder-to-face): Use the min-colors attribute instead of the
2471 2005-11-03 Bill Wohler <wohler@newt.com>
2473 * mh-customize.el (mh-refile-preserves-sequences-flag)
2474 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2475 docstrings with manual.
2477 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2479 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2480 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2483 2005-11-01 Bill Wohler <wohler@newt.com>
2485 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2487 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2488 (mh-reply, mh-send, mh-send-other-window)
2489 (mh-fill-paragraph-function): Sync docstrings with manual.
2490 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2491 msg argument to message (to make for a better docstring).
2493 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2494 to defcustom. Rename by adding -flag.
2495 (mh-compose-forward-as-mime-flag)
2496 (mh-compose-letter-function, mh-forward-subject-format)
2497 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2498 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2501 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2502 (mh-ps-print-msg): Remove debugging messages.
2503 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2504 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2505 after message per conventions.
2507 2005-10-30 Bill Wohler <wohler@newt.com>
2509 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2510 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2511 docstrings with manual.
2513 * mh-customize.el (mh-compose-space-does-completion-flag)
2514 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2515 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2516 means" to remain checkdoc clean and consistent with Emacs. I
2517 raised this issue with the Emacs developers and Stallman agrees
2518 that "On means" should be allowed in custom docstrings but that
2519 this change requires thought and should wait until after the Emacs
2522 2005-10-28 Bill Wohler <wohler@newt.com>
2524 * mh-comp.el (mh-annotate-msg): Use new variable
2525 mh-scan-field-destination-offset rather than hard-coding 1.
2527 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2529 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2530 functions to check input for mh-adaptive-cmd-note-flag and
2531 mh-scan-format-file respectively.
2532 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2535 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2536 destination is the -, t, b, c, or n character for Replied, To, cc,
2537 Bcc, or Newsgroups respectively.
2538 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2539 Call new function mh-msg-num-width-to-column to make leap between
2540 width and column more explicit.
2541 (mh-msg-num-width-to-column): New function that steals logic from
2542 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2543 isn't t since we can't adapt the scan lines in this case.
2544 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2545 make the documentation more clear.
2546 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2547 column, not a width.
2548 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2549 variable mh-scan-field-destination-offset rather than hard-coding
2552 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2553 (mh-notate): Use new variable mh-scan-field-destination-offset
2554 rather than hard-coding 1.
2555 (mh-message-number-width): Rename to mh-msg-num-width to be
2556 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2558 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2559 (mail-citation-hook): Quote URLs in docstrings and precede with
2560 `URL'. The former will suppress checkdoc warnings, the latter will
2561 turn them into hyperlinks in Emacs 22 (I just added the code to do
2563 (mh-scan-format-file): Checkdoc fix.
2565 2005-10-27 Bill Wohler <wohler@newt.com>
2567 * mh-customize.el (mh-adaptive-cmd-note-flag)
2568 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2570 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2571 (mh-note-cur, mh-scan-good-msg-regexp)
2572 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2573 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2574 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2575 (mh-scan-subject-regexp, mh-scan-format-regexp)
2576 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2579 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2581 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2582 of hard-coded string.
2583 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2584 "regular expression" in docstring instead of regexp.
2585 (mh-scan-msg-number-regexp)
2586 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2587 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2588 (mh-cmd-note): Sync docstrings with manual.
2590 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2593 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2595 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2596 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2597 (mh-mml-secure-message-signencrypt): Ditto.
2599 2005-10-24 Bill Wohler <wohler@newt.com>
2601 * mh-gnus.el: Load mml.el in order to see if
2602 mml-minibuffer-read-disposition is defined or not.
2604 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2607 2005-10-23 Miles Bader <miles@gnu.org>
2609 * .arch-inventory: New file.
2611 2005-10-23 Bill Wohler <wohler@newt.com>
2613 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2614 docstring with manual.
2616 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2617 mh-alias.el and move to mh-acros.el
2619 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2620 mh-identity.el and move to mh-acros.el
2622 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2623 mh-identity.el and mh-alias.el.
2625 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2626 warning in Emacs 22.
2628 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2630 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2631 assoc-string (if the function is available) and falls back on
2632 assoc-ignore-case if assoc-string is not found.
2633 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2634 assoc-ignore-case is a obsolete function in Emacs 22.
2636 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2637 track of whether the tool-bar in mh-folder-mode has been
2639 (mh-folder-mode): Initialize the tool-bar for folders the first
2640 time we get into mh-letter-mode.
2642 * mh-customize.el (mh-buffer-exists-p): New function which tests
2643 presence of buffers of a given mode.
2644 (mh-tool-bar-define): New functions
2645 mh-tool-bar-folder-buttons-init and
2646 mh-tool-bar-letter-buttons-init are defined. These functions are
2647 used to create the tool-bar from the corresponding customizable
2650 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2651 keeps track of whether the tool-bar in mh-letter-mode has been
2653 (mh-letter-mode): Initialize the tool-bar for drafts the first
2654 time we get into mh-letter-mode.
2656 2005-10-23 Bill Wohler <wohler@newt.com>
2658 * mh-comp.el (mh-letter-menu): Rename
2659 mh-mhn-compose-external-compressed-tar to
2660 mh-mh-compose-external-compressed-tar. Rename
2661 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2662 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2663 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2664 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2665 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2667 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2668 mh-mh-directive-present-p.
2669 (mh-send-letter): Rename mh-mhn-directive-present-p to
2670 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2671 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2672 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2673 mh-mhn-compose-external-compressed-tar to
2674 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2675 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2676 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2677 mh-mh-compose-anon-ftp. Rename
2678 mh-mhn-compose-external-compressed-tar to
2679 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2680 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2681 mh-mh-compose-external-type.
2682 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2683 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2684 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2685 mh-yank-from-start-of-msg to mh-yank-behavior.
2686 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2687 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2688 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2689 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2690 (mh-letter-complete-or-space, mh-letter-confirm-address)
2691 (mh-letter-next-header-field-or-indent)
2692 (mh-letter-previous-header-field)
2693 (mh-letter-toggle-header-field-display): Sync docstrings with
2696 * mh-customize.el (mh-edit-mhn-hook): Rename to
2698 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2699 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2700 and user-visible values from mhn and Gnus to MH and MML.
2701 (mh-before-send-letter-hook): Add 'ispell-message option.
2702 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2703 mh-pgp-support-flag.
2704 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2705 (mh-delete-yanked-msg-window-flag)
2706 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2707 (mh-letter-complete-function, mh-letter-fill-column)
2708 (mh-mml-method-default, mh-signature-file-name)
2709 (mh-signature-separator-flag, mh-x-face-file)
2710 (mh-yank-behavior, mail-citation-hook)
2711 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2714 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2715 provided for Emacs 21 environments that lack it.
2717 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2719 (mh-compose-forward): mh-mh-forward-message requires string arg.
2720 (mh-minibuffer-read-type): New function.
2721 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2722 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2723 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2724 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2725 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2726 Rename mh-mhn-compose-external-type to
2727 mh-mh-compose-external-type.
2728 (mh-mhn-compose-external-compressed-tar): Rename to
2729 mh-mh-compose-external-compressed-tar. Rename
2730 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2731 (mh-mhn-compose-external-type): Rename to
2732 mh-mh-compose-external-type.
2733 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2734 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2735 Use correct program in message.
2736 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2737 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2738 (mh-compose-forward, mh-mh-attach-file)
2739 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2740 (mh-mh-compose-external-type, mh-mh-forward-message)
2741 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2742 mh-minibuffer-read-type.
2743 (mh-mime-content-types): Move comment about only being used in
2744 Emacs 20 to docstring.
2745 (mh-mh-compose-external-type): Rename extra-param argument to
2747 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2748 (mh-mime-display-part, mh-mime-display-single): Rename
2749 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2750 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2752 (mh-compose-forward): Rename mh-mhn-compose-forw to
2753 mh-mh-forward-message.
2754 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2756 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2757 (mh-mh-attach-file, mh-mh-compose-type)
2758 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2759 (mh-mh-compose-external-compressed-tar)
2760 (mh-mh-compose-external-type, mh-mh-forward-message)
2761 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2762 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2763 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2764 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2765 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2766 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2767 Sync docstrings with manual.
2769 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2770 mh-pgp-support-flag.
2772 2005-10-17 Peter S Galbraith <psg@debian.org>
2774 * mh-identity.el (mh-identity-field-handler): Use
2775 `assoc-ignore-case' to compare against header field for mixed-case
2778 2005-10-17 Bill Wohler <wohler@newt.com>
2780 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2781 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2782 to mail/compose, fld_open to fld-open.
2783 (mh-letter-tool-bar-map): Rename image file mail_send to
2786 2005-10-16 Bill Wohler <wohler@newt.com>
2788 * mh-comp.el (mh-display-completion-list-compat): New macro which
2789 calls `display-completion-list' correctly in older environments.
2790 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2792 (mh-complete-word): Use it.
2794 * mh-init.el (mh-image-load-path): Use locate-library to find
2795 MH-E. This simplified the code a lot. Flattened out nested
2796 statements even more.
2798 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2800 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2801 causes a compiler warning.
2803 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2804 the message to be viewed (closes SF #1306141).
2806 2005-10-16 Masatake YAMATO <jet@gyve.org>
2808 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2809 of completion to `display-completion-list'.
2811 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2813 * mh-init.el (mh-image-load-path-called-flag): New variable which
2814 is used by mh-image-load-path so that it runs only once.
2815 (mh-image-load-path): Modify so that it gets run only once. Also
2816 flatten out heavily nested if statements to make it clearer.
2818 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2819 to find images used in the toolbar.
2821 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2823 2005-10-14 Bill Wohler <wohler@newt.com>
2825 * mh-e.el (Version, mh-version): Add +cvs to version.
2827 2005-10-14 Bill Wohler <wohler@newt.com>
2829 Released MH-E version 7.85.
2831 * mh-e.el (Version, mh-version): Update for release 7.85.
2833 2005-10-14 Bill Wohler <wohler@newt.com>
2835 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2836 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2837 need to be indented.
2839 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2840 but the code that invoked the face had not been updated. Tick
2841 highlighting working again.
2843 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2844 make-variable-buffer-local call to top level to avoid warnings in
2847 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2850 2005-10-09 Bill Wohler <wohler@newt.com>
2852 * mh-init.el (mh-image-load-path): New function that adds the path
2853 to the MH-E images to the image-load-path or load-path depending
2854 on the version of Emacs.
2856 * mh-customize.el: Call mh-image-load-path just before
2857 mh-tool-bar-define so that the toolbar images can be found.
2859 2005-10-04 Bill Wohler <wohler@newt.com>
2861 * ChangeLog: Move contents into ChangeLog.1 and trim.
2863 * ChangeLog.1: New file. Contains old ChangeLog.
2866 Copyright (C) 2005 Free Software Foundation, Inc.
2868 Copying and distribution of this file, with or without modification,
2869 are permitted in any medium without royalty provided the copyright
2870 notice and this notice are preserved.
2873 ;; sentence-end-double-space: nil
2874 ;; add-log-time-zone-rule: t
2877 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51