1 2011-12-27 Ted Phelps <phelps@gnusto.com>
2 Postpone junk processing (closes SF #2945712). Patch submitted by
3 Ted Phelps and refined by Bill Wohler.
5 * mh-e.el (mh-blacklist, mh-whitelist): New variables.
6 (mh-whitelist-preserves-sequences-flag): New option.
7 (mh-before-commands-processed-hook): Update documentation.
8 (mh-blacklist-msg-hook, mh-whitelist-msg-hook): New hooks.
9 (mh-folder-blacklisted, mh-folder-whitelisted): New faces.
10 * mh-folder.el (mh-folder-message-menu): Add "Junk" to "Undo."
11 (mh-folder-font-lock-keywords): Add regexps for blacklisted and
13 (mh-folder-mode): Add mh-blacklist and mh-whitelist variables.
14 (mh-execute-commands): Update documentation.
15 (mh-undo, mh-outstanding-commands-p, mh-process-commands)
16 (mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): Handle
17 blacklisted and whitelisted messages.
18 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Update to put
19 messages in blacklist and whitelist respectively for latter
21 (mh-blacklist-a-msg, mh-junk-whitelist-a-msg): New function to
22 support previous functions.
23 (mh-junk-blacklist-disposition): New function.
24 (mh-junk-process-blacklist, mh-junk-process-whitelist): New
25 functions that perform the blacklisting and whitelisting
26 respectively that used to be performed by mh-junk-blacklist and
28 * mh-scan.el (mh-scan-blacklisted-msg-regexp)
29 (mh-scan-whitelisted-msg-regexp): New scan line regexps.
30 (mh-scan-good-msg-regexp): Add B and W characters to regexp.
31 (mh-scan-cmd-note-width): Update documentation.
32 (mh-note-blacklisted, mh-note-whitelisted): New scan line
34 * mh-search.el (mh-index-execute-commands): Handle blacklisted and
37 2011-12-27 Jeffrey C Honig <jch@honig.net>
38 * mh-e.el (mh-invisible-header-fields-internal): Added:
39 Bounces-To:, Bounces_to:, X-ACL-Warn:, X-BFI:, X-BPS1:, X-BPS2:,
40 X-Campaign-Id:, X-Campaign:, X-Cloudmark-SP-, X-Destination-ID:,
41 X-detected-operating-system:, X-DocGen-Version:, X-EM-,
42 X-Email-Type-Id:, X-FB-SS:, X-FuHaFi:, X-MailFlowPolicy:,
43 X-mail_abuse-inquires, X-MailingID:, X-Match:,
44 X-MaxCode-Template:, X-ME-Bayesian:, X-Sendergroup:, X-SFDC-,
45 X-SMFBL:, X-SMHeaderMap:, X-VGI-OESCD:, X-VirtualServer:,
46 X-VirtualServerGroup:, X-XPT-XSL-Name:, X-Y-GMX-Trusted:,
47 X-XWALL-, X-ZixNet:. Changed X-Habeas-SWE- to X-Habeas-. Updated
48 the comment. (addresses SF #1916032).
50 2011-12-27 Bill Wohler <wohler@newt.com>
52 * mh-e.el (mh-invisible-header-fields-internal): Add
53 X-AnalysisOut, X-Authentication-Info, X-Auto-Response-Suppress,
54 X-Bayes-Prob, X-Cam-, X-CanIt-Geo, X-Completed, X-Facebook,
55 X-Forwarded-, X-Generated-By, X-Headers-End, X-IEEE-UCE,
56 X-Jira-Fingerprint, X-Junkmail-, X-Launchpad-, X-MXL-Hash,
57 X-Notification-, X-Notifications, X-Oracle-Calendar. Replace
58 X-DCC-Usenix-Metrics with X-DCC- (addresses SF #1916032).
60 2011-12-27 Jeffrey C Honig <jch@honig.net>
62 * mh-letter.el (mh-yank-cur-msg): Replace usage of set-buffer with
63 with-current-buffer in mh-yang-cur-msg, semantics changed in emacs
64 23 and we do not want to use set-buffer unless we actually want to
65 change the buffer the user is looking at (closes SF #2830504).
67 * mh-show.el (mh-show-folder-map): Add missing key binding for
68 mh-show-pack-folder (closes SF #3466086).
70 2011-12-25 Bill Wohler <wohler@newt.com>
72 * mh-e.el (Version, mh-version): Add +bzr to version.
74 2011-11-20 Bill Wohler <wohler@newt.com>
76 * Release MH-E version 8.3.1.
78 * mh-e.el (Version, mh-version): Update for release 8.3.1.
80 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
82 * mh-utils.el (mh-folder-list): Fix typo.
83 (mh-children-p): Move part of the docstring to a comment.
85 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
87 * mh-search.el (mh-pick-parse-search-buffer): Fix typo.
89 2011-09-20 Bill Wohler <wohler@newt.com>
91 Release MH-E version 8.3.
93 * mh-e.el (Version, mh-version): Update for release 8.3.
95 2011-07-30 Bill Wohler <wohler@newt.com>
97 * mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p
100 2011-07-17 Bill Wohler <wohler@newt.com>
102 Release MH-E version 8.2.93.
104 * mh-e.el (Version, mh-version): Update for release 8.2.93.
106 * mh-compat.el (mh-pop-to-buffer-same-window): Delete.
107 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
108 (mh-make-folder): Revert to switch-to-buffer, as the Emacs folks
109 decided that it was fine to use it in programs.
111 2011-07-16 Bill Wohler <wohler@newt.com>
113 Release MH-E version 8.2.92.
115 * mh-e.el (Version, mh-version): Update for release 8.2.92.
117 2011-07-12 Bill Wohler <wohler@newt.com>
119 Release MH-E version 8.2.91.
121 * mh-e.el (Version, mh-version): Update for release 8.2.91.
123 * mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
124 function to call switch-to-buffer on systems that lack
125 pop-to-buffer-same-window.
126 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
127 (mh-make-folder): Call mh-pop-to-buffer-same-window instead of
128 switch-to-buffer. The previous change which used pop-to-buffer
129 produced the wrong behavior.
131 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change)
133 * mh-xface.el (mh-picon-get-image): Remove quote from block
135 * mh-mime.el (mh-mh-directive-present-p): Ditto.
137 2011-07-10 Bill Wohler <wohler@newt.com>
139 Release MH-E version 8.2.90.
141 * mh-e.el (Version, mh-version): Update for release 8.2.90.
143 * mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
145 * mh-mime.el (mh-decode-message-subject): Fix case of Subject.
147 * mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
148 (mh-make-folder): Replace calls to switch-to-buffer with of
149 pop-to-buffer. The former is intended for interactive use only and
150 generates warnings in Emacs 24.
152 2011-07-09 Bill Wohler <wohler@newt.com>
154 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
155 arguments to keep checkdoc happy.
157 * mh-search.el (mh-flists-execute): Ditto.
159 * mh-funcs.el (mh-undo-folder): Ditto.
161 * mh-comp.el (mh-user-agent-compose): Ditto.
163 * mh-xface.el (mh-face-to-png, mh-uncompface)
164 (mh-picon-file-contents): Only call set-buffer-multibyte if it
165 exists, which it doesn't in XEmacs.
167 2011-07-04 Bill Wohler <wohler@newt.com>
169 * mh-e.el: Just require mh-loaddefs since loading it in an
170 eval-and-compile block causes compilation errors in XEmacs.
172 * mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
173 * mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
174 mh-do-in-xemacs block.
176 * mh-compat.el (mh-window-full-height-p): Add compatibility
178 * mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
181 * mh-letter.el (mh-letter-mode-map, mh-letter-complete)
182 (mh-complete-word): Remove FIXME comments since these functions
183 are still needed in other Emacsen. However, they can probably
184 stand to be generalized like completion-at-point.
185 (mh-letter-complete-or-space): Remove unused variable.
187 2011-07-03 Bill Wohler <wohler@newt.com>
189 * mh-compat.el (mh-test-completion): Add compatibility function
191 * mh-alias.el (mh-alias-letter-expand-alias): Use it, and avoid
192 compiler warning on XEmacs.
195 * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
197 * mh-folder.el: Use boundp instead of fboundp when testing
198 existence of desktop-buffer-mode-handlers (closes SF #1510145).
200 2011-05-10 Jim Meyering <meyering@redhat.com>
202 Fix doubled-word typos.
203 * mh-alias.el (mh-alias-minibuffer-confirm-address): if if -> if it
204 * mh-scan.el (mh-scan-destination-width): in in -> in
206 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
208 * mh-utils.el (mh-folder-completion-function): Make it work like
209 file-name completion, so partial-completion can do its job.
211 * mh-letter.el (mh-letter-completion-at-point): New function, extracted
212 from mh-letter-complete
213 (mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space):
215 (mh-complete-word): Only use the common-substring arg when it works.
216 (mh-folder-expand-at-point):
217 * mh-alias.el (mh-alias-letter-expand-alias): Return data suitable for
218 completion-at-point-functions.
220 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
222 * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
223 for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
225 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
227 * Version 23.3 released.
229 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
231 * mh-funcs.el (mh-store-msg, mh-store-buffer):
232 * mh-mime.el (mh-mime-save-parts): Use read-directory-name.
234 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
236 * mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
238 2010-11-07 Glenn Morris <rgm@gnu.org>
240 * mh-seq.el (mh-read-msg-list): Use point-at-eol.
242 2010-11-03 Glenn Morris <rgm@gnu.org>
244 * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
246 2010-05-14 Peter S Galbraith <psg@debian.org>
248 * mh-mime.el (mh-decode-message-subject): New function to decode
249 RFC2047 encoded Subject lines. Used for reply drafts.
250 * mh-comp.el (mh-compose-and-send-mail): Call
251 `mh-decode-message-subject' on (reply or forward) message drafts.
253 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
255 * Version 23.2 released.
257 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
259 * mh-show.el (mh-showing-mode): Move function to mh-e.el.
260 * mh-e.el (mh-showing-mode): Use define-minor-mode.
262 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
264 * mh-scan.el (mh-scan-cmd-note-width): Doc fix.
265 (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
266 (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
267 (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
268 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
269 (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
270 (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
271 (mh-scan-subject-regexp, mh-update-scan-format)
272 (mh-msg-num-width-to-column): Fix typos in docstrings.
274 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
278 2009-12-01 Bill Wohler <wohler@newt.com>
280 * mh-search.el (mh-mairix-execute-search): Use mh vfolder_format.
281 Fix typo in database path.
282 (mh-namazu-execute-search): Specify -q in example since namazu is
283 excessively garrulous.
285 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
287 * mh-thread.el (mh-thread-set-tables):
288 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-stealth-update):
289 (mh-speed-extract-folder-name, mh-speed-parse-flists-output):
290 (mh-speed-invalidate-map, mh-speed-add-folder):
291 * mh-show.el (mh-invalidate-show-buffer, mh-show-sequence-menu):
292 * mh-seq.el (mh-list-sequences):
293 * mh-search.el (mh-index-execute-commands, mh-index-add-to-sequence)
294 (mh-index-delete-from-sequence, mh-index-update-maps):
295 * mh-scan.el (mh-msg-num-width):
296 * mh-print.el (mh-ps-spool-buffer):
297 * mh-mime.el (mh-mime-save-parts, mh-handle-set-external-undisplayer)
299 * mh-letter.el (mh-yank-cur-msg):
300 * mh-funcs.el (mh-list-folders, mh-pipe-msg, mh-store-msg)
302 * mh-folder.el (mh-modify, mh-visit-folder, mh-write-msg-to-file)
303 (mh-prompt-for-refile-folder):
304 * mh-e.el (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
305 (mh-handle-process-error, mh-variant-info):
306 * mh-comp.el (mh-forward):
307 * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias):
308 (mh-alias-add-alias-to-file): Use with-current-buffer (closes SF
311 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
313 * mh-e.el: Load mh-loaddefs during compilation as well.
315 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
317 * mh-e.el (mh-loaddefs): Load rather than require.
319 2009-10-06 Glenn Morris <rgm@gnu.org>
321 * mh-show.el (mh-show-msg): Use window-full-height-p.
323 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
325 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
326 => (default-value 'buffer-file-coding-system).
328 2009-08-10 Bill Wohler <wohler@newt.com>
330 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
331 (mh-spamprobe-blacklist): Sync docstring with manual.
333 2009-07-22 Kevin Ryde <user42@zip.com.au>
335 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
336 (mh-spamprobe-blacklist): Hyperlink URLs in docstrings with URL `...'.
338 2009-06-13 Bill Wohler <wohler@newt.com>
340 Release MH-E version 8.2.
342 * mh-e.el (Version, mh-version): Update for release 8.2.
344 * mh-seq.el (mh-folder-size-flist)
345 * mh-speed.el (mh-speed-parse-flists-output)
346 * mh-xface.el (mh-face-display-function): Remove trailing space.
348 2009-03-13 D. Goel <deego3@gmail.com>
350 * mh-seq.el (mh-folder-size-flist): Use (values-list) in m-v call
353 * mh-speed.el (mh-speed-parse-flists-output): Ditto.
354 * mh-xface.el (mh-face-display-function): Ditto.
355 * mh-search.el (mh-index-parse-search-regexp): Ditto.
357 * mh-thread.el (mh-thread-generate): Ditto.
359 * mh-seq.el (mh-parse-flist-output-line): Return list rather than values.
360 We want to avoid emacs using m-v facilities.
361 (mh-folder-size-folder): Ditto.
362 (mh-parse-flist-output-line): Ditto.
363 * mh-thread.el (mh-thread-prune-subject): Ditto.
364 * mh-xface.el (mh-picon-get-image): Ditto.
365 (mh-picon-file-contents): Ditto.
366 * mh-search.el (mh-index-evaluate): Ditto.
368 2009-01-27 Bill Wohler <wohler@newt.com>
370 * mh-funcs.el (mh-pack-folder): Fix docstring.
372 * mh-e.el (mh-pack-folder-hook): Bump package-version to 8.2.
374 * mh-gnus.el (mh-mm-merge-handles)
375 (mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
376 (mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
377 code from Gnus 5.11 (closes SF #2235022).
379 2009-01-26 Stephen Gildea <gildea@stop.mail-abuse.org>
381 * mh-e.el (mh-pack-folder-hook): New variable.
382 * mh-funcs.el (mh-pack-folder): Call new mh-pack-folder-hook.
384 2009-01-26 Bill Wohler <wohler@newt.com>
386 * mh-utils.el (mh-goto-header-end): Use mh-mail-header-separator
387 instead of -* in regexp.
389 * mh-folder.el (mh-folder-mode-help-messages): Add e and t to K's
392 2009-01-09 Glenn Morris <rgm@gnu.org>
394 * mh-letter.el: Replace last-input-char with last-input-event.
396 2008-08-18 Bill Wohler <wohler@newt.com>
398 Release MH-E version 8.1.
400 * mh-e.el (Version, mh-version): Update for release 8.1.
402 2008-08-11 Bill Wohler <wohler@newt.com>
404 * mh-e.el (mh-variant-mh-info, mh-variant-nmh-info)
405 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
406 (mh-variant-set, mh-variant, mh-scan-format-file): Fix typo in
409 * mh-comp.el (mh-reply)
410 * mh-e.el (mh-sys-path, mh-variant-info, mh-variant-mu-mh-info)
411 (mh-variant-p, mh-profile-component, mh-variant-set, mh-variant)
412 (mh-scan-format-file)
413 * mh-folder.el (mh-regenerate-headers)
414 * mh-scan.el (mh-scan-format)
415 * mh-search.el (mh-pick-regexp-builder): Rename variant mu-mh to
416 gnu-mh and be explicit about GNU mailutils MH in docstrings (with
417 thanks to Darel Henman) (closes SF #1768928).
419 2008-08-01 Bill Wohler <wohler@newt.com>
421 * mh-show.el (mh-show-preferred-alternative)
422 * mh-e.el (mh-annotate-msg-hook): Sync docstring with manual.
424 * mh-comp.el (mh-send-letter, mh-redistribute): Mention
425 mh-annotate-msg-hook in docstring.
427 2008-06-29 Jeffrey C Honig <jch@honig.net>
429 * mh-e.el (mh-invisible-header-fields-internal): Add invisible
430 header fields for X-Hz (mail from Hertz), X-Proofpoint (Proofpoint
431 antivirus/anti-spam) and X-RIM (Research In Motion).
433 2008-06-20 Stephen Eglen <stephen@gnu.org>
435 * mh-show.el (mh-defun-show-buffer): Use `...' rather than
436 "..." in generated docstrings.
438 2008-06-12 Glenn Morris <rgm@gnu.org>
440 * mh-seq.el (tool-bar-map): Define for compiler.
442 * mh-folder.el (mh-folder-mode):
443 * mh-letter.el (mh-letter-mode):
444 * mh-show.el (mh-show-mode): Check tool-bar-map is bound.
446 2008-06-08 John Paul Wallington <jpw@pobox.com>
448 * mh-acros.el (toplevel): Put `doc-string-elt' properties on
449 `defun-mh' and `defmacro-mh'.
451 * mh-alias.el (mh-alias-read-address-map): Define within defvar.
453 * mh-comp.el (mh-letter-mode-syntax-table): Define within defvar.
455 * mh-letter.el (mh-complete-word): Doc fix.
457 2008-06-02 John Paul Wallington <jpw@pobox.com>
459 * mh-e.el (mh-exec-cmd-env-daemon): Doc fix.
461 2008-06-01 John Paul Wallington <jpw@pobox.com>
463 * mh-e.el (mh-path, mh-variant): Use dotted syntax for
464 `package-version' info.
466 2008-05-26 Jeffrey C Honig <jch@honig.net>
468 * mh-e.el (mh-invisible-header-fields-internal): Remove Newsgroups
469 from the list. Add Bytes, X-Campaignid, X-Country-Chain,
470 X-Declude-, X-fmx-, X-Identity, X-Mailer_, X-pair-, X-SPF-,
473 2008-05-23 Bill Wohler <wohler@newt.com>
475 * mh-e.el (mh-invisible-header-fields-internal): Remove
476 DKIM-Signature as it is covered by DKIM-. Fully qualify X-EID.
478 2008-05-19 Sergey Poznyakoff <gray@gnu.org.ua>
480 * mh-mime.el (mh-mh-to-mime, mh-mh-to-mime-undo): Preserve modes
481 when converting to or from MIME (closes SF #1966722).
483 2008-05-19 Bill Wohler <wohler@newt.com>
485 * mh-e.el (mh-invisible-header-fields-internal): Sort list in a
486 case-insensitive way and add comment about it. Add many header
487 fields (closes SF #1916032).
489 2008-05-19 Xavier Maillard <xma@gnu.org> (tiny change)
491 * mh-utils.el (mh-find-path): Don't throw error if MH environment
492 variable is being used (closes SF #1946861).
494 2008-05-19 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
496 * mh-search.el (mh-mairix-regexp-builder): Add additional items to
497 search string to support org-mode (closes SF #1965704).
499 2008-03-18 Bill Wohler <wohler@newt.com>
501 * mh-e.el (mh-invisible-header-fields-internal): Add Accreditor,
503 (mh-invisible-header-fields, mh-invisible-header-fields-default):
504 Update URL to bug report for users to report ignored fields.
506 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
508 * mh-xface.el (mh-uncompface, mh-picon-file-contents):
509 Use set-buffer-multibyte...
510 (mh-face-display-function, mh-x-image-display): ...rather than bind
511 default-enable-multibyte-characters.
513 2008-02-24 Bill Wohler <wohler@newt.com>
515 * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
516 when sending synchronously too.
518 2008-02-19 Bill Wohler <wohler@newt.com>
520 * mh-comp.el (mh-annotate-msg):
521 * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
524 2008-01-30 Bill Wohler <wohler@newt.com>
526 * mh-mime.el (mh-mml-to-mime): Don't look up sender if From
527 absent. Fixes "Wrong type argument: stringp, nil" error.
529 2007-12-02 Glenn Morris <rgm@gnu.org>
531 * mh-mime.el (mail-strip-quoted-names): Autoload it.
533 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu>
535 * mh-e.el (mh-xemacs-flag): Remove.
536 (mh-min-colors-defined-flag):
537 * mh-xface.el (mh-show-xface-function):
538 * mh-utils.el (mh-colors-available-p):
539 * mh-show.el (mh-show-mode):
540 * mh-gnus.el (mh-gnus-local-map-property):
541 * mh-folder.el (mh-folder-mode-map)
542 (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
543 * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
544 with (featurep 'xemacs).
546 2007-09-11 Bill Wohler <wohler@newt.com>
548 * mh-e.el (Version, mh-version): Add +cvs to version.
550 2007-08-25 Stephen Gildea <gildea@stop.mail-abuse.org>
552 * mh-e.el (mh-annotate-msg-hook): New variable.
554 * mh-comp.el (mh-annotate-msg): Call new mh-annotate-msg-hook.
555 (mh-annotate-list): New variable, for mh-annotate-msg-hook.
557 2007-08-21 Jeffrey C Honig <jch@honig.net>
559 * mh-folder.el (mh-folder-message-menu, mh-folder-mode-map): Add
560 folder mode support for mh-show-preferred-alternative (closes SF
563 * mh-show.el (mh-show-preferred-alternative)
564 (mh-show-write-message-to-file, mh-show-message-menu)
565 (mh-show-mode-map): Add mh-show-preferred-alternative (bound to
566 ":") which will show the message's preferred alternative
567 overriding the users configured preference. Useful for showing
568 HTML when text content is lacking (closes SF #1777321).
571 (mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
572 known exclusions as comments before the list and move parens to
573 separate lines to aid in sorting (closes SF #1701231).
575 * mh-mime.el (mm-decode-body): Remove explicit autoload of
578 * mh-alias.el (mh-alias-expand): Set up automatic autoload of
581 2007-08-20 Jeffrey C Honig <jch@honig.net>
583 * mh-mime.el (message-options-set): Add missing autoloads from my
586 * mh-comp.el (mh-forward): When forwarding with mml, messages are
587 no longer included in reverse order (closes SF #1730393).
589 * mh-mime.el (mh-mml-forward-message): Forward messages as inline
590 attachments (closes SF #1378993).
592 2008-02-06 Richard Stallman <rms@gnu.org>
594 * mh-seq.el (mh-make-seq, mh-seq-name): Use defsubst.
596 * mh-acros.el (mh-do-in-gnu-emacs, mh-do-in-xemacs)
597 (with-mh-folder-updating, mh-in-show-buffer)
598 (mh-iterate-on-messages-in-region, mh-iterate-on-range):
599 (mh-do-at-event-location): Add debug decls.
600 (mh-seq-msgs): Use defsubst.
602 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
604 * mh-e.el (mh-scan-format-file-check, mh-adaptive-cmd-note-flag-check):
605 * mh-xface.el (mh-x-image-url-cache-canonicalize):
606 Replace `legal' with `valid'.
608 2007-08-19 Jeffrey C Honig <jch@honig.net>
610 * mh-e.el (mh-invisible-header-fields-internal): We want to show
611 Comments: and hide Comment:, not the other way around.
613 * mh-mime.el (mh-mml-to-mime): GPG requires e-mail addresses, not
614 aliases. So resolve aliases before passing addresses to GPG/PGP
617 * mh-e.el (mh-invisible-header-fields-internal): Update with all
619 http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
620 own. I added attributions to entries we already had that did not
623 2007-08-08 Glenn Morris <rgm@gnu.org>
625 * mh-folder.el, mh-letter.el, mh-show.el: Replace `iff' in
626 doc-strings and comments.
628 2007-07-25 Glenn Morris <rgm@gnu.org>
630 * Relicense all FSF files to GPLv3 or later.
632 2007-07-11 Bill Wohler <wohler@newt.com>
634 * mh-compat.el (mh-display-color-cells): Fix on XEmacs 21.5b28.
635 Thanks to Henrique Martins for the help (closes SF #1749774).
637 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
639 * mh-mime.el (mh-mh-directive-present-p):
640 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
642 2006-11-14 Bill Wohler <wohler@newt.com>
644 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
645 reserved Windows filename characters (closes SF #1396499).
647 2006-11-13 Bill Wohler <wohler@newt.com>
649 Release MH-E version 8.0.3.
651 * mh-e.el (Version, mh-version): Update for release 8.0.3.
653 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
654 with "Non-nil means". Perhaps this option should have a -flag
656 (mh-junk-background): Sync docstring with manual.
658 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
659 (mh-spamprobe-blacklist): Sync docstring with manual.
661 2006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
663 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
664 Use mh-junk-background consistently in call-process calls.
665 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
666 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
667 Use with-current-buffer so the right thing happens if
668 mh-junk-background is t (closes SF #1594802).
670 * mh-e.el (mh-junk-background): Document that On value is 0;
671 t may be used for debugging.
673 2006-11-10 Andreas Schwab <schwab@suse.de>
675 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
677 2006-11-10 Glenn Morris <rgm@gnu.org>
679 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
681 2006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
683 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
684 quotation marks, so that the last two arguments of sa-learn
685 are separated properly (closes SF #1565460).
686 (mh-spamassassin-blacklist): In example .procmailrc, add
687 PATH element to find mhparam on Debian.
689 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
691 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
692 so that we always have a valid string for split-string even if
693 nothing is added in mh-send-letter (closes SF #1564742).
695 2006-07-03 Bill Wohler <wohler@newt.com>
697 Release MH-E version 8.0.2.
699 * mh-e.el (Version, mh-version): Update for release 8.0.2.
701 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
703 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
704 it refers to the icons in mh-xemacs-icon-map instead of trying to
705 declare the icons in situ. This allows mh-tool-bar.el to be
706 compiled under XEmacs. Remove initial value for
707 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
708 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
709 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
710 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
712 2006-07-03 Bill Wohler <wohler@newt.com>
714 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
715 that mh-xemacs needs functions in mh-compat.
717 2006-06-29 Bill Wohler <wohler@newt.com>
719 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
720 loop construct to be consistent with other loops, and because
721 edebug doesn't work without it.
723 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
725 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
726 redundant +s in regexp (closes SF #1514424).
728 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
730 * mh-mime.el (mh-mime-save-parts): Add -store option to
731 mhn (closes SF #1513140).
733 2006-06-20 Bill Wohler <wohler@newt.com>
735 Release MH-E version 8.0.1.
737 * mh-e.el (Version, mh-version): Update for release 8.0.1.
739 2006-06-15 Bill Wohler <wohler@newt.com>
741 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
742 suffix for folder names, as <> are illegal filename characters on
743 Windows (closes SF #1507002).
745 2006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
747 * mh-comp.el (mh-send-uses-spost): New variable.
748 (mh-send-letter): Do not use -msgid and -mime if
749 mh-send-uses-spost is t (closes SF #1486726).
751 2006-06-02 Bill Wohler <wohler@newt.com>
753 * mh-search.el (mh-folder-exists-p): Change test from an empty buffer,
754 to one that contains the actual folder, since GNU mailutils' folder
755 command displays output if the folder doesn't exist (closes SF
758 2006-05-06 Bill Wohler <wohler@newt.com>
760 Release MH-E version 8.0.
762 * mh-e.el (Version, mh-version): Update for release 8.0.
764 2006-05-05 Bill Wohler <wohler@newt.com>
766 * mh-e.el: Update commentary.
768 2006-04-28 Bill Wohler <wohler@newt.com>
770 Release MH-E version 7.95.
772 * mh-e.el (Version, mh-version): Update for release 7.95.
774 2006-04-26 Eric Ding <ericding@alum.mit.edu>
776 * mh-e.el (mh-invisible-header-fields-internal): Add entry
779 2006-04-25 Bill Wohler <wohler@newt.com>
781 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
782 Folders returned by mh-folder-completion-function no longer need
783 adornment (closes SF #1476270).
785 2006-04-21 Bill Wohler <wohler@newt.com>
787 * mh-e.el (Version, mh-version): Add +cvs to version.
789 2006-04-21 Bill Wohler <wohler@newt.com>
791 Release MH-E version 7.94.
793 * mh-e.el (Version, mh-version): Update for release 7.94.
795 2006-04-21 Bill Wohler <wohler@newt.com>
797 * mh-letter.el (mh-insert-letter): If a message number isn't
798 given, throw an error rather than using a potentially incorrect
799 message number (closes SF #1473729). In addition, use the cur
800 message if mh-sent-from-msg is nil (when sending a message, in
801 contrast to replying). Move conversion of int to string into
802 interactive stanza so body can assume variables are of proper
805 2006-04-20 Bill Wohler <wohler@newt.com>
807 * mh-tool-bar.el (image-load-path): Define to shush compiler.
808 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
809 isn't used outside of it.
810 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
811 Update load-path/image-load-path before setting buttons.
812 This code used to be in mh-folder-mode/mh-letter-mode but this was
813 the wrong place since mh-tool-bar-*-buttons-init can also be called
814 when customizing the buttons.
815 (mh-tool-bar-update): New function which updates tool-bar-map in
816 all of the MH-E buffers after customizing the buttons (closes SF
818 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
819 Call it (closes SF #1452718).
821 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
822 mh-folder-tool-bar-map instead.
823 (image-load-path): Delete. No longer used.
824 (mh-folder-mode): Moved setting of image-load-path into
825 mh-tool-bar-folder-buttons-init.
827 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
828 mh-letter-tool-bar-map instead.
829 (image-load-path): Delete. No longer used.
830 (mh-letter-mode): Moved setting of image-load-path into
831 mh-tool-bar-letter-buttons-init.
833 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
834 instead of set-buffer.
836 2006-04-19 Bill Wohler <wohler@newt.com>
838 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
839 can permanently disable a button (such as a separator) with nil.
841 2006-04-18 Bill Wohler <wohler@newt.com>
843 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
844 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
845 (mh-min-colors-defined-flag): Do not unbind these macros and
846 variables. Nice idea, but too many nasty side-effects. These
847 macros are needed by [Cc]ustom-make-dependencies when creating the
848 MH-E customization groups in mh-cus-load.el. These disappeared
849 when the macros above were introduced. Besides, if a developer
850 were to try to show the help for a macro or variable they were
851 looking at and got [No match] when they did so, that would be bad.
853 2006-04-17 Bill Wohler <wohler@newt.com>
855 * mh-comp.el (mh-insert-x-mailer): Strip build number from
856 version in X-Mailer field (closes SF #1466481).
858 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
859 variables and functions with the same name are found correctly by
860 find-func (invoked by clicking on the filename link in the *Help*
862 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
864 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
865 (mh-defcustom): Rename to defcustom-mh. Ditto.
866 (mh-defface): Rename to defface-mh. Ditto.
867 (mh-font-lock-add-keywords): Make changes according to these
870 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
873 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
874 have been processed by mh-normalize-folder-name.
875 (mh-folder-completion-function): Handle completion of folders with
876 absolute names. Also, when flag is t, display complete folder name
877 to provide proper highlighting in Emacs 22 now that
878 minibuffer-completing-file-name is nil (closes SF #1470518).
879 (mh-folder-completing-read): No longer set
880 minibuffer-completing-file-name to t. This was causing "Can't set
881 current directory errors" when browsing absolute file names.
882 Another benefit of this change is that SPC can be used for
883 completion again (closes SF #1470518).
885 2006-04-15 Bill Wohler <wohler@newt.com>
887 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
889 2006-04-14 Bill Wohler <wohler@newt.com>
891 * mh-funcs.el (view-exit-action): No need to wrap defvar with
892 eval-when-compile when shushing compiler.
894 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
896 * mh-seq.el (view-exit-action): Ditto.
898 * mh-show.el (font-lock-auto-fontify): Ditto.
900 * mh-utils.el (mh-speed-flists-cache): Ditto.
902 * mh-acros.el (struct, x, y): No need to wrap defvar with
903 eval-when-compile when shushing compiler, even when
904 mh-do-in-xemacs or another construct is used.
906 * mh-comp.el (sendmail-coding-system): Ditto.
908 * mh-e.el (mark-active): Ditto.
910 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
911 (image-load-path, font-lock-defaults): Ditto.
913 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
915 * mh-mime.el (dots, type, ov)
916 (mm-verify-function-alist, mm-decrypt-function-alist)
917 (pressed-details): Ditto.
919 * mh-search.el (pick-folder, mh-do-in-xemacs)
920 (mh-mairix-folder, mh-flists-search-folders)
921 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
923 * mh-seq.el (tool-bar-mode): Ditto.
925 * mh-utils.el (completion-root-regexp)
926 (minibuffer-completing-file-name): Ditto.
928 * mh-xface.el (default-enable-multibyte-characters): Ditto.
930 * mh-compat.el (mh-font-lock-add-keywords): New alias for
931 font-lock-add-keywords. Returns nil on XEmacs.
933 * mh-e.el: Add MH-E function and variable keywords such as
934 mh-defun-compat and mh-defcustom to font-lock-keywords.
936 2006-04-13 Bill Wohler <wohler@newt.com>
938 * mh-e.el (customize-package-emacs-version-alist)
939 (mh-e, mh-alias, mh-folder, mh-folder-selection)
940 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
941 (mh-scan-line-formats, mh-search, mh-sending-mail)
942 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
943 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
944 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
945 (mh-alias-insert-file, mh-alias-insertion-location)
946 (mh-alias-local-users, mh-alias-local-users-prefix)
947 (mh-alias-passwd-gecos-comma-separator-flag)
948 (mh-new-messages-folders, mh-ticked-messages-folders)
949 (mh-large-folder, mh-recenter-summary-flag)
950 (mh-recursive-folders-flag, mh-sortm-args)
951 (mh-default-folder-for-message-function)
952 (mh-default-folder-list, mh-default-folder-must-exist-flag)
953 (mh-default-folder-prefix, mh-identity-list)
954 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
955 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
956 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
957 (mh-junk-program, mh-compose-insertion)
958 (mh-compose-skipped-header-fields)
959 (mh-compose-space-does-completion-flag)
960 (mh-delete-yanked-msg-window-flag)
961 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
962 (mh-letter-complete-function, mh-letter-fill-column)
963 (mh-mml-method-default, mh-signature-file-name)
964 (mh-signature-separator-flag, mh-x-face-file)
965 (mh-yank-behavior, mh-interpret-number-as-range-flag)
966 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
967 (mh-search-program, mh-compose-forward-as-mime-flag)
968 (mh-compose-letter-function, mh-compose-prompt-flag)
969 (mh-forward-subject-format, mh-insert-x-mailer-flag)
970 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
971 (mh-reply-show-message-flag)
972 (mh-refile-preserves-sequences-flag, mh-tick-seq)
973 (mh-update-sequences-after-mh-show-flag)
974 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
975 (mh-decode-mime-flag)
976 (mh-display-buttons-for-alternatives-flag)
977 (mh-display-buttons-for-inline-parts-flag)
978 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
979 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
980 (mh-highlight-citation-style, mh-invisible-header-fields)
981 (mh-invisible-header-fields-default, mh-lpr-command-format)
982 (mh-max-inline-image-height, mh-max-inline-image-width)
983 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
984 (mh-print-background-flag, mh-show-maximum-size)
985 (mh-show-use-xface-flag, mh-store-default-directory)
986 (mh-summary-height, mh-speed-update-interval)
987 (mh-show-threads-flag, mh-tool-bar-search-function)
988 (mh-defcustom, mh-after-commands-processed-hook)
989 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
990 (mh-before-quit-hook, mh-before-send-letter-hook)
991 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
992 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
993 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
994 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
995 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
996 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
997 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
998 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
999 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1000 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1001 (mh-letter-header-field, mh-search-folder, mh-show-cc)
1002 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1003 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1004 (mh-show-subject, mh-show-to, mh-show-xface)
1005 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1006 (mh-speedbar-selected-folder)
1007 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
1008 notation in :package-version keyword.
1010 2006-04-07 Bill Wohler <wohler@newt.com>
1012 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
1013 :package-version keyword.
1015 2006-03-31 Bill Wohler <wohler@newt.com>
1017 * mh-e.el (mh-strip-package-version): Move before use to avoid
1018 compiler error. Make macro, also to avoid compiler error.
1019 (mh-defface-compat): Incorporate body into mh-face-data and
1022 2006-03-30 Bill Wohler <wohler@newt.com>
1024 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
1025 remove new :package-version keyword in older settings.
1026 (customize-package-emacs-version-alist): Add MH-E version to Emacs
1028 (mh-e, mh-alias, mh-folder, mh-folder-selection)
1029 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1030 (mh-scan-line-formats, mh-search, mh-sending-mail)
1031 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
1032 (mh-hooks, mh-faces): Add :package-version keyword to these
1033 groups (closes SF #1452724).
1034 (mh-alias-completion-ignore-case-flag)
1035 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1036 (mh-alias-insert-file, mh-alias-insertion-location)
1037 (mh-alias-local-users, mh-alias-local-users-prefix)
1038 (mh-alias-passwd-gecos-comma-separator-flag)
1039 (mh-new-messages-folders, mh-ticked-messages-folders)
1040 (mh-large-folder, mh-recenter-summary-flag)
1041 (mh-recursive-folders-flag, mh-sortm-args)
1042 (mh-default-folder-for-message-function)
1043 (mh-default-folder-list, mh-default-folder-must-exist-flag)
1044 (mh-default-folder-prefix, mh-identity-list)
1045 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
1046 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
1047 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
1048 (mh-junk-program, mh-compose-insertion)
1049 (mh-compose-skipped-header-fields)
1050 (mh-compose-space-does-completion-flag)
1051 (mh-delete-yanked-msg-window-flag)
1052 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1053 (mh-letter-complete-function, mh-letter-fill-column)
1054 (mh-mml-method-default, mh-signature-file-name)
1055 (mh-signature-separator-flag, mh-x-face-file)
1056 (mh-yank-behavior, mh-interpret-number-as-range-flag)
1057 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
1058 (mh-search-program, mh-compose-forward-as-mime-flag)
1059 (mh-compose-letter-function, mh-compose-prompt-flag)
1060 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1061 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1062 (mh-reply-show-message-flag)
1063 (mh-refile-preserves-sequences-flag, mh-tick-seq)
1064 (mh-update-sequences-after-mh-show-flag)
1065 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1066 (mh-decode-mime-flag)
1067 (mh-display-buttons-for-alternatives-flag)
1068 (mh-display-buttons-for-inline-parts-flag)
1069 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1070 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1071 (mh-highlight-citation-style, mh-invisible-header-fields)
1072 (mh-invisible-header-fields-default, mh-lpr-command-format)
1073 (mh-max-inline-image-height, mh-max-inline-image-width)
1074 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
1075 (mh-print-background-flag, mh-show-maximum-size)
1076 (mh-show-use-xface-flag, mh-store-default-directory)
1077 (mh-summary-height, mh-speed-update-interval)
1078 (mh-show-threads-flag, mh-tool-bar-search-function): Add
1079 :package-version keyword to these options (closes SF #1452724).
1080 (mh-after-commands-processed-hook)
1081 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
1082 (mh-before-quit-hook, mh-before-send-letter-hook)
1083 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
1084 (mh-forward-hook, mh-inc-folder-hook)
1085 (mh-insert-signature-hook)
1086 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1087 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1088 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1089 (mh-unseen-updated-hook): Add :package-version keyword to these
1090 hooks (closes SF #1452724).
1091 (mh-min-colors-defined-flag)
1092 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1093 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1094 (mh-folder-msg-number, mh-folder-refiled)
1095 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1096 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1097 (mh-letter-header-field, mh-search-folder, mh-show-cc)
1098 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1099 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1100 (mh-show-subject, mh-show-to, mh-show-xface)
1101 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
1102 (mh-speedbar-selected-folder)
1103 (mh-speedbar-selected-folder-with-unseen-messages): : Add
1104 :package-version keyword to these faces (closes SF #1452724).
1106 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
1107 :package-version keywords (closes SF #1452724).
1109 2006-03-28 Bill Wohler <wohler@newt.com>
1111 * mh-tool-bar.el: Use clipboard-kill-region,
1112 clipboard-kill-ring-save, and clipboard-yank instead of undo,
1113 kill-region, and menu-bar-kill-ring-save respectively. In
1114 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
1115 front of mh-compose-insertion to be consistent with other mailers,
1116 such as Evolution. In MH-Folder mode, move vanilla reply icon to
1117 the left of the other reply icons. Use mail/inbox icon instead of
1118 mail, next-page instead of page-down, delete instead of close,
1119 mail/move instead of mail/refile, data-save instead of execute,
1120 mail/flag-for-followup instead of highlight, contact instead of
1121 mail/alias, open instead of fld-open, zoom-out instead of widen.
1123 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
1124 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
1126 2006-03-27 Eric Ding <ericding@alum.mit.edu>
1128 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1129 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
1131 2006-03-19 Bill Wohler <wohler@newt.com>
1133 * mh-comp.el (mh-reply): Sync docstring with manual.
1135 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
1138 2006-03-17 Bill Wohler <wohler@newt.com>
1140 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1142 2006-03-16 Bill Wohler <wohler@newt.com>
1144 * mh-comp.el (mh-send-letter): Use split-string to break up
1145 mh-send-args (closes SF #1448604).
1146 (mh-compose-and-send-mail): Use run-hook-with-args for
1147 mh-compose-letter-function.
1149 * mh-e.el (mh-list-to-string-1): Use dolist.
1151 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
1153 2006-03-15 Bill Wohler <wohler@newt.com>
1155 * mh-compat.el (mh-image-load-path-for-library): Fix example by
1156 not recommending that one binds image-load-path. Just defvar it to
1157 placate compiler and only use it if previously defined.
1159 * mh-e.el (image-load-path): Don't bind!
1161 * mh-folder.el (mh-folder-mode): Only use image-load-path if
1164 * mh-letter.el (mh-letter-mode): Ditto.
1166 * mh-utils.el (mh-logo-display): Ditto.
1168 2006-03-14 Bill Wohler <wohler@newt.com>
1170 * mh-compat.el (mh-image-load-path-for-library): Incorporate
1171 changes from image-load-path-for-library, which are:
1172 (image-load-path-for-library): Pass value of path rather than
1173 symbol. Always return list of directories. Guarantee that image
1174 directory comes first.
1176 * mh-e.el (image-load-path): Define on those Emacsen that lack it
1177 to avoid compile and run-time errors.
1179 * mh-folder.el (mh-folder-mode): Use new idiom for setting
1182 * mh-letter.el (mh-letter-mode): Ditto.
1184 * mh-utils.el (mh-logo-display): Ditto.
1186 2006-03-12 Bill Wohler <wohler@newt.com>
1188 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
1191 2006-03-10 Bill Wohler <wohler@newt.com>
1193 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
1194 flag to replace-in-string. This was badly needed by
1195 mh-quote-pick-expr in order to properly quote subjects when using
1196 / s on XEmacs (closes SF #1447598).
1197 (mh-image-load-path-for-library): Merged changes from Reiner. Add
1198 no-error argument. If path t, just return directory.
1200 * mh-e.el (mh-profile-component): Drop `s' from mhparam
1201 -components for Mailutils compatibility (closes SF #1446985).
1203 2006-03-06 Bill Wohler <wohler@newt.com>
1205 * mh-e.el (Version, mh-version): Add +cvs to version.
1207 2006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
1209 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
1210 handling of duplicate messages. The test in cond was too strong
1211 and wasn't catching the case where origin-map was nil.
1213 2006-03-05 Bill Wohler <wohler@newt.com>
1215 Release MH-E version 7.93.
1217 * mh-e.el (Version, mh-version): Update for release 7.93.
1219 2006-03-05 Bill Wohler <wohler@newt.com>
1221 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
1222 calling mh-image-load-path-for-library since this is the default.
1224 * mh-letter.el (mh-letter-mode): Ditto.
1226 * mh-utils.el (mh-logo-display): Ditto.
1228 2006-03-04 Bill Wohler <wohler@newt.com>
1230 * mh-compat.el (mh-image-load-path-for-library): Move here from
1231 mh-utils.el and wrap with mh-defun-compat since this function will
1232 be soon added to image.el.
1234 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
1235 (mh-normalize-folder-name): Add return-nil-if-folder-empty
1236 argument which is useful when calling mh-normalize-folder-name to
1237 process the folder argument for the folders command.
1238 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
1239 this function more robust. It could too easily list the folders in /.
1240 (mh-folder-list): Fix a couple of problems pointed out by Thomas
1241 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
1243 2006-03-03 Bill Wohler <wohler@newt.com>
1245 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
1246 mh-image-load-path-for-library.
1248 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
1249 mh-image-load-path-for-library.
1251 * mh-utils.el (mh-image-load-path): Rename to
1252 mh-image-load-path-for-library. Add example to docstring. Rename
1253 local variable mh-image-directory to image-directory. Move error
1254 checks to default case in cond and simplify.
1256 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
1257 docstrings with manual.
1259 2006-03-02 Bill Wohler <wohler@newt.com>
1261 * mh-folder.el (mh-tool-bar-init): Autoload.
1262 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
1263 Set scoped variables image-load-path and load-path with updated
1264 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
1266 * mh-letter.el (mh-tool-bar-init): Autoload.
1267 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
1268 Set scoped variables image-load-path and load-path with updated
1269 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
1271 * mh-show.el (mh-tool-bar-init): Autoload.
1272 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
1275 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
1276 messages per conventions.
1277 (mh-tool-bar-folder-buttons-init)
1278 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
1279 (mh-tool-bar-define call): Format.
1281 * mh-utils.el (mh-image-directory)
1282 (mh-image-load-path-called-flag): Delete.
1283 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
1284 changes are that it no longer uses/sets mh-image-directory or
1285 mh-image-load-path-called-flag, and returns the updated path
1286 rather than change it.
1287 (mh-logo-display): Change usage of mh-image-load-path.
1289 2006-02-28 Bill Wohler <wohler@newt.com>
1291 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
1292 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
1293 to subjects with special characters by quoting regular expression
1294 characters in pick expression derived from existing subjects and
1295 other fields (closes SF #1432548).
1296 (mh-narrow-to-subject): Remove Re: string from subject so that
1297 pick can find originating message (closes SF #1438369).
1299 * mh-utils.el (mh-image-load-path): Rename variable to
1301 (mh-image-load-path): Access mh-image-directory instead of
1303 (mh-folder-list): Fix problem with passing in a folder and getting
1304 nothing back. Fix problem with passing in empty string and getting
1305 the entire filesystem (or infinite loop). Don't append slash to
1306 folder. These fixes fix problems observed with the pick search.
1307 Thanks to Thomas Baumann for the help (closes SF #1435381).
1308 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
1309 function for quoting pick regular expression characters (closes SF
1312 2006-02-27 Bill Wohler <wohler@newt.com>
1314 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
1317 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
1318 docstring about obsolete variable mh-mime-content-types.
1320 * mh-e.el (mh-variant): Sync docstring with manual.
1321 (cus-face): Require as it is needed by mh-inherit-face-flag.
1323 * mh-compat.el (mh-display-color-cells): Return 2 if
1324 device-color-cells returns nil (closes SF #1436924).
1326 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
1327 mh-display-color-cells.
1329 2006-02-21 Eric Ding <ericding@alum.mit.edu>
1331 * mh-e.el (mh-invisible-header-fields-internal): Add entry
1334 2006-02-20 Eric Ding <ericding@alum.mit.edu>
1336 * mh-e.el (mh-invisible-header-fields-internal): Add entries
1337 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
1338 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
1339 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
1340 "X-Roving-" by removing unnecessary "*" at end.
1342 2006-02-19 Bill Wohler <wohler@newt.com>
1344 * mh-alias.el (mh-address-mail-regexp)
1345 (mh-goto-address-find-address-at-point): Delete copies from
1347 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
1348 mh-address-mail-regexp.
1349 (mh-alias-add-address-under-point): Use
1350 goto-address-find-address-at-point instead of
1351 mh-goto-address-find-address-at-point.
1353 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
1355 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
1357 (mh-show-addr): Call goto-address unconditionally. User should use
1358 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
1360 2006-02-18 Bill Wohler <wohler@newt.com>
1362 * mh-e.el (Version, mh-version): Add +cvs to version.
1364 2006-02-18 Bill Wohler <wohler@newt.com>
1366 Release MH-E version 7.92.
1368 * mh-e.el (Version, mh-version): Update for release 7.92.
1370 2006-02-17 Bill Wohler <wohler@newt.com>
1372 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
1373 backgrounds per Mark's suggestion.
1375 * mh-utils.el (mh-image-load-path): Fix problem that images on
1376 load-path or image-load-path would win over relative paths (newer
1377 MH-E or Emacs distribution).
1379 2006-02-16 Bill Wohler <wohler@newt.com>
1381 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
1382 the defface :inherit keyword is available.
1383 (mh-face-data): New variable (contains all face specs) and
1384 function (accessor).
1385 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
1386 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
1387 (mh-folder-msg-number, mh-folder-refiled)
1388 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1389 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1390 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1391 (mh-show-date, mh-show-from)
1392 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
1393 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
1394 (mh-show-to, mh-show-xface, mh-speedbar-folder)
1395 (mh-speedbar-folder-with-unseen-messages)
1396 (mh-speedbar-selected-folder)
1397 (mh-speedbar-selected-folder-with-unseen-messages):
1400 * mh-utils.el (mh-image-load-path): The variables image-load-path
1401 or load-path would not get updated if user set mh-image-load-path.
1402 Moved tests and add-to-list calls outside of cond so they are
1403 applied consistently, even if they are redundant in some
1404 circumstances. Efficiency isn't a concern here. Made error
1405 messages more user-friendly.
1407 2006-02-15 Peter S Galbraith <psg@debian.org>
1409 * mh-compat.el (mh-image-search-load-path): Compatibility code.
1410 Emacs 21 and XEmacs don't have `image-search-load-path'.
1412 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
1413 images are already found.
1415 2006-02-10 Bill Wohler <wohler@newt.com>
1417 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
1418 rather than use defun*. XEmacs cannot create a proper autoload for
1421 2006-02-09 Bill Wohler <wohler@newt.com>
1423 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
1424 that causes an infinite loop on XEmacs.
1426 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
1429 2006-02-08 Peter S Galbraith <psg@debian.org>
1431 * mh-e.el (mh-invisible-header-fields-internal): Added entries
1432 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
1434 2006-02-04 Bill Wohler <wohler@newt.com>
1436 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
1437 has an emacsclient command that supports --eval. I had read that
1438 gnudoit was deprecated in favor of gnuclient anyway.
1440 2006-02-04 Eric Ding <ericding@alum.mit.edu>
1442 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
1443 handle OpenOffice documents.
1445 2006-02-03 Bill Wohler <wohler@newt.com>
1447 * mh-e.el (Version, mh-version): Add +cvs to version.
1449 2006-02-03 Bill Wohler <wohler@newt.com>
1451 Release MH-E version 7.91.
1453 * mh-e.el (Version, mh-version): Update for release 7.91.
1455 2006-02-03 Bill Wohler <wohler@newt.com>
1457 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
1458 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
1459 of local variable mh-library-name.
1461 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
1462 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
1463 88) with (min-colors 64) in face specifications so that MH-E still
1464 looks good on systems with fewer colors (such as Eric Ding's).
1466 2006-02-03 Peter S Galbraith <psg@debian.org>
1468 * mh-utils.el (mh-image-load-path): New variable to optionally
1469 hold the directory where MH-E images are stored. If nil, then
1470 the function `mh-image-load-path' will find it. This variable
1471 will be used for Debian packaging.
1472 (mh-image-load-path function): Use variable `mh-image-load-path'
1473 if non-nil and exists.
1475 2006-02-03 Mark D. Baushke <mdb@gnu.org>
1477 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
1478 for GNU Emacs or XEmacs to avoid void-variable tool-bar-map lisp
1479 errors if describe-bindings is called before tool-bar-mode is used.
1481 2006-02-03 Peter S Galbraith <psg@debian.org>
1483 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
1484 `mh-url-unresrved-chars'.
1486 2006-02-02 Bill Wohler <wohler@newt.com>
1488 * mh-e.el (Version, mh-version): Add +cvs to version.
1490 2006-02-02 Bill Wohler <wohler@newt.com>
1492 Release MH-E version 7.90.
1494 * mh-e.el (Version, mh-version): Update for release 7.90.
1496 2006-02-01 Bill Wohler <wohler@newt.com>
1498 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
1500 * mh-alias.el (mh-alias-gecos-name): Use
1501 mh-replace-regexp-in-string instead of replace-regexp-in-string.
1502 (crm, multi-prompt): Use mh-require instead of require.
1503 (mh-goto-address-find-address-at-point): Use
1504 mh-line-beginning-position and mh-line-end-position instead of
1505 line-beginning-position and line-end-position. Use
1506 mh-match-string-no-properties instead of
1507 match-string-no-properties.
1509 * mh-comp.el (mh-modify-header-field): Use
1510 mh-line-beginning-position and mh-line-end-position instead of
1511 line-beginning-position and line-end-position.
1513 * mh-compat.el (mailabbrev): Use mh-require instead of require.
1514 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
1515 (mh-face-background): Make docstring consistent.
1516 (mh-require, mh-cancel-timer, mh-display-color-cells)
1517 (mh-line-beginning-position, mh-line-end-position)
1518 (mh-match-string-no-properties, mh-replace-regexp-in-string)
1519 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
1520 add mh- prefix since compatibility functions should have our
1521 package prefix (mh-) by Emacs convention and to avoid messing up
1522 checks for the same functions in other packages.
1524 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
1525 from mh-xemacs.el and rename.
1526 (mh-xargs): Use mh-line-beginning-position and
1527 mh-line-end-position instead of line-beginning-position and
1529 (mh-defface-compat): Use mh-display-color-cells instead of
1530 display-color-cells.
1532 * mh-folder.el (which-func): Use mh-require instead of require.
1534 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
1537 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
1538 Use mh-require instead of require.
1540 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
1541 (mh-letter-next-header-field): Use mh-line-beginning-position and
1542 mh-line-end-position instead of line-beginning-position and
1545 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
1546 mh-match-string-no-properties instead of
1547 match-string-no-properties.
1548 (mh-narrow-to-header-field): Use mh-line-beginning-position and
1549 mh-line-end-position instead of line-beginning-position and
1552 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
1553 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
1554 mh-line-beginning-position and mh-line-end-position instead of
1555 line-beginning-position and line-end-position.
1557 * mh-search.el (which-func): Use mh-require instead of require.
1558 (mh-make-pick-template, mh-index-visit-folder)
1559 (mh-pick-parse-search-buffer, mh-swish-next-result)
1560 (mh-mairix-next-result, mh-namazu-next-result)
1561 (mh-pick-next-result, mh-grep-next-result)
1562 (mh-index-create-imenu-index, mh-index-match-checksum)
1563 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
1564 mh-line-beginning-position and mh-line-end-position instead of
1565 line-beginning-position and line-end-position.
1567 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
1569 (mh-folder-size-flist, mh-parse-flist-output-line)
1570 (mh-add-sequence-notation): Use mh-line-beginning-position and
1571 mh-line-end-position instead of line-beginning-position and
1574 * mh-show.el (mh-show-addr): Use mh-require instead of require.
1576 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
1577 (mh-speed-view, mh-folder-speedbar-buttons)
1578 (mh-speed-highlight, mh-speed-goto-folder)
1579 (mh-speed-add-buttons, mh-speed-parse-flists-output)
1580 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
1581 (mh-speed-add-folder): Use mh-line-beginning-position and
1582 mh-line-end-position instead of line-beginning-position and
1584 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
1586 * mh-thread.el (mh-thread-find-children)
1587 (mh-thread-parse-scan-line, mh-thread-generate): Use
1588 mh-line-beginning-position and mh-line-end-position instead of
1589 line-beginning-position and line-end-position.
1591 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
1592 instead of display-color-cells.
1593 (mh-folder-list): Use mh-replace-regexp-in-string instead of
1594 replace-regexp-in-string.
1595 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
1596 Use mh-line-beginning-position and mh-line-end-position instead of
1597 line-beginning-position and line-end-position.
1599 * mh-comp.el (mh-send-sub): Don't find components file in current
1600 directory--this seems to have been a side-effect of commenting out
1601 the use of an old mh-etc variable. Improve error message.
1603 2006-01-31 Bill Wohler <wohler@newt.com>
1605 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
1606 argument since compatibility functions should have our package
1607 prefix (mh-) by Emacs convention and to avoid messing up checks
1608 for the same functions in other packages. Use explicit argument
1609 instead of forming name by adding mh- prefix so that one can grep
1610 and find the definition.
1612 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1613 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
1614 Use mh-assoc-string instead of assoc-string.
1616 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
1617 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
1618 Move here from mh-utils.el.
1619 (mh-display-completion-list): Move here from mh-comp.el.
1620 (mh-face-foreground, mh-face-background): Move here from
1622 (mh-write-file-functions): Move here from mh-folder.el.
1624 * mh-folder.el (mh-write-file-functions-compat): Move to
1625 mh-compat.el and rename to mh-write-file-functions.
1626 (mh-folder-mode): Use the new name.
1628 * mh-gnus.el (gnus-local-map-property): Rename to
1629 mh-gnus-local-map-property.
1630 (mm-merge-handles): Rename to mh-mm-merge-handles.
1631 (mm-set-handle-multipart-parameter): Rename to
1632 mh-mm-set-handle-multipart-parameter.
1633 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
1634 (mm-possibly-verify-or-decrypt): Rename to
1635 mh-mm-possibly-verify-or-decrypt.
1636 (mm-handle-multipart-ctl-parameter): Rename to
1637 mh-mm-handle-multipart-ctl-parameter.
1638 (mm-readable-p): Rename to mh-mm-readable-p.
1639 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1640 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1641 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1642 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1643 (mml-minibuffer-read-disposition): Rename to
1644 mh-mml-minibuffer-read-disposition.
1646 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1647 instead of assoc-string.
1649 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1650 (mh-mime-display, mh-mime-display-security)
1651 (mh-insert-mime-button, mh-insert-mime-security-button)
1652 (mh-handle-set-external-undisplayer)
1653 (mh-mime-security-press-button, mh-mime-security-show-details)
1654 (mh-mml-attach-file, mh-mime-cleanup)
1655 (mh-destroy-postponed-handles): Use new mh-* names for
1656 compatibility functions.
1658 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1659 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1660 (mh-beginning-of-word): Use the new name.
1661 (mh-get-field): Delete ancient alias.
1663 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1664 and rename to mh-face-foreground.
1665 (mh-face-background-compat): Move to mh-compat.el
1666 and rename to mh-face-background.
1667 (mh-face-display-function): Use the new names.
1668 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1669 instead of url-hexify-string.
1670 (url-unreserved-chars): Move to mh-compat.el and rename to
1671 mh-url-unreserved-chars.
1672 (url-hexify-string): Move to mh-compat.el and rename to
1673 mh-url-hexify-string.
1675 * mh-letter.el (mh-complete-word): Fix bug in call to
1676 mh-display-completion-list. Wrong argument was passed, so
1677 completions wouldn't show highlighted prefix.
1679 2006-01-29 Bill Wohler <wohler@newt.com>
1681 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1682 mh-adaptive-cmd-note-flag.
1684 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
1685 docstring. sc-cite-original is autoloaded via loaddefs.el for all
1686 supported versions. In addition, the package name "sc" has been
1687 made obsolete by "supercite since at least Emacs 21.
1689 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1690 revealed character constants that were still strings (closes SF
1693 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1694 (mh-get-header-field): Move to mh-utils.el so that you can read
1695 messages without having to load mh-comp.el and mh-letter.el.
1697 * mh-letter.el (mh-hidden-header-keymap)
1698 (mh-letter-toggle-header-field-display)
1699 (mh-letter-skipped-header-field-p)
1700 (mh-letter-skip-leading-whitespace-in-header-field)
1701 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1702 can read messages without having to load mh-comp.el and
1705 * mh-utils.el (mh-get-header-field)
1706 (mh-letter-hide-all-skipped-fields)
1707 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1708 (mh-letter-toggle-header-field-display)
1709 (mh-letter-skip-leading-whitespace-in-header-field)
1710 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1711 mh-letter.el so that you can read messages without having to load
1712 mh-comp.el and mh-letter.el.
1714 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
1715 least, will deliver them to us.
1717 * mh-e.el (mh-after-commands-processed-hook)
1718 (mh-before-commands-processed-hook): Specify what sort of requests
1721 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1724 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
1726 (mh-letter-mode): Remove Mail menu.
1728 2006-01-29 Bill Wohler <wohler@newt.com>
1731 Remove circular dependencies. mh-e.el now includes few require
1732 statements and stands alone. Other files should need to require
1733 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1735 Remove unneeded require statements.
1736 Remove unneeded load statements, or replace them with non-fatal
1738 Break out components into their own files that were often spread
1740 As a result, many functions that are now only used within a single
1741 file no longer need to be autoloaded.
1742 Rearrange and provide consistent headings.
1745 * mh-acros.el: Update commentary to reflect current usage.
1746 Add autoload cookies to all macros.
1747 (mh-require-cl): Merge docstring and comment.
1748 (mh-do-in-xemacs): Fix typo in docstring.
1749 (assoc-string): Move to new file mh-compat.el.
1750 (with-mh-folder-updating, mh-in-show-buffer)
1751 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
1752 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1755 * mh-alias.el (mh-address-mail-regexp)
1756 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
1757 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1759 * mh-buffers.el: Update descriptive text.
1761 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1762 new file mh-scan.el.
1763 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1764 (mh-letter-menu, mh-letter-mode-help-messages)
1765 (mh-letter-buttons-init-flag, mh-letter-mode)
1766 (mh-font-lock-field-data, mh-letter-header-end)
1767 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1768 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1769 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1770 (mh-filter-out-non-text, mh-insert-prefix-string)
1771 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1772 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1773 (mh-letter-complete, mh-letter-complete-or-space)
1774 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1775 (mh-letter-next-header-field-or-indent)
1776 (mh-letter-next-header-field, mh-letter-previous-header-field)
1777 (mh-letter-skipped-header-field-p)
1778 (mh-letter-skip-leading-whitespace-in-header-field)
1779 (mh-hidden-header-keymap)
1780 (mh-letter-toggle-header-field-display-button)
1781 (mh-letter-toggle-header-field-display)
1782 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1784 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1785 (mh-pgp-support-flag, mh-x-mailer-string)
1786 (mh-letter-header-field-regexp): Move to mh-e.el.
1787 (mh-goto-header-field, mh-goto-header-end)
1788 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1790 (mh-insert-header-separator): Move to mh-comp.el.
1791 (mh-display-completion-list-compat): Move to new file
1794 * mh-compat.el: New file.
1795 (assoc-string): Move here from mh-acros.el.
1796 (mh-display-completion-list): Move here from mh-comp.el.
1798 * mh-customize.el: Move content into mh-e.el and remove.
1800 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1801 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1802 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1803 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1804 declared here so that they can be used in docstrings.
1805 (mh-sent-from-folder, mh-sent-from-msg)
1806 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1807 (mh-x-mailer-string): Move here from mh-comp.el.
1808 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1809 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1810 here from mh-seq.el.
1811 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1812 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1813 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1814 (mh-show-folder-buffer, mh-mail-header-separator)
1815 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1816 (mh-signature-separator, mh-signature-separator-regexp)
1817 (mh-list-to-string, mh-list-to-string-1): Move here from
1819 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1820 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1821 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1822 (mh-exec-cmd-output)
1823 (mh-exchange-point-and-mark-preserving-active-mark)
1824 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1825 deprecated file mh-exec.el.
1826 (mh-path): Move here from deprecated file mh-customize.el.
1827 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1828 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1829 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1830 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1831 (mh-profile-component-value, mh-defface-compat): Move here from
1832 deprecated file mh-init.el.
1833 (mh-goto-next-button, mh-folder-mime-action)
1834 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1835 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1837 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1838 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1839 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1840 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1841 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1842 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1843 (mh-scan-cmd-note-width, mh-scan-destination-width)
1844 (mh-scan-date-width, mh-scan-date-flag-width)
1845 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1846 (mh-scan-field-destination-offset)
1847 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1848 (mh-scan-field-subject-start-offset, mh-scan-format)
1849 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1851 (mh-partial-folder-mode-line-annotation)
1852 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1853 (mh-generate-sequence-font-lock, mh-last-destination)
1854 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1855 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1856 (mh-execute-commands, mh-first-msg, mh-header-display)
1857 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1858 (mh-folder-from-address, mh-prompt-for-refile-folder)
1859 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1860 (mh-previous-page, mh-previous-undeleted-msg)
1861 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1862 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1863 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1864 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1865 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1866 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1867 (mh-folder-sequence-menu, mh-folder-message-menu)
1868 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1869 (mh-write-file-functions-compat, mh-folder-mode)
1870 (mh-restore-desktop-buffer, mh-scan-folder)
1871 (mh-regenerate-headers, mh-generate-new-cmd-note)
1872 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1873 (mh-process-or-undo-commands, mh-process-commands)
1874 (mh-update-unseen, mh-delete-scan-msgs)
1875 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1876 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1877 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1878 (mh-lessp): Move to mh-utils.el.
1879 (mh-parse-flist-output-line, mh-folder-size-folder)
1880 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1881 (mh-remove-sequence-notation, mh-remove-cur-notation)
1882 (mh-remove-all-notation, mh-delete-seq-locally)
1883 (mh-read-folder-sequences, mh-read-msg-list)
1884 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1885 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1886 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1887 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1889 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1890 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1891 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1892 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1893 (mh-faces, mh-alias-completion-ignore-case-flag)
1894 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1895 (mh-alias-insert-file, mh-alias-insertion-location)
1896 (mh-alias-local-users, mh-alias-local-users-prefix)
1897 (mh-alias-passwd-gecos-comma-separator-flag)
1898 (mh-new-messages-folders, mh-ticked-messages-folders)
1899 (mh-large-folder, mh-recenter-summary-flag)
1900 (mh-recursive-folders-flag, mh-sortm-args)
1901 (mh-default-folder-for-message-function, mh-default-folder-list)
1902 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1903 (mh-identity-list, mh-auto-fields-list)
1904 (mh-auto-fields-prompt-flag, mh-identity-default)
1905 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1906 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1907 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1908 (mh-compose-insertion, mh-compose-skipped-header-fields)
1909 (mh-compose-space-does-completion-flag)
1910 (mh-delete-yanked-msg-window-flag)
1911 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1912 (mh-letter-complete-function, mh-letter-fill-column)
1913 (mh-mml-method-default, mh-signature-file-name)
1914 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1915 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1916 (mh-scan-format-file-check, mh-scan-format-file)
1917 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1918 (mh-search-program, mh-compose-forward-as-mime-flag)
1919 (mh-compose-letter-function, mh-compose-prompt-flag)
1920 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1921 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1922 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1923 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1924 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1925 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1926 (mh-display-buttons-for-inline-parts-flag)
1927 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1928 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1929 (mh-highlight-citation-style)
1930 (mh-invisible-header-fields-internal)
1931 (mh-delay-invisible-header-generation-flag)
1932 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1933 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1934 (mh-lpr-command-format, mh-max-inline-image-height)
1935 (mh-max-inline-image-width, mh-mhl-format-file)
1936 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1937 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1938 (mh-show-use-xface-flag, mh-store-default-directory)
1939 (mh-summary-height, mh-speed-update-interval)
1940 (mh-show-threads-flag, mh-tool-bar-search-function)
1941 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1942 (mh-before-commands-processed-hook, mh-before-quit-hook)
1943 (mh-before-send-letter-hook, mh-delete-msg-hook)
1944 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1945 (mh-inc-folder-hook, mh-insert-signature-hook)
1946 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1947 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1948 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1949 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1950 (mh-folder-address, mh-folder-body)
1951 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1952 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1953 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1954 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1955 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1956 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1957 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1958 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1959 (mh-speedbar-folder-with-unseen-messages)
1960 (mh-speedbar-selected-folder)
1961 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1962 deprecated file mh-customize.el.
1964 * mh-exec.el: Move content into mh-e.el and remove.
1966 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
1968 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1970 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1972 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1973 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1974 to mail-abbrev-make-syntax-table.
1976 * mh-identity.el (mh-identity-menu): New variable for existing
1978 (mh-identity-make-menu-no-autoload): New alias for
1979 mh-identity-make-menu which can be called from mh-e.el.
1980 (mh-identity-list-set): Move to mh-e.el.
1981 (mh-identity-add-menu): New function.
1982 (mh-insert-identity): Add optional argument maybe-insert so that
1983 local variable mh-identity-local does not have to be visible.
1985 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
1986 rest of keymaps). Update key binding for ? to call mh-help with
1987 help messages in new argument.
1988 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1989 which can be called from mh-e.el.
1990 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1992 * mh-init.el: Move content into mh-e.el and remove.
1994 * mh-junk.el: Update requires, untabify, and add mh-autoload
1997 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
1999 * mh-limit.el: New file. Contains display limit commands from
2002 * mh-mime.el: Rearrange for consistency with other files.
2003 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
2005 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2006 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
2007 (mh-goto-next-button): Move here from mh-e.el.
2009 * mh-print.el: Rearrange for consistency with other files.
2011 * mh-scan.el: New file. Contains scan line constants and utilities
2012 from XXX, mh-funcs, mh-utils.el.
2014 * mh-search.el: Rearrange for consistency with other files.
2015 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
2016 fields which don't exist in the saved header. Replace C-c C-f f
2017 with C-c C-f m per mail-mode consistency.
2018 (mh-search-mode): Use mh-set-help instead of setting
2021 * mh-seq.el (mh-thread-message, mh-thread-container)
2022 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
2023 (mh-thread-id-index-map, mh-thread-index-id-map)
2024 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
2025 (mh-thread-subject-container-hash, mh-thread-duplicates)
2026 (mh-thread-history, mh-thread-body-width)
2027 (mh-thread-find-msg-subject mh-thread-initialize-hash)
2028 (mh-thread-initialize, mh-thread-id-container)
2029 (mh-thread-remove-parent-link, mh-thread-add-link)
2030 (mh-thread-ancestor-p, mh-thread-get-message-container)
2031 (mh-thread-get-message, mh-thread-canonicalize-id)
2032 (mh-thread-prune-subject, mh-thread-container-subject)
2033 (mh-thread-rewind-pruning, mh-thread-prune-containers)
2034 (mh-thread-sort-containers, mh-thread-group-by-subject)
2035 (mh-thread-process-in-reply-to, mh-thread-set-tables)
2036 (mh-thread-update-id-index-maps, mh-thread-generate)
2037 (mh-thread-inc, mh-thread-generate-scan-lines)
2038 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
2039 (mh-thread-add-spaces, mh-thread-print-scan-lines)
2040 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
2041 (mh-thread-current-indentation-level, mh-thread-next-sibling)
2042 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
2043 (mh-thread-ancestor, mh-thread-find-children)
2044 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
2045 Move to new file mh-thread.el.
2046 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
2047 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
2048 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
2049 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
2050 (mh-current-message-header-field, mh-narrow-to-range)
2051 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
2053 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
2055 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
2056 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
2057 (mh-define-sequence, mh-undefine-sequence)
2058 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
2059 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
2060 (mh-parse-flist-output-line, mh-read-folder-sequences)
2061 (mh-read-msg-list, mh-notate-user-sequences)
2062 (mh-remove-cur-notation, mh-add-sequence-notation)
2063 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
2065 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
2066 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
2068 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
2070 * mh-speed.el: Rearrange for consistency with other files.
2072 * mh-thread.el: New file. Contains threading code from mh-seq.el.
2074 * mh-tool-bar.el: New file. Contains tool bar creation code from
2075 deprecated file mh-customize.el.
2077 * mh-utils.el (recursive-load-depth-limit): Remove setting.
2079 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
2080 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
2081 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
2082 (mh-update-scan-format, mh-msg-num-width): Move to new file
2084 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
2085 (mh-header-field-font-lock, mh-header-to-font-lock)
2086 (mh-header-cc-font-lock, mh-header-subject-font-lock)
2087 (mh-show-font-lock-keywords)
2088 (mh-show-font-lock-keywords-with-cite)
2089 (mh-show-font-lock-fontify-region)
2090 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
2091 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
2092 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
2093 (mh-show-sequence-menu, mh-show-message-menu)
2094 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
2095 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
2096 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
2098 (mh-mail-header-separator, mh-signature-separator-regexp)
2099 (mh-signature-separator, mh-globals-hash, mh-user-path)
2100 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
2101 (mh-previous-window-config, mh-current-folder mh-show-buffer)
2102 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
2103 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
2104 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
2105 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
2106 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
2107 Move to mh-alias.el.
2108 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
2109 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
2110 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
2111 Move to new file mh-folder.el.
2112 (with-mh-folder-updating, mh-in-show-buffer)
2113 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
2114 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
2115 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
2117 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
2118 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
2119 (mh-face-background-compat, mh-face-display-function)
2120 (mh-show-xface, mh-picon-directory-list)
2121 (mh-picon-existing-directory-list)
2122 (mh-picon-cache, mh-picon-image-types)
2123 (mh-picon-set-directory-list, mh-picon-get-image)
2124 (mh-picon-file-contents, mh-picon-generate-path)
2125 (mh-x-image-cache-directory, mh-x-image-scaling-function)
2126 (mh-wget-executable, mh-wget-choice, mh-wget-option)
2127 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
2128 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
2129 (mh-x-image-scale-with-convert)
2130 (url-unreserved-chars, url-hexify-string)
2131 (mh-x-image-url-cache-canonicalize)
2132 (mh-x-image-set-download-state, mh-x-image-get-download-state)
2133 (mh-x-image-url-fetch-image, mh-x-image-display)
2134 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
2135 (mh-x-image-url-display): Move to new file mh-xface.el.
2136 (mh-logo-display): Call mh-image-load-path.
2137 (mh-find-path-run, mh-find-path): Move here from deprecated file
2139 (mh-help-messages): Now an alist of modes to an alist of messages.
2140 (mh-set-help): New function used to set mh-help-messages.
2141 (mh-help): Adjust for new format of mh-help-messages. Add
2142 help-messages argument.
2143 (mh-prefix-help): Refactor to use mh-help.
2144 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
2146 (mh-clear-sub-folders-cache): New function added to avoid exposing
2147 mh-sub-folders-cache variable.
2149 * mh-xface.el: New file. Contains X-Face and Face header field
2150 display routines from mh-utils.el.
2152 2006-01-17 Bill Wohler <wohler@newt.com>
2154 * mh-acros.el (assoc-string): Fix typo in argument.
2156 2006-01-16 Bill Wohler <wohler@newt.com>
2158 * mh-acros.el (require): Remove defadvice of require as defadvice
2159 is verboten within Emacs and our implementation was returning the
2160 wrong value from require. Upcoming restructuring should make this
2162 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
2164 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
2165 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
2167 * mh-identity.el (mh-identity-field-handler): Use it.
2169 * mh-comp.el (mh-show-buffer-message-number): Replace (car
2170 (read-from-string string) with (string-to-number string).
2172 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
2175 * mh-mime.el (mh-mml-forward-message): Ditto.
2177 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
2178 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
2179 (mh-openssl-parser, mh-index-update-maps): Ditto.
2181 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
2182 (mh-thread-generate): Ditto.
2184 2006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
2186 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
2187 mm- functions for proper text=flowed handling (addresses SF
2190 2006-01-15 Bill Wohler <wohler@newt.com>
2192 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
2193 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
2196 * mh-utils.el (mh-show-limit-map): Ditto.
2198 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
2200 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
2202 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
2203 where they are used.
2205 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
2206 needed to help remove dependency on mh-utils.
2208 * mh-exec.el: New file. Move process support routines here from
2211 * mh-init.el (mh-utils): Remove require.
2212 (mh-exec): Add require.
2213 (mh-profile-component, mh-profile-component-value): Move here from
2216 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
2217 dependencies on mh-utils.el.
2218 (mh-profile-component, mh-profile-component-value): Move to
2219 mh-init.el since that's the only place that uses them. (Other than
2220 mh-alias.el; I'm thinking that mh-find-path can set variable from
2221 the Aliasfile component like it does the other components).
2222 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
2223 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
2224 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
2225 (defvar, mh-exec-cmd-output)
2226 (mh-exchange-point-and-mark-preserving-active-mark)
2227 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
2228 file mh-exec.el so that mh-init.el doesn't have to depend on
2229 mh-utils.el, breaking circular dependency.
2243 * mh-speed.el: Added debugging statements (commented out) around
2244 requires to help find dependency loops. Will remove them when
2245 issues are resolved.
2247 2006-01-14 Bill Wohler <wohler@newt.com>
2249 * mh-customize.el (mh-index): Rename group to mh-search and sort
2250 group definition and options accordingly.
2251 (mh-index-program): Rename to mh-search-program.
2252 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
2254 (mh-search-mode-hook): Change group from mh-index to mh-search.
2255 (mh-index-folder): Rename to mh-search-folder. Change group from
2256 mh-index to mh-search.
2258 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
2259 to mh-search-folder.
2261 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
2262 pick and grep are searchers too but aren't indexed.
2263 (mh-index-execute-search-function): Rename to mh-search-function.
2264 (mh-index-next-result-function): Rename to
2265 mh-search-next-result-function.
2266 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
2267 (mh-search): Since redo-search-flag defaults to nil and is of
2268 lesser importance, make it an optional argument and place it after
2269 the folder and search-regexp arguments. Sync docstring with manual.
2270 (mh-search-mode-map): Autoload so that keys are shown in help even
2271 before mh-search is loaded.
2272 (mh-search-mode): Sync docstring with manual.
2273 (mh-index-do-search): Rename argument indexer to searcher. Sync
2274 docstring with manual.
2275 (mh-pick-do-search): Sync docstring with manual.
2276 (mh-index-p): Rename to mh-search-p.
2277 (mh-indexer-choices): Rename to mh-search-choices.
2278 (mh-index-choose): Rename to mh-search-choose. Rename argument
2279 indexer to searcher.
2280 (mh-swish++-execute-search, mh-swish-execute-search)
2281 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
2282 read the results" from docstring since these functions don't.
2283 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
2285 (mh-index-generate-pretty-name): Prune -search from string so that
2286 folder names for pick searches are the same as those of other
2289 2006-01-13 Bill Wohler <wohler@newt.com>
2291 * mh-acros.el (require): Added Satyaki's comment regarding what
2292 needs to happen to remove this defadvice which caused a little
2293 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
2294 advices `require' incorrectly).
2296 * mh-search.el (mh-index-next-result-function): Add format to
2298 (mh-mairix-next-result): Use nil instead of () which doesn't stand
2300 (mh-pick-execute-search): Operate across all folders if no folder
2301 given and recurse folder(s).
2302 (mh-pick-next-result): Handle new output.
2304 * mh-utils.el (mh-collect-folder-names): Fix docstring.
2305 (mh-children-p, mh-folder-list): New functions.
2307 2006-01-12 Bill Wohler <wohler@newt.com>
2309 * mh-search.el: New file containing contents of mh-index.el and
2310 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
2311 pick. Pick no longer sets the "search" sequence. Instead, it
2312 brings up a folder view that we're accustomed to. (Closes SF
2314 (mh-index-search): Rename to mh-search.
2315 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
2316 the Search to Perform Search and call mh-do-search. Add Search
2317 with Pick menu item.
2318 (mh-do-search): Delete.
2319 (mh-search-mode): Rename from mh-pick-mode.
2320 (MH-Search): Rename mode from MH-Pick.
2321 (mh-search-mode-map): Rename from mh-pick-mode-map.
2322 (mh-search-mode-help-messages): Rename from
2323 mh-pick-mode-help-messages.
2324 (mh-index-choose): Don't reuse the last value of mh-indexer; when
2325 mh-pick-do-search sets it to 'pick, we don't necessarily want to
2326 stay with that choice!
2329 * mh-pick.el: Merge into mh-search.el and delete.
2331 * mh-customize.el (mh-index-program): Change mh-index-search to
2332 mh-search in docstring.
2333 (mh-tool-bar-search-function): Change default from
2334 mh-search-folder to mh-search. Remove mh-search-folder as choice
2335 and rename mh-index-search choice to mh-search. Fix docstring.
2336 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
2337 mh-search-folder to mh-search in docstring.
2339 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
2340 Indexed Search to Search. Use mh-search instead of mh-index-search.
2341 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
2342 from mh-show-search-folder to mh-search.
2344 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
2345 mh-search-folder no longer creates the search sequence.
2347 * mh-utils.el (mh-show-search-folder): Delete.
2348 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
2349 Change s from mh-show-search-folder to mh-search.
2350 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
2351 Search to Search. Use mh-search instead of mh-index-search.
2352 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
2353 Move here from deleted mh-index.el.
2355 2006-01-11 Bill Wohler <wohler@newt.com>
2357 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
2360 * mh-gnus.el: Require mh-acros.
2361 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
2363 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
2364 url-hexify-string to remove special characters from filenames
2365 (closes SF #1396499). Note that this invalidates the existing
2366 names in your cache so you might as well remove
2367 ~/Mail/.mhe-x-image-cache/* now.
2368 (url-unreserved-chars, url-hexify-string): Define if not defined.
2369 Copied from url-util.el in Emacs22 for Emacs 21.
2371 * mh-buffers.el: New file. Contains constants and code from
2372 mh-index.el and mh-utils.el.
2382 * mh-seq.el: Require new file mh-buffers.el.
2384 * mh-index.el: Require new file mh-buffers.el.
2385 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
2388 * mh-utils.el: Require new file mh-buffers.el.
2389 (mh-temp-buffer, mh-temp-fetch-buffer)
2390 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
2391 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
2392 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
2393 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
2395 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
2396 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
2398 2006-01-10 Bill Wohler <wohler@newt.com>
2400 * mh-comp.el (mh-insert-letter): If you choose a different folder,
2401 the cur message is used. Sync docstring with manual (closes SF
2404 * mh-mime.el (mh-compose-forward): Use standard range argument
2405 instead of messages. Use more powerful mh-read-range instead of
2406 read-string. Sync docstring with manual (close SF #1205890).
2408 * mh-index.el (mh-index-search): Checking mh-find-path-run is
2410 (mh-index-next-folder): Don't back up a line when going backwards
2411 since this skips the current folder heading if point is on the
2412 first message after the folder heading (closes SF #1126188).
2414 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
2415 (mh-variants): Note variable isn't meant to be accessed directly;
2416 use function mh-variants instead.
2417 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
2418 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
2419 them. Updated to use mh-file-command-p which is more accurrate
2420 than file-executable-p which returns t for directories.
2421 (mh-file-command-p): Move here from mh-utils, since
2422 mh-variant-*-info are the only functions to use it.
2423 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
2424 function mh-variants instead of variable. More robust.
2425 (mh-find-path-run): Move here from mh-utils.el. Mention that
2426 checking this variable is unnecessary.
2427 (mh-find-path): Move here from mh-utils.el. With the advent of MH
2428 variants and an mhparam command that doesn't work if there isn't
2429 an MH profile, we can't get libdir for running install-mh. So
2430 don't bother. If there's an issue with the environment, direct the
2431 user to install MH and run install-mh (closes SF #835192). Don't
2432 read ~/.mh_profile directly. Use mh-profile-component which uses
2433 mhparam (closes SF #1016027).
2435 * mh-utils.el (mh-get-profile-field): Rename to
2436 mh-profile-component-value. Add colon to search removing
2437 unnecessary addition of colon to field in mh-profile-component.
2438 (mh-profile-component): Modify call to mh-profile-component-value
2439 accordingly. Move next to mh-profile-component-value.
2440 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
2441 mh-init.el. It makes sense that code that is only run once per
2442 session (more or less) is in mh-init.el rather than cluttering
2444 (mh-no-install, mh-install): Delete.
2446 * mh-customize.el (mh-folder-msg-number):
2447 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
2449 2006-01-09 Bill Wohler <wohler@newt.com>
2451 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
2452 patch from Satyaki from SF #1016027.
2454 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
2455 message, even if cur sequence is no longer present (closes SF
2458 * mh-comp.el: Use ";; Shush compiler." comment consistently per
2460 (mh-letter-mode): Derive from mail-mode and delete code copied
2461 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
2463 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
2464 (mh-to-field-choices): For consistency with mail-mode, add "a" for
2465 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
2466 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
2467 (mh-to-fcc): Move setting of folder argument to interactive
2468 argument as is the norm.
2469 (mh-letter-complete-function-alist): Add mail-reply-to.
2470 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
2471 Mail-Followup-To, Reply-To, From).
2473 * mh-customize.el: Use ";; Forward definition." consistently.
2474 Comment declaration to remind programmer to update forward
2475 definition if default changes.
2482 * mh-utils.el: Use ";; Shush compiler." comment consistently per
2485 2006-01-08 Bill Wohler <wohler@newt.com>
2487 Removed code that was marked as Emacs 20 compatible that was
2488 easily found showing how important it is to document such
2489 things (closes SF #1359240). Feel free to nuke any other Emacs 20
2490 peculiarities that you find. Wrapped code for shushing compiler
2491 with (eval-when-compile), sometimes moving the defvars closer to
2492 where they were used.
2494 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
2495 instead of mh-replace-in-string as mh-replace-in-string was
2496 replaced by a more appropriate defsubst in mh-xemacs.el.
2498 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
2500 (mh-file-is-vcard-p): Removed redundant test.
2502 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
2503 with eval-when-compile.
2504 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
2505 (mh-invisible-header-fields-default): Add forward definitions.
2506 (mh-invisible-header-fields-default): Alphabetize.
2508 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
2510 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
2512 (mh-colors-available-p): Just call display-color-cells. It's on
2513 all supported Emacsen (and defaliased on XEmacs).
2517 * mh-init.el: Wrap compiler-shushing defvars with
2520 * mh-identity.el: Don't need (mh-require-cl).
2522 * mh-index.el: Don't need to load executable any more.
2524 * mh-mime.el: Wrap compiler-shushing defvars with
2526 (mh-have-file-command): Initialize variable to 'undefined. Add
2527 docstring. Update function of same name accordingly. Also don't
2528 need to load executable any more.
2529 (mh-mime-content-types): Delete.
2530 (mh-minibuffer-read-type): Prompt user for type if
2531 mh-file-mime-type returns application/octet-stream. Assume we have
2533 (mh-mime-display): Update error message.
2535 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
2536 with eval-when-compile.
2538 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
2539 with eval-when-compile.
2540 (mh-clean-msg-header): Don't set after-change-functions to nil.
2541 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
2544 2006-01-07 Bill Wohler <wohler@newt.com>
2546 * mh-customize.el: Updated Faces documentation in header.
2547 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
2548 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
2550 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
2551 tags inserted by Gnus gnus-summary-mail-forward (closes SF
2554 2006-01-03 Mark D. Baushke <mdb@gnu.org>
2556 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
2557 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
2559 2006-01-03 Bill Wohler <wohler@newt.com>
2561 * mh-alias.el (mh-alias-add-alias): Grand message and error string
2562 unification. Use single sentence if possible by using semicolon.
2563 Don't end message with punctuation. Don't need format with
2564 message. Quote messages as in docstrings: use `' around symbols,
2565 \" for option choices. Don't use quotes around %s.
2567 * mh-comp.el (mh-complete-word): Ditto.
2569 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
2570 (mh-scan-format-file-check): Ditto.
2572 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
2573 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
2574 (mh-msg-num-width-to-column): Ditto.
2576 * mh-identity.el (mh-identity-field-handler): Ditto.
2578 * mh-index.el (mh-mairix-execute-search)
2579 (mh-swish-execute-search, mh-swish++-execute-search)
2580 (mh-namazu-execute-search): Ditto.
2582 * mh-init.el (mh-variant-set): Ditto.
2584 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
2585 (mh-secure-message, mh-mime-display): Ditto.
2587 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
2589 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
2590 (mh-read-range, mh-thread-container-subject): Ditto.
2592 * mh-utils.el (mh-x-image-scale-and-display)
2593 (mh-prompt-for-folder, mh-handle-process-error)
2594 (mh-list-to-string-1): Ditto.
2596 * mh-comp.el (mh-reply): Use standard default notation in
2597 prompts (closes SF #1275933).
2599 * mh-mime.el (mh-mime-save-parts): Ditto.
2601 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
2603 * mh-customize.el (mh-folder-msg-number): Snow is actually
2604 off-white on low color displays which turns to white when bold.
2605 This is unreadable on white backgrounds. Use snow with min-colors
2606 requirement. Use cyan on low-color displays.
2608 * mh-init.el (mh-defface-compat): On low-color displays, delete
2609 the high-color display rather than simply strip the min-colors
2610 requirement since the existing algorithm shadowed the desired
2611 display on low-color displays.
2613 * mh-alias.el (mh-alias-add-alias): Remove leading * from
2616 2006-01-02 Bill Wohler <wohler@newt.com>
2618 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
2619 docstring. Does this mean something in a defun?
2621 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
2624 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
2625 so it reads better in docstring and manual. Sync docstring with
2628 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
2630 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
2632 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
2633 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
2634 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2635 (mh-letter-complete-or-space, mh-letter-confirm-address)
2636 (mh-letter-next-header-field-or-indent)
2637 (mh-letter-previous-header-field): Ditto.
2639 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2640 (mh-default-folder-for-message-function, mh-mml-method-default)
2641 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2642 (mh-show-mode-hook) Ditto.
2644 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2646 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
2647 (mh-store-msg, mh-store-buffer): Ditto.
2649 * mh-index.el (mh-index-search, mh-index-do-search)
2650 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2652 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2654 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2655 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2656 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2657 (mh-mml-secure-message-signencrypt): Ditto.
2659 * mh-pick.el (mh-search-folder): Ditto.
2661 * mh-seq.el (mh-widen): Ditto.
2663 * mh-utils.el (mh-show, mh-modify): Ditto.
2665 2006-01-02 Mark D. Baushke <mdb@gnu.org>
2667 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2669 2006-01-01 Bill Wohler <wohler@newt.com>
2671 * mh-customize.el: Sync docstrings with manual for faces and sort
2672 them alphabetically.
2673 (mh-faces): Move below mh-hooks.
2674 (mh-folder-faces, mh-index-faces, mh-letter-faces)
2675 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
2676 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2677 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2678 (mh-folder-body-face, mh-folder-cur-msg-face)
2679 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2680 (mh-folder-followup-face, mh-folder-msg-number-face)
2681 (mh-folder-deleted-face, mh-folder-refiled-face)
2682 (mh-folder-subject-face, mh-folder-address-face)
2683 (mh-folder-scan-format-face, mh-folder-to-face)
2684 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2685 (mh-show-header-face, mh-show-pgg-good-face)
2686 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2687 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2689 (mh-folder-cur-msg): Unused. Delete.
2690 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2691 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2692 Inherit from mh-folder-msg-number.
2693 (mh-folder-deleted): Use defface. Inherit from
2694 mh-folder-msg-number.
2695 (mh-folder-sent-to-me-hint): New face. Inherit from
2697 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
2698 Use defface. Inherit from mh-folder-followup.
2699 (mh-show-xface): Inherit from mh-show-from and highlight.
2700 (bw-face-generation, bw-toggle-faces)
2701 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2702 variables, functions for toggling between old and new faces.
2704 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
2705 eval-when-compile. We should probably do this throughout.
2706 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2707 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2708 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2709 (mh-scan-subject-regexp): Sync docstrings with manual.
2710 (mh-scan-format-regexp): Rename to
2711 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
2712 expression. Make expression more like the others (anchored at the
2713 beginning of line). Sync docstrings with manual.
2714 (mh-folder-font-lock-keywords): Use faces directly rather than
2715 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
2716 mh-scan-format-regexp, and within that expression, use faces
2717 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2718 of mh-folder-date-face and mh-folder-scan-format-face which were
2721 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2722 rather than -face variables.
2724 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2725 rather than -face variables.
2726 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2727 (mh-face-display-function): Use mh-face-foreground-compat and
2728 mh-face-background-compat to use inherited attributes of
2729 mh-show-xface on Emacs 22 while still working on Emacs 21.
2731 2005-12-28 Bill Wohler <wohler@newt.com>
2733 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2734 Use mh-user-agent-compose instead of mh-smail-batch.
2736 2005-12-27 Bill Wohler <wohler@newt.com>
2738 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2739 suppress creation of folder if it doesn't exist.
2741 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2745 2005-12-23 Bill Wohler <wohler@newt.com>
2747 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2749 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2750 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2751 everything else. Otherwise, you can accidentally get links to
2754 2005-12-22 Bill Wohler <wohler@newt.com>
2756 Follow Emacs coding conventions. Use default setting of
2757 emacs-lisp-docstring-fill-column which is 65.
2759 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2761 * mh-comp.el (mh-letter-mode): Use 60 column width.
2762 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2764 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2765 you have added a mail-citation-hook and neither are used if you
2766 use one of the supercite flavors of mh-yank-behavior. Sync
2767 docstrings with manual.
2769 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2770 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
2771 hook. Use "Hook run by `function'..." instead of "Invoked...".
2772 Sync docstrings with manual.
2773 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2774 mh-ins-buf-prefix isn't used if you have added a
2775 mail-citation-hook and neither are used if you use one of the
2776 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2777 (mail-citation-hook): Delete. Use one in sendmail.el.
2778 (mh-signature-file-name, mh-after-commands-processed-hook)
2779 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2780 (mh-before-quit-hook, mh-before-send-letter-hook)
2781 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2782 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2783 (mh-letter-mode-hook)
2784 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2785 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2786 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
2787 of "Invoked...". Sync docstrings with manual.
2789 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2790 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2791 (mh-delete-list, mh-refile-list, mh-folders-changed)
2792 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2793 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2794 (mh-mode-line-annotation, mh-sequence-notation-history)
2795 (mh-colors-available-flag): Move comment into docstring.
2796 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2797 (mh-process-commands): Sync docstrings with manual.
2798 (mh-refile-msg): Small doc edit.
2799 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2800 Rename msg argument to message.
2802 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2804 * mh-e.el (mh-update-unseen): No longer say "The value of
2805 `foo-hook' is a list of functions to be called, with no arguments,
2806 ...," but rather just "The hook foo-hook is called...".
2808 * mh-mime.el (mh-mh-to-mime): Ditto.
2810 * mh-pick.el (mh-pick-mode): Ditto.
2812 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2814 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2816 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2819 2005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2821 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2822 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2824 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2825 mh-before-commands-processed-hook, call new
2826 mh-after-commands-processed-hook.
2827 (mh-folders-changed): New variable (for use in
2828 mh-after-commands-processed-hook).
2830 2005-12-19 Bill Wohler <wohler@newt.com>
2850 Follow commenting conventions. Don't use ;;; form so much, except
2851 for headings. Precede headings with page feed. This was mostly
2852 already done, so I made it a convention. Did not update copyright
2853 on a couple of files since this was an insignificant change.
2855 2005-12-18 Bill Wohler <wohler@newt.com>
2857 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2858 (mh-tool-bar-search-function): Sync docstrings with manual.
2859 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
2860 (mh-tool-bar-letter-help): Fix manual reference.
2861 (mh-xemacs-use-toolbar-flag): Rename to
2862 mh-xemacs-use-tool-bar-flag. Initialize to
2863 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
2864 (mh-xemacs-toolbar-position): Rename to
2865 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
2866 option (redundant) and change "Same As Default Tool Bar" setting
2867 to nil. Sync docstrings with manual.
2868 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2869 depending on context.
2870 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
2871 for calling set-specifier. Only look at the value of
2872 mh-xemacs-use-tool-bar-flag.
2873 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2874 Sync docstrings with manual.
2876 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2879 * mh-e.el (mh-folder-mode): Ditto.
2881 * mh-utils.el (mh-show-mode): Ditto.
2883 2005-12-15 Bill Wohler <wohler@newt.com>
2885 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2887 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2888 (mh-thread-previous-sibling, mh-thread-ancestor)
2889 (mh-thread-delete, mh-thread-refile): Ditto.
2891 2005-12-14 Bill Wohler <wohler@newt.com>
2893 * mh-customize.el (mh-speed-flists-interval): Rename to
2894 mh-speed-update-interval.
2895 (mh-speed-run-flists-flag): Delete. Setting
2896 mh-speed-flists-interval to 0 accomplishes the same thing.
2898 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2899 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2900 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2901 docstrings with manual.
2903 2005-12-09 Bill Wohler <wohler@newt.com>
2905 * mh-customize.el (mh-path): Move here from mh-init.el.
2906 (mh-variant): Mention that mh-path can be customized.
2907 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2908 X-MAIL-INFO, and X-UNTD- from NetZero.
2910 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2912 2005-12-04 Bill Wohler <wohler@newt.com>
2914 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2915 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2918 * mh-customize.el (mh-insert-signature-hook): Rename
2919 mh-letter-insert-signature-hook to mh-insert-signature-hook.
2921 * mh-comp.el (mh-insert-signature): Ditto.
2923 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
2924 to nil. Remove t option. Sync docstring with manual (closes SF
2926 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2927 users can see it, look it up in the manual's index, and discover
2928 mh-fetch-x-image-url (closes SF #831278).
2930 * mh-customize.el (mh-new-messages-folders): Rename from
2931 mh-index-new-messages-folders.
2932 (mh-ticked-messages-folders): Rename from
2933 mh-index-ticked-messages-folders.
2935 * mh-index.el (mh-index-sequenced-messages)
2936 (mh-index-new-messages): Ditto.
2938 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
2939 in the docstrings and made usage consistent. Generally speaking,
2940 "messages in range" and "range of messages" is redundant and just
2941 "range" can be used in most circumstances. Also ensured that
2942 mh-interactive-range was mentioned in all interactive functions
2943 that use a range which describes the range argument for both users
2946 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2947 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2948 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
2949 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2952 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2955 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2957 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2958 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2960 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2961 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2963 2005-12-01 Bill Wohler <wohler@newt.com>
2965 Rewrote Reading Mail chapter in manual which affected mh-show
2966 customization group and related functions.
2968 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2969 instead of mh-highlight-citation-p.
2970 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2971 I think, so use "truncated".
2973 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
2974 section is Folders, not Organizing. Parent of mh-folder-faces is
2975 mh-folder, not mh-show.
2976 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
2977 (mh-thread): New group that corresponds with manual's Threading chapter.
2978 (mh-letter-faces): Group's manual section is Editing Drafts, not
2980 (mh-sortm-args): New customization variable that used to be a defvar.
2981 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2982 Move from mh-index group to mh-folders group.
2983 (mh-alias-local-users-prefix, mh-large-folder)
2984 (mh-recursive-folders-flag, mh-before-quit-hook)
2985 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2986 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2988 (mh-highlight-citation-style): Rename from
2989 mh-highlight-citation-p. Sync docstrings with manual.
2990 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
2992 (mh-show-threads-flag): Move from mh-show group to mh-thread
2994 (mh-find-path-hook): Move from mh-show group to mh-e group.
2995 (mh-folder-updated-hook): Add to mh-folder group.
2996 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2997 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2998 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2999 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
3000 (mh-display-buttons-for-inline-parts-flag)
3001 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
3002 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
3003 (mh-invisible-header-fields-default, mh-invisible-header-fields)
3004 (mh-lpr-command-format, mh-max-inline-image-height)
3005 (mh-max-inline-image-width)
3006 (mh-mime-save-parts-default-directory, mh-print-background-flag)
3007 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
3008 (mh-show-use-xface-flag, mh-store-default-directory)
3009 (mh-summary-height, mh-delete-msg-hook)
3010 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
3012 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
3013 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3014 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
3015 Use non-fontification instead of non-fontifying.
3016 (mh-header-display): Use mh-mhl-format-file instead of
3017 mhl-formfile. Sync docstrings with manual.
3018 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
3019 count. Sync docstrings with manual.
3020 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
3021 so that message doesn't change when using this command. Sync
3022 docstrings with manual.
3023 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
3024 docstrings with manual.
3025 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
3026 to no-header. Sync docstrings with manual.
3027 (mh-ps-print-map): Delete keybindings for deleted commands
3028 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
3029 (mh-help-messages): Update printing help.
3030 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
3031 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
3032 (mh-prev-button, mh-folder-toggle-mime-part)
3033 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
3034 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
3037 * mh-funcs.el (mh-sortm-args): Now a customization option and in
3039 (mh-pipe-msg): Rename include-headers to include-header.
3040 Sync docstrings with manual.
3041 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
3042 (mh-store-msg): Sync docstrings with manual.
3044 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
3045 Sync docstrings with manual.
3046 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
3047 Sync docstrings with manual.
3048 (mh-mm-display-part, mh-mm-inline-message): Use
3049 mh-highlight-citation-style instead of mh-highlight-citation-p.
3050 (mh-press-button): Sync docstrings with manual.
3051 (mh-display-with-external-viewer): Fix default output in
3052 minibuffer. Sync docstrings with manual.
3054 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
3056 (mh-ps-print-color-option): Incorporate docstring from
3058 (mh-ps-spool-buffer): Remove unused code. Fix indent.
3060 (mh-ps-spool-msg): Slimline docstring. Rename from
3061 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
3063 (mh-ps-print-range): Extract method from common code in
3064 mh-ps-print-msg and mh-ps-print-msg-file.
3065 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
3066 (mh-ps-print-msg-show): Delete. Can use either
3067 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
3068 new code in mh-ps-spool-msg.
3069 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
3070 Sync docstrings with manual.
3071 (mh-ps-print-msg, mh-ps-print-msg-file)
3072 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
3073 Sync docstrings with manual.
3075 * mh-utils.el (mh-show-ps-print-msg-show)
3076 (mh-show-ps-print-toggle-mime): Delete.
3077 (mh-show-ps-print-map): Update accordingly.
3078 (mh-show-mode): Use mh-highlight-citation-style instead of
3079 mh-highlight-citation-p.
3080 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
3082 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
3083 Sync docstrings with manual.
3084 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
3085 Sync docstrings with manual.
3087 2005-12-01 Bill Wohler <wohler@newt.com>
3089 * mh-init.el (mh-defface-compat): Checkdoc fix.
3091 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
3092 Bogofilter is lowercase except at beginning of sentence and in
3095 2005-11-04 Bill Wohler <wohler@newt.com>
3097 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
3098 Move to mh-init.el to minimize bulk of mh-customize.el.
3100 * mh-init.el: Modify commentary since file is used for load and
3101 initialization as well as setting and getting the variant.
3102 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
3105 * mh-customize.el: Refactor faces. Move grayscale requirements
3106 last before t. Use uniform line breaks.
3107 (mh-min-colors-defined-flag): New variable.
3108 (mh-defface-compat): New function. Provides backward compatibility
3110 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
3111 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3112 (mh-folder-body): Use mh-defface-compat.
3114 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
3116 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
3117 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
3118 (mh-folder-to-face): Use the min-colors attribute instead of the
3121 2005-11-03 Bill Wohler <wohler@newt.com>
3123 * mh-customize.el (mh-refile-preserves-sequences-flag)
3124 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
3125 Sync docstrings with manual.
3127 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
3129 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
3130 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
3133 2005-11-01 Bill Wohler <wohler@newt.com>
3135 * mh-comp.el (mh-redist-full-contents) Convert defvar to
3137 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
3138 (mh-reply, mh-send, mh-send-other-window)
3139 (mh-fill-paragraph-function): Sync docstrings with manual.
3140 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
3141 msg argument to message (to make for a better docstring).
3143 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
3144 to defcustom. Rename by adding -flag.
3145 (mh-compose-forward-as-mime-flag)
3146 (mh-compose-letter-function, mh-forward-subject-format)
3147 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
3148 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
3151 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
3152 (mh-ps-print-msg): Remove debugging messages.
3153 (mh-ps-print-msg-show, mh-ps-print-msg-show)
3154 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
3155 after message per conventions.
3157 2005-10-30 Bill Wohler <wohler@newt.com>
3159 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
3160 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
3161 Sync docstrings with manual.
3163 * mh-customize.el (mh-compose-space-does-completion-flag)
3164 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
3165 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
3166 means" to remain checkdoc clean and consistent with Emacs. I
3167 raised this issue with the Emacs developers and Stallman agrees
3168 that "On means" should be allowed in custom docstrings but that
3169 this change requires thought and should wait until after the Emacs
3172 2005-10-28 Bill Wohler <wohler@newt.com>
3174 * mh-comp.el (mh-annotate-msg): Use new variable
3175 mh-scan-field-destination-offset rather than hard-coding 1.
3177 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
3179 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
3180 functions to check input for mh-adaptive-cmd-note-flag and
3181 mh-scan-format-file respectively.
3182 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
3185 * mh-e.el (mh-scan-field-destination-offset): New variable. The
3186 destination is the -, t, b, c, or n character for Replied, To, cc,
3187 Bcc, or Newsgroups respectively.
3188 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
3189 Call new function mh-msg-num-width-to-column to make leap between
3190 width and column more explicit.
3191 (mh-msg-num-width-to-column): New function that steals logic from
3192 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
3193 isn't t since we can't adapt the scan lines in this case.
3194 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
3195 make the documentation more clear.
3196 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
3197 column, not a width.
3198 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
3199 variable mh-scan-field-destination-offset rather than hard-coding 1.
3201 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
3202 (mh-notate): Use new variable mh-scan-field-destination-offset
3203 rather than hard-coding 1.
3204 (mh-message-number-width): Rename to mh-msg-num-width to be
3205 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
3207 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
3208 (mail-citation-hook): Quote URLs in docstrings and precede with
3209 `URL'. The former will suppress checkdoc warnings, the latter will
3210 turn them into hyperlinks in Emacs 22 (I just added the code to do
3212 (mh-scan-format-file): Checkdoc fix.
3214 2005-10-27 Bill Wohler <wohler@newt.com>
3216 * mh-customize.el (mh-adaptive-cmd-note-flag)
3217 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
3219 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
3220 (mh-note-cur, mh-scan-good-msg-regexp)
3221 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
3222 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
3223 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
3224 (mh-scan-subject-regexp, mh-scan-format-regexp)
3225 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
3228 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
3230 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
3231 of hard-coded string.
3232 (mh-mail-header-separator, mh-signature-separator-regexp):
3233 Use "regular expression" in docstring instead of regexp.
3234 (mh-scan-msg-number-regexp)
3235 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
3236 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
3237 (mh-cmd-note): Sync docstrings with manual.
3239 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
3242 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
3244 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
3245 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3246 (mh-mml-secure-message-signencrypt): Ditto.
3248 2005-10-24 Bill Wohler <wohler@newt.com>
3250 * mh-gnus.el: Load mml.el in order to see if
3251 mml-minibuffer-read-disposition is defined or not.
3253 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
3256 2005-10-23 Miles Bader <miles@gnu.org>
3258 * .arch-inventory: New file.
3260 2005-10-23 Bill Wohler <wohler@newt.com>
3262 * mh-customize.el (mh-interpret-number-as-range-flag):
3263 Sync docstring with manual.
3265 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
3266 mh-alias.el and move to mh-acros.el.
3268 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
3269 mh-identity.el and move to mh-acros.el.
3271 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
3272 mh-identity.el and mh-alias.el.
3274 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
3275 warning in Emacs 22.
3277 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
3279 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
3280 assoc-string (if the function is available) and falls back on
3281 assoc-ignore-case if assoc-string is not found.
3282 (mh-identity-field-handler): Use mh-assoc-ignore-case since
3283 assoc-ignore-case is a obsolete function in Emacs 22.
3285 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
3286 track of whether the tool-bar in mh-folder-mode has been
3288 (mh-folder-mode): Initialize the tool-bar for folders the first
3289 time we get into mh-letter-mode.
3291 * mh-customize.el (mh-buffer-exists-p): New function which tests
3292 presence of buffers of a given mode.
3293 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
3294 mh-tool-bar-letter-buttons-init are defined. These functions are
3295 used to create the tool-bar from the corresponding customizable
3298 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
3299 keeps track of whether the tool-bar in mh-letter-mode has been
3301 (mh-letter-mode): Initialize the tool-bar for drafts the first
3302 time we get into mh-letter-mode.
3304 2005-10-23 Bill Wohler <wohler@newt.com>
3306 * mh-comp.el (mh-letter-menu): Rename
3307 mh-mhn-compose-external-compressed-tar to
3308 mh-mh-compose-external-compressed-tar. Rename
3309 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3310 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
3311 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
3312 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
3313 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
3315 (mh-insert-signature): Rename mh-mhn-directive-present-p to
3316 mh-mh-directive-present-p.
3317 (mh-send-letter): Rename mh-mhn-directive-present-p to
3318 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
3319 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
3320 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
3321 mh-mhn-compose-external-compressed-tar to
3322 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3323 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3324 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
3325 mh-mh-compose-anon-ftp. Rename
3326 mh-mhn-compose-external-compressed-tar to
3327 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
3328 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
3329 mh-mh-compose-external-type.
3330 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
3331 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
3332 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
3333 mh-yank-from-start-of-msg to mh-yank-behavior.
3334 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
3335 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
3336 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
3337 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
3338 (mh-letter-complete-or-space, mh-letter-confirm-address)
3339 (mh-letter-next-header-field-or-indent)
3340 (mh-letter-previous-header-field)
3341 (mh-letter-toggle-header-field-display): Sync docstrings with
3344 * mh-customize.el (mh-edit-mhn-hook): Rename to
3346 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
3347 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
3348 and user-visible values from mhn and Gnus to MH and MML.
3349 (mh-before-send-letter-hook): Add 'ispell-message option.
3350 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
3351 mh-pgp-support-flag.
3352 (mh-compose-insertion, mh-compose-space-does-completion-flag)
3353 (mh-delete-yanked-msg-window-flag)
3354 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
3355 (mh-letter-complete-function, mh-letter-fill-column)
3356 (mh-mml-method-default, mh-signature-file-name)
3357 (mh-signature-separator-flag, mh-x-face-file)
3358 (mh-yank-behavior, mail-citation-hook)
3359 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
3362 * mh-gnus.el (mml-minibuffer-read-disposition): New function
3363 provided for Emacs 21 environments that lack it.
3365 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
3367 (mh-compose-forward): mh-mh-forward-message requires string arg.
3368 (mh-minibuffer-read-type): New function.
3369 (mh-mhn-args): Rename to mh-mh-to-mime-args.
3370 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
3371 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
3372 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
3373 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
3374 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
3375 (mh-mhn-compose-external-compressed-tar): Rename to
3376 mh-mh-compose-external-compressed-tar. Rename
3377 mh-mhn-compose-external-type to mh-mh-compose-external-type.
3378 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
3379 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
3380 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
3381 Use correct program in message.
3382 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
3383 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
3384 (mh-compose-forward, mh-mh-attach-file)
3385 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3386 (mh-mh-compose-external-type, mh-mh-forward-message)
3387 (mh-mml-attach-file): Use mml-minibuffer-read-description,
3388 mh-minibuffer-read-type.
3389 (mh-mime-content-types): Move comment about only being used in
3390 Emacs 20 to docstring.
3391 (mh-mh-compose-external-type): Rename extra-param argument to
3393 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
3394 (mh-mime-display-part, mh-mime-display-single): Rename
3395 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
3396 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
3398 (mh-compose-forward): Rename mh-mhn-compose-forw to
3399 mh-mh-forward-message.
3400 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
3402 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
3403 (mh-mh-attach-file, mh-mh-compose-type)
3404 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
3405 (mh-mh-compose-external-compressed-tar)
3406 (mh-mh-compose-external-type, mh-mh-forward-message)
3407 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
3408 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
3409 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
3410 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
3411 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
3412 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
3413 Sync docstrings with manual.
3415 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
3416 mh-pgp-support-flag.
3418 2005-10-17 Peter S Galbraith <psg@debian.org>
3420 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
3421 to compare against header field for mixed-case "From:".
3423 2005-10-17 Bill Wohler <wohler@newt.com>
3425 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
3426 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
3427 to mail/compose, fld_open to fld-open.
3428 (mh-letter-tool-bar-map): Rename image file mail_send to
3431 2005-10-16 Bill Wohler <wohler@newt.com>
3433 * mh-comp.el (mh-display-completion-list-compat): New macro which
3434 calls `display-completion-list' correctly in older environments.
3435 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
3437 (mh-complete-word): Use it.
3439 * mh-init.el (mh-image-load-path): Use locate-library to find
3440 MH-E. This simplified the code a lot. Flattened out nested
3441 statements even more.
3443 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
3445 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
3446 causes a compiler warning.
3448 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
3449 the message to be viewed (closes SF #1306141).
3451 2005-10-16 Masatake YAMATO <jet@gyve.org>
3453 * mh-comp.el (mh-complete-word): Pass the common prefix substring
3454 of completion to `display-completion-list'.
3456 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
3458 * mh-init.el (mh-image-load-path-called-flag): New variable which
3459 is used by mh-image-load-path so that it runs only once.
3460 (mh-image-load-path): Modify so that it gets run only once. Also
3461 flatten out heavily nested if statements to make it clearer.
3463 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
3464 to find images used in the toolbar.
3466 * mh-customize.el (:folder): Remove call to mh-image-load-path.
3468 2005-10-14 Bill Wohler <wohler@newt.com>
3470 * mh-e.el (Version, mh-version): Add +cvs to version.
3472 2005-10-14 Bill Wohler <wohler@newt.com>
3474 Released MH-E version 7.85.
3476 * mh-e.el (Version, mh-version): Update for release 7.85.
3478 2005-10-14 Bill Wohler <wohler@newt.com>
3480 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
3481 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
3482 need to be indented.
3484 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
3485 but the code that invoked the face had not been updated. Tick
3486 highlighting working again.
3488 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
3489 make-variable-buffer-local call to top level to avoid warnings in
3492 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
3495 2005-10-09 Bill Wohler <wohler@newt.com>
3497 * mh-init.el (mh-image-load-path): New function that adds the path
3498 to the MH-E images to the image-load-path or load-path depending
3499 on the version of Emacs.
3501 * mh-customize.el: Call mh-image-load-path just before
3502 mh-tool-bar-define so that the toolbar images can be found.
3504 2005-10-04 Bill Wohler <wohler@newt.com>
3506 * ChangeLog: Move contents into ChangeLog.1 and trim.
3508 * ChangeLog.1: New file. Contains old ChangeLog.
3511 Copyright (C) 2005-2011 Free Software Foundation, Inc.
3513 This file is part of GNU Emacs.
3515 GNU Emacs is free software: you can redistribute it and/or modify
3516 it under the terms of the GNU General Public License as published by
3517 the Free Software Foundation, either version 3 of the License, or
3518 (at your option) any later version.
3520 GNU Emacs is distributed in the hope that it will be useful,
3521 but WITHOUT ANY WARRANTY; without even the implied warranty of
3522 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3523 GNU General Public License for more details.
3525 You should have received a copy of the GNU General Public License
3526 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3530 ;; sentence-end-double-space: nil
3531 ;; add-log-time-zone-rule: t