1 2006-03-28 Bill Wohler <wohler@newt.com>
3 * mh-tool-bar.el: Use clipboard-kill-region,
4 clipboard-kill-ring-save, and clipboard-yank instead of undo,
5 kill-region, and menu-bar-kill-ring-save respectively. In
6 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
7 front of mh-compose-insertion to be consistent with other mailers,
8 such as Evolution. In MH-Folder mode, move vanilla reply icon to
9 the left of the other reply icons. Use mail/inbox icon instead of
10 mail, next-page instead of page-down, delete instead of close,
11 mail/move instead of mail/refile, data-save instead of execute,
12 mail/flag-for-followup instead of highlight, contact instead of
13 mail/alias, open instead of fld-open, zoom-out instead of widen.
15 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
16 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
18 2006-03-27 Eric Ding <ericding@alum.mit.edu>
20 * mh-e.el (mh-invisible-header-fields-internal): Add entries
21 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail)
23 2006-03-19 Bill Wohler <wohler@newt.com>
25 * mh-comp.el (mh-reply): Sync docstring with manual.
27 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
30 2006-03-17 Bill Wohler <wohler@newt.com>
32 * mh-compat.el (mh-image-load-path-for-library): Minor docstring
35 2006-03-16 Bill Wohler <wohler@newt.com>
37 * mh-comp.el (mh-send-letter): Use split-string to break up
38 mh-send-args (closes SF #1448604).
39 (mh-compose-and-send-mail): Use run-hook-with-args for
40 mh-compose-letter-function.
42 * mh-e.el (mh-list-to-string-1): Use dolist.
44 * mh-compat.el (mh-image-load-path-for-library): Prefer user's
47 2006-03-15 Bill Wohler <wohler@newt.com>
49 * mh-compat.el (mh-image-load-path-for-library): Fix example by
50 not recommending that one binds image-load-path. Just defvar it to
51 placate compiler and only use it if previously defined.
53 * mh-e.el (image-load-path): Don't bind!
55 * mh-folder.el (mh-folder-mode): Only use image-load-path if
58 * mh-letter.el (mh-letter-mode): Ditto.
60 * mh-utils.el (mh-logo-display): Ditto.
62 2006-03-14 Bill Wohler <wohler@newt.com>
64 * mh-compat.el (mh-image-load-path-for-library): Incorporate
65 changes from image-load-path-for-library, which are:
66 (image-load-path-for-library): Pass value of path rather than
67 symbol. Always return list of directories. Guarantee that image
68 directory comes first.
70 * mh-e.el (image-load-path): Define on those Emacsen that lack it
71 to avoid compile and run-time errors.
73 * mh-folder.el (mh-folder-mode): Use new idiom for setting
76 * mh-letter.el (mh-letter-mode): Ditto.
78 * mh-utils.el (mh-logo-display): Ditto.
80 2006-03-12 Bill Wohler <wohler@newt.com>
82 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
85 2006-03-10 Bill Wohler <wohler@newt.com>
87 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
88 flag to replace-in-string. This was badly needed by
89 mh-quote-pick-expr in order to properly quote subjects when using
90 / s on XEmacs (closes SF #1447598).
91 (mh-image-load-path-for-library): Merged changes from Reiner. Add
92 no-error argument. If path t, just return directory.
94 * mh-e.el (mh-profile-component): Drop `s' from mhparam
95 -components for Mailutils compatibility (closes SF #1446985).
97 2006-03-06 Bill Wohler <wohler@newt.com>
99 * mh-e.el (Version, mh-version): Add +cvs to version.
101 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
103 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
104 handling of duplicate messages. The test in cond was too strong
105 and wasn't catching the case where origin-map was nil.
107 2006-03-05 Bill Wohler <wohler@newt.com>
109 Release MH-E version 7.93.
111 * mh-e.el (Version, mh-version): Update for release 7.93.
113 2006-03-05 Bill Wohler <wohler@newt.com>
115 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
116 calling mh-image-load-path-for-library since this is the default.
118 * mh-letter.el (mh-letter-mode): Ditto.
120 * mh-utils.el (mh-logo-display): Ditto.
122 2006-03-04 Bill Wohler <wohler@newt.com>
124 * mh-compat.el (mh-image-load-path-for-library): Move here from
125 mh-utils.el and wrap with mh-defun-compat since this function will
126 be soon added to image.el.
128 * mh-utils.el (mh-image-load-path-for-library): Move to
130 (mh-normalize-folder-name): Add return-nil-if-folder-empty
131 argument which is useful when calling mh-normalize-folder-name to
132 process the folder argument for the folders command.
133 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
134 this function more robust. It could too easily list the folders in
136 (mh-folder-list): Fix a couple of problems pointed out by Thomas
137 Baumann. Set folder to nil if empty. Don't append "/" if folder
140 2006-03-03 Bill Wohler <wohler@newt.com>
142 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
143 mh-image-load-path-for-library.
145 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
146 mh-image-load-path-for-library.
148 * mh-utils.el (mh-image-load-path): Rename to
149 mh-image-load-path-for-library. Add example to docstring. Rename
150 local variable mh-image-directory to image-directory. Move error
151 checks to default case in cond and simplify.
153 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
154 docstrings with manual.
156 2006-03-02 Bill Wohler <wohler@newt.com>
158 * mh-folder.el (mh-tool-bar-init): Autoload.
159 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
160 Set scoped variables image-load-path and load-path with updated
161 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
163 * mh-letter.el (mh-tool-bar-init): Autoload.
164 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
165 Set scoped variables image-load-path and load-path with updated
166 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
168 * mh-show.el (mh-tool-bar-init): Autoload.
169 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
172 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
173 messages per conventions.
174 (mh-tool-bar-folder-buttons-init)
175 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
176 (mh-tool-bar-define call): Format.
178 * mh-utils.el (mh-image-directory)
179 (mh-image-load-path-called-flag): Delete.
180 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
181 changes are that it no longer uses/sets mh-image-directory or
182 mh-image-load-path-called-flag, and returns the updated path
183 rather than change it.
184 (mh-logo-display): Change usage of mh-image-load-path.
186 2006-02-28 Bill Wohler <wohler@newt.com>
188 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
189 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
190 to subjects with special characters by quoting regular expression
191 characters in pick expression derived from existing subjects and
192 other fields (closes SF #1432548).
193 (mh-narrow-to-subject): Remove Re: string from subject so that
194 pick can find originating message (closes SF #1438369).
196 * mh-utils.el (mh-image-load-path): Rename variable to
198 (mh-image-load-path): Access mh-image-directory instead of
200 (mh-folder-list): Fix problem with passing in a folder and getting
201 nothing back. Fix problem with passing in empty string and getting
202 the entire filesystem (or infinite loop). Don't append slash to
203 folder. These fixes fix problems observed with the pick search.
204 Thanks to Thomas Baumann for the help (closes SF #1435381).
205 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
206 function for quoting pick regular expression characters (closes SF
209 2006-02-27 Bill Wohler <wohler@newt.com>
211 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
214 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
215 docstring about obsolete variable mh-mime-content-types.
217 * mh-e.el (mh-variant): Sync docstring with manual.
218 (cus-face): Require as it is needed by mh-inherit-face-flag.
220 * mh-compat.el (mh-display-color-cells): Return 2 if
221 device-color-cells returns nil (closes SF #1436924).
223 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
224 mh-display-color-cells.
226 2006-02-21 Eric Ding <ericding@alum.mit.edu>
228 * mh-e.el (mh-invisible-header-fields-internal): Add entry
231 2006-02-20 Eric Ding <ericding@alum.mit.edu>
233 * mh-e.el (mh-invisible-header-fields-internal): Add entries
234 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
235 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
236 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
237 "X-Roving-" by removing unnecessary "*" at end.
239 2006-02-19 Bill Wohler <wohler@newt.com>
241 * mh-alias.el (mh-address-mail-regexp)
242 (mh-goto-address-find-address-at-point): Delete copies from
244 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
245 mh-address-mail-regexp.
246 (mh-alias-add-address-under-point): Use
247 goto-address-find-address-at-point instead of
248 mh-goto-address-find-address-at-point.
250 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
252 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
254 (mh-show-addr): Call goto-address unconditionally. User should use
255 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
257 2006-02-18 Bill Wohler <wohler@newt.com>
259 * mh-e.el (Version, mh-version): Add +cvs to version.
261 2006-02-18 Bill Wohler <wohler@newt.com>
263 Release MH-E version 7.92.
265 * mh-e.el (Version, mh-version): Update for release 7.92.
267 2006-02-17 Bill Wohler <wohler@newt.com>
269 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
270 backgrounds per Mark's suggestion.
272 * mh-utils.el (mh-image-load-path): Fix problem that images on
273 load-path or image-load-path would win over relative paths (newer
274 MH-E or Emacs distribution).
276 2006-02-16 Bill Wohler <wohler@newt.com>
278 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
279 the defface :inherit keyword is available.
280 (mh-face-data): New variable (contains all face specs) and
282 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
283 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
284 (mh-folder-msg-number, mh-folder-refiled)
285 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
286 (mh-folder-subject, mh-folder-tick, mh-folder-to)
287 (mh-search-folder, mh-letter-header-field, mh-show-cc)
288 (mh-show-date, mh-show-from)
289 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
290 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
291 (mh-show-to, mh-show-xface, mh-speedbar-folder)
292 (mh-speedbar-folder-with-unseen-messages)
293 (mh-speedbar-selected-folder)
294 (mh-speedbar-selected-folder-with-unseen-messages): Use
297 * mh-utils.el (mh-image-load-path): The variables image-load-path
298 or load-path would not get updated if user set mh-image-load-path.
299 Moved tests and add-to-list calls outside of cond so they are
300 applied consistently, even if they are redundant in some
301 circumstances. Efficiency isn't a concern here. Made error
302 messages more user-friendly.
304 2006-02-15 Peter S Galbraith <psg@debian.org>
306 * mh-compat.el (mh-image-search-load-path): Compatibility code.
307 Emacs 21 and XEmacs don't have `image-search-load-path'.
309 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
310 images are already found.
312 2006-02-10 Bill Wohler <wohler@newt.com>
314 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
315 rather than use defun*. XEmacs cannot create a proper autoload for
318 2006-02-09 Bill Wohler <wohler@newt.com>
320 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
321 that causes an infinite loop on XEmacs.
323 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
326 2006-02-08 Peter S Galbraith <psg@debian.org>
328 * mh-e.el (mh-invisible-header-fields-internal): Added entries
329 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
331 2006-02-04 Bill Wohler <wohler@newt.com>
333 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
334 has an emacsclient command that supports --eval. I had read that
335 gnudoit was deprecated in favor of gnuclient anyway.
337 2006-02-04 Eric Ding <ericding@alum.mit.edu>
339 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
340 handle OpenOffice documents.
342 2006-02-03 Bill Wohler <wohler@newt.com>
344 * mh-e.el (Version, mh-version): Add +cvs to version.
346 2006-02-03 Bill Wohler <wohler@newt.com>
348 Release MH-E version 7.91.
350 * mh-e.el (Version, mh-version): Update for release 7.91.
352 2006-02-03 Bill Wohler <wohler@newt.com>
354 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
355 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
356 of local variable mh-library-name.
358 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
359 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
360 88) with (min-colors 64) in face specifications so that MH-E still
361 looks good on systems with fewer colors (such as Eric Ding's).
363 2006-02-03 Peter S Galbraith <psg@debian.org>
365 * mh-utils.el (mh-image-load-path): New variable to optionally
366 hold the directory where MH-E images are stored. If nil, then
367 the function `mh-image-load-path' will find it. This variable
368 will be used for Debian packaging.
369 (mh-image-load-path function): Use variable `mh-image-load-path'
370 if non-nil and exists.
372 2006-02-03 Mark D. Baushke <mdb@gnu.org>
374 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
375 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
376 errors if describe-bindings is called before tool-bar-mode is used.
378 2006-02-03 Peter S Galbraith <psg@debian.org>
380 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
381 `mh-url-unresrved-chars'.
383 2006-02-02 Bill Wohler <wohler@newt.com>
385 * mh-e.el (Version, mh-version): Add +cvs to version.
387 2006-02-02 Bill Wohler <wohler@newt.com>
389 Release MH-E version 7.90.
391 * mh-e.el (Version, mh-version): Update for release 7.90.
393 2006-02-01 Bill Wohler <wohler@newt.com>
395 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
397 * mh-alias.el (mh-alias-gecos-name): Use
398 mh-replace-regexp-in-string instead of replace-regexp-in-string.
399 (crm, multi-prompt): Use mh-require instead of require.
400 (mh-goto-address-find-address-at-point): Use
401 mh-line-beginning-position and mh-line-end-position instead of
402 line-beginning-position and line-end-position. Use
403 mh-match-string-no-properties instead of
404 match-string-no-properties.
406 * mh-comp.el (mh-modify-header-field): Use
407 mh-line-beginning-position and mh-line-end-position instead of
408 line-beginning-position and line-end-position.
410 * mh-compat.el (mailabbrev): Use mh-require instead of require.
411 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
412 (mh-face-background): Make docstring consistent.
413 (mh-require, mh-cancel-timer, mh-display-color-cells)
414 (mh-line-beginning-position, mh-line-end-position)
415 (mh-match-string-no-properties, mh-replace-regexp-in-string)
416 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
417 add mh- prefix since compatibility functions should have our
418 package prefix (mh-) by Emacs convention and to avoid messing up
419 checks for the same functions in other packages.
421 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
422 from mh-xemacs.el and rename.
423 (mh-xargs): Use mh-line-beginning-position and
424 mh-line-end-position instead of line-beginning-position and
426 (mh-defface-compat): Use mh-display-color-cells instead of
429 * mh-folder.el (which-func): Use mh-require instead of require.
431 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
434 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
435 mh-require instead of require.
437 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
438 (mh-letter-next-header-field): Use mh-line-beginning-position and
439 mh-line-end-position instead of line-beginning-position and
442 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
443 mh-match-string-no-properties instead of
444 match-string-no-properties.
445 (mh-narrow-to-header-field): Use mh-line-beginning-position and
446 mh-line-end-position instead of line-beginning-position and
449 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
450 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
451 mh-line-beginning-position and mh-line-end-position instead of
452 line-beginning-position and line-end-position.
454 * mh-search.el (which-func): Use mh-require instead of require.
455 (mh-make-pick-template, mh-index-visit-folder)
456 (mh-pick-parse-search-buffer, mh-swish-next-result)
457 (mh-mairix-next-result, mh-namazu-next-result)
458 (mh-pick-next-result, mh-grep-next-result)
459 (mh-index-create-imenu-index, mh-index-match-checksum)
460 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
461 mh-line-beginning-position and mh-line-end-position instead of
462 line-beginning-position and line-end-position.
464 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
466 (mh-folder-size-flist, mh-parse-flist-output-line)
467 (mh-add-sequence-notation): Use mh-line-beginning-position and
468 mh-line-end-position instead of line-beginning-position and
471 * mh-show.el (mh-show-addr): Use mh-require instead of require.
473 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
474 (mh-speed-view, mh-folder-speedbar-buttons)
475 (mh-speed-highlight, mh-speed-goto-folder)
476 (mh-speed-add-buttons, mh-speed-parse-flists-output)
477 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
478 (mh-speed-add-folder): Use mh-line-beginning-position and
479 mh-line-end-position instead of line-beginning-position and
481 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
483 * mh-thread.el (mh-thread-find-children)
484 (mh-thread-parse-scan-line, mh-thread-generate): Use
485 mh-line-beginning-position and mh-line-end-position instead of
486 line-beginning-position and line-end-position.
488 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
489 instead of display-color-cells.
490 (mh-folder-list): Use mh-replace-regexp-in-string instead of
491 replace-regexp-in-string.
492 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
493 Use mh-line-beginning-position and mh-line-end-position instead of
494 line-beginning-position and line-end-position.
496 * mh-comp.el (mh-send-sub): Don't find components file in current
497 directory--this seems to have been a side-effect of commenting out
498 the use of an old mh-etc variable. Improve error message.
500 2006-01-31 Bill Wohler <wohler@newt.com>
502 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
503 argument since compatibility functions should have our package
504 prefix (mh-) by Emacs convention and to avoid messing up checks
505 for the same functions in other packages. Use explicit argument
506 instead of forming name by adding mh- prefix so that one can grep
507 and find the definition.
509 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
510 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
511 mh-assoc-string instead of assoc-string.
513 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
514 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move
515 here from mh-utils.el.
516 (mh-display-completion-list): Move here from mh-comp.el.
517 (mh-face-foreground, mh-face-background): Move here from
519 (mh-write-file-functions): Move here from mh-folder.el
521 * mh-folder.el (mh-write-file-functions-compat): Move to
522 mh-compat.el and rename to mh-write-file-functions.
523 (mh-folder-mode): Use the new name.
525 * mh-gnus.el (gnus-local-map-property): Rename to
526 mh-gnus-local-map-property.
527 (mm-merge-handles): Rename to mh-mm-merge-handles.
528 (mm-set-handle-multipart-parameter): Rename to
529 mh-mm-set-handle-multipart-parameter.
530 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
531 (mm-possibly-verify-or-decrypt): Rename to
532 mh-mm-possibly-verify-or-decrypt.
533 (mm-handle-multipart-ctl-parameter): Rename to
534 mh-mm-handle-multipart-ctl-parameter.
535 (mm-readable-p): Rename to mh-mm-readable-p.
536 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
537 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
538 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
539 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
540 (mml-minibuffer-read-disposition): Rename to
541 mh-mml-minibuffer-read-disposition.
543 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
544 instead of assoc-string.
546 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
547 (mh-mime-display, mh-mime-display-security)
548 (mh-insert-mime-button, mh-insert-mime-security-button)
549 (mh-handle-set-external-undisplayer)
550 (mh-mime-security-press-button, mh-mime-security-show-details)
551 (mh-mml-attach-file, mh-mime-cleanup)
552 (mh-destroy-postponed-handles): Use new mh-* names for
553 compatibility functions.
555 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
556 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
557 (mh-beginning-of-word): Use the new name.
558 (mh-get-field): Delete ancient alias.
560 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
561 and rename to mh-face-foreground
562 (mh-face-background-compat): Move to mh-compat.el
563 and rename to mh-face-background.
564 (mh-face-display-function): Use the new names.
565 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
566 instead of url-hexify-string.
567 (url-unreserved-chars): Move to mh-compat.el and rename to
568 mh-url-unreserved-chars.
569 (url-hexify-string): Move to mh-compat.el and rename to
570 mh-url-hexify-string.
572 * mh-letter.el (mh-complete-word): Fix bug in call to
573 mh-display-completion-list. Wrong argument was passed, so
574 completions wouldn't show highlighted prefix.
576 2006-01-29 Bill Wohler <wohler@newt.com>
578 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
579 mh-adaptive-cmd-note-flag.
581 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
582 docstring. sc-cite-original is autoloaded via loaddefs.el for all
583 supported versions. In addition, the package name "sc" has been
584 made obsolete by "supercite since at least Emacs 21.
586 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
587 revealed character constants that were still strings (closes SF
590 * mh-comp.el (mh-letter-hide-all-skipped-fields)
591 (mh-get-header-field): Move to mh-utils.el so that you can read
592 messages without having to load mh-comp.el and mh-letter.el.
594 * mh-letter.el (mh-hidden-header-keymap)
595 (mh-letter-toggle-header-field-display)
596 (mh-letter-skipped-header-field-p)
597 (mh-letter-skip-leading-whitespace-in-header-field)
598 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
599 can read messages without having to load mh-comp.el and
602 * mh-utils.el (mh-get-header-field)
603 (mh-letter-hide-all-skipped-fields)
604 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
605 (mh-letter-toggle-header-field-display)
606 (mh-letter-skip-leading-whitespace-in-header-field)
607 (mh-letter-truncate-header-field): Move here from mh-comp.el and
608 mh-letter.el so that you can read messages without having to load
609 mh-comp.el and mh-letter.el.
611 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
612 least, will deliver them to us.
614 * mh-e.el (mh-after-commands-processed-hook)
615 (mh-before-commands-processed-hook): Specify what sort of requests
618 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
621 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
623 (mh-letter-mode): Remove Mail menu.
625 2006-01-29 Bill Wohler <wohler@newt.com>
628 Remove circular dependencies. mh-e.el now includes few require
629 statements and stands alone. Other files should need to require
630 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
632 Remove unneeded require statements.
633 Remove unneeded load statements, or replace them with non-fatal
635 Break out components into their own files that were often spread
637 As a result, many functions that are now only used within a single
638 file no longer need to be autoloaded.
639 Rearrange and provide consistent headings.
642 * mh-acros.el: Update commentary to reflect current usage. Add
643 autoload cookies to all macros.
644 (mh-require-cl): Merge docstring and comment.
645 (mh-do-in-xemacs): Fix typo in docstring.
646 (assoc-string): Move to new file mh-compat.el.
647 (with-mh-folder-updating, mh-in-show-buffer)
648 (mh-do-at-event-location, mh-seq-msgs): Move here from
650 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
653 * mh-alias.el (mh-address-mail-regexp)
654 (mh-goto-address-find-address-at-point): Move here from
656 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
658 * mh-buffers.el: Update descriptive text.
660 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
662 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
663 (mh-letter-menu, mh-letter-mode-help-messages)
664 (mh-letter-buttons-init-flag, mh-letter-mode)
665 (mh-font-lock-field-data, mh-letter-header-end)
666 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
667 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
668 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
669 (mh-filter-out-non-text, mh-insert-prefix-string)
670 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
671 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
672 (mh-letter-complete, mh-letter-complete-or-space)
673 (mh-letter-confirm-address, mh-letter-header-field-at-point)
674 (mh-letter-next-header-field-or-indent)
675 (mh-letter-next-header-field, mh-letter-previous-header-field)
676 (mh-letter-skipped-header-field-p)
677 (mh-letter-skip-leading-whitespace-in-header-field)
678 (mh-hidden-header-keymap)
679 (mh-letter-toggle-header-field-display-button)
680 (mh-letter-toggle-header-field-display)
681 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
683 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
684 (mh-pgp-support-flag, mh-x-mailer-string)
685 (mh-letter-header-field-regexp): Move to mh-e.el.
686 (mh-goto-header-field, mh-goto-header-end)
687 (mh-extract-from-header-value, mh-beginning-of-word): Move to
689 (mh-insert-header-separator): Move to mh-comp.el.
690 (mh-display-completion-list-compat): Move to new file
693 * mh-compat.el: New file.
694 (assoc-string): Move here from mh-acros.el.
695 (mh-display-completion-list): Move here from mh-comp.el.
697 * mh-customize.el: Move content into mh-e.el and remove.
699 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
700 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
701 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
702 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
703 declared here so that they can be used in docstrings.
704 (mh-sent-from-folder, mh-sent-from-msg)
705 (mh-letter-header-field-regexp, mh-pgp-support-flag)
706 (mh-x-mailer-string): Move here from mh-comp.el.
707 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
708 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
710 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
711 (mh-previous-window-config, mh-seen-list, mh-seq-list)
712 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
713 (mh-show-folder-buffer, mh-mail-header-separator)
714 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
715 (mh-signature-separator, mh-signature-separator-regexp)
716 (mh-list-to-string, mh-list-to-string-1): Move here from
718 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
719 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
720 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
722 (mh-exchange-point-and-mark-preserving-active-mark)
723 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
724 deprecated file mh-exec.el.
725 (mh-path): Move here from deprecated file mh-customize.el.
726 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
727 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
728 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
729 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
730 (mh-profile-component-value, mh-defface-compat): Move here from
731 deprecated file mh-init.el.
732 (mh-goto-next-button, mh-folder-mime-action)
733 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
734 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
736 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
737 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
738 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
739 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
740 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
741 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
742 (mh-scan-cmd-note-width, mh-scan-destination-width)
743 (mh-scan-date-width, mh-scan-date-flag-width)
744 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
745 (mh-scan-field-destination-offset)
746 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
747 (mh-scan-field-subject-start-offset, mh-scan-format)
748 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
750 (mh-partial-folder-mode-line-annotation)
751 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
752 (mh-generate-sequence-font-lock, mh-last-destination)
753 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
754 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
755 (mh-execute-commands, mh-first-msg, mh-header-display)
756 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
757 (mh-folder-from-address, mh-prompt-for-refile-folder)
758 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
759 (mh-previous-page, mh-previous-undeleted-msg)
760 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
761 (mh-reset-threads-and-narrowing, mh-rescan-folder)
762 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
763 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
764 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
765 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
766 (mh-folder-sequence-menu, mh-folder-message-menu)
767 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
768 (mh-write-file-functions-compat, mh-folder-mode)
769 (mh-restore-desktop-buffer, mh-scan-folder)
770 (mh-regenerate-headers, mh-generate-new-cmd-note)
771 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
772 (mh-process-or-undo-commands, mh-process-commands)
773 (mh-update-unseen, mh-delete-scan-msgs)
774 (mh-outstanding-commands-p): Move to new file mh-folder.el.
775 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
776 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
777 (mh-lessp): Move to mh-utils.el.
778 (mh-parse-flist-output-line, mh-folder-size-folder)
779 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
780 (mh-remove-sequence-notation, mh-remove-cur-notation)
781 (mh-remove-all-notation, mh-delete-seq-locally)
782 (mh-read-folder-sequences, mh-read-msg-list)
783 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
784 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
785 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
786 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
788 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
789 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
790 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
791 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
792 (mh-faces, mh-alias-completion-ignore-case-flag)
793 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
794 (mh-alias-insert-file, mh-alias-insertion-location)
795 (mh-alias-local-users, mh-alias-local-users-prefix)
796 (mh-alias-passwd-gecos-comma-separator-flag)
797 (mh-new-messages-folders, mh-ticked-messages-folders)
798 (mh-large-folder, mh-recenter-summary-flag)
799 (mh-recursive-folders-flag, mh-sortm-args)
800 (mh-default-folder-for-message-function, mh-default-folder-list)
801 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
802 (mh-identity-list, mh-auto-fields-list)
803 (mh-auto-fields-prompt-flag, mh-identity-default)
804 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
805 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
806 (mh-junk-background, mh-junk-disposition, mh-junk-program)
807 (mh-compose-insertion, mh-compose-skipped-header-fields)
808 (mh-compose-space-does-completion-flag)
809 (mh-delete-yanked-msg-window-flag)
810 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
811 (mh-letter-complete-function, mh-letter-fill-column)
812 (mh-mml-method-default, mh-signature-file-name)
813 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
814 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
815 (mh-scan-format-file-check, mh-scan-format-file)
816 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
817 (mh-search-program, mh-compose-forward-as-mime-flag)
818 (mh-compose-letter-function, mh-compose-prompt-flag)
819 (mh-forward-subject-format, mh-insert-x-mailer-flag)
820 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
821 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
822 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
823 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
824 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
825 (mh-display-buttons-for-inline-parts-flag)
826 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
827 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
828 (mh-highlight-citation-style)
829 (mh-invisible-header-fields-internal)
830 (mh-delay-invisible-header-generation-flag)
831 (mh-invisible-header-fields, mh-invisible-header-fields-default)
832 (mh-invisible-header-fields-compiled, mh-invisible-headers)
833 (mh-lpr-command-format, mh-max-inline-image-height)
834 (mh-max-inline-image-width, mh-mhl-format-file)
835 (mh-mime-save-parts-default-directory, mh-print-background-flag)
836 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
837 (mh-show-use-xface-flag, mh-store-default-directory)
838 (mh-summary-height, mh-speed-update-interval)
839 (mh-show-threads-flag, mh-tool-bar-search-function)
840 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
841 (mh-before-commands-processed-hook, mh-before-quit-hook)
842 (mh-before-send-letter-hook, mh-delete-msg-hook)
843 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
844 (mh-inc-folder-hook, mh-insert-signature-hook)
845 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
846 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
847 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
848 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
849 (mh-folder-address, mh-folder-body)
850 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
851 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
852 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
853 (mh-folder-subject, mh-folder-tick, mh-folder-to)
854 (mh-search-folder, mh-letter-header-field, mh-show-cc)
855 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
856 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
857 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
858 (mh-speedbar-folder-with-unseen-messages)
859 (mh-speedbar-selected-folder)
860 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
861 deprecated file mh-customize.el.
863 * mh-exec.el: Move content into mh-e.el and remove.
865 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el
867 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
869 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
871 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
872 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
873 to mail-abbrev-make-syntax-table.
875 * mh-identity.el (mh-identity-menu): New variable for existing
877 (mh-identity-make-menu-no-autoload): New alias for
878 mh-identity-make-menu which can be called from mh-e.el.
879 (mh-identity-list-set): Move to mh-e.el.
880 (mh-identity-add-menu): New function
881 (mh-insert-identity): Add optional argument maybe-insert so that
882 local variable mh-identity-local does not have to be visible.
883 (mh-identity-handler-default):
885 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
886 rest of keymaps). Update key binding for ? to call mh-help with
887 help messages in new argument.
888 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
889 which can be called from mh-e.el.
890 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
892 * mh-init.el: Move content into mh-e.el and remove.
894 * mh-junk.el: Update requires, untabify, and add mh-autoload
897 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
899 * mh-limit.el: New file. Contains display limit commands from
902 * mh-mime.el: Rearrange for consistency with other files.
903 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
905 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
906 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
907 (mh-goto-next-button): Move here from mh-e.el.
909 * mh-print.el: Rearrange for consistency with other files.
911 * mh-scan.el: New file. Contains scan line constants and utilities
912 from XXX, mh-funcs, mh-utils.el.
914 * mh-search.el: Rearrange for consistency with other files.
915 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
916 fields which don't exist in the saved header. Replace C-c C-f f
917 with C-c C-f m per mail-mode consistency.
918 (mh-search-mode): Use mh-set-help instead of setting
921 * mh-seq.el (mh-thread-message, mh-thread-container)
922 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
923 (mh-thread-id-index-map, mh-thread-index-id-map)
924 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
925 (mh-thread-subject-container-hash, mh-thread-duplicates)
926 (mh-thread-history, mh-thread-body-width)
927 (mh-thread-find-msg-subject mh-thread-initialize-hash)
928 (mh-thread-initialize, mh-thread-id-container)
929 (mh-thread-remove-parent-link, mh-thread-add-link)
930 (mh-thread-ancestor-p, mh-thread-get-message-container)
931 (mh-thread-get-message, mh-thread-canonicalize-id)
932 (mh-thread-prune-subject, mh-thread-container-subject)
933 (mh-thread-rewind-pruning, mh-thread-prune-containers)
934 (mh-thread-sort-containers, mh-thread-group-by-subject)
935 (mh-thread-process-in-reply-to, mh-thread-set-tables)
936 (mh-thread-update-id-index-maps, mh-thread-generate)
937 (mh-thread-inc, mh-thread-generate-scan-lines)
938 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
939 (mh-thread-add-spaces, mh-thread-print-scan-lines)
940 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
941 (mh-thread-current-indentation-level, mh-thread-next-sibling)
942 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
943 (mh-thread-ancestor, mh-thread-find-children)
944 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile): Move
945 to new file mh-thread.el.
946 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
947 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
948 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
949 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
950 (mh-current-message-header-field, mh-narrow-to-range)
951 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
953 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
955 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
956 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
957 (mh-define-sequence, mh-undefine-sequence)
958 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
959 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
960 (mh-parse-flist-output-line, mh-read-folder-sequences)
961 (mh-read-msg-list, mh-notate-user-sequences)
962 (mh-remove-cur-notation, mh-add-sequence-notation)
963 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
965 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
966 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
968 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
970 * mh-speed.el: Rearrange for consistency with other files.
972 * mh-thread.el: New file. Contains threading code from mh-seq.el.
974 * mh-tool-bar.el: New file. Contains tool bar creation code from
975 deprecated file mh-customize.el.
977 * mh-utils.el (recursive-load-depth-limit): Remove setting. No
979 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
980 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
981 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
982 (mh-update-scan-format, mh-msg-num-width): Move to new file
984 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
985 (mh-header-field-font-lock, mh-header-to-font-lock)
986 (mh-header-cc-font-lock, mh-header-subject-font-lock)
987 (mh-show-font-lock-keywords)
988 (mh-show-font-lock-keywords-with-cite)
989 (mh-show-font-lock-fontify-region)
990 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
991 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
992 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
993 (mh-show-sequence-menu, mh-show-message-menu)
994 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
995 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
996 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
998 (mh-mail-header-separator, mh-signature-separator-regexp)
999 (mh-signature-separator, mh-globals-hash, mh-user-path)
1000 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1001 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1002 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1003 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1004 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1005 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1006 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1007 Move to mh-alias.el.
1008 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1009 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1010 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1011 Move to new file mh-folder.el.
1012 (with-mh-folder-updating, mh-in-show-buffer)
1013 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1014 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1015 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1017 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1018 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1019 (mh-face-background-compat, mh-face-display-function)
1020 (mh-show-xface, mh-picon-directory-list)
1021 (mh-picon-existing-directory-list)
1022 (mh-picon-cache, mh-picon-image-types)
1023 (mh-picon-set-directory-list, mh-picon-get-image)
1024 (mh-picon-file-contents, mh-picon-generate-path)
1025 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1026 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1027 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1028 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1029 (mh-x-image-scale-with-convert)
1030 (url-unreserved-chars, url-hexify-string)
1031 (mh-x-image-url-cache-canonicalize)
1032 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1033 (mh-x-image-url-fetch-image, mh-x-image-display)
1034 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1035 (mh-x-image-url-display): Move to new file mh-xface.el.
1036 (mh-logo-display): Call mh-image-load-path.
1037 (mh-find-path-run, mh-find-path): Move here from deprecated file
1039 (mh-help-messages): Now an alist of modes to an alist of messages.
1040 (mh-set-help): New function used to set mh-help-messages
1041 (mh-help): Adjust for new format of mh-help-messages. Add
1042 help-messages argument.
1043 (mh-prefix-help): Refactor to use mh-help.
1044 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1046 (mh-clear-sub-folders-cache): New function added to avoid exposing
1047 mh-sub-folders-cache variable.
1049 * mh-xface.el: New file. Contains X-Face and Face header field
1050 display routines from mh-utils.el.
1052 2006-01-17 Bill Wohler <wohler@newt.com>
1054 * mh-acros.el (assoc-string): Fix typo in argument.
1056 2006-01-16 Bill Wohler <wohler@newt.com>
1058 * mh-acros.el (require): Remove defadvice of require as defadvice
1059 is verboten within Emacs and our implementation was returning the
1060 wrong value from require. Upcoming restructuring should make this
1062 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1064 * mh-alias.el (mh-alias-local-users, mh-alias-reload,
1065 mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1067 * mh-identity.el (mh-identity-field-handler): Use it.
1069 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1070 (read-from-string string) with (string-to-number string).
1072 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1075 * mh-mime.el (mh-mml-forward-message): Ditto.
1077 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1078 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1079 (mh-openssl-parser, mh-index-update-maps): Ditto.
1081 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1082 (mh-thread-generate): Ditto.
1084 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
1086 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
1087 mm- functions for proper text=flowed handling (addresses SF
1090 2006-01-15 Bill Wohler <wohler@newt.com>
1092 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1093 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1096 * mh-utils.el (mh-show-limit-map): Ditto.
1098 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1100 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1102 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1103 where they are used.
1105 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1106 needed to help remove dependency on mh-utils.
1108 * mh-exec.el: New file. Move process support routines here from
1111 * mh-init.el (mh-utils): Remove require.
1112 (mh-exec): Add require.
1113 (mh-profile-component, mh-profile-component-value): Move here from
1116 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1117 dependencies on mh-utils.el.
1118 (mh-profile-component, mh-profile-component-value): Move to
1119 mh-init.el since that's the only place that uses them. (Other than
1120 mh-alias.el; I'm thinking that mh-find-path can set variable from
1121 the Aliasfile component like it does the other components).
1122 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1123 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1124 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1125 (defvar, mh-exec-cmd-output)
1126 (mh-exchange-point-and-mark-preserving-active-mark)
1127 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1128 file mh-exec.el so that mh-init.el doesn't have to depend on
1129 mh-utils.el, breaking circular dependency.
1143 * mh-speed.el: Added debugging statements (commented out) around
1144 requires to help find dependency loops. Will remove them when
1145 issues are resolved.
1147 2006-01-14 Bill Wohler <wohler@newt.com>
1149 * mh-customize.el (mh-index): Rename group to mh-search and sort
1150 group definition and options accordingly.
1151 (mh-index-program): Rename to mh-search-program.
1152 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1154 (mh-search-mode-hook): Change group from mh-index to mh-search.
1155 (mh-index-folder): Rename to mh-search-folder. Change group from
1156 mh-index to mh-search.
1158 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1159 to mh-search-folder.
1161 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
1162 pick and grep are searchers too but aren't indexed.
1163 (mh-index-execute-search-function): Rename to mh-search-function.
1164 (mh-index-next-result-function): Rename to
1165 mh-search-next-result-function.
1166 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1167 (mh-search): Since redo-search-flag defaults to nil and is of
1168 lesser importance, make it an optional argument and place it after
1169 the folder and search-regexp arguments. Sync docstring with
1171 (mh-search-mode-map): Autoload so that keys are shown in help even
1172 before mh-search is loaded.
1173 (mh-search-mode): Sync docstring with manual.
1174 (mh-index-do-search): Rename argument indexer to searcher. Sync
1175 docstring with manual.
1176 (mh-pick-do-search): Sync docstring with manual.
1177 (mh-index-p): Rename to mh-search-p.
1178 (mh-indexer-choices): Rename to mh-search-choices.
1179 (mh-index-choose): Rename to mh-search-choose. Rename argument
1180 indexer to searcher.
1181 (mh-swish++-execute-search, mh-swish-execute-search)
1182 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1183 read the results" from docstring since these functions don't.
1184 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1186 (mh-index-generate-pretty-name): Prune -search from string so that
1187 folder names for pick searches are the same as those of other
1190 2006-01-13 Bill Wohler <wohler@newt.com>
1192 * mh-acros.el (require): Added Satyaki's comment regarding what
1193 needs to happen to remove this defadvice which caused a little
1194 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1195 advices `require' incorrectly).
1197 * mh-search.el (mh-index-next-result-function): Add format to
1199 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1201 (mh-pick-execute-search): Operate across all folders if no folder
1202 given and recurse folder(s).
1203 (mh-pick-next-result): Handle new output.
1205 * mh-utils.el: (mh-collect-folder-names): Fix docstring.
1206 (mh-children-p, mh-folder-list): New functions.
1208 2006-01-12 Bill Wohler <wohler@newt.com>
1210 * mh-search.el: New file containing contents of mh-index.el and
1211 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
1212 pick. Pick no longer sets the "search" sequence. Instead, it
1213 brings up a folder view that we're accustomed to. (closes SF
1215 (mh-index-search): Rename to mh-search.
1216 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1217 the Search to Perform Search and call mh-do-search. Add Search
1218 with Pick menu item.
1219 (mh-do-search): Delete.
1220 (mh-search-mode): Rename from mh-pick-mode.
1221 (MH-Search): Rename mode from MH-Pick.
1222 (mh-search-mode-map): Rename from mh-pick-mode-map.
1223 (mh-search-mode-help-messages): Rename from
1224 mh-pick-mode-help-messages.
1225 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1226 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1227 stay with that choice!
1230 * mh-pick.el: Merge into mh-search.el and delete.
1232 * mh-customize.el (mh-index-program): Change mh-index-search to
1233 mh-search in docstring.
1234 (mh-tool-bar-search-function): Change default from
1235 mh-search-folder to mh-search. Remove mh-search-folder as choice
1236 and rename mh-index-search choice to mh-search. Fix docstring.
1237 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1238 mh-search-folder to mh-search in docstring.
1240 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1241 Indexed Search to Search. Use mh-search instead of
1243 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
1244 from mh-show-search-folder to mh-search.
1246 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1247 mh-search-folder no longer creates the search sequence.
1249 * mh-utils.el (mh-show-search-folder): Delete.
1250 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1251 Change s from mh-show-search-folder to mh-search.
1252 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1253 Search to Search. Use mh-search instead of mh-index-search.
1254 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell): Move
1255 here from deleted mh-index.el.
1257 2006-01-11 Bill Wohler <wohler@newt.com>
1259 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1262 * mh-gnus.el: Require mh-acros.
1263 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1265 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1266 url-hexify-string to remove special characters from filenames
1267 (closes SF #1396499). Note that this invalidates the existing
1268 names in your cache so you might as well remove
1269 ~/Mail/.mhe-x-image-cache/* now.
1270 (url-unreserved-chars, url-hexify-string): Define if not defined.
1271 Copied from url-util.el in Emacs22 for Emacs 21.
1273 * mh-buffers.el: New file. Contains constants and code from
1274 mh-index.el and mh-utils.el.
1284 * mh-seq.el: Require new file mh-buffers.el.
1286 * mh-index.el: Require new file mh-buffers.el.
1287 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1290 * mh-utils.el: Require new file mh-buffers.el.
1291 (mh-temp-buffer, mh-temp-fetch-buffer)
1292 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1293 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1294 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1295 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1297 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1298 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1300 2006-01-10 Bill Wohler <wohler@newt.com>
1302 * mh-comp.el (mh-insert-letter): If you choose a different folder,
1303 the cur message is used. Sync docstring with manual (closes SF
1306 * mh-mime.el (mh-compose-forward): Use standard range argument
1307 instead of messages. Use more powerful mh-read-range instead of
1308 read-string. Sync docstring with manual (close SF #1205890).
1310 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1312 (mh-index-next-folder): Don't back up a line when going backwards
1313 since this skips the current folder heading if point is on the
1314 first message after the folder heading (closes SF #1126188).
1316 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses
1318 (mh-variants): Note variable isn't meant to be accessed directly;
1319 use function mh-variants instead.
1320 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1321 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
1322 them. Updated to use mh-file-command-p which is more accurrate
1323 than file-executable-p which returns t for directories.
1324 (mh-file-command-p): Move here from mh-utils, since
1325 mh-variant-*-info are the only functions to use it.
1326 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
1327 function mh-variants instead of variable. More robust.
1328 (mh-find-path-run): Move here from mh-utils.el. Mention that
1329 checking this variable is unnecessary.
1330 (mh-find-path): Move here from mh-utils.el. With the advent of MH
1331 variants and an mhparam command that doesn't work if there isn't
1332 an MH profile, we can't get libdir for running install-mh. So
1333 don't bother. If there's an issue with the environment, direct the
1334 user to install MH and run install-mh (closes SF #835192). Don't
1335 read ~/.mh_profile directly. Use mh-profile-component which uses
1336 mhparam (closes SF #1016027).
1338 * mh-utils.el (mh-get-profile-field): Rename to
1339 mh-profile-component-value. Add colon to search removing
1340 unnecessary addition of colon to field in mh-profile-component.
1341 (mh-profile-component): Modify call to mh-profile-component-value
1342 accordingly. Move next to mh-profile-component-value.
1343 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
1344 mh-init.el. It makes sense that code that is only run once per
1345 session (more or less) is in mh-init.el rather than cluttering
1347 (mh-no-install, mh-install): Delete.
1349 * mh-customize.el (mh-folder-msg-number):
1350 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1352 2006-01-09 Bill Wohler <wohler@newt.com>
1354 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1355 patch from Satyaki from SF #1016027.
1357 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1358 message, even if cur sequence is no longer present (closes SF
1361 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1363 (mh-letter-mode): Derive from mail-mode and delete code copied
1364 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
1366 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
1367 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1368 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
1369 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
1370 (mh-to-fcc): Move setting of folder argument to interactive
1371 argument as is the norm.
1372 (mh-letter-complete-function-alist): Add mail-reply-to.
1373 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1374 Mail-Followup-To, Reply-To, From).
1376 * mh-customize.el: Use ";; Forward definition." consistently.
1377 Comment declaration to remind programmer to update forward
1378 definition if default changes.
1385 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1388 2006-01-08 Bill Wohler <wohler@newt.com>
1390 Removed code that was marked as Emacs 20 compatible that was
1391 easily found showing how important it is to document such
1392 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1393 peculiarities that you find. Wrapped code for shushing compiler
1394 with (eval-when-compile), sometimes moving the defvars closer to
1395 where they were used.
1397 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1398 instead of mh-replace-in-string as mh-replace-in-string was
1399 replaced by a more appropriate defsubst in mh-xemacs.el.
1401 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1403 (mh-file-is-vcard-p): Removed redundant test.
1405 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1406 with eval-when-compile.
1407 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1408 (mh-invisible-header-fields-default): Add forward definitions.
1409 (mh-invisible-header-fields-default): Alphabetize.
1411 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1413 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1415 (mh-colors-available-p): Just call display-color-cells. It's on
1416 all supported Emacsen (and defaliased on XEmacs).
1420 * mh-init.el: Wrap compiler-shushing defvars with
1423 * mh-identity.el: Don't need (mh-require-cl).
1425 * mh-index.el: Don't need to load executable any more.
1427 * mh-mime.el: Wrap compiler-shushing defvars with
1429 (mh-have-file-command): Initialize variable to 'undefined. Add
1430 docstring. Update function of same name accordingly. Also don't
1431 need to load executable any more.
1432 (mh-mime-content-types): Delete.
1433 (mh-minibuffer-read-type): Prompt user for type if
1434 mh-file-mime-type returns application/octet-stream. Assume we have
1436 (mh-mime-display): Update error message.
1438 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1439 with eval-when-compile.
1441 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1442 with eval-when-compile.
1443 (mh-clean-msg-header): Don't set after-change-functions to nil.
1444 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
1447 2006-01-07 Bill Wohler <wohler@newt.com>
1449 * mh-customize.el: Updated Faces documentation in header.
1450 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1451 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1453 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1454 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1457 2006-01-03 Mark D. Baushke <mdb@gnu.org>
1459 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1460 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1462 2006-01-03 Bill Wohler <wohler@newt.com>
1464 * mh-alias.el (mh-alias-add-alias): Grand message and error string
1465 unification. Use single sentence if possible by using semicolon.
1466 Don't end message with punctuation. Don't need format with
1467 message. Quote messages as in docstrings: use `' around symbols,
1468 \" for option choices. Don't use quotes around %s.
1470 * mh-comp.el (mh-complete-word): Ditto.
1472 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1473 (mh-scan-format-file-check): Ditto.
1475 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1476 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1477 (mh-msg-num-width-to-column): Ditto.
1479 * mh-identity.el (mh-identity-field-handler): Ditto.
1481 * mh-index.el (mh-mairix-execute-search)
1482 (mh-swish-execute-search, mh-swish++-execute-search)
1483 (mh-namazu-execute-search): Ditto.
1485 * mh-init.el (mh-variant-set): Ditto.
1487 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1488 (mh-secure-message, mh-mime-display): Ditto.
1490 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1492 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1493 (mh-read-range, mh-thread-container-subject): Ditto.
1495 * mh-utils.el (mh-x-image-scale-and-display)
1496 (mh-prompt-for-folder, mh-handle-process-error)
1497 (mh-list-to-string-1): Ditto.
1499 * mh-comp.el (mh-reply): Use standard default notation in
1500 prompts (closes SF #1275933).
1502 * mh-mime.el (mh-mime-save-parts): Ditto.
1504 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1506 * mh-customize.el (mh-folder-msg-number): Snow is actually
1507 off-white on low color displays which turns to white when bold.
1508 This is unreadable on white backgrounds. Use snow with min-colors
1509 requirement. Use cyan on low-color displays.
1511 * mh-init.el (mh-defface-compat): On low-color displays, delete
1512 the high-color display rather than simply strip the min-colors
1513 requirement since the existing algorithm shadowed the desired
1514 display on low-color displays.
1516 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1519 2006-01-02 Bill Wohler <wohler@newt.com>
1521 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
1522 docstring. Does this mean something in a defun?
1524 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1527 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
1528 so it reads better in docstring and manual. Sync docstring with
1531 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1533 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1535 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1536 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1537 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1538 (mh-letter-complete-or-space, mh-letter-confirm-address)
1539 (mh-letter-next-header-field-or-indent)
1540 (mh-letter-previous-header-field): Ditto.
1542 * mh-customize.el (mh-alias-completion-ignore-case-flag)
1543 (mh-default-folder-for-message-function, mh-mml-method-default)
1544 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
1545 (mh-show-mode-hook) Ditto.
1547 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
1549 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
1550 (mh-store-msg, mh-store-buffer): Ditto
1552 * mh-index.el (mh-index-search, mh-index-do-search)
1553 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
1555 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
1557 * mh-mime.el (mh-mh-compose-external-compressed-tar)
1558 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
1559 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
1560 (mh-mml-secure-message-signencrypt): Ditto
1562 * mh-pick.el (mh-search-folder): Ditto.
1564 * mh-seq.el (mh-widen): Ditto.
1566 * mh-utils.el (mh-show, mh-modify): Ditto.
1568 2006-01-02 Mark D. Baushke <mdb@gnu.org>
1570 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
1572 2006-01-01 Bill Wohler <wohler@newt.com>
1574 * mh-customize.el: Sync docstrings with manual for faces and sort
1575 them alphabetically.
1576 (mh-faces): Move below mh-hooks.
1577 (mh-folder-faces, mh-index-faces, mh-letter-faces)
1578 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
1580 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
1581 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
1582 (mh-folder-body-face, mh-folder-cur-msg-face)
1583 (mh-folder-cur-msg-number-face, mh-folder-date-face)
1584 (mh-folder-followup-face, mh-folder-msg-number-face)
1585 (mh-folder-deleted-face, mh-folder-refiled-face)
1586 (mh-folder-subject-face, mh-folder-address-face)
1587 (mh-folder-scan-format-face, mh-folder-to-face)
1588 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
1589 (mh-show-header-face, mh-show-pgg-good-face)
1590 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
1591 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
1593 (mh-folder-cur-msg): Unused. Delete.
1594 (mh-folder-address): Use defface; inherit from mh-folder-subject.
1595 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
1596 Inherit from mh-folder-msg-number.
1597 (mh-folder-deleted): Use defface. Inherit from
1598 mh-folder-msg-number.
1599 (mh-folder-sent-to-me-hint): New face. Inherit from
1601 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
1602 Use defface. Inherit from mh-folder-followup.
1603 (mh-show-xface): Inherit from mh-show-from and highlight.
1604 (bw-face-generation, bw-toggle-faces)
1605 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
1606 variables, functions for toggling between old and new faces.
1608 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
1609 eval-when-compile. We should probably do this throughout.
1610 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
1611 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
1612 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1613 (mh-scan-subject-regexp): Sync docstrings with manual
1614 (mh-scan-format-regexp): Rename to
1615 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
1616 expression. Make expression more like the others (anchored at the
1617 beginning of line). Sync docstrings with manual.
1618 (mh-folder-font-lock-keywords): Use faces directly rather than
1619 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
1620 mh-scan-format-regexp, and within that expression, use faces
1621 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
1622 of mh-folder-date-face and mh-folder-scan-format-face which were
1625 * mh-mime.el (mh-mime-security-button-face): Use faces directly
1626 rather than -face variables.
1628 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
1629 rather than -face variables.
1630 (mh-face-foreground-compat, mh-face-background-compat): New macros.
1631 (mh-face-display-function): Use mh-face-foreground-compat and
1632 mh-face-background-compat to use inherited attributes of
1633 mh-show-xface on Emacs 22 while still working on Emacs 21.
1635 2005-12-28 Bill Wohler <wohler@newt.com>
1637 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
1638 mh-user-agent-compose instead of mh-smail-batch.
1640 2005-12-27 Bill Wohler <wohler@newt.com>
1642 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
1643 suppress creation of folder if it doesn't exist.
1645 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
1649 2005-12-23 Bill Wohler <wohler@newt.com>
1651 * mh-e.el (mh-folders-changed): Fix typo in docstring.
1653 Follow MH-E Developers Guide conventions. Use `' quotes for Help
1654 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
1655 everything else. Otherwise, you can accidently get links to
1658 2005-12-22 Bill Wohler <wohler@newt.com>
1660 Follow Emacs coding conventions. Use default setting of
1661 emacs-lisp-docstring-fill-column which is 65.
1663 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
1665 * mh-comp.el (mh-letter-mode): Use 60 column width.
1666 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
1668 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
1669 you have added a mail-citation-hook and neither are used if you
1670 use one of the supercite flavors of mh-yank-behavior. Sync
1671 docstrings with manual.
1673 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
1674 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
1675 hook. Use "Hook run by `function'..." instead of "Invoked...".
1676 Sync docstrings with manual.
1677 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
1678 mh-ins-buf-prefix isn't used if you have added a
1679 mail-citation-hook and neither are used if you use one of the
1680 supercite flavors of mh-yank-behavior. Sync docstrings with
1682 (mail-citation-hook): Delete. Use one in sendmail.el.
1683 (mh-signature-file-name, mh-after-commands-processed-hook)
1684 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1685 (mh-before-quit-hook, mh-before-send-letter-hook)
1686 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1687 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
1688 (mh-letter-mode-hook)
1689 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
1690 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1691 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
1692 of "Invoked...". Sync docstrings with manual.
1694 * mh-e.el (mh-last-destination, mh-last-destination-folder)
1695 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
1696 (mh-delete-list, mh-refile-list, mh-folders-changed)
1697 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
1698 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
1699 (mh-mode-line-annotation, mh-sequence-notation-history)
1700 (mh-colors-available-flag): Move comment into docstring.
1701 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
1702 (mh-process-commands): Sync docstrings with manual.
1703 (mh-refile-msg): Small doc edit.
1704 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
1705 Rename msg argument to message.
1707 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
1709 * mh-e.el (mh-update-unseen): No longer say "The value of
1710 `foo-hook' is a list of functions to be called, with no arguments,
1711 ...," but rather just "The hook foo-hook is called...".
1713 * mh-mime.el (mh-mh-to-mime): Ditto.
1715 * mh-pick.el (mh-pick-mode): Ditto.
1717 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
1719 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
1721 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
1724 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
1726 * mh-customize.el (mh-after-commands-processed-hook): New
1728 (mh-before-commands-processed-hook): Rename
1729 mh-folder-updated-hook.
1731 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
1732 mh-before-commands-processed-hook, call new
1733 mh-after-commands-processed-hook.
1734 (mh-folders-changed): New variable (for use in
1735 mh-after-commands-processed-hook).
1737 2005-12-19 Bill Wohler <wohler@newt.com>
1757 Follow commenting conventions. Don't use ;;; form so much, except
1758 for headings. Precede headings with page feed. This was mostly
1759 already done, so I made it a convention. Did not update copyright
1760 on a couple of files since this was an insignificant change.
1762 2005-12-18 Bill Wohler <wohler@newt.com>
1764 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
1765 (mh-tool-bar-search-function): Sync docstrings with manual.
1766 (mh-tool-bar-customize): Replace toolbar with tool bar in
1768 (mh-tool-bar-letter-help): Fix manual reference.
1769 (mh-xemacs-use-toolbar-flag): Rename to
1770 mh-xemacs-use-tool-bar-flag. Initialize to
1771 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
1772 (mh-xemacs-toolbar-position): Rename to
1773 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
1774 option (redundant) and change "Same As Default Tool Bar" setting
1775 to nil. Sync docstrings with manual.
1776 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
1777 depending on context.
1778 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
1779 for calling set-specifier. Only look at the value of
1780 mh-xemacs-use-tool-bar-flag.
1781 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
1782 docstrings with manual.
1784 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
1787 * mh-e.el (mh-folder-mode): Ditto.
1789 * mh-utils.el (mh-show-mode): Ditto.
1791 2005-12-15 Bill Wohler <wohler@newt.com>
1793 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
1795 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
1796 (mh-thread-previous-sibling, mh-thread-ancestor)
1797 (mh-thread-delete, mh-thread-refile): Ditto.
1799 2005-12-14 Bill Wohler <wohler@newt.com>
1801 * mh-customize.el (mh-speed-flists-interval): Rename to
1802 mh-speed-update-interval.
1803 (mh-speed-run-flists-flag): Delete. Setting
1804 mh-speed-flists-interval to 0 accomplishes the same thing.
1806 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
1807 mh-speed-update-interval instead of mh-speed-run-flists-flag.
1808 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
1809 docstrings with manual.
1811 2005-12-09 Bill Wohler <wohler@newt.com>
1813 * mh-customize.el (mh-path): Move here from mh-init.el.
1814 (mh-variant): Mention that mh-path can be customized.
1815 (mh-invisible-header-fields-internal): Add X-ContentStamp,
1816 X-MAIL-INFO, and X-UNTD- from NetZero.
1818 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
1820 2005-12-04 Bill Wohler <wohler@newt.com>
1822 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
1823 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
1826 * mh-customize.el (mh-insert-signature-hook): Rename
1827 mh-letter-insert-signature-hook to mh-insert-signature-hook.
1829 * mh-comp.el (mh-insert-signature): Ditto.
1831 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
1832 to nil. Remove t option. Sync docstring with manual (closes SF
1834 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
1835 users can see it, look it up in the manual's index, and discover
1836 mh-fetch-x-image-url (closes SF #831278).
1838 * mh-customize.el (mh-new-messages-folders): Rename from
1839 mh-index-new-messages-folders.
1840 (mh-ticked-messages-folders): Rename from
1841 mh-index-ticked-messages-folders.
1843 * mh-index.el (mh-index-sequenced-messages)
1844 (mh-index-new-messages): Ditto.
1846 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
1847 in the docstrings and made usage consistent. Generally speaking,
1848 "messages in range" and "range of messages" is redundant and just
1849 "range" can be used in most circumstances. Also ensured that
1850 mh-interactive-range was mentioned in all interactive functions
1851 that use a range which describes the range argument for both users
1854 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
1855 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
1856 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
1857 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
1860 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
1863 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
1865 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
1866 (mh-ps-print-msg-file, mh-print-msg): Ditto.
1868 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
1869 (mh-narrow-to-range, mh-toggle-tick): Ditto.
1871 2005-12-01 Bill Wohler <wohler@newt.com>
1873 Rewrote Reading Mail chapter in manual which affected mh-show
1874 customization group and related functions.
1876 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
1877 instead of mh-highlight-citation-p.
1878 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
1879 I think, so use "truncated".
1881 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
1882 section is Folders, not Organizing. Parent of mh-folder-faces is
1883 mh-folder, not mh-show.
1884 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
1885 (mh-thread): New group that corresponds with manual's Threading
1887 (mh-letter-faces): Group's manual section is Editing Drafts, not
1889 (mh-sortm-args): New customization variable that used to be a
1891 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
1892 Move from mh-index group to mh-folders group.
1893 (mh-alias-local-users-prefix, mh-large-folder)
1894 (mh-recursive-folders-flag, mh-before-quit-hook)
1895 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
1896 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
1898 (mh-highlight-citation-style): Rename from
1899 mh-highlight-citation-p. Sync docstrings with manual.
1900 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
1902 (mh-show-threads-flag): Move from mh-show group to mh-thread
1904 (mh-find-path-hook): Move from mh-show group to mh-e group.
1905 (mh-folder-updated-hook): Add to mh-folder group.
1906 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
1907 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
1908 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1909 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1910 (mh-display-buttons-for-inline-parts-flag)
1911 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1912 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1913 (mh-invisible-header-fields-default, mh-invisible-header-fields)
1914 (mh-lpr-command-format, mh-max-inline-image-height)
1915 (mh-max-inline-image-width)
1916 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1917 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1918 (mh-show-use-xface-flag, mh-store-default-directory)
1919 (mh-summary-height, mh-delete-msg-hook
1920 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
1923 (mh-scan-format-mh, mh-scan-good-msg-regexp)
1924 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1925 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
1926 non-fontification instead of non-fontifying.
1927 (mh-header-display): Use mh-mhl-format-file instead of
1928 mhl-formfile. Sync docstrings with manual.
1929 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
1930 count. Sync docstrings with manual.
1931 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
1932 so that message doesn't change when using this command. Sync
1933 docstrings with manual.
1934 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
1935 docstrings with manual.
1936 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
1937 to no-header. Sync docstrings with manual.
1938 (mh-ps-print-map): Delete keybindings for deleted commands
1939 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
1940 (mh-help-messages): Update printing help.
1941 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
1942 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
1943 (mh-prev-button, mh-folder-toggle-mime-part)
1944 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1945 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
1948 * mh-funcs.el (mh-sortm-args): Now a customization option and in
1950 (mh-pipe-msg): Rename include-headers to include-header. Sync
1951 docstrings with manual.
1952 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
1953 (mh-store-msg): Sync docstrings with manual.
1955 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
1956 docstrings with manual.
1957 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
1958 Sync docstrings with manual.
1959 (mh-mm-display-part, mh-mm-inline-message): Use
1960 mh-highlight-citation-style instead of mh-highlight-citation-p.
1961 (mh-press-button): Sync docstrings with manual.
1962 (mh-display-with-external-viewer): Fix default output in
1963 minibuffer. Sync docstrings with manual.
1965 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
1967 (mh-ps-print-color-option): Incorporate docstring from
1969 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
1971 (mh-ps-spool-msg): Slimline docstring. Rename from
1972 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
1974 (mh-ps-print-range): Extract method from common code in
1975 mh-ps-print-msg and mh-ps-print-msg-file.
1976 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
1977 (mh-ps-print-msg-show): Delete. Can use either
1978 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
1979 new code in mh-ps-spool-msg.
1980 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
1981 Sync docstrings with manual.
1982 (mh-ps-print-msg, mh-ps-print-msg-file)
1983 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
1984 docstrings with manual.
1986 * mh-utils.el (mh-show-ps-print-msg-show)
1987 mh-show-ps-print-toggle-mime): Delete.
1988 (mh-show-ps-print-map): Update accordingly.
1989 (mh-show-mode): Use mh-highlight-citation-style instead of
1990 mh-highlight-citation-p.
1991 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
1993 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
1994 docstrings with manual.
1995 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
1996 docstrings with manual.
1998 2005-12-01 Bill Wohler <wohler@newt.com>
2000 * mh-init.el (mh-defface-compat): Checkdoc fix.
2002 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
2003 Bogofilter is lowercase except at beginning of sentence and in
2006 2005-11-04 Bill Wohler <wohler@newt.com>
2008 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2009 Move to mh-init.el to minimize bulk of mh-customize.el.
2011 * mh-init.el: Modify commentary since file is used for load and
2012 initialization as well as setting and getting the variant.
2013 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2016 * mh-customize.el: Refactor faces. Move grayscale requirements
2017 last before t. Use uniform line breaks.
2018 (mh-min-colors-defined-flag): New variable.
2019 (mh-defface-compat): New function. Provides backward compatibility
2021 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2022 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
2023 (mh-folder-body): Use mh-defface-compat.
2025 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2027 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2028 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2029 (mh-folder-to-face): Use the min-colors attribute instead of the
2032 2005-11-03 Bill Wohler <wohler@newt.com>
2034 * mh-customize.el (mh-refile-preserves-sequences-flag)
2035 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
2036 docstrings with manual.
2038 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2040 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
2041 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2044 2005-11-01 Bill Wohler <wohler@newt.com>
2046 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2048 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2049 (mh-reply, mh-send, mh-send-other-window)
2050 (mh-fill-paragraph-function): Sync docstrings with manual.
2051 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2052 msg argument to message (to make for a better docstring).
2054 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
2055 to defcustom. Rename by adding -flag.
2056 (mh-compose-forward-as-mime-flag)
2057 (mh-compose-letter-function, mh-forward-subject-format)
2058 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2059 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2062 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
2063 (mh-ps-print-msg): Remove debugging messages.
2064 (mh-ps-print-msg-show, mh-ps-print-msg-show)
2065 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2066 after message per conventions.
2068 2005-10-30 Bill Wohler <wohler@newt.com>
2070 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2071 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
2072 docstrings with manual.
2074 * mh-customize.el (mh-compose-space-does-completion-flag)
2075 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2076 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
2077 means" to remain checkdoc clean and consistent with Emacs. I
2078 raised this issue with the Emacs developers and Stallman agrees
2079 that "On means" should be allowed in custom docstrings but that
2080 this change requires thought and should wait until after the Emacs
2083 2005-10-28 Bill Wohler <wohler@newt.com>
2085 * mh-comp.el (mh-annotate-msg): Use new variable
2086 mh-scan-field-destination-offset rather than hard-coding 1.
2088 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2090 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2091 functions to check input for mh-adaptive-cmd-note-flag and
2092 mh-scan-format-file respectively.
2093 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2096 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
2097 destination is the -, t, b, c, or n character for Replied, To, cc,
2098 Bcc, or Newsgroups respectively.
2099 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
2100 Call new function mh-msg-num-width-to-column to make leap between
2101 width and column more explicit.
2102 (mh-msg-num-width-to-column): New function that steals logic from
2103 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
2104 isn't t since we can't adapt the scan lines in this case.
2105 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2106 make the documentation more clear.
2107 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2108 column, not a width.
2109 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
2110 variable mh-scan-field-destination-offset rather than hard-coding
2113 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2114 (mh-notate): Use new variable mh-scan-field-destination-offset
2115 rather than hard-coding 1.
2116 (mh-message-number-width): Rename to mh-msg-num-width to be
2117 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2119 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2120 (mail-citation-hook): Quote URLs in docstrings and precede with
2121 `URL'. The former will suppress checkdoc warnings, the latter will
2122 turn them into hyperlinks in Emacs 22 (I just added the code to do
2124 (mh-scan-format-file): Checkdoc fix.
2126 2005-10-27 Bill Wohler <wohler@newt.com>
2128 * mh-customize.el (mh-adaptive-cmd-note-flag)
2129 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2131 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2132 (mh-note-cur, mh-scan-good-msg-regexp)
2133 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2134 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2135 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2136 (mh-scan-subject-regexp, mh-scan-format-regexp)
2137 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2140 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2142 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2143 of hard-coded string.
2144 (mh-mail-header-separator, mh-signature-separator-regexp): Use
2145 "regular expression" in docstring instead of regexp.
2146 (mh-scan-msg-number-regexp)
2147 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2148 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2149 (mh-cmd-note): Sync docstrings with manual.
2151 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2154 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2156 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2157 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2158 (mh-mml-secure-message-signencrypt): Ditto.
2160 2005-10-24 Bill Wohler <wohler@newt.com>
2162 * mh-gnus.el: Load mml.el in order to see if
2163 mml-minibuffer-read-disposition is defined or not.
2165 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2168 2005-10-23 Miles Bader <miles@gnu.org>
2170 * .arch-inventory: New file.
2172 2005-10-23 Bill Wohler <wohler@newt.com>
2174 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
2175 docstring with manual.
2177 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
2178 mh-alias.el and move to mh-acros.el
2180 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
2181 mh-identity.el and move to mh-acros.el
2183 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2184 mh-identity.el and mh-alias.el.
2186 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2187 warning in Emacs 22.
2189 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2191 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2192 assoc-string (if the function is available) and falls back on
2193 assoc-ignore-case if assoc-string is not found.
2194 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2195 assoc-ignore-case is a obsolete function in Emacs 22.
2197 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2198 track of whether the tool-bar in mh-folder-mode has been
2200 (mh-folder-mode): Initialize the tool-bar for folders the first
2201 time we get into mh-letter-mode.
2203 * mh-customize.el (mh-buffer-exists-p): New function which tests
2204 presence of buffers of a given mode.
2205 (mh-tool-bar-define): New functions
2206 mh-tool-bar-folder-buttons-init and
2207 mh-tool-bar-letter-buttons-init are defined. These functions are
2208 used to create the tool-bar from the corresponding customizable
2211 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2212 keeps track of whether the tool-bar in mh-letter-mode has been
2214 (mh-letter-mode): Initialize the tool-bar for drafts the first
2215 time we get into mh-letter-mode.
2217 2005-10-23 Bill Wohler <wohler@newt.com>
2219 * mh-comp.el (mh-letter-menu): Rename
2220 mh-mhn-compose-external-compressed-tar to
2221 mh-mh-compose-external-compressed-tar. Rename
2222 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2223 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2224 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
2225 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2226 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
2228 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2229 mh-mh-directive-present-p.
2230 (mh-send-letter): Rename mh-mhn-directive-present-p to
2231 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
2232 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2233 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
2234 mh-mhn-compose-external-compressed-tar to
2235 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2236 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2237 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2238 mh-mh-compose-anon-ftp. Rename
2239 mh-mhn-compose-external-compressed-tar to
2240 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2241 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2242 mh-mh-compose-external-type.
2243 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2244 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
2245 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2246 mh-yank-from-start-of-msg to mh-yank-behavior.
2247 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2248 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2249 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2250 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2251 (mh-letter-complete-or-space, mh-letter-confirm-address)
2252 (mh-letter-next-header-field-or-indent)
2253 (mh-letter-previous-header-field)
2254 (mh-letter-toggle-header-field-display): Sync docstrings with
2257 * mh-customize.el (mh-edit-mhn-hook): Rename to
2259 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2260 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2261 and user-visible values from mhn and Gnus to MH and MML.
2262 (mh-before-send-letter-hook): Add 'ispell-message option.
2263 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2264 mh-pgp-support-flag.
2265 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2266 (mh-delete-yanked-msg-window-flag)
2267 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2268 (mh-letter-complete-function, mh-letter-fill-column)
2269 (mh-mml-method-default, mh-signature-file-name)
2270 (mh-signature-separator-flag, mh-x-face-file)
2271 (mh-yank-behavior, mail-citation-hook)
2272 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2275 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2276 provided for Emacs 21 environments that lack it.
2278 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2280 (mh-compose-forward): mh-mh-forward-message requires string arg.
2281 (mh-minibuffer-read-type): New function.
2282 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2283 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2284 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2285 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2286 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
2287 Rename mh-mhn-compose-external-type to
2288 mh-mh-compose-external-type.
2289 (mh-mhn-compose-external-compressed-tar): Rename to
2290 mh-mh-compose-external-compressed-tar. Rename
2291 mh-mhn-compose-external-type to mh-mh-compose-external-type.
2292 (mh-mhn-compose-external-type): Rename to
2293 mh-mh-compose-external-type.
2294 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2295 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
2296 Use correct program in message.
2297 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2298 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2299 (mh-compose-forward, mh-mh-attach-file)
2300 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2301 (mh-mh-compose-external-type, mh-mh-forward-message)
2302 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2303 mh-minibuffer-read-type.
2304 (mh-mime-content-types): Move comment about only being used in
2305 Emacs 20 to docstring.
2306 (mh-mh-compose-external-type): Rename extra-param argument to
2308 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
2309 (mh-mime-display-part, mh-mime-display-single): Rename
2310 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
2311 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2313 (mh-compose-forward): Rename mh-mhn-compose-forw to
2314 mh-mh-forward-message.
2315 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2317 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2318 (mh-mh-attach-file, mh-mh-compose-type)
2319 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2320 (mh-mh-compose-external-compressed-tar)
2321 (mh-mh-compose-external-type, mh-mh-forward-message)
2322 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
2323 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2324 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2325 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2326 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2327 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2328 Sync docstrings with manual.
2330 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2331 mh-pgp-support-flag.
2333 2005-10-17 Peter S Galbraith <psg@debian.org>
2335 * mh-identity.el (mh-identity-field-handler): Use
2336 `assoc-ignore-case' to compare against header field for mixed-case
2339 2005-10-17 Bill Wohler <wohler@newt.com>
2341 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
2342 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2343 to mail/compose, fld_open to fld-open.
2344 (mh-letter-tool-bar-map): Rename image file mail_send to
2347 2005-10-16 Bill Wohler <wohler@newt.com>
2349 * mh-comp.el (mh-display-completion-list-compat): New macro which
2350 calls `display-completion-list' correctly in older environments.
2351 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2353 (mh-complete-word): Use it.
2355 * mh-init.el (mh-image-load-path): Use locate-library to find
2356 MH-E. This simplified the code a lot. Flattened out nested
2357 statements even more.
2359 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2361 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2362 causes a compiler warning.
2364 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2365 the message to be viewed (closes SF #1306141).
2367 2005-10-16 Masatake YAMATO <jet@gyve.org>
2369 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2370 of completion to `display-completion-list'.
2372 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2374 * mh-init.el (mh-image-load-path-called-flag): New variable which
2375 is used by mh-image-load-path so that it runs only once.
2376 (mh-image-load-path): Modify so that it gets run only once. Also
2377 flatten out heavily nested if statements to make it clearer.
2379 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2380 to find images used in the toolbar.
2382 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2384 2005-10-14 Bill Wohler <wohler@newt.com>
2386 * mh-e.el (Version, mh-version): Add +cvs to version.
2388 2005-10-14 Bill Wohler <wohler@newt.com>
2390 Released MH-E version 7.85.
2392 * mh-e.el (Version, mh-version): Update for release 7.85.
2394 2005-10-14 Bill Wohler <wohler@newt.com>
2396 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
2397 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2398 need to be indented.
2400 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
2401 but the code that invoked the face had not been updated. Tick
2402 highlighting working again.
2404 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2405 make-variable-buffer-local call to top level to avoid warnings in
2408 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
2411 2005-10-09 Bill Wohler <wohler@newt.com>
2413 * mh-init.el (mh-image-load-path): New function that adds the path
2414 to the MH-E images to the image-load-path or load-path depending
2415 on the version of Emacs.
2417 * mh-customize.el: Call mh-image-load-path just before
2418 mh-tool-bar-define so that the toolbar images can be found.
2420 2005-10-04 Bill Wohler <wohler@newt.com>
2422 * ChangeLog: Move contents into ChangeLog.1 and trim.
2424 * ChangeLog.1: New file. Contains old ChangeLog.
2427 Copyright (C) 2005 Free Software Foundation, Inc.
2429 Copying and distribution of this file, with or without modification,
2430 are permitted in any medium without royalty provided the copyright
2431 notice and this notice are preserved.
2434 ;; sentence-end-double-space: nil
2437 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51