1 2006-06-20 Bill Wohler <wohler@newt.com>
3 Release MH-E version 8.0.1.
5 * mh-e.el (Version, mh-version): Update for release 8.0.1.
7 2006-06-15 Bill Wohler <wohler@newt.com>
9 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
10 suffix for folder names, as <> are illegal filenakme characters on
11 Windows (closes SF #1507002).
13 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
15 * mh-comp.el (mh-send-uses-spost): New variable.
16 (mh-send-letter): Do not use -msgid and -mime if
17 mh-send-uses-spost is t (closes SF #1486726).
19 2006-06-02 Bill Wohler <wohler@newt.com>
21 (mh-folder-exists-p): Change test from an empty buffer, to one
22 that contains the actual folder, since GNU mailutils' folder
23 command displays output if the folder doesn't exist (closes SF
26 2006-05-06 Bill Wohler <wohler@newt.com>
28 Release MH-E version 8.0.
30 * mh-e.el (Version, mh-version): Update for release 8.0.
32 2006-05-05 Bill Wohler <wohler@newt.com>
34 * mh-e.el: Update commentary.
36 2006-04-28 Bill Wohler <wohler@newt.com>
38 Release MH-E version 7.95.
40 * mh-e.el (Version, mh-version): Update for release 7.95.
42 2006-04-26 Eric Ding <ericding@alum.mit.edu>
44 * mh-e.el (mh-invisible-header-fields-internal): Add entry
47 2006-04-25 Bill Wohler <wohler@newt.com>
49 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
50 Folders returned by mh-folder-completion-function no longer need
51 adornment (closes SF #1476270).
53 2006-04-21 Bill Wohler <wohler@newt.com>
55 * mh-e.el (Version, mh-version): Add +cvs to version.
57 2006-04-21 Bill Wohler <wohler@newt.com>
59 Release MH-E version 7.94.
61 * mh-e.el (Version, mh-version): Update for release 7.94.
63 2006-04-21 Bill Wohler <wohler@newt.com>
65 * mh-letter.el (mh-insert-letter): If a message number isn't
66 given, throw an error rather than using a potentially incorrect
67 message number (closes SF #1473729). In addition, use the cur
68 message if mh-sent-from-msg is nil (when sending a message, in
69 contrast to replying). Move conversion of int to string into
70 interactive stanza so body can assume variables are of proper
73 2006-04-20 Bill Wohler <wohler@newt.com>
75 * mh-tool-bar.el (image-load-path): Define to shush compiler.
76 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
77 isn't used outside of it.
78 (mh-tool-bar-folder-buttons-init,
79 mh-tool-bar-letter-buttons-init): Update load-path/image-load-path
80 before setting buttons. This code used to be in
81 mh-folder-mode/mh-letter-mode but this was the wrong place since
82 mh-tool-bar-*-buttons-init can also be called when customizing the
84 (mh-tool-bar-update): New function which updates tool-bar-map in
85 all of the MH-E buffers after customizing the buttons (closes SF
87 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
88 Call it (closes SF #1452718).
90 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
91 mh-folder-tool-bar-map instead.
92 (image-load-path): Delete. No longer used.
93 (mh-folder-mode): Moved setting of image-load-path into
94 mh-tool-bar-folder-buttons-init.
96 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
97 mh-letter-tool-bar-map instead.
98 (image-load-path): Delete. No longer used.
99 (mh-letter-mode): Moved setting of image-load-path into
100 mh-tool-bar-letter-buttons-init.
102 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
103 instead of set-buffer.
105 2006-04-19 Bill Wohler <wohler@newt.com>
107 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
108 can permanently disable a button (such as a separator) with nil.
110 2006-04-18 Bill Wohler <wohler@newt.com>
112 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
113 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
114 (mh-min-colors-defined-flag): Do not unbind these macros and
115 variables. Nice idea, but too many nasty side-effects. These
116 macros are needed by [Cc]ustom-make-dependencies when creating the
117 MH-E customization groups in mh-cus-load.el. These disappeared
118 when the macros above were introduced. Besides, if a developer
119 were to try to show the help for a macro or variable they were
120 looking at and got [No match] when they did so, that would be bad.
122 2006-04-17 Bill Wohler <wohler@newt.com>
124 * mh-comp.el (mh-insert-x-mailer): Strip build number from
125 version in X-Mailer field (closes SF #1466481).
127 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
128 variables and functions with the same name are found correctly by
129 find-func (invoked by clicking on the filename link in the *Help*
131 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
132 * mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
133 (mh-defcustom): Rename to defcustom-mh. Ditto.
134 (mh-defface): Rename to defface-mh. Ditto.
135 (mh-font-lock-add-keywords): Make changes according to these
138 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
141 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
142 have been processed by mh-normalize-folder-name.
143 (mh-folder-completion-function): Handle completion of folders with
144 absolute names. Also, when flag is t, display complete folder name
145 to provide proper highlighting in Emacs 22 now that
146 minibuffer-completing-file-name is nil (closes SF #1470518).
147 (mh-folder-completing-read): No longer set
148 minibuffer-completing-file-name to t. This was causing "Can't set
149 current directory errors" when browsing absolute file names.
150 Another benefit of this change is that SPC can be used for
151 completion again (closes SF #1470518).
153 2006-04-15 Bill Wohler <wohler@newt.com>
155 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
157 2006-04-14 Bill Wohler <wohler@newt.com>
159 * mh-funcs.el (view-exit-action): No need to wrap defvar with
160 eval-when-compile when shushing compiler.
162 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
164 * mh-seq.el (view-exit-action): Ditto.
166 * mh-show.el (font-lock-auto-fontify): Ditto.
168 * mh-utils.el (mh-speed-flists-cache): Ditto
170 * mh-acros.el (struct, x, y): No need to wrap defvar with
171 eval-when-compile when shushing compiler, even when
172 mh-do-in-xemacs or another construct is used.
174 * mh-comp.el (sendmail-coding-system): Ditto.
176 * mh-e.el (mark-active): Ditto.
178 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
179 (image-load-path, font-lock-defaults): Ditto.
181 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
183 * mh-mime.el (dots, type, ov)
184 (mm-verify-function-alist, mm-decrypt-function-alist)
185 (pressed-details): Ditto.
187 * mh-search.el (pick-folder, mh-do-in-xemacs)
188 (mh-mairix-folder, mh-flists-search-folders)
189 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
191 * mh-seq.el (tool-bar-mode): Ditto.
193 * mh-utils.el (completion-root-regexp)
194 (minibuffer-completing-file-name): Ditto.
196 * mh-xface.el (default-enable-multibyte-characters): Ditto.
198 * mh-compat.el (mh-font-lock-add-keywords): New alias for
199 font-lock-add-keywords. Returns nil on XEmacs.
201 * mh-e.el: Add MH-E function and variable keywords such as
202 mh-defun-compat and mh-defcustom to font-lock-keywords.
204 2006-04-13 Bill Wohler <wohler@newt.com>
206 * mh-e.el (customize-package-emacs-version-alist)
207 (mh-e, mh-alias, mh-folder, mh-folder-selection)
208 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
209 (mh-scan-line-formats, mh-search, mh-sending-mail, )
210 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
211 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
212 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
213 (mh-alias-insert-file, mh-alias-insertion-location)
214 (mh-alias-local-users, mh-alias-local-users-prefix)
215 (mh-alias-passwd-gecos-comma-separator-flag)
216 (mh-new-messages-folders, mh-ticked-messages-folders)
217 (mh-large-folder, mh-recenter-summary-flag)
218 (mh-recursive-folders-flag, mh-sortm-args)
219 (mh-default-folder-for-message-function, )
220 (mh-default-folder-list, mh-default-folder-must-exist-flag)
221 (mh-default-folder-prefix, mh-identity-list)
222 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
223 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
224 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
225 (mh-junk-program, mh-compose-insertion)
226 (mh-compose-skipped-header-fields)
227 (mh-compose-space-does-completion-flag)
228 (mh-delete-yanked-msg-window-flag)
229 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
230 (mh-letter-complete-function, mh-letter-fill-column)
231 (mh-mml-method-default, mh-signature-file-name)
232 (mh-signature-separator-flag, mh-x-face-file, )
233 (mh-yank-behavior, mh-interpret-number-as-range-flag)
234 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
235 (mh-search-program, mh-compose-forward-as-mime-flag)
236 (mh-compose-letter-function, mh-compose-prompt-flag)
237 (mh-forward-subject-format, mh-insert-x-mailer-flag)
238 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
239 (mh-reply-show-message-flag, )
240 (mh-refile-preserves-sequences-flag, mh-tick-seq)
241 (mh-update-sequences-after-mh-show-flag)
242 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
243 (mh-decode-mime-flag, )
244 (mh-display-buttons-for-alternatives-flag)
245 (mh-display-buttons-for-inline-parts-flag)
246 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
247 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
248 (mh-highlight-citation-style, mh-invisible-header-fields)
249 (mh-invisible-header-fields-default, mh-lpr-command-format)
250 (mh-max-inline-image-height, mh-max-inline-image-width)
251 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
252 (mh-print-background-flag, mh-show-maximum-size)
253 (mh-show-use-xface-flag, mh-store-default-directory)
254 (mh-summary-height, mh-speed-update-interval)
255 (mh-show-threads-flag, mh-tool-bar-search-function)
256 (mh-defcustom, mh-after-commands-processed-hook)
257 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
258 (mh-before-quit-hook, mh-before-send-letter-hook)
259 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
260 (mh-forward-hook, mh-inc-folder-hook, )
261 (mh-insert-signature-hook, )
262 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
263 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
264 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
265 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
266 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
267 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
268 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
269 (mh-folder-subject, mh-folder-tick, mh-folder-to)
270 (mh-letter-header-field, mh-search-folder, mh-show-cc)
271 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
272 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
273 (mh-show-subject, mh-show-to, mh-show-xface, )
274 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
275 (mh-speedbar-selected-folder)
276 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
277 notation in :package-version keyword.
279 2006-04-07 Bill Wohler <wohler@newt.com>
281 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
282 :package-version keyword.
284 2006-03-31 Bill Wohler <wohler@newt.com>
286 * mh-e.el (mh-strip-package-version): Move before use to avoid
287 compiler error. Make macro, also to avoid compiler error.
288 (mh-defface-compat): Incorporate body into mh-face-data and
291 2006-03-30 Bill Wohler <wohler@newt.com>
293 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
294 remove new :package-version keyword in older settings.
295 (customize-package-emacs-version-alist): Add MH-E version to Emacs
297 (mh-e, mh-alias, mh-folder, mh-folder-selection)
298 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
299 (mh-scan-line-formats, mh-search, mh-sending-mail)
300 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
301 (mh-hooks, mh-faces): Add :package-version keyword to these
302 groups (closes SF #1452724).
303 (mh-alias-completion-ignore-case-flag)
304 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
305 (mh-alias-insert-file, mh-alias-insertion-location)
306 (mh-alias-local-users, mh-alias-local-users-prefix)
307 (mh-alias-passwd-gecos-comma-separator-flag)
308 (mh-new-messages-folders, mh-ticked-messages-folders)
309 (mh-large-folder, mh-recenter-summary-flag)
310 (mh-recursive-folders-flag, mh-sortm-args)
311 (mh-default-folder-for-message-function)
312 (mh-default-folder-list, mh-default-folder-must-exist-flag)
313 (mh-default-folder-prefix, mh-identity-list)
314 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
315 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
316 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
317 (mh-junk-program, mh-compose-insertion)
318 (mh-compose-skipped-header-fields)
319 (mh-compose-space-does-completion-flag)
320 (mh-delete-yanked-msg-window-flag)
321 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
322 (mh-letter-complete-function, mh-letter-fill-column)
323 (mh-mml-method-default, mh-signature-file-name)
324 (mh-signature-separator-flag, mh-x-face-file)
325 (mh-yank-behavior, mh-interpret-number-as-range-flag)
326 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
327 (mh-search-program, mh-compose-forward-as-mime-flag)
328 (mh-compose-letter-function, mh-compose-prompt-flag)
329 (mh-forward-subject-format, mh-insert-x-mailer-flag)
330 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
331 (mh-reply-show-message-flag)
332 (mh-refile-preserves-sequences-flag, mh-tick-seq)
333 (mh-update-sequences-after-mh-show-flag)
334 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
335 (mh-decode-mime-flag)
336 (mh-display-buttons-for-alternatives-flag)
337 (mh-display-buttons-for-inline-parts-flag)
338 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
339 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
340 (mh-highlight-citation-style, mh-invisible-header-fields)
341 (mh-invisible-header-fields-default, mh-lpr-command-format)
342 (mh-max-inline-image-height, mh-max-inline-image-width)
343 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
344 (mh-print-background-flag, mh-show-maximum-size)
345 (mh-show-use-xface-flag, mh-store-default-directory)
346 (mh-summary-height, mh-speed-update-interval)
347 (mh-show-threads-flag, mh-tool-bar-search-function): Add
348 :package-version keyword to these options (closes SF #1452724).
349 (mh-after-commands-processed-hook)
350 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
351 (mh-before-quit-hook, mh-before-send-letter-hook)
352 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
353 (mh-forward-hook, mh-inc-folder-hook)
354 (mh-insert-signature-hook)
355 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
356 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
357 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
358 (mh-unseen-updated-hook): Add :package-version keyword to these
359 hooks (closes SF #1452724).
360 (mh-min-colors-defined-flag)
361 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
362 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
363 (mh-folder-msg-number, mh-folder-refiled)
364 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
365 (mh-folder-subject, mh-folder-tick, mh-folder-to)
366 (mh-letter-header-field, mh-search-folder, mh-show-cc)
367 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
368 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
369 (mh-show-subject, mh-show-to, mh-show-xface)
370 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
371 (mh-speedbar-selected-folder)
372 (mh-speedbar-selected-folder-with-unseen-messages): : Add
373 :package-version keyword to these faces (closes SF #1452724).
375 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
376 :package-version keywords (closes SF #1452724).
378 2006-03-28 Bill Wohler <wohler@newt.com>
380 * mh-tool-bar.el: Use clipboard-kill-region,
381 clipboard-kill-ring-save, and clipboard-yank instead of undo,
382 kill-region, and menu-bar-kill-ring-save respectively. In
383 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
384 front of mh-compose-insertion to be consistent with other mailers,
385 such as Evolution. In MH-Folder mode, move vanilla reply icon to
386 the left of the other reply icons. Use mail/inbox icon instead of
387 mail, next-page instead of page-down, delete instead of close,
388 mail/move instead of mail/refile, data-save instead of execute,
389 mail/flag-for-followup instead of highlight, contact instead of
390 mail/alias, open instead of fld-open, zoom-out instead of widen.
392 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
393 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
395 2006-03-27 Eric Ding <ericding@alum.mit.edu>
397 * mh-e.el (mh-invisible-header-fields-internal): Add entries
398 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
400 2006-03-19 Bill Wohler <wohler@newt.com>
402 * mh-comp.el (mh-reply): Sync docstring with manual.
404 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
407 2006-03-17 Bill Wohler <wohler@newt.com>
409 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
412 2006-03-16 Bill Wohler <wohler@newt.com>
414 * mh-comp.el (mh-send-letter): Use split-string to break up
415 mh-send-args (closes SF #1448604).
416 (mh-compose-and-send-mail): Use run-hook-with-args for
417 mh-compose-letter-function.
419 * mh-e.el (mh-list-to-string-1): Use dolist.
421 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
424 2006-03-15 Bill Wohler <wohler@newt.com>
426 * mh-compat.el (mh-image-load-path-for-library): Fix example by
427 not recommending that one binds image-load-path. Just defvar it to
428 placate compiler and only use it if previously defined.
430 * mh-e.el (image-load-path): Don't bind!
432 * mh-folder.el (mh-folder-mode): Only use image-load-path if
435 * mh-letter.el (mh-letter-mode): Ditto.
437 * mh-utils.el (mh-logo-display): Ditto.
439 2006-03-14 Bill Wohler <wohler@newt.com>
441 * mh-compat.el (mh-image-load-path-for-library): Incorporate
442 changes from image-load-path-for-library, which are:
443 (image-load-path-for-library): Pass value of path rather than
444 symbol. Always return list of directories. Guarantee that image
445 directory comes first.
447 * mh-e.el (image-load-path): Define on those Emacsen that lack it
448 to avoid compile and run-time errors.
450 * mh-folder.el (mh-folder-mode): Use new idiom for setting
453 * mh-letter.el (mh-letter-mode): Ditto.
455 * mh-utils.el (mh-logo-display): Ditto.
457 2006-03-12 Bill Wohler <wohler@newt.com>
459 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
462 2006-03-10 Bill Wohler <wohler@newt.com>
464 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
465 flag to replace-in-string. This was badly needed by
466 mh-quote-pick-expr in order to properly quote subjects when using
467 / s on XEmacs (closes SF #1447598).
468 (mh-image-load-path-for-library): Merged changes from Reiner. Add
469 no-error argument. If path t, just return directory.
471 * mh-e.el (mh-profile-component): Drop `s' from mhparam
472 -components for Mailutils compatibility (closes SF #1446985).
474 2006-03-06 Bill Wohler <wohler@newt.com>
476 * mh-e.el (Version, mh-version): Add +cvs to version.
478 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
480 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
481 handling of duplicate messages. The test in cond was too strong
482 and wasn't catching the case where origin-map was nil.
484 2006-03-05 Bill Wohler <wohler@newt.com>
486 Release MH-E version 7.93.
488 * mh-e.el (Version, mh-version): Update for release 7.93.
490 2006-03-05 Bill Wohler <wohler@newt.com>
492 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
493 calling mh-image-load-path-for-library since this is the default.
495 * mh-letter.el (mh-letter-mode): Ditto.
497 * mh-utils.el (mh-logo-display): Ditto.
499 2006-03-04 Bill Wohler <wohler@newt.com>
501 * mh-compat.el (mh-image-load-path-for-library): Move here from
502 mh-utils.el and wrap with mh-defun-compat since this function will
503 be soon added to image.el.
505 * mh-utils.el (mh-image-load-path-for-library): Move to
507 (mh-normalize-folder-name): Add return-nil-if-folder-empty
508 argument which is useful when calling mh-normalize-folder-name to
509 process the folder argument for the folders command.
510 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
511 this function more robust. It could too easily list the folders in
513 (mh-folder-list): Fix a couple of problems pointed out by Thomas
514 Baumann. Set folder to nil if empty. Don't append "/" if folder
517 2006-03-03 Bill Wohler <wohler@newt.com>
519 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
520 mh-image-load-path-for-library.
522 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
523 mh-image-load-path-for-library.
525 * mh-utils.el (mh-image-load-path): Rename to
526 mh-image-load-path-for-library. Add example to docstring. Rename
527 local variable mh-image-directory to image-directory. Move error
528 checks to default case in cond and simplify.
530 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
531 docstrings with manual.
533 2006-03-02 Bill Wohler <wohler@newt.com>
535 * mh-folder.el (mh-tool-bar-init): Autoload.
536 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
537 Set scoped variables image-load-path and load-path with updated
538 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
540 * mh-letter.el (mh-tool-bar-init): Autoload.
541 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
542 Set scoped variables image-load-path and load-path with updated
543 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
545 * mh-show.el (mh-tool-bar-init): Autoload.
546 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
549 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
550 messages per conventions.
551 (mh-tool-bar-folder-buttons-init)
552 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
553 (mh-tool-bar-define call): Format.
555 * mh-utils.el (mh-image-directory)
556 (mh-image-load-path-called-flag): Delete.
557 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
558 changes are that it no longer uses/sets mh-image-directory or
559 mh-image-load-path-called-flag, and returns the updated path
560 rather than change it.
561 (mh-logo-display): Change usage of mh-image-load-path.
563 2006-02-28 Bill Wohler <wohler@newt.com>
565 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
566 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
567 to subjects with special characters by quoting regular expression
568 characters in pick expression derived from existing subjects and
569 other fields (closes SF #1432548).
570 (mh-narrow-to-subject): Remove Re: string from subject so that
571 pick can find originating message (closes SF #1438369).
573 * mh-utils.el (mh-image-load-path): Rename variable to
575 (mh-image-load-path): Access mh-image-directory instead of
577 (mh-folder-list): Fix problem with passing in a folder and getting
578 nothing back. Fix problem with passing in empty string and getting
579 the entire filesystem (or infinite loop). Don't append slash to
580 folder. These fixes fix problems observed with the pick search.
581 Thanks to Thomas Baumann for the help (closes SF #1435381).
582 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
583 function for quoting pick regular expression characters (closes SF
586 2006-02-27 Bill Wohler <wohler@newt.com>
588 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
591 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
592 docstring about obsolete variable mh-mime-content-types.
594 * mh-e.el (mh-variant): Sync docstring with manual.
595 (cus-face): Require as it is needed by mh-inherit-face-flag.
597 * mh-compat.el (mh-display-color-cells): Return 2 if
598 device-color-cells returns nil (closes SF #1436924).
600 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
601 mh-display-color-cells.
603 2006-02-21 Eric Ding <ericding@alum.mit.edu>
605 * mh-e.el (mh-invisible-header-fields-internal): Add entry
608 2006-02-20 Eric Ding <ericding@alum.mit.edu>
610 * mh-e.el (mh-invisible-header-fields-internal): Add entries
611 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
612 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
613 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
614 "X-Roving-" by removing unnecessary "*" at end.
616 2006-02-19 Bill Wohler <wohler@newt.com>
618 * mh-alias.el (mh-address-mail-regexp)
619 (mh-goto-address-find-address-at-point): Delete copies from
621 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
622 mh-address-mail-regexp.
623 (mh-alias-add-address-under-point): Use
624 goto-address-find-address-at-point instead of
625 mh-goto-address-find-address-at-point.
627 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
629 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
631 (mh-show-addr): Call goto-address unconditionally. User should use
632 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
634 2006-02-18 Bill Wohler <wohler@newt.com>
636 * mh-e.el (Version, mh-version): Add +cvs to version.
638 2006-02-18 Bill Wohler <wohler@newt.com>
640 Release MH-E version 7.92.
642 * mh-e.el (Version, mh-version): Update for release 7.92.
644 2006-02-17 Bill Wohler <wohler@newt.com>
646 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
647 backgrounds per Mark's suggestion.
649 * mh-utils.el (mh-image-load-path): Fix problem that images on
650 load-path or image-load-path would win over relative paths (newer
651 MH-E or Emacs distribution).
653 2006-02-16 Bill Wohler <wohler@newt.com>
655 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
656 the defface :inherit keyword is available.
657 (mh-face-data): New variable (contains all face specs) and
659 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
660 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
661 (mh-folder-msg-number, mh-folder-refiled)
662 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
663 (mh-folder-subject, mh-folder-tick, mh-folder-to)
664 (mh-search-folder, mh-letter-header-field, mh-show-cc)
665 (mh-show-date, mh-show-from)
666 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
667 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
668 (mh-show-to, mh-show-xface, mh-speedbar-folder)
669 (mh-speedbar-folder-with-unseen-messages)
670 (mh-speedbar-selected-folder)
671 (mh-speedbar-selected-folder-with-unseen-messages): Use
674 * mh-utils.el (mh-image-load-path): The variables image-load-path
675 or load-path would not get updated if user set mh-image-load-path.
676 Moved tests and add-to-list calls outside of cond so they are
677 applied consistently, even if they are redundant in some
678 circumstances. Efficiency isn't a concern here. Made error
679 messages more user-friendly.
681 2006-02-15 Peter S Galbraith <psg@debian.org>
683 * mh-compat.el (mh-image-search-load-path): Compatibility code.
684 Emacs 21 and XEmacs don't have `image-search-load-path'.
686 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
687 images are already found.
689 2006-02-10 Bill Wohler <wohler@newt.com>
691 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
692 rather than use defun*. XEmacs cannot create a proper autoload for
695 2006-02-09 Bill Wohler <wohler@newt.com>
697 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
698 that causes an infinite loop on XEmacs.
700 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
703 2006-02-08 Peter S Galbraith <psg@debian.org>
705 * mh-e.el (mh-invisible-header-fields-internal): Added entries
706 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
708 2006-02-04 Bill Wohler <wohler@newt.com>
710 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
711 has an emacsclient command that supports --eval. I had read that
712 gnudoit was deprecated in favor of gnuclient anyway.
714 2006-02-04 Eric Ding <ericding@alum.mit.edu>
716 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
717 handle OpenOffice documents.
719 2006-02-03 Bill Wohler <wohler@newt.com>
721 * mh-e.el (Version, mh-version): Add +cvs to version.
723 2006-02-03 Bill Wohler <wohler@newt.com>
725 Release MH-E version 7.91.
727 * mh-e.el (Version, mh-version): Update for release 7.91.
729 2006-02-03 Bill Wohler <wohler@newt.com>
731 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
732 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
733 of local variable mh-library-name.
735 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
736 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
737 88) with (min-colors 64) in face specifications so that MH-E still
738 looks good on systems with fewer colors (such as Eric Ding's).
740 2006-02-03 Peter S Galbraith <psg@debian.org>
742 * mh-utils.el (mh-image-load-path): New variable to optionally
743 hold the directory where MH-E images are stored. If nil, then
744 the function `mh-image-load-path' will find it. This variable
745 will be used for Debian packaging.
746 (mh-image-load-path function): Use variable `mh-image-load-path'
747 if non-nil and exists.
749 2006-02-03 Mark D. Baushke <mdb@gnu.org>
751 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
752 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
753 errors if describe-bindings is called before tool-bar-mode is used.
755 2006-02-03 Peter S Galbraith <psg@debian.org>
757 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
758 `mh-url-unresrved-chars'.
760 2006-02-02 Bill Wohler <wohler@newt.com>
762 * mh-e.el (Version, mh-version): Add +cvs to version.
764 2006-02-02 Bill Wohler <wohler@newt.com>
766 Release MH-E version 7.90.
768 * mh-e.el (Version, mh-version): Update for release 7.90.
770 2006-02-01 Bill Wohler <wohler@newt.com>
772 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
774 * mh-alias.el (mh-alias-gecos-name): Use
775 mh-replace-regexp-in-string instead of replace-regexp-in-string.
776 (crm, multi-prompt): Use mh-require instead of require.
777 (mh-goto-address-find-address-at-point): Use
778 mh-line-beginning-position and mh-line-end-position instead of
779 line-beginning-position and line-end-position. Use
780 mh-match-string-no-properties instead of
781 match-string-no-properties.
783 * mh-comp.el (mh-modify-header-field): Use
784 mh-line-beginning-position and mh-line-end-position instead of
785 line-beginning-position and line-end-position.
787 * mh-compat.el (mailabbrev): Use mh-require instead of require.
788 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
789 (mh-face-background): Make docstring consistent.
790 (mh-require, mh-cancel-timer, mh-display-color-cells)
791 (mh-line-beginning-position, mh-line-end-position)
792 (mh-match-string-no-properties, mh-replace-regexp-in-string)
793 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
794 add mh- prefix since compatibility functions should have our
795 package prefix (mh-) by Emacs convention and to avoid messing up
796 checks for the same functions in other packages.
798 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
799 from mh-xemacs.el and rename.
800 (mh-xargs): Use mh-line-beginning-position and
801 mh-line-end-position instead of line-beginning-position and
803 (mh-defface-compat): Use mh-display-color-cells instead of
806 * mh-folder.el (which-func): Use mh-require instead of require.
808 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
811 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
812 mh-require instead of require.
814 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
815 (mh-letter-next-header-field): Use mh-line-beginning-position and
816 mh-line-end-position instead of line-beginning-position and
819 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
820 mh-match-string-no-properties instead of
821 match-string-no-properties.
822 (mh-narrow-to-header-field): Use mh-line-beginning-position and
823 mh-line-end-position instead of line-beginning-position and
826 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
827 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
828 mh-line-beginning-position and mh-line-end-position instead of
829 line-beginning-position and line-end-position.
831 * mh-search.el (which-func): Use mh-require instead of require.
832 (mh-make-pick-template, mh-index-visit-folder)
833 (mh-pick-parse-search-buffer, mh-swish-next-result)
834 (mh-mairix-next-result, mh-namazu-next-result)
835 (mh-pick-next-result, mh-grep-next-result)
836 (mh-index-create-imenu-index, mh-index-match-checksum)
837 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
838 mh-line-beginning-position and mh-line-end-position instead of
839 line-beginning-position and line-end-position.
841 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
843 (mh-folder-size-flist, mh-parse-flist-output-line)
844 (mh-add-sequence-notation): Use mh-line-beginning-position and
845 mh-line-end-position instead of line-beginning-position and
848 * mh-show.el (mh-show-addr): Use mh-require instead of require.
850 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
851 (mh-speed-view, mh-folder-speedbar-buttons)
852 (mh-speed-highlight, mh-speed-goto-folder)
853 (mh-speed-add-buttons, mh-speed-parse-flists-output)
854 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
855 (mh-speed-add-folder): Use mh-line-beginning-position and
856 mh-line-end-position instead of line-beginning-position and
858 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
860 * mh-thread.el (mh-thread-find-children)
861 (mh-thread-parse-scan-line, mh-thread-generate): Use
862 mh-line-beginning-position and mh-line-end-position instead of
863 line-beginning-position and line-end-position.
865 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
866 instead of display-color-cells.
867 (mh-folder-list): Use mh-replace-regexp-in-string instead of
868 replace-regexp-in-string.
869 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
870 Use mh-line-beginning-position and mh-line-end-position instead of
871 line-beginning-position and line-end-position.
873 * mh-comp.el (mh-send-sub): Don't find components file in current
874 directory--this seems to have been a side-effect of commenting out
875 the use of an old mh-etc variable. Improve error message.
877 2006-01-31 Bill Wohler <wohler@newt.com>
879 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
880 argument since compatibility functions should have our package
881 prefix (mh-) by Emacs convention and to avoid messing up checks
882 for the same functions in other packages. Use explicit argument
883 instead of forming name by adding mh- prefix so that one can grep
884 and find the definition.
886 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
887 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
888 mh-assoc-string instead of assoc-string.
890 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
891 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
892 here from mh-utils.el.
893 (mh-display-completion-list): Move here from mh-comp.el.
894 (mh-face-foreground, mh-face-background): Move here from
896 (mh-write-file-functions): Move here from mh-folder.el
898 * mh-folder.el (mh-write-file-functions-compat): Move to
899 mh-compat.el and rename to mh-write-file-functions.
900 (mh-folder-mode): Use the new name.
902 * mh-gnus.el (gnus-local-map-property): Rename to
903 mh-gnus-local-map-property.
904 (mm-merge-handles): Rename to mh-mm-merge-handles.
905 (mm-set-handle-multipart-parameter): Rename to
906 mh-mm-set-handle-multipart-parameter.
907 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
908 (mm-possibly-verify-or-decrypt): Rename to
909 mh-mm-possibly-verify-or-decrypt.
910 (mm-handle-multipart-ctl-parameter): Rename to
911 mh-mm-handle-multipart-ctl-parameter.
912 (mm-readable-p): Rename to mh-mm-readable-p.
913 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
914 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
915 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
916 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
917 (mml-minibuffer-read-disposition): Rename to
918 mh-mml-minibuffer-read-disposition.
920 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
921 instead of assoc-string.
923 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
924 (mh-mime-display, mh-mime-display-security)
925 (mh-insert-mime-button, mh-insert-mime-security-button)
926 (mh-handle-set-external-undisplayer)
927 (mh-mime-security-press-button, mh-mime-security-show-details)
928 (mh-mml-attach-file, mh-mime-cleanup)
929 (mh-destroy-postponed-handles): Use new mh-* names for
930 compatibility functions.
932 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
933 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
934 (mh-beginning-of-word): Use the new name.
935 (mh-get-field): Delete ancient alias.
937 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
938 and rename to mh-face-foreground
939 (mh-face-background-compat): Move to mh-compat.el
940 and rename to mh-face-background.
941 (mh-face-display-function): Use the new names.
942 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
943 instead of url-hexify-string.
944 (url-unreserved-chars): Move to mh-compat.el and rename to
945 mh-url-unreserved-chars.
946 (url-hexify-string): Move to mh-compat.el and rename to
947 mh-url-hexify-string.
949 * mh-letter.el (mh-complete-word): Fix bug in call to
950 mh-display-completion-list. Wrong argument was passed, so
951 completions wouldn't show highlighted prefix.
953 2006-01-29 Bill Wohler <wohler@newt.com>
955 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
956 mh-adaptive-cmd-note-flag.
958 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
959 docstring. sc-cite-original is autoloaded via loaddefs.el for all
960 supported versions. In addition, the package name "sc" has been
961 made obsolete by "supercite since at least Emacs 21.
963 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
964 revealed character constants that were still strings (closes SF
967 * mh-comp.el (mh-letter-hide-all-skipped-fields)
968 (mh-get-header-field): Move to mh-utils.el so that you can read
969 messages without having to load mh-comp.el and mh-letter.el.
971 * mh-letter.el (mh-hidden-header-keymap)
972 (mh-letter-toggle-header-field-display)
973 (mh-letter-skipped-header-field-p)
974 (mh-letter-skip-leading-whitespace-in-header-field)
975 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
976 can read messages without having to load mh-comp.el and
979 * mh-utils.el (mh-get-header-field)
980 (mh-letter-hide-all-skipped-fields)
981 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
982 (mh-letter-toggle-header-field-display)
983 (mh-letter-skip-leading-whitespace-in-header-field)
984 (mh-letter-truncate-header-field): Move here from mh-comp.el and
985 mh-letter.el so that you can read messages without having to load
986 mh-comp.el and mh-letter.el.
988 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
989 least, will deliver them to us.
991 * mh-e.el (mh-after-commands-processed-hook)
992 (mh-before-commands-processed-hook): Specify what sort of requests
995 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
998 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1000 (mh-letter-mode): Remove Mail menu.
1002 2006-01-29 Bill Wohler <wohler@newt.com>
1005 Remove circular dependencies. mh-e.el now includes few require
1006 statements and stands alone. Other files should need to require
1007 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1009 Remove unneeded require statements.
1010 Remove unneeded load statements, or replace them with non-fatal
1012 Break out components into their own files that were often spread
1014 As a result, many functions that are now only used within a single
1015 file no longer need to be autoloaded.
1016 Rearrange and provide consistent headings.
1019 * mh-acros.el: Update commentary to reflect current usage. Add
1020 autoload cookies to all macros.
1021 (mh-require-cl): Merge docstring and comment.
1022 (mh-do-in-xemacs): Fix typo in docstring.
1023 (assoc-string): Move to new file mh-compat.el.
1024 (with-mh-folder-updating, mh-in-show-buffer)
1025 (mh-do-at-event-location, mh-seq-msgs): Move here from
1027 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1030 * mh-alias.el (mh-address-mail-regexp)
1031 (mh-goto-address-find-address-at-point): Move here from
1033 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1035 * mh-buffers.el: Update descriptive text.
1037 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1038 new file mh-scan.el.
1039 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1040 (mh-letter-menu, mh-letter-mode-help-messages)
1041 (mh-letter-buttons-init-flag, mh-letter-mode)
1042 (mh-font-lock-field-data, mh-letter-header-end)
1043 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1044 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1045 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1046 (mh-filter-out-non-text, mh-insert-prefix-string)
1047 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1048 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1049 (mh-letter-complete, mh-letter-complete-or-space)
1050 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1051 (mh-letter-next-header-field-or-indent)
1052 (mh-letter-next-header-field, mh-letter-previous-header-field)
1053 (mh-letter-skipped-header-field-p)
1054 (mh-letter-skip-leading-whitespace-in-header-field)
1055 (mh-hidden-header-keymap)
1056 (mh-letter-toggle-header-field-display-button)
1057 (mh-letter-toggle-header-field-display)
1058 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1060 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1061 (mh-pgp-support-flag, mh-x-mailer-string)
1062 (mh-letter-header-field-regexp): Move to mh-e.el.
1063 (mh-goto-header-field, mh-goto-header-end)
1064 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1066 (mh-insert-header-separator): Move to mh-comp.el.
1067 (mh-display-completion-list-compat): Move to new file
1070 * mh-compat.el: New file.
1071 (assoc-string): Move here from mh-acros.el.
1072 (mh-display-completion-list): Move here from mh-comp.el.
1074 * mh-customize.el: Move content into mh-e.el and remove.
1076 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1077 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1078 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1079 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1080 declared here so that they can be used in docstrings.
1081 (mh-sent-from-folder, mh-sent-from-msg)
1082 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1083 (mh-x-mailer-string): Move here from mh-comp.el.
1084 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1085 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1086 here from mh-seq.el.
1087 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1088 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1089 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1090 (mh-show-folder-buffer, mh-mail-header-separator)
1091 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1092 (mh-signature-separator, mh-signature-separator-regexp)
1093 (mh-list-to-string, mh-list-to-string-1): Move here from
1095 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1096 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1097 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1098 (mh-exec-cmd-output)
1099 (mh-exchange-point-and-mark-preserving-active-mark)
1100 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1101 deprecated file mh-exec.el.
1102 (mh-path): Move here from deprecated file mh-customize.el.
1103 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1104 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1105 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1106 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1107 (mh-profile-component-value, mh-defface-compat): Move here from
1108 deprecated file mh-init.el.
1109 (mh-goto-next-button, mh-folder-mime-action)
1110 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1111 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1113 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1114 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1115 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1116 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1117 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1118 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1119 (mh-scan-cmd-note-width, mh-scan-destination-width)
1120 (mh-scan-date-width, mh-scan-date-flag-width)
1121 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1122 (mh-scan-field-destination-offset)
1123 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1124 (mh-scan-field-subject-start-offset, mh-scan-format)
1125 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1127 (mh-partial-folder-mode-line-annotation)
1128 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1129 (mh-generate-sequence-font-lock, mh-last-destination)
1130 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1131 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1132 (mh-execute-commands, mh-first-msg, mh-header-display)
1133 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1134 (mh-folder-from-address, mh-prompt-for-refile-folder)
1135 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1136 (mh-previous-page, mh-previous-undeleted-msg)
1137 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1138 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1139 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1140 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1141 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1142 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1143 (mh-folder-sequence-menu, mh-folder-message-menu)
1144 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1145 (mh-write-file-functions-compat, mh-folder-mode)
1146 (mh-restore-desktop-buffer, mh-scan-folder)
1147 (mh-regenerate-headers, mh-generate-new-cmd-note)
1148 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1149 (mh-process-or-undo-commands, mh-process-commands)
1150 (mh-update-unseen, mh-delete-scan-msgs)
1151 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1152 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1153 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1154 (mh-lessp): Move to mh-utils.el.
1155 (mh-parse-flist-output-line, mh-folder-size-folder)
1156 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1157 (mh-remove-sequence-notation, mh-remove-cur-notation)
1158 (mh-remove-all-notation, mh-delete-seq-locally)
1159 (mh-read-folder-sequences, mh-read-msg-list)
1160 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1161 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1162 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1163 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1165 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1166 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1167 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1168 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1169 (mh-faces, mh-alias-completion-ignore-case-flag)
1170 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1171 (mh-alias-insert-file, mh-alias-insertion-location)
1172 (mh-alias-local-users, mh-alias-local-users-prefix)
1173 (mh-alias-passwd-gecos-comma-separator-flag)
1174 (mh-new-messages-folders, mh-ticked-messages-folders)
1175 (mh-large-folder, mh-recenter-summary-flag)
1176 (mh-recursive-folders-flag, mh-sortm-args)
1177 (mh-default-folder-for-message-function, mh-default-folder-list)
1178 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1179 (mh-identity-list, mh-auto-fields-list)
1180 (mh-auto-fields-prompt-flag, mh-identity-default)
1181 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1182 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1183 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1184 (mh-compose-insertion, mh-compose-skipped-header-fields)
1185 (mh-compose-space-does-completion-flag)
1186 (mh-delete-yanked-msg-window-flag)
1187 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1188 (mh-letter-complete-function, mh-letter-fill-column)
1189 (mh-mml-method-default, mh-signature-file-name)
1190 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1191 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1192 (mh-scan-format-file-check, mh-scan-format-file)
1193 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1194 (mh-search-program, mh-compose-forward-as-mime-flag)
1195 (mh-compose-letter-function, mh-compose-prompt-flag)
1196 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1197 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1198 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1199 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1200 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1201 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1202 (mh-display-buttons-for-inline-parts-flag)
1203 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1204 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1205 (mh-highlight-citation-style)
1206 (mh-invisible-header-fields-internal)
1207 (mh-delay-invisible-header-generation-flag)
1208 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1209 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1210 (mh-lpr-command-format, mh-max-inline-image-height)
1211 (mh-max-inline-image-width, mh-mhl-format-file)
1212 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1213 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1214 (mh-show-use-xface-flag, mh-store-default-directory)
1215 (mh-summary-height, mh-speed-update-interval)
1216 (mh-show-threads-flag, mh-tool-bar-search-function)
1217 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1218 (mh-before-commands-processed-hook, mh-before-quit-hook)
1219 (mh-before-send-letter-hook, mh-delete-msg-hook)
1220 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1221 (mh-inc-folder-hook, mh-insert-signature-hook)
1222 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1223 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1224 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1225 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1226 (mh-folder-address, mh-folder-body)
1227 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1228 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1229 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1230 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1231 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1232 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1233 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1234 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1235 (mh-speedbar-folder-with-unseen-messages)
1236 (mh-speedbar-selected-folder)
1237 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1238 deprecated file mh-customize.el.
1240 * mh-exec.el: Move content into mh-e.el and remove.
1242 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
1244 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1246 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1248 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1249 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1250 to mail-abbrev-make-syntax-table.
1252 * mh-identity.el (mh-identity-menu): New variable for existing
1254 (mh-identity-make-menu-no-autoload): New alias for
1255 mh-identity-make-menu which can be called from mh-e.el.
1256 (mh-identity-list-set): Move to mh-e.el.
1257 (mh-identity-add-menu): New function
1258 (mh-insert-identity): Add optional argument maybe-insert so that
1259 local variable mh-identity-local does not have to be visible.
1260 (mh-identity-handler-default):
1262 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1263 rest of keymaps). Update key binding for ? to call mh-help with
1264 help messages in new argument.
1265 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1266 which can be called from mh-e.el.
1267 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1269 * mh-init.el: Move content into mh-e.el and remove.
1271 * mh-junk.el: Update requires, untabify, and add mh-autoload
1274 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1276 * mh-limit.el: New file. Contains display limit commands from
1279 * mh-mime.el: Rearrange for consistency with other files.
1280 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1282 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1283 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1284 (mh-goto-next-button): Move here from mh-e.el.
1286 * mh-print.el: Rearrange for consistency with other files.
1288 * mh-scan.el: New file. Contains scan line constants and utilities
1289 from XXX, mh-funcs, mh-utils.el.
1291 * mh-search.el: Rearrange for consistency with other files.
1292 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
1293 fields which don't exist in the saved header. Replace C-c C-f f
1294 with C-c C-f m per mail-mode consistency.
1295 (mh-search-mode): Use mh-set-help instead of setting
1298 * mh-seq.el (mh-thread-message, mh-thread-container)
1299 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1300 (mh-thread-id-index-map, mh-thread-index-id-map)
1301 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1302 (mh-thread-subject-container-hash, mh-thread-duplicates)
1303 (mh-thread-history, mh-thread-body-width)
1304 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1305 (mh-thread-initialize, mh-thread-id-container)
1306 (mh-thread-remove-parent-link, mh-thread-add-link)
1307 (mh-thread-ancestor-p, mh-thread-get-message-container)
1308 (mh-thread-get-message, mh-thread-canonicalize-id)
1309 (mh-thread-prune-subject, mh-thread-container-subject)
1310 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1311 (mh-thread-sort-containers, mh-thread-group-by-subject)
1312 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1313 (mh-thread-update-id-index-maps, mh-thread-generate)
1314 (mh-thread-inc, mh-thread-generate-scan-lines)
1315 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1316 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1317 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1318 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1319 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1320 (mh-thread-ancestor, mh-thread-find-children)
1321 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
1322 to new file mh-thread.el.
1323 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1324 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1325 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1326 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1327 (mh-current-message-header-field, mh-narrow-to-range)
1328 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1330 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1332 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1333 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1334 (mh-define-sequence, mh-undefine-sequence)
1335 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1336 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1337 (mh-parse-flist-output-line, mh-read-folder-sequences)
1338 (mh-read-msg-list, mh-notate-user-sequences)
1339 (mh-remove-cur-notation, mh-add-sequence-notation)
1340 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1342 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1343 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1345 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
1347 * mh-speed.el: Rearrange for consistency with other files.
1349 * mh-thread.el: New file. Contains threading code from mh-seq.el.
1351 * mh-tool-bar.el: New file. Contains tool bar creation code from
1352 deprecated file mh-customize.el.
1354 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
1356 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1357 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1358 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1359 (mh-update-scan-format, mh-msg-num-width): Move to new file
1361 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1362 (mh-header-field-font-lock, mh-header-to-font-lock)
1363 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1364 (mh-show-font-lock-keywords)
1365 (mh-show-font-lock-keywords-with-cite)
1366 (mh-show-font-lock-fontify-region)
1367 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1368 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1369 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1370 (mh-show-sequence-menu, mh-show-message-menu)
1371 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1372 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1373 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1375 (mh-mail-header-separator, mh-signature-separator-regexp)
1376 (mh-signature-separator, mh-globals-hash, mh-user-path)
1377 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1378 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1379 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1380 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1381 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1382 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1383 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1384 Move to mh-alias.el.
1385 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1386 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1387 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1388 Move to new file mh-folder.el.
1389 (with-mh-folder-updating, mh-in-show-buffer)
1390 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1391 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1392 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1394 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1395 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1396 (mh-face-background-compat, mh-face-display-function)
1397 (mh-show-xface, mh-picon-directory-list)
1398 (mh-picon-existing-directory-list)
1399 (mh-picon-cache, mh-picon-image-types)
1400 (mh-picon-set-directory-list, mh-picon-get-image)
1401 (mh-picon-file-contents, mh-picon-generate-path)
1402 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1403 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1404 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1405 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1406 (mh-x-image-scale-with-convert)
1407 (url-unreserved-chars, url-hexify-string)
1408 (mh-x-image-url-cache-canonicalize)
1409 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1410 (mh-x-image-url-fetch-image, mh-x-image-display)
1411 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1412 (mh-x-image-url-display): Move to new file mh-xface.el.
1413 (mh-logo-display): Call mh-image-load-path.
1414 (mh-find-path-run, mh-find-path): Move here from deprecated file
1416 (mh-help-messages): Now an alist of modes to an alist of messages.
1417 (mh-set-help): New function used to set mh-help-messages
1418 (mh-help): Adjust for new format of mh-help-messages. Add
1419 help-messages argument.
1420 (mh-prefix-help): Refactor to use mh-help.
1421 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1423 (mh-clear-sub-folders-cache): New function added to avoid exposing
1424 mh-sub-folders-cache variable.
1426 * mh-xface.el: New file. Contains X-Face and Face header field
1427 display routines from mh-utils.el.
1429 2006-01-17 Bill Wohler <wohler@newt.com>
1431 * mh-acros.el (assoc-string): Fix typo in argument.
1433 2006-01-16 Bill Wohler <wohler@newt.com>
1435 * mh-acros.el (require): Remove defadvice of require as defadvice
1436 is verboten within Emacs and our implementation was returning the
1437 wrong value from require. Upcoming restructuring should make this
1439 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1441 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1442 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1444 * mh-identity.el (mh-identity-field-handler): Use it.
1446 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1447 (read-from-string string) with (string-to-number string).
1449 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1452 * mh-mime.el (mh-mml-forward-message): Ditto.
1454 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1455 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1456 (mh-openssl-parser, mh-index-update-maps): Ditto.
1458 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1459 (mh-thread-generate): Ditto.
1461 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1463 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1464 mm- functions for proper text=flowed handling (addresses SF
1467 2006-01-15 Bill Wohler <wohler@newt.com>
1469 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1470 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1473 * mh-utils.el (mh-show-limit-map): Ditto.
1475 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1477 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1479 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1480 where they are used.
1482 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1483 needed to help remove dependency on mh-utils.
1485 * mh-exec.el: New file. Move process support routines here from
1488 * mh-init.el (mh-utils): Remove require.
1489 (mh-exec): Add require.
1490 (mh-profile-component, mh-profile-component-value): Move here from
1493 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1494 dependencies on mh-utils.el.
1495 (mh-profile-component, mh-profile-component-value): Move to
1496 mh-init.el since that's the only place that uses them. (Other than
1497 mh-alias.el; I'm thinking that mh-find-path can set variable from
1498 the Aliasfile component like it does the other components).
1499 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1500 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1501 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1502 (defvar, mh-exec-cmd-output)
1503 (mh-exchange-point-and-mark-preserving-active-mark)
1504 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1505 file mh-exec.el so that mh-init.el doesn't have to depend on
1506 mh-utils.el, breaking circular dependency.
1520 * mh-speed.el: Added debugging statements (commented out) around
1521 requires to help find dependency loops. Will remove them when
1522 issues are resolved.
1524 2006-01-14 Bill Wohler <wohler@newt.com>
1526 * mh-customize.el (mh-index): Rename group to mh-search and sort
1527 group definition and options accordingly.
1528 (mh-index-program): Rename to mh-search-program.
1529 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1531 (mh-search-mode-hook): Change group from mh-index to mh-search.
1532 (mh-index-folder): Rename to mh-search-folder. Change group from
1533 mh-index to mh-search.
1535 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1536 to mh-search-folder.
1538 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1539 pick and grep are searchers too but aren't indexed.
1540 (mh-index-execute-search-function): Rename to mh-search-function.
1541 (mh-index-next-result-function): Rename to
1542 mh-search-next-result-function.
1543 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1544 (mh-search): Since redo-search-flag defaults to nil and is of
1545 lesser importance, make it an optional argument and place it after
1546 the folder and search-regexp arguments. Sync docstring with
1548 (mh-search-mode-map): Autoload so that keys are shown in help even
1549 before mh-search is loaded.
1550 (mh-search-mode): Sync docstring with manual.
1551 (mh-index-do-search): Rename argument indexer to searcher. Sync
1552 docstring with manual.
1553 (mh-pick-do-search): Sync docstring with manual.
1554 (mh-index-p): Rename to mh-search-p.
1555 (mh-indexer-choices): Rename to mh-search-choices.
1556 (mh-index-choose): Rename to mh-search-choose. Rename argument
1557 indexer to searcher.
1558 (mh-swish++-execute-search, mh-swish-execute-search)
1559 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1560 read the results" from docstring since these functions don't.
1561 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1563 (mh-index-generate-pretty-name): Prune -search from string so that
1564 folder names for pick searches are the same as those of other
1567 2006-01-13 Bill Wohler <wohler@newt.com>
1569 * mh-acros.el (require): Added Satyaki's comment regarding what
1570 needs to happen to remove this defadvice which caused a little
1571 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1572 advices `require' incorrectly).
1574 * mh-search.el (mh-index-next-result-function): Add format to
1576 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1578 (mh-pick-execute-search): Operate across all folders if no folder
1579 given and recurse folder(s).
1580 (mh-pick-next-result): Handle new output.
1582 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1583 (mh-children-p, mh-folder-list): New functions.
1585 2006-01-12 Bill Wohler <wohler@newt.com>
1587 * mh-search.el: New file containing contents of mh-index.el and
1588 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1589 pick. Pick no longer sets the "search" sequence. Instead, it
1590 brings up a folder view that we're accustomed to. (closes SF
1592 (mh-index-search): Rename to mh-search.
1593 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1594 the Search to Perform Search and call mh-do-search. Add Search
1595 with Pick menu item.
1596 (mh-do-search): Delete.
1597 (mh-search-mode): Rename from mh-pick-mode.
1598 (MH-Search): Rename mode from MH-Pick.
1599 (mh-search-mode-map): Rename from mh-pick-mode-map.
1600 (mh-search-mode-help-messages): Rename from
1601 mh-pick-mode-help-messages.
1602 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1603 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1604 stay with that choice!
1607 * mh-pick.el: Merge into mh-search.el and delete.
1609 * mh-customize.el (mh-index-program): Change mh-index-search to
1610 mh-search in docstring.
1611 (mh-tool-bar-search-function): Change default from
1612 mh-search-folder to mh-search. Remove mh-search-folder as choice
1613 and rename mh-index-search choice to mh-search. Fix docstring.
1614 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1615 mh-search-folder to mh-search in docstring.
1617 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1618 Indexed Search to Search. Use mh-search instead of
1620 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1621 from mh-show-search-folder to mh-search.
1623 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1624 mh-search-folder no longer creates the search sequence.
1626 * mh-utils.el (mh-show-search-folder): Delete.
1627 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1628 Change s from mh-show-search-folder to mh-search.
1629 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1630 Search to Search. Use mh-search instead of mh-index-search.
1631 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1632 here from deleted mh-index.el.
1634 2006-01-11 Bill Wohler <wohler@newt.com>
1636 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1639 * mh-gnus.el: Require mh-acros.
1640 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1642 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1643 url-hexify-string to remove special characters from filenames
1644 (closes SF #1396499). Note that this invalidates the existing
1645 names in your cache so you might as well remove
1646 ~/Mail/.mhe-x-image-cache/* now.
1647 (url-unreserved-chars, url-hexify-string): Define if not defined.
1648 Copied from url-util.el in Emacs22 for Emacs 21.
1650 * mh-buffers.el: New file. Contains constants and code from
1651 mh-index.el and mh-utils.el.
1661 * mh-seq.el: Require new file mh-buffers.el.
1663 * mh-index.el: Require new file mh-buffers.el.
1664 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1667 * mh-utils.el: Require new file mh-buffers.el.
1668 (mh-temp-buffer, mh-temp-fetch-buffer)
1669 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1670 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1671 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1672 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1674 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1675 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1677 2006-01-10 Bill Wohler <wohler@newt.com>
1679 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1680 the cur message is used. Sync docstring with manual (closes SF
1683 * mh-mime.el (mh-compose-forward): Use standard range argument
1684 instead of messages. Use more powerful mh-read-range instead of
1685 read-string. Sync docstring with manual (close SF #1205890).
1687 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1689 (mh-index-next-folder): Don't back up a line when going backwards
1690 since this skips the current folder heading if point is on the
1691 first message after the folder heading (closes SF #1126188).
1693 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1695 (mh-variants): Note variable isn't meant to be accessed directly;
1696 use function mh-variants instead.
1697 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1698 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1699 them. Updated to use mh-file-command-p which is more accurrate
1700 than file-executable-p which returns t for directories.
1701 (mh-file-command-p): Move here from mh-utils, since
1702 mh-variant-*-info are the only functions to use it.
1703 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1704 function mh-variants instead of variable. More robust.
1705 (mh-find-path-run): Move here from mh-utils.el. Mention that
1706 checking this variable is unnecessary.
1707 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1708 variants and an mhparam command that doesn't work if there isn't
1709 an MH profile, we can't get libdir for running install-mh. So
1710 don't bother. If there's an issue with the environment, direct the
1711 user to install MH and run install-mh (closes SF #835192). Don't
1712 read ~/.mh_profile directly. Use mh-profile-component which uses
1713 mhparam (closes SF #1016027).
1715 * mh-utils.el (mh-get-profile-field): Rename to
1716 mh-profile-component-value. Add colon to search removing
1717 unnecessary addition of colon to field in mh-profile-component.
1718 (mh-profile-component): Modify call to mh-profile-component-value
1719 accordingly. Move next to mh-profile-component-value.
1720 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1721 mh-init.el. It makes sense that code that is only run once per
1722 session (more or less) is in mh-init.el rather than cluttering
1724 (mh-no-install, mh-install): Delete.
1726 * mh-customize.el (mh-folder-msg-number):
1727 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1729 2006-01-09 Bill Wohler <wohler@newt.com>
1731 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1732 patch from Satyaki from SF #1016027.
1734 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1735 message, even if cur sequence is no longer present (closes SF
1738 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1740 (mh-letter-mode): Derive from mail-mode and delete code copied
1741 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1743 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1744 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1745 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1746 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1747 (mh-to-fcc): Move setting of folder argument to interactive
1748 argument as is the norm.
1749 (mh-letter-complete-function-alist): Add mail-reply-to.
1750 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1751 Mail-Followup-To, Reply-To, From).
1753 * mh-customize.el: Use ";; Forward definition." consistently.
1754 Comment declaration to remind programmer to update forward
1755 definition if default changes.
1762 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1765 2006-01-08 Bill Wohler <wohler@newt.com>
1767 Removed code that was marked as Emacs 20 compatible that was
1768 easily found showing how important it is to document such
1769 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1770 peculiarities that you find. Wrapped code for shushing compiler
1771 with (eval-when-compile), sometimes moving the defvars closer to
1772 where they were used.
1774 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1775 instead of mh-replace-in-string as mh-replace-in-string was
1776 replaced by a more appropriate defsubst in mh-xemacs.el.
1778 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1780 (mh-file-is-vcard-p): Removed redundant test.
1782 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1783 with eval-when-compile.
1784 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1785 (mh-invisible-header-fields-default): Add forward definitions.
1786 (mh-invisible-header-fields-default): Alphabetize.
1788 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1790 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1792 (mh-colors-available-p): Just call display-color-cells. It's on
1793 all supported Emacsen (and defaliased on XEmacs).
1797 * mh-init.el: Wrap compiler-shushing defvars with
1800 * mh-identity.el: Don't need (mh-require-cl).
1802 * mh-index.el: Don't need to load executable any more.
1804 * mh-mime.el: Wrap compiler-shushing defvars with
1806 (mh-have-file-command): Initialize variable to 'undefined. Add
1807 docstring. Update function of same name accordingly. Also don't
1808 need to load executable any more.
1809 (mh-mime-content-types): Delete.
1810 (mh-minibuffer-read-type): Prompt user for type if
1811 mh-file-mime-type returns application/octet-stream. Assume we have
1813 (mh-mime-display): Update error message.
1815 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1816 with eval-when-compile.
1818 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1819 with eval-when-compile.
1820 (mh-clean-msg-header): Don't set after-change-functions to nil.
1821 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1824 2006-01-07 Bill Wohler <wohler@newt.com>
1826 * mh-customize.el: Updated Faces documentation in header.
1827 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1828 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1830 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1831 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1834 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1836 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1837 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1839 2006-01-03 Bill Wohler <wohler@newt.com>
1841 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1842 unification. Use single sentence if possible by using semicolon.
1843 Don't end message with punctuation. Don't need format with
1844 message. Quote messages as in docstrings: use `' around symbols,
1845 \" for option choices. Don't use quotes around %s.
1847 * mh-comp.el (mh-complete-word): Ditto.
1849 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1850 (mh-scan-format-file-check): Ditto.
1852 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1853 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1854 (mh-msg-num-width-to-column): Ditto.
1856 * mh-identity.el (mh-identity-field-handler): Ditto.
1858 * mh-index.el (mh-mairix-execute-search)
1859 (mh-swish-execute-search, mh-swish++-execute-search)
1860 (mh-namazu-execute-search): Ditto.
1862 * mh-init.el (mh-variant-set): Ditto.
1864 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1865 (mh-secure-message, mh-mime-display): Ditto.
1867 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1869 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1870 (mh-read-range, mh-thread-container-subject): Ditto.
1872 * mh-utils.el (mh-x-image-scale-and-display)
1873 (mh-prompt-for-folder, mh-handle-process-error)
1874 (mh-list-to-string-1): Ditto.
1876 * mh-comp.el (mh-reply): Use standard default notation in
1877 prompts (closes SF #1275933).
1879 * mh-mime.el (mh-mime-save-parts): Ditto.
1881 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1883 * mh-customize.el (mh-folder-msg-number): Snow is actually
1884 off-white on low color displays which turns to white when bold.
1885 This is unreadable on white backgrounds. Use snow with min-colors
1886 requirement. Use cyan on low-color displays.
1888 * mh-init.el (mh-defface-compat): On low-color displays, delete
1889 the high-color display rather than simply strip the min-colors
1890 requirement since the existing algorithm shadowed the desired
1891 display on low-color displays.
1893 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1896 2006-01-02 Bill Wohler <wohler@newt.com>
1898 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1899 docstring. Does this mean something in a defun?
1901 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1904 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1905 so it reads better in docstring and manual. Sync docstring with
1908 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1910 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1912 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1913 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1914 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1915 (mh-letter-complete-or-space, mh-letter-confirm-address)
1916 (mh-letter-next-header-field-or-indent)
1917 (mh-letter-previous-header-field): Ditto.
1919 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1920 (mh-default-folder-for-message-function, mh-mml-method-default)
1921 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1922 (mh-show-mode-hook) Ditto.
1924 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1926 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1927 (mh-store-msg, mh-store-buffer): Ditto
1929 * mh-index.el (mh-index-search, mh-index-do-search)
1930 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1932 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1934 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1935 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1936 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1937 (mh-mml-secure-message-signencrypt): Ditto
1939 * mh-pick.el (mh-search-folder): Ditto.
1941 * mh-seq.el (mh-widen): Ditto.
1943 * mh-utils.el (mh-show, mh-modify): Ditto.
1945 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1947 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1949 2006-01-01 Bill Wohler <wohler@newt.com>
1951 * mh-customize.el: Sync docstrings with manual for faces and sort
1952 them alphabetically.
1953 (mh-faces): Move below mh-hooks.
1954 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1955 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1957 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1958 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1959 (mh-folder-body-face, mh-folder-cur-msg-face)
1960 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1961 (mh-folder-followup-face, mh-folder-msg-number-face)
1962 (mh-folder-deleted-face, mh-folder-refiled-face)
1963 (mh-folder-subject-face, mh-folder-address-face)
1964 (mh-folder-scan-format-face, mh-folder-to-face)
1965 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1966 (mh-show-header-face, mh-show-pgg-good-face)
1967 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1968 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1970 (mh-folder-cur-msg): Unused. Delete.
1971 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1972 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1973 Inherit from mh-folder-msg-number.
1974 (mh-folder-deleted): Use defface. Inherit from
1975 mh-folder-msg-number.
1976 (mh-folder-sent-to-me-hint): New face. Inherit from
1978 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1979 Use defface. Inherit from mh-folder-followup.
1980 (mh-show-xface): Inherit from mh-show-from and highlight.
1981 (bw-face-generation, bw-toggle-faces)
1982 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1983 variables, functions for toggling between old and new faces.
1985 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1986 eval-when-compile. We should probably do this throughout.
1987 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1988 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1989 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1990 (mh-scan-subject-regexp): Sync docstrings with manual
1991 (mh-scan-format-regexp): Rename to
1992 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1993 expression. Make expression more like the others (anchored at the
1994 beginning of line). Sync docstrings with manual.
1995 (mh-folder-font-lock-keywords): Use faces directly rather than
1996 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1997 mh-scan-format-regexp, and within that expression, use faces
1998 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1999 of mh-folder-date-face and mh-folder-scan-format-face which were
2002 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2003 rather than -face variables.
2005 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2006 rather than -face variables.
2007 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2008 (mh-face-display-function): Use mh-face-foreground-compat and
2009 mh-face-background-compat to use inherited attributes of
2010 mh-show-xface on Emacs 22 while still working on Emacs 21.
2012 2005-12-28 Bill Wohler <wohler@newt.com>
2014 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
2015 mh-user-agent-compose instead of mh-smail-batch.
2017 2005-12-27 Bill Wohler <wohler@newt.com>
2019 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2020 suppress creation of folder if it doesn't exist.
2022 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2024 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2026 2005-12-23 Bill Wohler <wohler@newt.com>
2028 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2030 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2031 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2032 everything else. Otherwise, you can accidently get links to
2035 2005-12-22 Bill Wohler <wohler@newt.com>
2037 Follow Emacs coding conventions. Use default setting of
2038 emacs-lisp-docstring-fill-column which is 65.
2040 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2042 * mh-comp.el (mh-letter-mode): Use 60 column width.
2043 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2045 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2046 you have added a mail-citation-hook and neither are used if you
2047 use one of the supercite flavors of mh-yank-behavior. Sync
2048 docstrings with manual.
2050 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2051 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2052 hook. Use "Hook run by `function'..." instead of "Invoked...".
2053 Sync docstrings with manual.
2054 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2055 mh-ins-buf-prefix isn't used if you have added a
2056 mail-citation-hook and neither are used if you use one of the
2057 supercite flavors of mh-yank-behavior. Sync docstrings with
2059 (mail-citation-hook): Delete. Use one in sendmail.el.
2060 (mh-signature-file-name, mh-after-commands-processed-hook)
2061 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2062 (mh-before-quit-hook, mh-before-send-letter-hook)
2063 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2064 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2065 (mh-letter-mode-hook)
2066 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2067 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2068 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2069 of "Invoked...". Sync docstrings with manual.
2071 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2072 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2073 (mh-delete-list, mh-refile-list, mh-folders-changed)
2074 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2075 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2076 (mh-mode-line-annotation, mh-sequence-notation-history)
2077 (mh-colors-available-flag): Move comment into docstring.
2078 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2079 (mh-process-commands): Sync docstrings with manual.
2080 (mh-refile-msg): Small doc edit.
2081 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2082 Rename msg argument to message.
2084 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2086 * mh-e.el (mh-update-unseen): No longer say "The value of
2087 `foo-hook' is a list of functions to be called, with no arguments,
2088 ...," but rather just "The hook foo-hook is called...".
2090 * mh-mime.el (mh-mh-to-mime): Ditto.
2092 * mh-pick.el (mh-pick-mode): Ditto.
2094 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2096 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2098 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2101 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2103 * mh-customize.el (mh-after-commands-processed-hook): New
2105 (mh-before-commands-processed-hook): Rename
2106 mh-folder-updated-hook.
2108 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2109 mh-before-commands-processed-hook, call new
2110 mh-after-commands-processed-hook.
2111 (mh-folders-changed): New variable (for use in
2112 mh-after-commands-processed-hook).
2114 2005-12-19 Bill Wohler <wohler@newt.com>
2134 Follow commenting conventions. Don't use ;;; form so much, except
2135 for headings. Precede headings with page feed. This was mostly
2136 already done, so I made it a convention. Did not update copyright
2137 on a couple of files since this was an insignificant change.
2139 2005-12-18 Bill Wohler <wohler@newt.com>
2141 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2142 (mh-tool-bar-search-function): Sync docstrings with manual.
2143 (mh-tool-bar-customize): Replace toolbar with tool bar in
2145 (mh-tool-bar-letter-help): Fix manual reference.
2146 (mh-xemacs-use-toolbar-flag): Rename to
2147 mh-xemacs-use-tool-bar-flag. Initialize to
2148 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2149 (mh-xemacs-toolbar-position): Rename to
2150 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2151 option (redundant) and change "Same As Default Tool Bar" setting
2152 to nil. Sync docstrings with manual.
2153 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2154 depending on context.
2155 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2156 for calling set-specifier. Only look at the value of
2157 mh-xemacs-use-tool-bar-flag.
2158 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
2159 docstrings with manual.
2161 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2164 * mh-e.el (mh-folder-mode): Ditto.
2166 * mh-utils.el (mh-show-mode): Ditto.
2168 2005-12-15 Bill Wohler <wohler@newt.com>
2170 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2172 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2173 (mh-thread-previous-sibling, mh-thread-ancestor)
2174 (mh-thread-delete, mh-thread-refile): Ditto.
2176 2005-12-14 Bill Wohler <wohler@newt.com>
2178 * mh-customize.el (mh-speed-flists-interval): Rename to
2179 mh-speed-update-interval.
2180 (mh-speed-run-flists-flag): Delete. Setting
2181 mh-speed-flists-interval to 0 accomplishes the same thing.
2183 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2184 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2185 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2186 docstrings with manual.
2188 2005-12-09 Bill Wohler <wohler@newt.com>
2190 * mh-customize.el (mh-path): Move here from mh-init.el.
2191 (mh-variant): Mention that mh-path can be customized.
2192 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2193 X-MAIL-INFO, and X-UNTD- from NetZero.
2195 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2197 2005-12-04 Bill Wohler <wohler@newt.com>
2199 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2200 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2203 * mh-customize.el (mh-insert-signature-hook): Rename
2204 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2206 * mh-comp.el (mh-insert-signature): Ditto.
2208 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2209 to nil. Remove t option. Sync docstring with manual (closes SF
2211 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2212 users can see it, look it up in the manual's index, and discover
2213 mh-fetch-x-image-url (closes SF #831278).
2215 * mh-customize.el (mh-new-messages-folders): Rename from
2216 mh-index-new-messages-folders.
2217 (mh-ticked-messages-folders): Rename from
2218 mh-index-ticked-messages-folders.
2220 * mh-index.el (mh-index-sequenced-messages)
2221 (mh-index-new-messages): Ditto.
2223 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2224 in the docstrings and made usage consistent. Generally speaking,
2225 "messages in range" and "range of messages" is redundant and just
2226 "range" can be used in most circumstances. Also ensured that
2227 mh-interactive-range was mentioned in all interactive functions
2228 that use a range which describes the range argument for both users
2231 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2232 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2233 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2234 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2237 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2240 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2242 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2243 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2245 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2246 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2248 2005-12-01 Bill Wohler <wohler@newt.com>
2250 Rewrote Reading Mail chapter in manual which affected mh-show
2251 customization group and related functions.
2253 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2254 instead of mh-highlight-citation-p.
2255 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2256 I think, so use "truncated".
2258 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2259 section is Folders, not Organizing. Parent of mh-folder-faces is
2260 mh-folder, not mh-show.
2261 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2262 (mh-thread): New group that corresponds with manual's Threading
2264 (mh-letter-faces): Group's manual section is Editing Drafts, not
2266 (mh-sortm-args): New customization variable that used to be a
2268 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2269 Move from mh-index group to mh-folders group.
2270 (mh-alias-local-users-prefix, mh-large-folder)
2271 (mh-recursive-folders-flag, mh-before-quit-hook)
2272 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2273 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2275 (mh-highlight-citation-style): Rename from
2276 mh-highlight-citation-p. Sync docstrings with manual.
2277 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2279 (mh-show-threads-flag): Move from mh-show group to mh-thread
2281 (mh-find-path-hook): Move from mh-show group to mh-e group.
2282 (mh-folder-updated-hook): Add to mh-folder group.
2283 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2284 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2285 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2286 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2287 (mh-display-buttons-for-inline-parts-flag)
2288 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2289 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2290 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2291 (mh-lpr-command-format, mh-max-inline-image-height)
2292 (mh-max-inline-image-width)
2293 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2294 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2295 (mh-show-use-xface-flag, mh-store-default-directory)
2296 (mh-summary-height, mh-delete-msg-hook
2297 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2300 (mh-scan-format-mh, mh-scan-good-msg-regexp)
2301 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2302 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
2303 non-fontification instead of non-fontifying.
2304 (mh-header-display): Use mh-mhl-format-file instead of
2305 mhl-formfile. Sync docstrings with manual.
2306 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
2307 count. Sync docstrings with manual.
2308 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
2309 so that message doesn't change when using this command. Sync
2310 docstrings with manual.
2311 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
2312 docstrings with manual.
2313 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2314 to no-header. Sync docstrings with manual.
2315 (mh-ps-print-map): Delete keybindings for deleted commands
2316 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2317 (mh-help-messages): Update printing help.
2318 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2319 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2320 (mh-prev-button, mh-folder-toggle-mime-part)
2321 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2322 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2325 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2327 (mh-pipe-msg): Rename include-headers to include-header. Sync
2328 docstrings with manual.
2329 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2330 (mh-store-msg): Sync docstrings with manual.
2332 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
2333 docstrings with manual.
2334 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2335 Sync docstrings with manual.
2336 (mh-mm-display-part, mh-mm-inline-message): Use
2337 mh-highlight-citation-style instead of mh-highlight-citation-p.
2338 (mh-press-button): Sync docstrings with manual.
2339 (mh-display-with-external-viewer): Fix default output in
2340 minibuffer. Sync docstrings with manual.
2342 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
2344 (mh-ps-print-color-option): Incorporate docstring from
2346 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
2348 (mh-ps-spool-msg): Slimline docstring. Rename from
2349 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
2351 (mh-ps-print-range): Extract method from common code in
2352 mh-ps-print-msg and mh-ps-print-msg-file.
2353 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2354 (mh-ps-print-msg-show): Delete. Can use either
2355 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2356 new code in mh-ps-spool-msg.
2357 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2358 Sync docstrings with manual.
2359 (mh-ps-print-msg, mh-ps-print-msg-file)
2360 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
2361 docstrings with manual.
2363 * mh-utils.el (mh-show-ps-print-msg-show)
2364 mh-show-ps-print-toggle-mime): Delete.
2365 (mh-show-ps-print-map): Update accordingly.
2366 (mh-show-mode): Use mh-highlight-citation-style instead of
2367 mh-highlight-citation-p.
2368 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2370 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
2371 docstrings with manual.
2372 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
2373 docstrings with manual.
2375 2005-12-01 Bill Wohler <wohler@newt.com>
2377 * mh-init.el (mh-defface-compat): Checkdoc fix.
2379 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2380 Bogofilter is lowercase except at beginning of sentence and in
2383 2005-11-04 Bill Wohler <wohler@newt.com>
2385 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2386 Move to mh-init.el to minimize bulk of mh-customize.el.
2388 * mh-init.el: Modify commentary since file is used for load and
2389 initialization as well as setting and getting the variant.
2390 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2393 * mh-customize.el: Refactor faces. Move grayscale requirements
2394 last before t. Use uniform line breaks.
2395 (mh-min-colors-defined-flag): New variable.
2396 (mh-defface-compat): New function. Provides backward compatibility
2398 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2399 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2400 (mh-folder-body): Use mh-defface-compat.
2402 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2404 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2405 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2406 (mh-folder-to-face): Use the min-colors attribute instead of the
2409 2005-11-03 Bill Wohler <wohler@newt.com>
2411 * mh-customize.el (mh-refile-preserves-sequences-flag)
2412 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2413 docstrings with manual.
2415 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2417 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2418 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2421 2005-11-01 Bill Wohler <wohler@newt.com>
2423 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2425 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2426 (mh-reply, mh-send, mh-send-other-window)
2427 (mh-fill-paragraph-function): Sync docstrings with manual.
2428 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2429 msg argument to message (to make for a better docstring).
2431 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2432 to defcustom. Rename by adding -flag.
2433 (mh-compose-forward-as-mime-flag)
2434 (mh-compose-letter-function, mh-forward-subject-format)
2435 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2436 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2439 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2440 (mh-ps-print-msg): Remove debugging messages.
2441 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2442 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2443 after message per conventions.
2445 2005-10-30 Bill Wohler <wohler@newt.com>
2447 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2448 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2449 docstrings with manual.
2451 * mh-customize.el (mh-compose-space-does-completion-flag)
2452 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2453 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2454 means" to remain checkdoc clean and consistent with Emacs. I
2455 raised this issue with the Emacs developers and Stallman agrees
2456 that "On means" should be allowed in custom docstrings but that
2457 this change requires thought and should wait until after the Emacs
2460 2005-10-28 Bill Wohler <wohler@newt.com>
2462 * mh-comp.el (mh-annotate-msg): Use new variable
2463 mh-scan-field-destination-offset rather than hard-coding 1.
2465 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2467 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2468 functions to check input for mh-adaptive-cmd-note-flag and
2469 mh-scan-format-file respectively.
2470 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2473 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2474 destination is the -, t, b, c, or n character for Replied, To, cc,
2475 Bcc, or Newsgroups respectively.
2476 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2477 Call new function mh-msg-num-width-to-column to make leap between
2478 width and column more explicit.
2479 (mh-msg-num-width-to-column): New function that steals logic from
2480 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2481 isn't t since we can't adapt the scan lines in this case.
2482 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2483 make the documentation more clear.
2484 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2485 column, not a width.
2486 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2487 variable mh-scan-field-destination-offset rather than hard-coding
2490 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2491 (mh-notate): Use new variable mh-scan-field-destination-offset
2492 rather than hard-coding 1.
2493 (mh-message-number-width): Rename to mh-msg-num-width to be
2494 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2496 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2497 (mail-citation-hook): Quote URLs in docstrings and precede with
2498 `URL'. The former will suppress checkdoc warnings, the latter will
2499 turn them into hyperlinks in Emacs 22 (I just added the code to do
2501 (mh-scan-format-file): Checkdoc fix.
2503 2005-10-27 Bill Wohler <wohler@newt.com>
2505 * mh-customize.el (mh-adaptive-cmd-note-flag)
2506 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2508 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2509 (mh-note-cur, mh-scan-good-msg-regexp)
2510 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2511 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2512 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2513 (mh-scan-subject-regexp, mh-scan-format-regexp)
2514 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2517 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2519 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2520 of hard-coded string.
2521 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2522 "regular expression" in docstring instead of regexp.
2523 (mh-scan-msg-number-regexp)
2524 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2525 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2526 (mh-cmd-note): Sync docstrings with manual.
2528 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2531 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2533 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2534 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2535 (mh-mml-secure-message-signencrypt): Ditto.
2537 2005-10-24 Bill Wohler <wohler@newt.com>
2539 * mh-gnus.el: Load mml.el in order to see if
2540 mml-minibuffer-read-disposition is defined or not.
2542 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2545 2005-10-23 Miles Bader <miles@gnu.org>
2547 * .arch-inventory: New file.
2549 2005-10-23 Bill Wohler <wohler@newt.com>
2551 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2552 docstring with manual.
2554 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2555 mh-alias.el and move to mh-acros.el
2557 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2558 mh-identity.el and move to mh-acros.el
2560 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2561 mh-identity.el and mh-alias.el.
2563 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2564 warning in Emacs 22.
2566 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2568 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2569 assoc-string (if the function is available) and falls back on
2570 assoc-ignore-case if assoc-string is not found.
2571 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2572 assoc-ignore-case is a obsolete function in Emacs 22.
2574 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2575 track of whether the tool-bar in mh-folder-mode has been
2577 (mh-folder-mode): Initialize the tool-bar for folders the first
2578 time we get into mh-letter-mode.
2580 * mh-customize.el (mh-buffer-exists-p): New function which tests
2581 presence of buffers of a given mode.
2582 (mh-tool-bar-define): New functions
2583 mh-tool-bar-folder-buttons-init and
2584 mh-tool-bar-letter-buttons-init are defined. These functions are
2585 used to create the tool-bar from the corresponding customizable
2588 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2589 keeps track of whether the tool-bar in mh-letter-mode has been
2591 (mh-letter-mode): Initialize the tool-bar for drafts the first
2592 time we get into mh-letter-mode.
2594 2005-10-23 Bill Wohler <wohler@newt.com>
2596 * mh-comp.el (mh-letter-menu): Rename
2597 mh-mhn-compose-external-compressed-tar to
2598 mh-mh-compose-external-compressed-tar. Rename
2599 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2600 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2601 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2602 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2603 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2605 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2606 mh-mh-directive-present-p.
2607 (mh-send-letter): Rename mh-mhn-directive-present-p to
2608 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2609 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2610 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2611 mh-mhn-compose-external-compressed-tar to
2612 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2613 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2614 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2615 mh-mh-compose-anon-ftp. Rename
2616 mh-mhn-compose-external-compressed-tar to
2617 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2618 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2619 mh-mh-compose-external-type.
2620 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2621 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2622 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2623 mh-yank-from-start-of-msg to mh-yank-behavior.
2624 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2625 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2626 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2627 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2628 (mh-letter-complete-or-space, mh-letter-confirm-address)
2629 (mh-letter-next-header-field-or-indent)
2630 (mh-letter-previous-header-field)
2631 (mh-letter-toggle-header-field-display): Sync docstrings with
2634 * mh-customize.el (mh-edit-mhn-hook): Rename to
2636 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2637 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2638 and user-visible values from mhn and Gnus to MH and MML.
2639 (mh-before-send-letter-hook): Add 'ispell-message option.
2640 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2641 mh-pgp-support-flag.
2642 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2643 (mh-delete-yanked-msg-window-flag)
2644 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2645 (mh-letter-complete-function, mh-letter-fill-column)
2646 (mh-mml-method-default, mh-signature-file-name)
2647 (mh-signature-separator-flag, mh-x-face-file)
2648 (mh-yank-behavior, mail-citation-hook)
2649 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2652 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2653 provided for Emacs 21 environments that lack it.
2655 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2657 (mh-compose-forward): mh-mh-forward-message requires string arg.
2658 (mh-minibuffer-read-type): New function.
2659 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2660 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2661 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2662 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2663 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2664 Rename mh-mhn-compose-external-type to
2665 mh-mh-compose-external-type.
2666 (mh-mhn-compose-external-compressed-tar): Rename to
2667 mh-mh-compose-external-compressed-tar. Rename
2668 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2669 (mh-mhn-compose-external-type): Rename to
2670 mh-mh-compose-external-type.
2671 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2672 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2673 Use correct program in message.
2674 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2675 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2676 (mh-compose-forward, mh-mh-attach-file)
2677 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2678 (mh-mh-compose-external-type, mh-mh-forward-message)
2679 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2680 mh-minibuffer-read-type.
2681 (mh-mime-content-types): Move comment about only being used in
2682 Emacs 20 to docstring.
2683 (mh-mh-compose-external-type): Rename extra-param argument to
2685 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2686 (mh-mime-display-part, mh-mime-display-single): Rename
2687 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2688 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2690 (mh-compose-forward): Rename mh-mhn-compose-forw to
2691 mh-mh-forward-message.
2692 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2694 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2695 (mh-mh-attach-file, mh-mh-compose-type)
2696 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2697 (mh-mh-compose-external-compressed-tar)
2698 (mh-mh-compose-external-type, mh-mh-forward-message)
2699 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2700 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2701 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2702 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2703 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2704 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2705 Sync docstrings with manual.
2707 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2708 mh-pgp-support-flag.
2710 2005-10-17 Peter S Galbraith <psg@debian.org>
2712 * mh-identity.el (mh-identity-field-handler): Use
2713 `assoc-ignore-case' to compare against header field for mixed-case
2716 2005-10-17 Bill Wohler <wohler@newt.com>
2718 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2719 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2720 to mail/compose, fld_open to fld-open.
2721 (mh-letter-tool-bar-map): Rename image file mail_send to
2724 2005-10-16 Bill Wohler <wohler@newt.com>
2726 * mh-comp.el (mh-display-completion-list-compat): New macro which
2727 calls `display-completion-list' correctly in older environments.
2728 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2730 (mh-complete-word): Use it.
2732 * mh-init.el (mh-image-load-path): Use locate-library to find
2733 MH-E. This simplified the code a lot. Flattened out nested
2734 statements even more.
2736 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2738 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2739 causes a compiler warning.
2741 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2742 the message to be viewed (closes SF #1306141).
2744 2005-10-16 Masatake YAMATO <jet@gyve.org>
2746 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2747 of completion to `display-completion-list'.
2749 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2751 * mh-init.el (mh-image-load-path-called-flag): New variable which
2752 is used by mh-image-load-path so that it runs only once.
2753 (mh-image-load-path): Modify so that it gets run only once. Also
2754 flatten out heavily nested if statements to make it clearer.
2756 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2757 to find images used in the toolbar.
2759 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2761 2005-10-14 Bill Wohler <wohler@newt.com>
2763 * mh-e.el (Version, mh-version): Add +cvs to version.
2765 2005-10-14 Bill Wohler <wohler@newt.com>
2767 Released MH-E version 7.85.
2769 * mh-e.el (Version, mh-version): Update for release 7.85.
2771 2005-10-14 Bill Wohler <wohler@newt.com>
2773 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2774 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2775 need to be indented.
2777 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2778 but the code that invoked the face had not been updated. Tick
2779 highlighting working again.
2781 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2782 make-variable-buffer-local call to top level to avoid warnings in
2785 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2788 2005-10-09 Bill Wohler <wohler@newt.com>
2790 * mh-init.el (mh-image-load-path): New function that adds the path
2791 to the MH-E images to the image-load-path or load-path depending
2792 on the version of Emacs.
2794 * mh-customize.el: Call mh-image-load-path just before
2795 mh-tool-bar-define so that the toolbar images can be found.
2797 2005-10-04 Bill Wohler <wohler@newt.com>
2799 * ChangeLog: Move contents into ChangeLog.1 and trim.
2801 * ChangeLog.1: New file. Contains old ChangeLog.
2804 Copyright (C) 2005 Free Software Foundation, Inc.
2806 Copying and distribution of this file, with or without modification,
2807 are permitted in any medium without royalty provided the copyright
2808 notice and this notice are preserved.
2811 ;; sentence-end-double-space: nil
2814 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51