(copyright-current-gpl-version): Set to 3.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
481821c8
JB
12007-06-06 Juanma Barranquero <lekktu@gmail.com>
2
3 * mh-mime.el (mh-mh-directive-present-p):
4 * mh-search.el (mh-index-group-by-folder): Fix typos in docstrings.
5
ff4dd199
BW
62006-11-14 Bill Wohler <wohler@newt.com>
7
8 * mh-xface.el (mh-x-image-url-cache-canonicalize): Add `*' to
9 reserved Windows filename characters (closes SF #1396499).
10
33b3ab5a
BW
112006-11-13 Bill Wohler <wohler@newt.com>
12
2f984b39
BW
13 Release MH-E version 8.0.3.
14
15 * mh-e.el (Version, mh-version): Update for release 8.0.3.
16
33b3ab5a 17 * mh-e.el (mh-alias-local-users): Boolean docstrings should start
481821c8 18 with "Non-nil means". Perhaps this option should have a -flag
33b3ab5a
BW
19 appended.
20 (mh-junk-background): Sync docstring with manual.
21
22 * mh-junk.el (mh-spamassassin-blacklist, mh-bogofilter-blacklist)
23 (mh-spamprobe-blacklist): Sync docstring with manual.
24
a4de8c3d
SG
252006-11-11 Stephen Gildea <gildea@stop.mail-abuse.org>
26
e580a741 27 * mh-junk.el (mh-spamassassin-blacklist, mh-spamassassin-whitelist):
33b3ab5a 28 Use mh-junk-background consistently in call-process calls.
d57727c9
JB
29 (mh-bogofilter-blacklist, mh-bogofilter-whitelist)
30 (mh-spamprobe-blacklist, mh-spamprobe-whitelist):
31 Use with-current-buffer so the right thing happens if
33b3ab5a 32 mh-junk-background is t (closes SF #1594802).
a4de8c3d 33
33b3ab5a 34 * mh-e.el (mh-junk-background): Document that On value is 0;
a4de8c3d 35 t may be used for debugging.
e580a741 36
bf4c75a4
AS
372006-11-10 Andreas Schwab <schwab@suse.de>
38
39 * mh-e.el (mh-draft-folder): Avoid starting sentence with "nil".
40
9e21382c
GM
412006-11-10 Glenn Morris <rgm@gnu.org>
42
43 * mh-e.el (mh-draft-folder): Doc fix (Nil -> nil).
44
25173d93
SG
452006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
46
47 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
33462dfa 48 quotation marks, so that the last two arguments of sa-learn
25173d93 49 are separated properly (closes SF #1565460).
d57727c9 50 (mh-spamassassin-blacklist): In example .procmailrc, add
25173d93 51 PATH element to find mhparam on Debian.
33462dfa 52
799f7c09
SG
532006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
54
33462dfa 55 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
799f7c09
SG
56 so that we always have a valid string for split-string even if
57 nothing is added in mh-send-letter (closes SF #1564742).
58
b67d4349
BW
592006-07-03 Bill Wohler <wohler@newt.com>
60
61 Release MH-E version 8.0.2.
62
63 * mh-e.el (Version, mh-version): Update for release 8.0.2.
64
fbe4aef8
BW
652006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change)
66
67 * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so
68 it refers to the icons in mh-xemacs-icon-map instead of trying to
d57727c9 69 declare the icons in situ. This allows mh-tool-bar.el to be
481821c8 70 compiled under XEmacs. Remove initial value for
fbe4aef8 71 mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons,
d57727c9 72 mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs.
fbe4aef8 73 In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner.
d57727c9 74 This allows MH-E to be used in XEmacs in a tty (closes SF #1506846).
fbe4aef8 75
ebb4d60b
BW
762006-07-03 Bill Wohler <wohler@newt.com>
77
78 * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now
79 that mh-xemacs needs functions in mh-compat.
80
1937adc2
BW
812006-06-29 Bill Wohler <wohler@newt.com>
82
83 * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in
84 loop construct to be consistent with other loops, and because
85 edebug doesn't work without it.
33462dfa 86
1937adc2
BW
872006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change)
88
89 * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid
90 redundant +s in regexp (closes SF #1514424).
91
e0487df8
BW
922006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
93
94 * mh-mime.el (mh-mime-save-parts): Add -store option to
95 mhn (closes SF #1513140).
96
737abde8
BW
972006-06-20 Bill Wohler <wohler@newt.com>
98
99 Release MH-E version 8.0.1.
100
101 * mh-e.el (Version, mh-version): Update for release 8.0.1.
102
d9044cd6
BW
1032006-06-15 Bill Wohler <wohler@newt.com>
104
105 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
33b3ab5a 106 suffix for folder names, as <> are illegal filename characters on
d9044cd6 107 Windows (closes SF #1507002).
33462dfa 108
fbf62741
BW
1092006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
110
111 * mh-comp.el (mh-send-uses-spost): New variable.
112 (mh-send-letter): Do not use -msgid and -mime if
113 mh-send-uses-spost is t (closes SF #1486726).
114
d9044cd6 1152006-06-02 Bill Wohler <wohler@newt.com>
33462dfa 116
d9044cd6
BW
117 (mh-folder-exists-p): Change test from an empty buffer, to one
118 that contains the actual folder, since GNU mailutils' folder
119 command displays output if the folder doesn't exist (closes SF
120 #1499712).
121
ae18726b
BW
1222006-05-06 Bill Wohler <wohler@newt.com>
123
124 Release MH-E version 8.0.
125
126 * mh-e.el (Version, mh-version): Update for release 8.0.
127
d2f8ce2f
BW
1282006-05-05 Bill Wohler <wohler@newt.com>
129
130 * mh-e.el: Update commentary.
131
0303217f
BW
1322006-04-28 Bill Wohler <wohler@newt.com>
133
134 Release MH-E version 7.95.
135
136 * mh-e.el (Version, mh-version): Update for release 7.95.
137
13384ea6
ED
1382006-04-26 Eric Ding <ericding@alum.mit.edu>
139
140 * mh-e.el (mh-invisible-header-fields-internal): Add entry
481821c8 141 "X-Provags-ID:".
13384ea6 142
6a7250d8
BW
1432006-04-25 Bill Wohler <wohler@newt.com>
144
145 * mh-letter.el (mh-folder-expand-at-point): Fix folder completion.
146 Folders returned by mh-folder-completion-function no longer need
147 adornment (closes SF #1476270).
148
237ad507
BW
1492006-04-21 Bill Wohler <wohler@newt.com>
150
151 * mh-e.el (Version, mh-version): Add +cvs to version.
152
d9ca64a9
BW
1532006-04-21 Bill Wohler <wohler@newt.com>
154
155 Release MH-E version 7.94.
156
157 * mh-e.el (Version, mh-version): Update for release 7.94.
158
15855f8f
BW
1592006-04-21 Bill Wohler <wohler@newt.com>
160
161 * mh-letter.el (mh-insert-letter): If a message number isn't
162 given, throw an error rather than using a potentially incorrect
481821c8 163 message number (closes SF #1473729). In addition, use the cur
15855f8f 164 message if mh-sent-from-msg is nil (when sending a message, in
481821c8 165 contrast to replying). Move conversion of int to string into
15855f8f
BW
166 interactive stanza so body can assume variables are of proper
167 type.
168
d2464a9f
BW
1692006-04-20 Bill Wohler <wohler@newt.com>
170
171 * mh-tool-bar.el (image-load-path): Define to shush compiler.
172 (mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it
173 isn't used outside of it.
d57727c9
JB
174 (mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
175 Update load-path/image-load-path before setting buttons.
176 This code used to be in mh-folder-mode/mh-letter-mode but this was
177 the wrong place since mh-tool-bar-*-buttons-init can also be called
178 when customizing the buttons.
d2464a9f
BW
179 (mh-tool-bar-update): New function which updates tool-bar-map in
180 all of the MH-E buffers after customizing the buttons (closes SF
181 #1452718).
182 (mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set):
183 Call it (closes SF #1452718).
184
481821c8 185 * mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
d2464a9f 186 mh-folder-tool-bar-map instead.
481821c8 187 (image-load-path): Delete. No longer used.
d2464a9f
BW
188 (mh-folder-mode): Moved setting of image-load-path into
189 mh-tool-bar-folder-buttons-init.
190
481821c8 191 * mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
d2464a9f 192 mh-letter-tool-bar-map instead.
481821c8 193 (image-load-path): Delete. No longer used.
d2464a9f
BW
194 (mh-letter-mode): Moved setting of image-load-path into
195 mh-tool-bar-letter-buttons-init.
196
197 * mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
198 instead of set-buffer.
199
d36069f0
BW
2002006-04-19 Bill Wohler <wohler@newt.com>
201
202 * mh-tool-bar.el (mh-tool-bar-define): Fix enable-expr so that one
02195654 203 can permanently disable a button (such as a separator) with nil.
d36069f0 204
17ce6de7
BW
2052006-04-18 Bill Wohler <wohler@newt.com>
206
207 * mh-e.el (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
208 (mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
209 (mh-min-colors-defined-flag): Do not unbind these macros and
481821c8 210 variables. Nice idea, but too many nasty side-effects. These
17ce6de7 211 macros are needed by [Cc]ustom-make-dependencies when creating the
481821c8
JB
212 MH-E customization groups in mh-cus-load.el. These disappeared
213 when the macros above were introduced. Besides, if a developer
17ce6de7
BW
214 were to try to show the help for a macro or variable they were
215 looking at and got [No match] when they did so, that would be bad.
216
cd35b20a
BW
2172006-04-17 Bill Wohler <wohler@newt.com>
218
d5468dff
BW
219 * mh-comp.el (mh-insert-x-mailer): Strip build number from
220 version in X-Mailer field (closes SF #1466481).
221
c90c4cf1
BW
222 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
223 variables and functions with the same name are found correctly by
224 find-func (invoked by clicking on the filename link in the *Help*
225 buffer).
481821c8 226 (mh-defmacro-compat): Rename to defmacro-mh. Ditto.
d57727c9 227
481821c8
JB
228 * mh-e.el (mh-defgroup): Rename to defgroup-mh. Ditto.
229 (mh-defcustom): Rename to defcustom-mh. Ditto.
230 (mh-defface): Rename to defface-mh. Ditto.
c90c4cf1
BW
231 (mh-font-lock-add-keywords): Make changes according to these
232 renamings.
233
234 * mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
235 #1472029).
236
cd35b20a
BW
237 * mh-utils.el (mh-sub-folders-actual): Mention that folder must
238 have been processed by mh-normalize-folder-name.
239 (mh-folder-completion-function): Handle completion of folders with
481821c8 240 absolute names. Also, when flag is t, display complete folder name
cd35b20a
BW
241 to provide proper highlighting in Emacs 22 now that
242 minibuffer-completing-file-name is nil (closes SF #1470518).
243 (mh-folder-completing-read): No longer set
481821c8 244 minibuffer-completing-file-name to t. This was causing "Can't set
cd35b20a
BW
245 current directory errors" when browsing absolute file names.
246 Another benefit of this change is that SPC can be used for
247 completion again (closes SF #1470518).
248
21acd4c9
BW
2492006-04-15 Bill Wohler <wohler@newt.com>
250
251 * mh-compat.el (mh-font-lock-add-keywords): Fix typo in docstring.
252
30545916
BW
2532006-04-14 Bill Wohler <wohler@newt.com>
254
73e6d1af
BW
255 * mh-funcs.el (view-exit-action): No need to wrap defvar with
256 eval-when-compile when shushing compiler.
257
258 * mh-mime.el (mh-identity-pgg-default-user-id): Ditto.
259
260 * mh-seq.el (view-exit-action): Ditto.
261
262 * mh-show.el (font-lock-auto-fontify): Ditto.
263
481821c8 264 * mh-utils.el (mh-speed-flists-cache): Ditto.
73e6d1af 265
481821c8 266 * mh-acros.el (struct, x, y): No need to wrap defvar with
42f8c37f
BW
267 eval-when-compile when shushing compiler, even when
268 mh-do-in-xemacs or another construct is used.
269
270 * mh-comp.el (sendmail-coding-system): Ditto.
271
272 * mh-e.el (mark-active): Ditto.
273
274 * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
275 (image-load-path, font-lock-defaults): Ditto.
276
277 * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
278
279 * mh-mime.el (dots, type, ov)
280 (mm-verify-function-alist, mm-decrypt-function-alist)
281 (pressed-details): Ditto.
282
283 * mh-search.el (pick-folder, mh-do-in-xemacs)
284 (mh-mairix-folder, mh-flists-search-folders)
285 (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
286
287 * mh-seq.el (tool-bar-mode): Ditto.
288
289 * mh-utils.el (completion-root-regexp)
290 (minibuffer-completing-file-name): Ditto.
291
292 * mh-xface.el (default-enable-multibyte-characters): Ditto.
293
30545916 294 * mh-compat.el (mh-font-lock-add-keywords): New alias for
481821c8 295 font-lock-add-keywords. Returns nil on XEmacs.
30545916
BW
296
297 * mh-e.el: Add MH-E function and variable keywords such as
33462dfa 298 mh-defun-compat and mh-defcustom to font-lock-keywords.
30545916 299
70a1d47e
BW
3002006-04-13 Bill Wohler <wohler@newt.com>
301
302 * mh-e.el (customize-package-emacs-version-alist)
303 (mh-e, mh-alias, mh-folder, mh-folder-selection)
304 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
481821c8 305 (mh-scan-line-formats, mh-search, mh-sending-mail)
70a1d47e
BW
306 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
307 (mh-hooks, mh-faces, mh-alias-completion-ignore-case-flag)
308 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
309 (mh-alias-insert-file, mh-alias-insertion-location)
310 (mh-alias-local-users, mh-alias-local-users-prefix)
311 (mh-alias-passwd-gecos-comma-separator-flag)
312 (mh-new-messages-folders, mh-ticked-messages-folders)
313 (mh-large-folder, mh-recenter-summary-flag)
314 (mh-recursive-folders-flag, mh-sortm-args)
481821c8 315 (mh-default-folder-for-message-function)
70a1d47e
BW
316 (mh-default-folder-list, mh-default-folder-must-exist-flag)
317 (mh-default-folder-prefix, mh-identity-list)
318 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
319 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
320 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
321 (mh-junk-program, mh-compose-insertion)
322 (mh-compose-skipped-header-fields)
323 (mh-compose-space-does-completion-flag)
324 (mh-delete-yanked-msg-window-flag)
325 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
326 (mh-letter-complete-function, mh-letter-fill-column)
327 (mh-mml-method-default, mh-signature-file-name)
481821c8 328 (mh-signature-separator-flag, mh-x-face-file)
70a1d47e
BW
329 (mh-yank-behavior, mh-interpret-number-as-range-flag)
330 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
331 (mh-search-program, mh-compose-forward-as-mime-flag)
332 (mh-compose-letter-function, mh-compose-prompt-flag)
333 (mh-forward-subject-format, mh-insert-x-mailer-flag)
334 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
481821c8 335 (mh-reply-show-message-flag)
70a1d47e
BW
336 (mh-refile-preserves-sequences-flag, mh-tick-seq)
337 (mh-update-sequences-after-mh-show-flag)
338 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
481821c8 339 (mh-decode-mime-flag)
70a1d47e
BW
340 (mh-display-buttons-for-alternatives-flag)
341 (mh-display-buttons-for-inline-parts-flag)
342 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
343 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
344 (mh-highlight-citation-style, mh-invisible-header-fields)
345 (mh-invisible-header-fields-default, mh-lpr-command-format)
346 (mh-max-inline-image-height, mh-max-inline-image-width)
347 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
348 (mh-print-background-flag, mh-show-maximum-size)
349 (mh-show-use-xface-flag, mh-store-default-directory)
350 (mh-summary-height, mh-speed-update-interval)
351 (mh-show-threads-flag, mh-tool-bar-search-function)
352 (mh-defcustom, mh-after-commands-processed-hook)
353 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
354 (mh-before-quit-hook, mh-before-send-letter-hook)
355 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
481821c8 356 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
70a1d47e
BW
357 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
358 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
359 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
360 (mh-unseen-updated-hook, mh-folder-address, mh-folder-body)
361 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
362 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
363 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
364 (mh-folder-subject, mh-folder-tick, mh-folder-to)
365 (mh-letter-header-field, mh-search-folder, mh-show-cc)
366 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
367 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
481821c8 368 (mh-show-subject, mh-show-to, mh-show-xface)
70a1d47e
BW
369 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
370 (mh-speedbar-selected-folder)
371 (mh-speedbar-selected-folder-with-unseen-messages): Use dotted
372 notation in :package-version keyword.
373
fde155f4
BW
3742006-04-07 Bill Wohler <wohler@newt.com>
375
376 * mh-e.el (mh-path, mh-variant): Define with mh-defcustom and add
377 :package-version keyword.
378
59e8810f
BW
3792006-03-31 Bill Wohler <wohler@newt.com>
380
381 * mh-e.el (mh-strip-package-version): Move before use to avoid
481821c8 382 compiler error. Make macro, also to avoid compiler error.
367c48ef
BW
383 (mh-defface-compat): Incorporate body into mh-face-data and
384 delete.
59e8810f 385
23347d76
BW
3862006-03-30 Bill Wohler <wohler@newt.com>
387
388 * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to
389 remove new :package-version keyword in older settings.
390 (customize-package-emacs-version-alist): Add MH-E version to Emacs
391 version mappings.
392 (mh-e, mh-alias, mh-folder, mh-folder-selection)
393 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
394 (mh-scan-line-formats, mh-search, mh-sending-mail)
395 (mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
396 (mh-hooks, mh-faces): Add :package-version keyword to these
def27552 397 groups (closes SF #1452724).
23347d76
BW
398 (mh-alias-completion-ignore-case-flag)
399 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
400 (mh-alias-insert-file, mh-alias-insertion-location)
401 (mh-alias-local-users, mh-alias-local-users-prefix)
402 (mh-alias-passwd-gecos-comma-separator-flag)
403 (mh-new-messages-folders, mh-ticked-messages-folders)
404 (mh-large-folder, mh-recenter-summary-flag)
405 (mh-recursive-folders-flag, mh-sortm-args)
406 (mh-default-folder-for-message-function)
407 (mh-default-folder-list, mh-default-folder-must-exist-flag)
408 (mh-default-folder-prefix, mh-identity-list)
409 (mh-auto-fields-list, mh-auto-fields-prompt-flag)
410 (mh-identity-default, mh-identity-handlers, mh-inc-prog)
411 (mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
412 (mh-junk-program, mh-compose-insertion)
413 (mh-compose-skipped-header-fields)
414 (mh-compose-space-does-completion-flag)
415 (mh-delete-yanked-msg-window-flag)
416 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
417 (mh-letter-complete-function, mh-letter-fill-column)
418 (mh-mml-method-default, mh-signature-file-name)
419 (mh-signature-separator-flag, mh-x-face-file)
420 (mh-yank-behavior, mh-interpret-number-as-range-flag)
421 (mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
422 (mh-search-program, mh-compose-forward-as-mime-flag)
423 (mh-compose-letter-function, mh-compose-prompt-flag)
424 (mh-forward-subject-format, mh-insert-x-mailer-flag)
425 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
426 (mh-reply-show-message-flag)
427 (mh-refile-preserves-sequences-flag, mh-tick-seq)
428 (mh-update-sequences-after-mh-show-flag)
429 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
430 (mh-decode-mime-flag)
431 (mh-display-buttons-for-alternatives-flag)
432 (mh-display-buttons-for-inline-parts-flag)
433 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
434 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
435 (mh-highlight-citation-style, mh-invisible-header-fields)
436 (mh-invisible-header-fields-default, mh-lpr-command-format)
437 (mh-max-inline-image-height, mh-max-inline-image-width)
438 (mh-mhl-format-file, mh-mime-save-parts-default-directory)
439 (mh-print-background-flag, mh-show-maximum-size)
440 (mh-show-use-xface-flag, mh-store-default-directory)
441 (mh-summary-height, mh-speed-update-interval)
442 (mh-show-threads-flag, mh-tool-bar-search-function): Add
def27552 443 :package-version keyword to these options (closes SF #1452724).
23347d76
BW
444 (mh-after-commands-processed-hook)
445 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
446 (mh-before-quit-hook, mh-before-send-letter-hook)
447 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
448 (mh-forward-hook, mh-inc-folder-hook)
449 (mh-insert-signature-hook)
450 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
451 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
452 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
453 (mh-unseen-updated-hook): Add :package-version keyword to these
def27552 454 hooks (closes SF #1452724).
23347d76
BW
455 (mh-min-colors-defined-flag)
456 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
457 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
458 (mh-folder-msg-number, mh-folder-refiled)
459 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
460 (mh-folder-subject, mh-folder-tick, mh-folder-to)
461 (mh-letter-header-field, mh-search-folder, mh-show-cc)
462 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
463 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
464 (mh-show-subject, mh-show-to, mh-show-xface)
465 (mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
466 (mh-speedbar-selected-folder)
467 (mh-speedbar-selected-folder-with-unseen-messages): : Add
def27552 468 :package-version keyword to these faces (closes SF #1452724).
23347d76
BW
469
470 * mh-tool-bar.el (mh-tool-bar-define): Added commented-out
def27552 471 :package-version keywords (closes SF #1452724).
23347d76 472
798b73dd
BW
4732006-03-28 Bill Wohler <wohler@newt.com>
474
84b57004
BW
475 * mh-tool-bar.el: Use clipboard-kill-region,
476 clipboard-kill-ring-save, and clipboard-yank instead of undo,
d57727c9 477 kill-region, and menu-bar-kill-ring-save respectively. In
84b57004
BW
478 MH-Letter mode, move save-buffer and mh-fully-kill-draft icons in
479 front of mh-compose-insertion to be consistent with other mailers,
d57727c9 480 such as Evolution. In MH-Folder mode, move vanilla reply icon to
481821c8 481 the left of the other reply icons. Use mail/inbox icon instead of
84b57004
BW
482 mail, next-page instead of page-down, delete instead of close,
483 mail/move instead of mail/refile, data-save instead of execute,
484 mail/flag-for-followup instead of highlight, contact instead of
485 mail/alias, open instead of fld-open, zoom-out instead of widen.
486
33462dfa 487 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
798b73dd
BW
488 * mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
489
83c3d14f 4902006-03-27 Eric Ding <ericding@alum.mit.edu>
2e9aae14
ED
491
492 * mh-e.el (mh-invisible-header-fields-internal): Add entries
d57727c9 493 "X-AOL-IP:" and "X-MB-Message-" (AOL WebMail).
2e9aae14 494
d79c9e9d
BW
4952006-03-19 Bill Wohler <wohler@newt.com>
496
72cf2f2e
BW
497 * mh-comp.el (mh-reply): Sync docstring with manual.
498
d79c9e9d
BW
499 * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
500 docstring.
501
1792673d
BW
5022006-03-17 Bill Wohler <wohler@newt.com>
503
d57727c9 504 * mh-compat.el (mh-image-load-path-for-library): Minor docstring fix.
1792673d 505
e8b5a7ce
BW
5062006-03-16 Bill Wohler <wohler@newt.com>
507
16b9a476
BW
508 * mh-comp.el (mh-send-letter): Use split-string to break up
509 mh-send-args (closes SF #1448604).
510 (mh-compose-and-send-mail): Use run-hook-with-args for
511 mh-compose-letter-function.
512
8d1ada53
BW
513 * mh-e.el (mh-list-to-string-1): Use dolist.
514
d57727c9 515 * mh-compat.el (mh-image-load-path-for-library): Prefer user's images.
e8b5a7ce 516
f875b154
BW
5172006-03-15 Bill Wohler <wohler@newt.com>
518
519 * mh-compat.el (mh-image-load-path-for-library): Fix example by
481821c8 520 not recommending that one binds image-load-path. Just defvar it to
f875b154
BW
521 placate compiler and only use it if previously defined.
522
523 * mh-e.el (image-load-path): Don't bind!
524
525 * mh-folder.el (mh-folder-mode): Only use image-load-path if
526 previously defined.
527
528 * mh-letter.el (mh-letter-mode): Ditto.
529
530 * mh-utils.el (mh-logo-display): Ditto.
531
44e3f440
BW
5322006-03-14 Bill Wohler <wohler@newt.com>
533
534 * mh-compat.el (mh-image-load-path-for-library): Incorporate
535 changes from image-load-path-for-library, which are:
536 (image-load-path-for-library): Pass value of path rather than
d57727c9 537 symbol. Always return list of directories. Guarantee that image
44e3f440
BW
538 directory comes first.
539
540 * mh-e.el (image-load-path): Define on those Emacsen that lack it
33462dfa 541 to avoid compile and run-time errors.
44e3f440
BW
542
543 * mh-folder.el (mh-folder-mode): Use new idiom for setting
544 image-load-path.
545
33462dfa 546 * mh-letter.el (mh-letter-mode): Ditto.
44e3f440
BW
547
548 * mh-utils.el (mh-logo-display): Ditto.
549
2044e8f1
BW
5502006-03-12 Bill Wohler <wohler@newt.com>
551
552 * mh-utils.el (mh-folder-list): Fix docstring (closes SF
553 #1448498).
554
0c32f8c6
BW
5552006-03-10 Bill Wohler <wohler@newt.com>
556
4a732ae9 557 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
481821c8 558 flag to replace-in-string. This was badly needed by
4a732ae9
BW
559 mh-quote-pick-expr in order to properly quote subjects when using
560 / s on XEmacs (closes SF #1447598).
481821c8
JB
561 (mh-image-load-path-for-library): Merged changes from Reiner. Add
562 no-error argument. If path t, just return directory.
4a732ae9 563
0c32f8c6
BW
564 * mh-e.el (mh-profile-component): Drop `s' from mhparam
565 -components for Mailutils compatibility (closes SF #1446985).
566
971a25ab
BW
5672006-03-06 Bill Wohler <wohler@newt.com>
568
569 * mh-e.el (Version, mh-version): Add +cvs to version.
570
1af028e6
SD
5712006-03-05 Satyaki Das <satyaki@theforce.stanford.edu>
572
573 * mh-search.el (mh-index-update-single-msg): Fix a bug in the
574 handling of duplicate messages. The test in cond was too strong
575 and wasn't catching the case where origin-map was nil.
576
b1d9cef4
BW
5772006-03-05 Bill Wohler <wohler@newt.com>
578
579 Release MH-E version 7.93.
580
581 * mh-e.el (Version, mh-version): Update for release 7.93.
33462dfa 582
fd5536d8
BW
5832006-03-05 Bill Wohler <wohler@newt.com>
584
585 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when
586 calling mh-image-load-path-for-library since this is the default.
587
588 * mh-letter.el (mh-letter-mode): Ditto.
589
590 * mh-utils.el (mh-logo-display): Ditto.
591
c80658b7
BW
5922006-03-04 Bill Wohler <wohler@newt.com>
593
594 * mh-compat.el (mh-image-load-path-for-library): Move here from
595 mh-utils.el and wrap with mh-defun-compat since this function will
596 be soon added to image.el.
33462dfa 597
d57727c9 598 * mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
c80658b7
BW
599 (mh-normalize-folder-name): Add return-nil-if-folder-empty
600 argument which is useful when calling mh-normalize-folder-name to
601 process the folder argument for the folders command.
602 (mh-sub-folders): Use new flag to mh-normalize-folder-name to make
d57727c9 603 this function more robust. It could too easily list the folders in /.
c80658b7 604 (mh-folder-list): Fix a couple of problems pointed out by Thomas
481821c8 605 Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
c80658b7 606
3fbc098d
BW
6072006-03-03 Bill Wohler <wohler@newt.com>
608
481821c8 609 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
5e9edb94
BW
610 mh-image-load-path-for-library.
611
612 * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
613 mh-image-load-path-for-library.
614
615 * mh-utils.el (mh-image-load-path): Rename to
d57727c9
JB
616 mh-image-load-path-for-library. Add example to docstring. Rename
617 local variable mh-image-directory to image-directory. Move error
5e9edb94
BW
618 checks to default case in cond and simplify.
619
3fbc098d
BW
620 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
621 docstrings with manual.
622
efc27af6
BW
6232006-03-02 Bill Wohler <wohler@newt.com>
624
625 * mh-folder.el (mh-tool-bar-init): Autoload.
626 (mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs.
627 Set scoped variables image-load-path and load-path with updated
628 mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
629
630 * mh-letter.el (mh-tool-bar-init): Autoload.
631 (mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs.
632 Set scoped variables image-load-path and load-path with updated
633 mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
634
635 * mh-show.el (mh-tool-bar-init): Autoload.
636 (mh-show-mode): Perform tool bar stuff conditionally in XEmacs and
637 GNU Emacs.
638
639 * mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
640 messages per conventions.
641 (mh-tool-bar-folder-buttons-init)
642 (mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
643 (mh-tool-bar-define call): Format.
644
c80658b7
BW
645 * mh-utils.el (mh-image-directory)
646 (mh-image-load-path-called-flag): Delete.
d57727c9 647 (mh-image-load-path): Incorporate changes from Gnus team. Biggest
efc27af6
BW
648 changes are that it no longer uses/sets mh-image-directory or
649 mh-image-load-path-called-flag, and returns the updated path
650 rather than change it.
651 (mh-logo-display): Change usage of mh-image-load-path.
652
a9e22173
BW
6532006-02-28 Bill Wohler <wohler@newt.com>
654
052df334
BW
655 * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
656 (mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow
657 to subjects with special characters by quoting regular expression
658 characters in pick expression derived from existing subjects and
659 other fields (closes SF #1432548).
66b265f5
BW
660 (mh-narrow-to-subject): Remove Re: string from subject so that
661 pick can find originating message (closes SF #1438369).
052df334 662
a9e22173
BW
663 * mh-utils.el (mh-image-load-path): Rename variable to
664 mh-image-directory.
665 (mh-image-load-path): Access mh-image-directory instead of
666 mh-image-load-path.
898dda92 667 (mh-folder-list): Fix problem with passing in a folder and getting
d57727c9
JB
668 nothing back. Fix problem with passing in empty string and getting
669 the entire filesystem (or infinite loop). Don't append slash to
670 folder. These fixes fix problems observed with the pick search.
898dda92 671 Thanks to Thomas Baumann for the help (closes SF #1435381).
052df334
BW
672 (mh-pick-regexp-chars, mh-quote-pick-expr): New variable and
673 function for quoting pick regular expression characters (closes SF
674 #1432548).
a9e22173 675
a425dc3d
BW
6762006-02-27 Bill Wohler <wohler@newt.com>
677
bc4c8031
BW
678 * mh-e.el (mh-default-folder-for-message-function): Sync docstring
679 with manual.
680
c99f6227 681 * mh-mime.el (mh-minibuffer-read-type): Delete comment in
0659521f
BW
682 docstring about obsolete variable mh-mime-content-types.
683
abc46e90
BW
684 * mh-e.el (mh-variant): Sync docstring with manual.
685 (cus-face): Require as it is needed by mh-inherit-face-flag.
686
a425dc3d
BW
687 * mh-compat.el (mh-display-color-cells): Return 2 if
688 device-color-cells returns nil (closes SF #1436924).
689
d57727c9 690 * mh-e.el (mh-compiling-flag): Delete. No longer needed by
a425dc3d
BW
691 mh-display-color-cells.
692
f669a69d
ED
6932006-02-21 Eric Ding <ericding@alum.mit.edu>
694
c99f6227 695 * mh-e.el (mh-invisible-header-fields-internal): Add entry
481821c8 696 "X-Sasl-enc:".
f669a69d 697
efd5b7df
ED
6982006-02-20 Eric Ding <ericding@alum.mit.edu>
699
c99f6227 700 * mh-e.el (mh-invisible-header-fields-internal): Add entries
efd5b7df
ED
701 "X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
702 "X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
703 "X-Resolved-to:", and "X-SA-Exim". Fixed "X-Bugzilla-" and
704 "X-Roving-" by removing unnecessary "*" at end.
705
ae494f66
BW
7062006-02-19 Bill Wohler <wohler@newt.com>
707
708 * mh-alias.el (mh-address-mail-regexp)
709 (mh-goto-address-find-address-at-point): Delete copies from
710 goto-addr.el.
711 (mh-alias-suggest-alias): Use goto-address-mail-regexp instead of
712 mh-address-mail-regexp.
713 (mh-alias-add-address-under-point): Use
714 goto-address-find-address-at-point instead of
715 mh-goto-address-find-address-at-point.
716
717 * mh-e.el (mh-show-use-goto-addr-flag): Delete.
718
719 * mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
720 docstring.
d57727c9 721 (mh-show-addr): Call goto-address unconditionally. User should use
ae494f66
BW
722 goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
723
803c3044
BW
7242006-02-18 Bill Wohler <wohler@newt.com>
725
726 * mh-e.el (Version, mh-version): Add +cvs to version.
727
927967ee
BW
7282006-02-18 Bill Wohler <wohler@newt.com>
729
730 Release MH-E version 7.92.
731
732 * mh-e.el (Version, mh-version): Update for release 7.92.
733
6e69a0bf
BW
7342006-02-17 Bill Wohler <wohler@newt.com>
735
b95d0a24
BW
736 * mh-e.el (mh-folder-msg-number): Use purple on low-color, light
737 backgrounds per Mark's suggestion.
738
6e69a0bf
BW
739 * mh-utils.el (mh-image-load-path): Fix problem that images on
740 load-path or image-load-path would win over relative paths (newer
741 MH-E or Emacs distribution).
742
dccd067f
BW
7432006-02-16 Bill Wohler <wohler@newt.com>
744
d57727c9 745 * mh-e.el (mh-inherit-face-flag): New variable. Non-nil means that
6d21875b
BW
746 the defface :inherit keyword is available.
747 (mh-face-data): New variable (contains all face specs) and
748 function (accessor).
749 (mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
750 (mh-folder-date, mh-folder-deleted, mh-folder-followup)
751 (mh-folder-msg-number, mh-folder-refiled)
752 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
753 (mh-folder-subject, mh-folder-tick, mh-folder-to)
754 (mh-search-folder, mh-letter-header-field, mh-show-cc)
755 (mh-show-date, mh-show-from)
756 (mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
757 (mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
758 (mh-show-to, mh-show-xface, mh-speedbar-folder)
759 (mh-speedbar-folder-with-unseen-messages)
760 (mh-speedbar-selected-folder)
d57727c9
JB
761 (mh-speedbar-selected-folder-with-unseen-messages):
762 Use mh-face-data.
6d21875b 763
dccd067f
BW
764 * mh-utils.el (mh-image-load-path): The variables image-load-path
765 or load-path would not get updated if user set mh-image-load-path.
766 Moved tests and add-to-list calls outside of cond so they are
767 applied consistently, even if they are redundant in some
d57727c9 768 circumstances. Efficiency isn't a concern here. Made error
dccd067f
BW
769 messages more user-friendly.
770
fc0f755f
PG
7712006-02-15 Peter S Galbraith <psg@debian.org>
772
773 * mh-compat.el (mh-image-search-load-path): Compatibility code.
774 Emacs 21 and XEmacs don't have `image-search-load-path'.
775
776 * mh-utils.el (mh-image-load-path): Don't bail out on error if the
777 images are already found.
778
be397698
BW
7792006-02-10 Bill Wohler <wohler@newt.com>
780
781 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
d57727c9 782 rather than use defun*. XEmacs cannot create a proper autoload for
be397698
BW
783 a defun*.
784
613cd8c5
BW
7852006-02-09 Bill Wohler <wohler@newt.com>
786
da01a066
BW
787 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
788 that causes an infinite loop on XEmacs.
789
613cd8c5
BW
790 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
791 argument.
792
201a821a
PG
7932006-02-08 Peter S Galbraith <psg@debian.org>
794
795 * mh-e.el (mh-invisible-header-fields-internal): Added entries
d57727c9 796 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash".
201a821a 797
dc4d94d5
BW
7982006-02-04 Bill Wohler <wohler@newt.com>
799
800 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
d57727c9 801 has an emacsclient command that supports --eval. I had read that
dc4d94d5
BW
802 gnudoit was deprecated in favor of gnuclient anyway.
803
7b0fed56 8042006-02-04 Eric Ding <ericding@alum.mit.edu>
39ee09ff 805
c99f6227 806 * mh-mime.el (mh-file-mime-type-substitutions): Add entries to
7b0fed56 807 handle OpenOffice documents.
39ee09ff 808
d4ff848f
BW
8092006-02-03 Bill Wohler <wohler@newt.com>
810
811 * mh-e.el (Version, mh-version): Add +cvs to version.
812
5f627e35
BW
8132006-02-03 Bill Wohler <wohler@newt.com>
814
815 Release MH-E version 7.91.
816
817 * mh-e.el (Version, mh-version): Update for release 7.91.
818
36685bff
BW
8192006-02-03 Bill Wohler <wohler@newt.com>
820
664ca6b2 821 * mh-utils.el (mh-image-load-path, mh-image-load-path-called-flag)
d57727c9 822 (mh-image-load-path): Checkdoc fix. Docstring edits. Reduce scope
664ca6b2
BW
823 of local variable mh-library-name.
824
36685bff
BW
825 * mh-e.el (mh-folder-msg-number, mh-folder-refiled, mh-folder-to)
826 (mh-show-cc, mh-show-date, mh-show-header): Replace (min-colors
827 88) with (min-colors 64) in face specifications so that MH-E still
828 looks good on systems with fewer colors (such as Eric Ding's).
829
39ee09ff 8302006-02-03 Peter S Galbraith <psg@debian.org>
e1144ff6
PG
831
832 * mh-utils.el (mh-image-load-path): New variable to optionally
33462dfa 833 hold the directory where MH-E images are stored. If nil, then
e1144ff6
PG
834 the function `mh-image-load-path' will find it. This variable
835 will be used for Debian packaging.
836 (mh-image-load-path function): Use variable `mh-image-load-path'
837 if non-nil and exists.
838
f169fdd3
MB
8392006-02-03 Mark D. Baushke <mdb@gnu.org>
840
841 * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
842 for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp
843 errors if describe-bindings is called before tool-bar-mode is used.
844
e6e91eda
PG
8452006-02-03 Peter S Galbraith <psg@debian.org>
846
847 * mh-compat.el (mh-url-unreserved-chars): Fix typo from
848 `mh-url-unresrved-chars'.
849
5a286ce9
BW
8502006-02-02 Bill Wohler <wohler@newt.com>
851
852 * mh-e.el (Version, mh-version): Add +cvs to version.
853
8f58061a
BW
8542006-02-02 Bill Wohler <wohler@newt.com>
855
856 Release MH-E version 7.90.
857
858 * mh-e.el (Version, mh-version): Update for release 7.90.
859
d5dc8c56
BW
8602006-02-01 Bill Wohler <wohler@newt.com>
861
92486f28
BW
862 * mh-search.el (which-func-mode): Shush compiler on Emacs 21 too.
863
d5dc8c56
BW
864 * mh-alias.el (mh-alias-gecos-name): Use
865 mh-replace-regexp-in-string instead of replace-regexp-in-string.
866 (crm, multi-prompt): Use mh-require instead of require.
867 (mh-goto-address-find-address-at-point): Use
868 mh-line-beginning-position and mh-line-end-position instead of
d57727c9 869 line-beginning-position and line-end-position. Use
d5dc8c56
BW
870 mh-match-string-no-properties instead of
871 match-string-no-properties.
872
873 * mh-comp.el (mh-modify-header-field): Use
874 mh-line-beginning-position and mh-line-end-position instead of
875 line-beginning-position and line-end-position.
876
877 * mh-compat.el (mailabbrev): Use mh-require instead of require.
878 (mh-assoc-string, mh-display-completion-list, mh-face-foreground)
879 (mh-face-background): Make docstring consistent.
880 (mh-require, mh-cancel-timer, mh-display-color-cells)
881 (mh-line-beginning-position, mh-line-end-position)
882 (mh-match-string-no-properties, mh-replace-regexp-in-string)
33462dfa 883 (mh-view-mode-enter): Move definition here from mh-xemacs.el and
d5dc8c56
BW
884 add mh- prefix since compatibility functions should have our
885 package prefix (mh-) by Emacs convention and to avoid messing up
886 checks for the same functions in other packages.
887
888 * mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here
889 from mh-xemacs.el and rename.
890 (mh-xargs): Use mh-line-beginning-position and
891 mh-line-end-position instead of line-beginning-position and
892 line-end-position.
893 (mh-defface-compat): Use mh-display-color-cells instead of
894 display-color-cells.
895
896 * mh-folder.el (which-func): Use mh-require instead of require.
897
898 * mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
899 view-mode-enter.
900
d57727c9
JB
901 * mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml):
902 Use mh-require instead of require.
d5dc8c56
BW
903
904 * mh-letter.el (mh-letter-header-end, mh-letter-mode)
905 (mh-letter-next-header-field): Use mh-line-beginning-position and
906 mh-line-end-position instead of line-beginning-position and
907 line-end-position.
908
909 * mh-limit.el (mh-subject-to-sequence-unthreaded): Use
910 mh-match-string-no-properties instead of
911 match-string-no-properties.
912 (mh-narrow-to-header-field): Use mh-line-beginning-position and
913 mh-line-end-position instead of line-beginning-position and
914 line-end-position.
915
916 * mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
917 (mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
918 mh-line-beginning-position and mh-line-end-position instead of
919 line-beginning-position and line-end-position.
920
921 * mh-search.el (which-func): Use mh-require instead of require.
922 (mh-make-pick-template, mh-index-visit-folder)
923 (mh-pick-parse-search-buffer, mh-swish-next-result)
924 (mh-mairix-next-result, mh-namazu-next-result)
925 (mh-pick-next-result, mh-grep-next-result)
926 (mh-index-create-imenu-index, mh-index-match-checksum)
927 (mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
928 mh-line-beginning-position and mh-line-end-position instead of
929 line-beginning-position and line-end-position.
930
931 * mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
932 view-mode-enter.
933 (mh-folder-size-flist, mh-parse-flist-output-line)
934 (mh-add-sequence-notation): Use mh-line-beginning-position and
935 mh-line-end-position instead of line-beginning-position and
936 line-end-position.
937
938 * mh-show.el (mh-show-addr): Use mh-require instead of require.
939
940 * mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
941 (mh-speed-view, mh-folder-speedbar-buttons)
942 (mh-speed-highlight, mh-speed-goto-folder)
943 (mh-speed-add-buttons, mh-speed-parse-flists-output)
944 (mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
945 (mh-speed-add-folder): Use mh-line-beginning-position and
946 mh-line-end-position instead of line-beginning-position and
947 line-end-position.
948 (mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
949
950 * mh-thread.el (mh-thread-find-children)
951 (mh-thread-parse-scan-line, mh-thread-generate): Use
952 mh-line-beginning-position and mh-line-end-position instead of
953 line-beginning-position and line-end-position.
954
955 * mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
956 instead of display-color-cells.
957 (mh-folder-list): Use mh-replace-regexp-in-string instead of
958 replace-regexp-in-string.
959 (mh-sub-folders-actual, mh-letter-toggle-header-field-display):
960 Use mh-line-beginning-position and mh-line-end-position instead of
961 line-beginning-position and line-end-position.
962
963 * mh-comp.el (mh-send-sub): Don't find components file in current
964 directory--this seems to have been a side-effect of commenting out
481821c8 965 the use of an old mh-etc variable. Improve error message.
d5dc8c56 966
06e7028b
BW
9672006-01-31 Bill Wohler <wohler@newt.com>
968
969 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name
970 argument since compatibility functions should have our package
971 prefix (mh-) by Emacs convention and to avoid messing up checks
d57727c9 972 for the same functions in other packages. Use explicit argument
d5dc8c56 973 instead of forming name by adding mh- prefix so that one can grep
06e7028b
BW
974 and find the definition.
975
976 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
d57727c9
JB
977 (mh-alias-expand, mh-alias-minibuffer-confirm-address):
978 Use mh-assoc-string instead of assoc-string.
06e7028b
BW
979
980 * mh-compat.el (assoc-string): Rename to mh-assoc-string.
d57727c9
JB
981 (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string):
982 Move here from mh-utils.el.
06e7028b
BW
983 (mh-display-completion-list): Move here from mh-comp.el.
984 (mh-face-foreground, mh-face-background): Move here from
985 mh-xface.el.
481821c8 986 (mh-write-file-functions): Move here from mh-folder.el.
06e7028b
BW
987
988 * mh-folder.el (mh-write-file-functions-compat): Move to
989 mh-compat.el and rename to mh-write-file-functions.
990 (mh-folder-mode): Use the new name.
991
992 * mh-gnus.el (gnus-local-map-property): Rename to
993 mh-gnus-local-map-property.
994 (mm-merge-handles): Rename to mh-mm-merge-handles.
995 (mm-set-handle-multipart-parameter): Rename to
996 mh-mm-set-handle-multipart-parameter.
997 (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
998 (mm-possibly-verify-or-decrypt): Rename to
999 mh-mm-possibly-verify-or-decrypt.
1000 (mm-handle-multipart-ctl-parameter): Rename to
1001 mh-mm-handle-multipart-ctl-parameter.
1002 (mm-readable-p): Rename to mh-mm-readable-p.
1003 (mm-long-lines-p): Rename to mh-mm-long-lines-p.
1004 (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
1005 (mm-destroy-parts): Rename to mh-mm-destroy-parts.
1006 (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
1007 (mml-minibuffer-read-disposition): Rename to
1008 mh-mml-minibuffer-read-disposition.
1009
1010 * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
1011 instead of assoc-string.
1012
1013 * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
1014 (mh-mime-display, mh-mime-display-security)
1015 (mh-insert-mime-button, mh-insert-mime-security-button)
1016 (mh-handle-set-external-undisplayer)
1017 (mh-mime-security-press-button, mh-mime-security-show-details)
1018 (mh-mml-attach-file, mh-mime-cleanup)
1019 (mh-destroy-postponed-handles): Use new mh-* names for
1020 compatibility functions.
1021
1022 * mh-utils.el (mail-abbrev-make-syntax-table): Move to
1023 mh-compat.el and rename to mh-mail-abbrev-make-syntax-table.
1024 (mh-beginning-of-word): Use the new name.
1025 (mh-get-field): Delete ancient alias.
1026
1027 * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el
1028 and rename to mh-face-foreground
1029 (mh-face-background-compat): Move to mh-compat.el
1030 and rename to mh-face-background.
1031 (mh-face-display-function): Use the new names.
1032 (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string
1033 instead of url-hexify-string.
1034 (url-unreserved-chars): Move to mh-compat.el and rename to
1035 mh-url-unreserved-chars.
1036 (url-hexify-string): Move to mh-compat.el and rename to
1037 mh-url-hexify-string.
1038
1039 * mh-letter.el (mh-complete-word): Fix bug in call to
d57727c9 1040 mh-display-completion-list. Wrong argument was passed, so
06e7028b
BW
1041 completions wouldn't show highlighted prefix.
1042
a2c30782
BW
10432006-01-29 Bill Wohler <wohler@newt.com>
1044
fd61b9ab
BW
1045 * mh-e.el (mh-scan-format-file-check): Allow any non-nil for
1046 mh-adaptive-cmd-note-flag.
1047
090ccc5d 1048 * mh-comp.el (sc-cite-original): Remove autoload of "sc" with old
481821c8 1049 docstring. sc-cite-original is autoloaded via loaddefs.el for all
d57727c9 1050 supported versions. In addition, the package name "sc" has been
090ccc5d
BW
1051 made obsolete by "supercite since at least Emacs 21.
1052
3bdb2567
BW
1053 * mh-scan.el (mh-note-copied, mh-note-printed): Reorganization
1054 revealed character constants that were still strings (closes SF
1055 #770772).
1056
a55f450f
BW
1057 * mh-comp.el (mh-letter-hide-all-skipped-fields)
1058 (mh-get-header-field): Move to mh-utils.el so that you can read
1059 messages without having to load mh-comp.el and mh-letter.el.
1060
1061 * mh-letter.el (mh-hidden-header-keymap)
1062 (mh-letter-toggle-header-field-display)
1063 (mh-letter-skipped-header-field-p)
1064 (mh-letter-skip-leading-whitespace-in-header-field)
1065 (mh-letter-truncate-header-field): Move to mh-utils.el so that you
1066 can read messages without having to load mh-comp.el and
1067 mh-letter.el.
1068
1069 * mh-utils.el (mh-get-header-field)
33462dfa 1070 (mh-letter-hide-all-skipped-fields)
a55f450f
BW
1071 (mh-letter-skipped-header-field-p, mh-hidden-header-keymap)
1072 (mh-letter-toggle-header-field-display)
1073 (mh-letter-skip-leading-whitespace-in-header-field)
1074 (mh-letter-truncate-header-field): Move here from mh-comp.el and
1075 mh-letter.el so that you can read messages without having to load
1076 mh-comp.el and mh-letter.el.
1077
d57727c9 1078 * mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
a2c30782
BW
1079 least, will deliver them to us.
1080
1081 * mh-e.el (mh-after-commands-processed-hook)
1082 (mh-before-commands-processed-hook): Specify what sort of requests
1083 in docstring.
1084
1085 * mh-folder.el (mh-folder-mode): Use add-to-list to modify
1086 minor-mode-alias.
1087
d57727c9 1088 * mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
a2c30782
BW
1089 to shush compiler.
1090 (mh-letter-mode): Remove Mail menu.
1091
dda00b2c
BW
10922006-01-29 Bill Wohler <wohler@newt.com>
1093
1094 The Great Cleanup
d57727c9
JB
1095 Remove circular dependencies. mh-e.el now includes few require
1096 statements and stands alone. Other files should need to require
dda00b2c
BW
1097 mh-e.el, which requires mh-loaddefs.el, plus variable-only files
1098 such as mh-scan.el.
1099 Remove unneeded require statements.
1100 Remove unneeded load statements, or replace them with non-fatal
1101 require statements.
1102 Break out components into their own files that were often spread
1103 between many files.
1104 As a result, many functions that are now only used within a single
1105 file no longer need to be autoloaded.
1106 Rearrange and provide consistent headings.
1107 Untabify.
1108
d57727c9
JB
1109 * mh-acros.el: Update commentary to reflect current usage.
1110 Add autoload cookies to all macros.
dda00b2c
BW
1111 (mh-require-cl): Merge docstring and comment.
1112 (mh-do-in-xemacs): Fix typo in docstring.
1113 (assoc-string): Move to new file mh-compat.el.
1114 (with-mh-folder-updating, mh-in-show-buffer)
d57727c9 1115 (mh-do-at-event-location, mh-seq-msgs): Move here from mh-utils.el.
dda00b2c
BW
1116 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move here
1117 from mh-seq.el.
1118
1119 * mh-alias.el (mh-address-mail-regexp)
d57727c9 1120 (mh-goto-address-find-address-at-point): Move here from mh-utils.el.
dda00b2c
BW
1121 (mh-folder-line-matches-show-buffer-p): Move here from mh-e.el.
1122
33462dfa 1123 * mh-buffers.el: Update descriptive text.
dda00b2c
BW
1124
1125 * mh-comp.el (mh-note-repl, mh-note-forw, mh-note-dist): Move to
1126 new file mh-scan.el.
1127 (mh-yank-hooks, mh-to-field-choices, mh-position-on-field)
1128 (mh-letter-menu, mh-letter-mode-help-messages)
1129 (mh-letter-buttons-init-flag, mh-letter-mode)
1130 (mh-font-lock-field-data, mh-letter-header-end)
1131 (mh-auto-fill-for-letter, mh-to-field, mh-to-fcc)
1132 (mh-file-is-vcard-p, mh-insert-signature, mh-check-whom)
1133 (mh-insert-letter, mh-extract-from-attribution, mh-yank-cur-msg)
1134 (mh-filter-out-non-text, mh-insert-prefix-string)
1135 (mh-current-fill-prefix, mh-open-line, mh-complete-word)
1136 (mh-folder-expand-at-point, mh-letter-complete-function-alist)
1137 (mh-letter-complete, mh-letter-complete-or-space)
1138 (mh-letter-confirm-address, mh-letter-header-field-at-point)
1139 (mh-letter-next-header-field-or-indent)
1140 (mh-letter-next-header-field, mh-letter-previous-header-field)
1141 (mh-letter-skipped-header-field-p)
1142 (mh-letter-skip-leading-whitespace-in-header-field)
1143 (mh-hidden-header-keymap)
1144 (mh-letter-toggle-header-field-display-button)
1145 (mh-letter-toggle-header-field-display)
1146 (mh-letter-truncate-header-field, mh-letter-mode-map): Move to new
1147 file mh-letter.el.
1148 (mh-letter-mode-map, mh-sent-from-folder, mh-send-args)
1149 (mh-pgp-support-flag, mh-x-mailer-string)
1150 (mh-letter-header-field-regexp): Move to mh-e.el.
1151 (mh-goto-header-field, mh-goto-header-end)
1152 (mh-extract-from-header-value, mh-beginning-of-word): Move to
1153 mh-utils.el.
1154 (mh-insert-header-separator): Move to mh-comp.el.
1155 (mh-display-completion-list-compat): Move to new file
1156 mh-compat.el.
1157
1158 * mh-compat.el: New file.
1159 (assoc-string): Move here from mh-acros.el.
1160 (mh-display-completion-list): Move here from mh-comp.el.
1161
1162 * mh-customize.el: Move content into mh-e.el and remove.
33462dfa 1163
dda00b2c
BW
1164 * mh-e.el (mh-folder-mode-map, mh-folder-seq-tool-bar-map)
1165 (mh-folder-tool-bar-map, mh-inc-spool-map, mh-letter-mode-map)
1166 (mh-letter-tool-bar-map, mh-search-mode-map, mh-show-mode-map)
1167 (mh-show-seq-tool-bar-map, mh-show-tool-bar-map): All maps now
1168 declared here so that they can be used in docstrings.
1169 (mh-sent-from-folder, mh-sent-from-msg)
1170 (mh-letter-header-field-regexp, mh-pgp-support-flag)
1171 (mh-x-mailer-string): Move here from mh-comp.el.
1172 (mh-folder-line-matches-show-buffer-p): Move to mh-alias.el.
1173 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack): Move
1174 here from mh-seq.el.
1175 (mh-draft-folder, mh-inbox, mh-user-path, mh-current-folder)
1176 (mh-previous-window-config, mh-seen-list, mh-seq-list)
1177 (mh-show-buffer, mh-showing-mode, mh-globals-hash)
1178 (mh-show-folder-buffer, mh-mail-header-separator)
1179 (mh-unseen-seq, mh-previous-seq, mh-page-to-next-msg-flag)
1180 (mh-signature-separator, mh-signature-separator-regexp)
1181 (mh-list-to-string, mh-list-to-string-1): Move here from
1182 mh-utils.el.
1183 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1184 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1185 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1186 (mh-exec-cmd-output)
1187 (mh-exchange-point-and-mark-preserving-active-mark)
1188 (mh-exec-lib-cmd-output, mh-handle-process-error): Move here from
1189 deprecated file mh-exec.el.
1190 (mh-path): Move here from deprecated file mh-customize.el.
1191 (mh-sys-path, mh-variants, mh-variant-in-use, mh-progs, mh-lib)
1192 (mh-flists-present-flag, mh-variants, mh-variant-mh-info)
1193 (mh-variant-mu-mh-info, mh-variant-nmh-info, mh-file-command-p)
1194 (mh-variant-set-variant, mh-variant-p, mh-profile-component)
1195 (mh-profile-component-value, mh-defface-compat): Move here from
1196 deprecated file mh-init.el.
1197 (mh-goto-next-button, mh-folder-mime-action)
1198 (mh-folder-toggle-mime-part, mh-folder-inline-mime-part)
1199 (mh-folder-save-mime-part, mh-toggle-mime-buttons): Move to to
1200 mh-mime.el.
1201 (mh-scan-format-mh, mh-scan-format-nmh, mh-note-deleted)
1202 (mh-note-refiled, mh-note-cur, mh-scan-good-msg-regexp)
1203 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
1204 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
1205 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
1206 (mh-scan-subject-regexp, mh-scan-sent-to-me-sender-regexp)
1207 (mh-scan-cmd-note-width, mh-scan-destination-width)
1208 (mh-scan-date-width, mh-scan-date-flag-width)
1209 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width)
1210 (mh-scan-field-destination-offset)
1211 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
1212 (mh-scan-field-subject-start-offset, mh-scan-format)
1213 (mh-msg-num-width-to-column, mh-set-cmd-note): Move to new file
1214 mh-scan.el.
1215 (mh-partial-folder-mode-line-annotation)
1216 (mh-folder-font-lock-keywords, mh-folder-font-lock-subject)
1217 (mh-generate-sequence-font-lock, mh-last-destination)
1218 (mh-last-destination-write, mh-first-msg-num, mh-last-msg-num)
1219 (mh-rmail, mh-nmail, mh-delete-msg, mh-delete-msg-no-motion)
1220 (mh-execute-commands, mh-first-msg, mh-header-display)
1221 (mh-inc-folder, mh-last-msg, mh-next-undeleted-msg)
1222 (mh-folder-from-address, mh-prompt-for-refile-folder)
1223 (mh-refile-msg, mh-refile-or-write-again, mh-quit, mh-page-msg)
1224 (mh-previous-page, mh-previous-undeleted-msg)
1225 (mh-previous-unread-msg, mh-next-button, mh-prev-button)
1226 (mh-reset-threads-and-narrowing, mh-rescan-folder)
1227 (mh-write-msg-to-file, mh-toggle-showing, mh-undo)
1228 (mh-visit-folder, mh-update-sequences, mh-delete-a-msg)
1229 (mh-refile-a-msg, mh-next-msg, mh-next-unread-msg)
1230 (mh-set-scan-mode, mh-undo-msg, mh-make-folder)
1231 (mh-folder-sequence-menu, mh-folder-message-menu)
1232 (mh-folder-folder-menu, mh-remove-xemacs-horizontal-scrollbar)
1233 (mh-write-file-functions-compat, mh-folder-mode)
1234 (mh-restore-desktop-buffer, mh-scan-folder)
1235 (mh-regenerate-headers, mh-generate-new-cmd-note)
1236 (mh-get-new-mail, mh-make-folder-mode-line, mh-goto-cur-msg)
1237 (mh-process-or-undo-commands, mh-process-commands)
1238 (mh-update-unseen, mh-delete-scan-msgs)
1239 (mh-outstanding-commands-p): Move to new file mh-folder.el.
1240 (mh-mapc, mh-colors-available-p, mh-colors-in-use-p)
1241 (mh-make-local-vars, mh-coalesce-msg-list, mh-greaterp)
1242 (mh-lessp): Move to mh-utils.el.
1243 (mh-parse-flist-output-line, mh-folder-size-folder)
1244 (mh-folder-size-flist, mh-folder-size, mh-add-sequence-notation)
1245 (mh-remove-sequence-notation, mh-remove-cur-notation)
1246 (mh-remove-all-notation, mh-delete-seq-locally)
1247 (mh-read-folder-sequences, mh-read-msg-list)
1248 (mh-notate-user-sequences, mh-internal-seqs, mh-internal-seq)
1249 (mh-valid-seq-p, mh-delete-msg-from-seq, mh-catchup)
1250 (mh-delete-a-msg-from-seq, mh-undefine-sequence)
1251 (mh-define-sequence, mh-seq-containing-msg): Move to mh-seq.el.
1252 (mh-xemacs-flag)
1253 (mh-customize, mh-e, mh-alias, mh-folder, mh-folder-selection)
1254 (mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
1255 (mh-scan-line-formats, mh-search, mh-sending-mail, mh-sequences)
1256 (mh-show, mh-speedbar, mh-thread, mh-tool-bar, mh-hooks)
1257 (mh-faces, mh-alias-completion-ignore-case-flag)
1258 (mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
1259 (mh-alias-insert-file, mh-alias-insertion-location)
1260 (mh-alias-local-users, mh-alias-local-users-prefix)
1261 (mh-alias-passwd-gecos-comma-separator-flag)
1262 (mh-new-messages-folders, mh-ticked-messages-folders)
1263 (mh-large-folder, mh-recenter-summary-flag)
1264 (mh-recursive-folders-flag, mh-sortm-args)
1265 (mh-default-folder-for-message-function, mh-default-folder-list)
1266 (mh-default-folder-must-exist-flag, mh-default-folder-prefix)
1267 (mh-identity-list, mh-auto-fields-list)
1268 (mh-auto-fields-prompt-flag, mh-identity-default)
1269 (mh-identity-handlers, mh-inc-prog, mh-inc-spool-list)
1270 (mh-junk-choice, mh-junk-function-alist, mh-junk-choose)
1271 (mh-junk-background, mh-junk-disposition, mh-junk-program)
1272 (mh-compose-insertion, mh-compose-skipped-header-fields)
1273 (mh-compose-space-does-completion-flag)
1274 (mh-delete-yanked-msg-window-flag)
1275 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
1276 (mh-letter-complete-function, mh-letter-fill-column)
1277 (mh-mml-method-default, mh-signature-file-name)
1278 (mh-signature-separator-flag, mh-x-face-file, mh-yank-behavior)
1279 (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag)
1280 (mh-scan-format-file-check, mh-scan-format-file)
1281 (mh-adaptive-cmd-note-flag-check, mh-scan-prog)
1282 (mh-search-program, mh-compose-forward-as-mime-flag)
1283 (mh-compose-letter-function, mh-compose-prompt-flag)
1284 (mh-forward-subject-format, mh-insert-x-mailer-flag)
1285 (mh-redist-full-contents-flag, mh-reply-default-reply-to)
1286 (mh-reply-show-message-flag, mh-refile-preserves-sequences-flag)
1287 (mh-tick-seq, mh-update-sequences-after-mh-show-flag)
1288 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
1289 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
1290 (mh-display-buttons-for-inline-parts-flag)
1291 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
1292 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
1293 (mh-highlight-citation-style)
1294 (mh-invisible-header-fields-internal)
1295 (mh-delay-invisible-header-generation-flag)
1296 (mh-invisible-header-fields, mh-invisible-header-fields-default)
1297 (mh-invisible-header-fields-compiled, mh-invisible-headers)
1298 (mh-lpr-command-format, mh-max-inline-image-height)
1299 (mh-max-inline-image-width, mh-mhl-format-file)
1300 (mh-mime-save-parts-default-directory, mh-print-background-flag)
1301 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
1302 (mh-show-use-xface-flag, mh-store-default-directory)
1303 (mh-summary-height, mh-speed-update-interval)
1304 (mh-show-threads-flag, mh-tool-bar-search-function)
1305 (mh-after-commands-processed-hook, mh-alias-reloaded-hook)
1306 (mh-before-commands-processed-hook, mh-before-quit-hook)
1307 (mh-before-send-letter-hook, mh-delete-msg-hook)
1308 (mh-find-path-hook, mh-folder-mode-hook, mh-forward-hook)
1309 (mh-inc-folder-hook, mh-insert-signature-hook)
1310 (mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
1311 (mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
1312 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
1313 (mh-unseen-updated-hook, mh-min-colors-defined-flag)
1314 (mh-folder-address, mh-folder-body)
1315 (mh-folder-cur-msg-number, mh-folder-date, mh-folder-deleted)
1316 (mh-folder-followup, mh-folder-msg-number, mh-folder-refiled)
1317 (mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
1318 (mh-folder-subject, mh-folder-tick, mh-folder-to)
1319 (mh-search-folder, mh-letter-header-field, mh-show-cc)
1320 (mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
1321 (mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
1322 (mh-show-subject, mh-show-to, mh-show-xface, mh-speedbar-folder)
1323 (mh-speedbar-folder-with-unseen-messages)
1324 (mh-speedbar-selected-folder)
1325 (mh-speedbar-selected-folder-with-unseen-messages): Move here from
1326 deprecated file mh-customize.el.
1327
1328 * mh-exec.el: Move content into mh-e.el and remove.
33462dfa 1329
481821c8 1330 * mh-folder.el: New file. Contains mh-folder-mode from mh-e.el.
dda00b2c
BW
1331
1332 * mh-funcs.el (mh-note-copied, mh-note-printed): Move to new file
1333 mh-scan.el.
1334 (mh-ephem-message, mh-help, mh-prefix-help): Move to mh-utils.el.
1335
1336 * mh-gnus.el (mm-uu-dissect-text-parts): Add.
1337 (mh-mail-abbrev-make-syntax-table): Move to mh-utils.el and rename
1338 to mail-abbrev-make-syntax-table.
1339
1340 * mh-identity.el (mh-identity-menu): New variable for existing
1341 menu.
1342 (mh-identity-make-menu-no-autoload): New alias for
1343 mh-identity-make-menu which can be called from mh-e.el.
1344 (mh-identity-list-set): Move to mh-e.el.
1345 (mh-identity-add-menu): New function
1346 (mh-insert-identity): Add optional argument maybe-insert so that
1347 local variable mh-identity-local does not have to be visible.
dda00b2c
BW
1348
1349 * mh-inc.el (mh-inc-spool-map): Move declaration to mh-e.el (with
d57727c9 1350 rest of keymaps). Update key binding for ? to call mh-help with
dda00b2c
BW
1351 help messages in new argument.
1352 (mh-inc-spool-make-no-autoload): New alias for mh-inc-spool-make
1353 which can be called from mh-e.el.
1354 (mh-inc-spool-list-set): Simplify update of mh-inc-spool-map-help.
1355
1356 * mh-init.el: Move content into mh-e.el and remove.
33462dfa 1357
dda00b2c
BW
1358 * mh-junk.el: Update requires, untabify, and add mh-autoload
1359 cookies.
1360
d57727c9 1361 * mh-letter.el: New file. Contains mh-letter-mode from mh-comp.el.
dda00b2c 1362
d57727c9 1363 * mh-limit.el: New file. Contains display limit commands from
dda00b2c
BW
1364 mh-mime.el.
1365
1366 * mh-mime.el: Rearrange for consistency with other files.
1367 (mh-buffer-data, mh-mm-inline-media-tests): Move here from
1368 mh-utils.el.
1369 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
1370 (mh-folder-toggle-mime-part, mh-toggle-mime-buttons)
1371 (mh-goto-next-button): Move here from mh-e.el.
1372
1373 * mh-print.el: Rearrange for consistency with other files.
1374
481821c8 1375 * mh-scan.el: New file. Contains scan line constants and utilities
dda00b2c
BW
1376 from XXX, mh-funcs, mh-utils.el.
1377
1378 * mh-search.el: Rearrange for consistency with other files.
1379 (mh-search-mode-map): Drop C-c C-f {dr} bindings since these
d57727c9 1380 fields which don't exist in the saved header. Replace C-c C-f f
dda00b2c
BW
1381 with C-c C-f m per mail-mode consistency.
1382 (mh-search-mode): Use mh-set-help instead of setting
1383 mh-help-messages.
1384
1385 * mh-seq.el (mh-thread-message, mh-thread-container)
1386 (mh-thread-id-hash, mh-thread-subject-hash, mh-thread-id-table)
1387 (mh-thread-id-index-map, mh-thread-index-id-map)
1388 (mh-thread-scan-line-map, mh-thread-scan-line-map-stack)
1389 (mh-thread-subject-container-hash, mh-thread-duplicates)
1390 (mh-thread-history, mh-thread-body-width)
1391 (mh-thread-find-msg-subject mh-thread-initialize-hash)
1392 (mh-thread-initialize, mh-thread-id-container)
1393 (mh-thread-remove-parent-link, mh-thread-add-link)
1394 (mh-thread-ancestor-p, mh-thread-get-message-container)
1395 (mh-thread-get-message, mh-thread-canonicalize-id)
1396 (mh-thread-prune-subject, mh-thread-container-subject)
1397 (mh-thread-rewind-pruning, mh-thread-prune-containers)
1398 (mh-thread-sort-containers, mh-thread-group-by-subject)
1399 (mh-thread-process-in-reply-to, mh-thread-set-tables)
1400 (mh-thread-update-id-index-maps, mh-thread-generate)
1401 (mh-thread-inc, mh-thread-generate-scan-lines)
1402 (mh-thread-parse-scan-line, mh-thread-update-scan-line-map)
1403 (mh-thread-add-spaces, mh-thread-print-scan-lines)
1404 (mh-thread-folder, mh-toggle-threads, mh-thread-forget-message)
1405 (mh-thread-current-indentation-level, mh-thread-next-sibling)
1406 (mh-thread-previous-sibling, mh-thread-immediate-ancestor)
1407 (mh-thread-ancestor, mh-thread-find-children)
d57727c9
JB
1408 (mh-message-id-regexp, mh-thread-delete, mh-thread-refile):
1409 Move to new file mh-thread.el.
dda00b2c
BW
1410 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1411 (mh-subject-to-sequence-threaded, mh-edit-pick-expr)
1412 (mh-pick-args-list, mh-narrow-to-subject, mh-narrow-to-from)
1413 (mh-narrow-to-cc, mh-narrow-to-to, mh-narrow-to-header-field)
1414 (mh-current-message-header-field, mh-narrow-to-range)
1415 (mh-delete-subject, mh-delete-subject-or-thread): Move to new file
1416 mh-limit.el.
1417 (mh-iterate-on-messages-in-region, mh-iterate-on-range): Move to
1418 mh-acros.el.
1419 (mh-internal-seqs, mh-catchup, mh-delete-msg-from-seq)
1420 (mh-internal-seq, mh-valid-seq-p, mh-seq-containing-msg)
1421 (mh-define-sequence, mh-undefine-sequence)
1422 (mh-delete-a-msg-from-seq, mh-delete-seq-locally)
1423 (mh-folder-size, mh-folder-size-flist, mh-folder-size-folder)
1424 (mh-parse-flist-output-line, mh-read-folder-sequences)
1425 (mh-read-msg-list, mh-notate-user-sequences)
1426 (mh-remove-cur-notation, mh-add-sequence-notation)
1427 (mh-remove-sequence-notation, mh-remove-all-notation): Move here
1428 from mh-e.el.
1429 (mh-make-seq, mh-seq-name, mh-find-seq, mh-seq-to-msgs)
1430 (mh-add-msgs-to-seq, mh-notate): Move here from mh-utils.el.
1431
d57727c9 1432 * mh-show.el: New file. Contains mh-show-mode from mh-utils.el.
dda00b2c
BW
1433
1434 * mh-speed.el: Rearrange for consistency with other files.
1435
d57727c9 1436 * mh-thread.el: New file. Contains threading code from mh-seq.el.
dda00b2c 1437
d57727c9 1438 * mh-tool-bar.el: New file. Contains tool bar creation code from
dda00b2c
BW
1439 deprecated file mh-customize.el.
1440
d57727c9
JB
1441 * mh-utils.el (recursive-load-depth-limit): Remove setting.
1442 No longer needed.
dda00b2c
BW
1443 (mh-scan-msg-number-regexp, mh-scan-msg-overflow-regexp)
1444 (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
1445 (mh-scan-msg-search-regexp, mh-cmd-note, mh-note-seq)
1446 (mh-update-scan-format, mh-msg-num-width): Move to new file
1447 mh-scan.el.
1448 (mh-show-buffer-mode-line-buffer-id, mh-letter-header-font-lock)
1449 (mh-header-field-font-lock, mh-header-to-font-lock)
1450 (mh-header-cc-font-lock, mh-header-subject-font-lock)
1451 (mh-show-font-lock-keywords)
1452 (mh-show-font-lock-keywords-with-cite)
1453 (mh-show-font-lock-fontify-region)
1454 (mh-gnus-article-highlight-citation, mh-showing-with-headers)
1455 (mh-start-of-uncleaned-message, mh-invalidate-show-buffer)
1456 (mh-unvisit-file, mh-defun-show-buffer, mh-show-mode-map)
1457 (mh-show-sequence-menu, mh-show-message-menu)
1458 (mh-show-folder-menu, mh-show-mode, mh-show-addr)
1459 (mh-maybe-show, mh-show, mh-show-msg, mh-show-unquote-From)
1460 (mh-msg-folder, mh-display-msg, mh-clean-msg-header): Move to new
1461 file mh-show.el.
1462 (mh-mail-header-separator, mh-signature-separator-regexp)
1463 (mh-signature-separator, mh-globals-hash, mh-user-path)
1464 (mh-draft-folder, mh-unseen-seq, mh-previous-seq, mh-inbox)
1465 (mh-previous-window-config, mh-current-folder mh-show-buffer)
1466 (mh-showing-mode, mh-show-mode-map, mh-show-folder-buffer)
1467 (mh-showing-mode, mh-seq-list, mh-seen-list, mh-summary-height)
1468 (mh-list-to-string, mh-list-to-string-1): Move to mh-e.el.
1469 (mh-buffer-data, mh-mm-inline-media-tests): Move to mh-mime.el.
1470 (mh-address-mail-regexp, mh-goto-address-find-address-at-point):
1471 Move to mh-alias.el.
1472 (mh-letter-font-lock-keywords): Move to new file mh-letter.el.
1473 (mh-folder-filename, mh-msg-count, mh-recenter, mh-msg-filename)
1474 (mh-show-mouse, mh-modify, mh-goto-msg, mh-set-folder-modified-p):
1475 Move to new file mh-folder.el.
1476 (with-mh-folder-updating, mh-in-show-buffer)
1477 (mh-do-at-event-location, mh-seq-msgs): Moved to mh-acros.el.
1478 (mh-make-seq, mh-seq-name, mh-notate, mh-find-seq)
1479 (mh-seq-to-msgs, mh-add-msgs-to-seq, mh-canonicalize-sequence):
1480 Moved to mh-seq.el.
1481 (mh-show-xface-function, mh-uncompface-executable, mh-face-to-png)
1482 (mh-uncompface, mh-icontopbm, mh-face-foreground-compat)
1483 (mh-face-background-compat, mh-face-display-function)
1484 (mh-show-xface, mh-picon-directory-list)
1485 (mh-picon-existing-directory-list)
1486 (mh-picon-cache, mh-picon-image-types)
1487 (mh-picon-set-directory-list, mh-picon-get-image)
1488 (mh-picon-file-contents, mh-picon-generate-path)
1489 (mh-x-image-cache-directory, mh-x-image-scaling-function)
1490 (mh-wget-executable, mh-wget-choice, mh-wget-option)
1491 (mh-x-image-temp-file, mh-x-image-url, mh-x-image-marker)
1492 (mh-x-image-url-cache-file, mh-x-image-scale-with-pnm)
1493 (mh-x-image-scale-with-convert)
1494 (url-unreserved-chars, url-hexify-string)
1495 (mh-x-image-url-cache-canonicalize)
1496 (mh-x-image-set-download-state, mh-x-image-get-download-state)
1497 (mh-x-image-url-fetch-image, mh-x-image-display)
1498 (mh-x-image-scale-and-display, mh-x-image-url-sane-p)
1499 (mh-x-image-url-display): Move to new file mh-xface.el.
1500 (mh-logo-display): Call mh-image-load-path.
1501 (mh-find-path-run, mh-find-path): Move here from deprecated file
1502 mh-init.el.
1503 (mh-help-messages): Now an alist of modes to an alist of messages.
1504 (mh-set-help): New function used to set mh-help-messages
d57727c9 1505 (mh-help): Adjust for new format of mh-help-messages. Add
dda00b2c
BW
1506 help-messages argument.
1507 (mh-prefix-help): Refactor to use mh-help.
1508 (mh-coalesce-msg-list, mh-greaterp, mh-lessp): Move here from
1509 mh-e.el.
1510 (mh-clear-sub-folders-cache): New function added to avoid exposing
1511 mh-sub-folders-cache variable.
1512
d57727c9 1513 * mh-xface.el: New file. Contains X-Face and Face header field
dda00b2c
BW
1514 display routines from mh-utils.el.
1515
fe778a12
BW
15162006-01-17 Bill Wohler <wohler@newt.com>
1517
1518 * mh-acros.el (assoc-string): Fix typo in argument.
1519
8d2aa237
BW
15202006-01-16 Bill Wohler <wohler@newt.com>
1521
1e4db53b
BW
1522 * mh-acros.el (require): Remove defadvice of require as defadvice
1523 is verboten within Emacs and our implementation was returning the
d57727c9 1524 wrong value from require. Upcoming restructuring should make this
1e4db53b
BW
1525 unnecessary.
1526 (mh-assoc-ignore-case): Replace with defsubst assoc-string.
1527
d57727c9
JB
1528 * mh-alias.el (mh-alias-local-users, mh-alias-reload)
1529 (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use it.
1e4db53b
BW
1530
1531 * mh-identity.el (mh-identity-field-handler): Use it.
1532
8d2aa237
BW
1533 * mh-comp.el (mh-show-buffer-message-number): Replace (car
1534 (read-from-string string) with (string-to-number string).
1535
1536 * mh-e.el (mh-parse-flist-output-line, mh-folder-size-folder):
1537 Ditto.
1538
1539 * mh-mime.el (mh-mml-forward-message): Ditto.
1540
1541 * mh-search.el (mh-swish-next-result, mh-mairix-next-result)
1542 (mh-namazu-next-result, mh-grep-next-result, mh-md5sum-parser)
1543 (mh-openssl-parser, mh-index-update-maps): Ditto.
1544
1545 * mh-seq.el (mh-translate-range, mh-narrow-to-header-field)
1546 (mh-thread-generate): Ditto.
1547
0af7621b 15482006-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
9ac2e4e5
MB
1549
1550 * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of
0af7621b
BW
1551 mm- functions for proper text=flowed handling (addresses SF
1552 #1273521).
9ac2e4e5 1553
30f24016
BW
15542006-01-15 Bill Wohler <wohler@newt.com>
1555
fc77df2c
BW
1556 * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of
1557 mh-narrow-to-from from / f to / m; mh-narrow-to-range from / r to
1558 / g.
1559
1560 * mh-utils.el (mh-show-limit-map): Ditto.
1561
98eab4e4
BW
1562 * mh-exec.el: Require mh-acros, mh-buffers, and mh-utils for
1563 standalone compile.
1564 (mh-progs, mh-lib, mh-lib-progs): Move here from mh-init.el.
1565
1566 * mh-init.el (mh-progs, mh-lib, mh-lib-progs): Move to mh-exec.el,
1567 where they are used.
1568
30f24016
BW
1569 * mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el;
1570 needed to help remove dependency on mh-utils.
1571
481821c8 1572 * mh-exec.el: New file. Move process support routines here from
30f24016
BW
1573 mh-utils.el.
1574
1575 * mh-init.el (mh-utils): Remove require.
1576 (mh-exec): Add require.
1577 (mh-profile-component, mh-profile-component-value): Move here from
1578 mh-utils.el.
1579
1580 * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce
1581 dependencies on mh-utils.el.
1582 (mh-profile-component, mh-profile-component-value): Move to
d57727c9 1583 mh-init.el since that's the only place that uses them. (Other than
30f24016
BW
1584 mh-alias.el; I'm thinking that mh-find-path can set variable from
1585 the Aliasfile component like it does the other components).
1586 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell)
1587 (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon)
1588 (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet)
1589 (defvar, mh-exec-cmd-output)
1590 (mh-exchange-point-and-mark-preserving-active-mark)
1591 (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new
1592 file mh-exec.el so that mh-init.el doesn't have to depend on
1593 mh-utils.el, breaking circular dependency.
1594
33462dfa
JB
1595 * mh-alias.el:
1596 * mh-customize.el:
1597 * mh-e.el:
1598 * mh-funcs.el:
1599 * mh-gnus.el:
1600 * mh-identity.el:
1601 * mh-inc.el:
1602 * mh-junk.el:
1603 * mh-mime.el:
1604 * mh-print.el:
1605 * mh-search.el:
1606 * mh-seq.el:
30f24016 1607 * mh-speed.el: Added debugging statements (commented out) around
d57727c9 1608 requires to help find dependency loops. Will remove them when
30f24016
BW
1609 issues are resolved.
1610
a4d7cec3
BW
16112006-01-14 Bill Wohler <wohler@newt.com>
1612
1613 * mh-customize.el (mh-index): Rename group to mh-search and sort
1614 group definition and options accordingly.
1615 (mh-index-program): Rename to mh-search-program.
1616 (mh-kill-folder-suppress-prompt-hooks): Rename mh-index-p to
1617 mh-search-p.
1618 (mh-search-mode-hook): Change group from mh-index to mh-search.
481821c8 1619 (mh-index-folder): Rename to mh-search-folder. Change group from
a4d7cec3
BW
1620 mh-index to mh-search.
1621
1622 * mh-e.el (mh-folder-font-lock-keywords): Rename mh-index-folder
1623 to mh-search-folder.
1624
d57727c9 1625 * mh-search.el (mh-indexer) Rename to mh-searcher. The commands
a4d7cec3
BW
1626 pick and grep are searchers too but aren't indexed.
1627 (mh-index-execute-search-function): Rename to mh-search-function.
1628 (mh-index-next-result-function): Rename to
1629 mh-search-next-result-function.
1630 (mh-index-regexp-builder): Rename to mh-search-regexp-builder.
1631 (mh-search): Since redo-search-flag defaults to nil and is of
1632 lesser importance, make it an optional argument and place it after
d57727c9 1633 the folder and search-regexp arguments. Sync docstring with manual.
a4d7cec3
BW
1634 (mh-search-mode-map): Autoload so that keys are shown in help even
1635 before mh-search is loaded.
1636 (mh-search-mode): Sync docstring with manual.
d57727c9 1637 (mh-index-do-search): Rename argument indexer to searcher. Sync
a4d7cec3
BW
1638 docstring with manual.
1639 (mh-pick-do-search): Sync docstring with manual.
1640 (mh-index-p): Rename to mh-search-p.
1641 (mh-indexer-choices): Rename to mh-search-choices.
d57727c9 1642 (mh-index-choose): Rename to mh-search-choose. Rename argument
a4d7cec3
BW
1643 indexer to searcher.
1644 (mh-swish++-execute-search, mh-swish-execute-search)
1645 (mh-mairix-execute-search, mh-namazu-execute-search): Drop "and
1646 read the results" from docstring since these functions don't.
1647 (mh-pick-execute-search, mh-grep-execute-search): Sync docstring
1648 with manual.
1649 (mh-index-generate-pretty-name): Prune -search from string so that
1650 folder names for pick searches are the same as those of other
1651 searches.
1652
11db987f
BW
16532006-01-13 Bill Wohler <wohler@newt.com>
1654
4501e6fb
BW
1655 * mh-acros.el (require): Added Satyaki's comment regarding what
1656 needs to happen to remove this defadvice which caused a little
1657 discussion on emacs-devel today (see Subject: mh-e/mh-acros.el
1658 advices `require' incorrectly).
1659
11db987f
BW
1660 * mh-search.el (mh-index-next-result-function): Add format to
1661 docstring.
1662 (mh-mairix-next-result): Use nil instead of () which doesn't stand
1663 out as well.
1664 (mh-pick-execute-search): Operate across all folders if no folder
1665 given and recurse folder(s).
1666 (mh-pick-next-result): Handle new output.
1667
d57727c9 1668 * mh-utils.el (mh-collect-folder-names): Fix docstring.
33462dfa 1669 (mh-children-p, mh-folder-list): New functions.
11db987f 1670
44140699
BW
16712006-01-12 Bill Wohler <wohler@newt.com>
1672
1673 * mh-search.el: New file containing contents of mh-index.el and
481821c8 1674 mh-pick.el. C-c C-c launches your mh-index-program; C-c C-p runs
d57727c9
JB
1675 pick. Pick no longer sets the "search" sequence. Instead, it
1676 brings up a folder view that we're accustomed to. (Closes SF
1677 #829207.)
44140699 1678 (mh-index-search): Rename to mh-search.
d57727c9
JB
1679 (mh-pick-menu): Rename menu from Pick to Search. Rename Execute
1680 the Search to Perform Search and call mh-do-search. Add Search
44140699
BW
1681 with Pick menu item.
1682 (mh-do-search): Delete.
1683 (mh-search-mode): Rename from mh-pick-mode.
1684 (MH-Search): Rename mode from MH-Pick.
1685 (mh-search-mode-map): Rename from mh-pick-mode-map.
1686 (mh-search-mode-help-messages): Rename from
1687 mh-pick-mode-help-messages.
1688 (mh-index-choose): Don't reuse the last value of mh-indexer; when
1689 mh-pick-do-search sets it to 'pick, we don't necessarily want to
1690 stay with that choice!
1691
1692 * mh-index.el:
1693 * mh-pick.el: Merge into mh-search.el and delete.
1694
1695 * mh-customize.el (mh-index-program): Change mh-index-search to
1696 mh-search in docstring.
1697 (mh-tool-bar-search-function): Change default from
d57727c9
JB
1698 mh-search-folder to mh-search. Remove mh-search-folder as choice
1699 and rename mh-index-search choice to mh-search. Fix docstring.
44140699
BW
1700 (mh-pick-mode-hook): Rename to mh-search-mode-hook and change
1701 mh-search-folder to mh-search in docstring.
1702
d57727c9
JB
1703 * mh-e.el (mh-folder-folder-menu): Delete Search a Folder. Change
1704 Indexed Search to Search. Use mh-search instead of mh-index-search.
1705 (mh-folder-map): Delete i (mh-index-search) keybinding. Change s
44140699
BW
1706 from mh-show-search-folder to mh-search.
1707
1708 * mh-seq.el (mh-put-msg-in-seq): Fix docstring now that
1709 mh-search-folder no longer creates the search sequence.
1710
1711 * mh-utils.el (mh-show-search-folder): Delete.
1712 (mh-show-folder-map): Delete i (mh-index-search) keybinding.
1713 Change s from mh-show-search-folder to mh-search.
d57727c9
JB
1714 (mh-show-folder-menu): Delete Search a Folder. Change Indexed
1715 Search to Search. Use mh-search instead of mh-index-search.
1716 (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell):
1717 Move here from deleted mh-index.el.
44140699 1718
e1fbc812
BW
17192006-01-11 Bill Wohler <wohler@newt.com>
1720
549afb31
BW
1721 * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Move here
1722 from mh-gnus.el.
1723
1724 * mh-gnus.el: Require mh-acros.
1725 (mh-defmacro-compat, mh-defun-compat): Move to mh-acros.el.
1726
1727 * mh-utils.el (mh-x-image-url-cache-canonicalize): Use
1728 url-hexify-string to remove special characters from filenames
481821c8 1729 (closes SF #1396499). Note that this invalidates the existing
549afb31
BW
1730 names in your cache so you might as well remove
1731 ~/Mail/.mhe-x-image-cache/* now.
1732 (url-unreserved-chars, url-hexify-string): Define if not defined.
1733 Copied from url-util.el in Emacs22 for Emacs 21.
1734
481821c8 1735 * mh-buffers.el: New file. Contains constants and code from
9c2cf222
BW
1736 mh-index.el and mh-utils.el.
1737
33462dfa
JB
1738 * mh-alias.el:
1739 * mh-comp.el:
1740 * mh-e.el:
1741 * mh-funcs.el:
9c2cf222 1742 * mh-init.el:
33462dfa 1743 * mh-junk.el:
9c2cf222
BW
1744 * mh-mime.el:
1745 * mh-print.el:
1746 * mh-seq.el: Require new file mh-buffers.el.
1747
1748 * mh-index.el: Require new file mh-buffers.el.
1749 (mh-index-temp-buffer, mh-checksum-buffer): Move to new file
1750 mh-buffers.el.
1751
1752 * mh-utils.el: Require new file mh-buffers.el.
1753 (mh-temp-buffer, mh-temp-fetch-buffer)
1754 (mh-aliases-buffer, mh-folders-buffer, mh-help-buffer)
1755 (mh-info-buffer, mh-log-buffer, mh-mail-delivery-buffer)
1756 (mh-recipients-buffer, mh-sequences-buffer, mh-log-buffer-lines)
1757 (mh-truncate-log-buffer): Move to new file mh-buffers.el.
1758
00b6a079
BW
1759 * mh-comp.el (mh-forward): Cosmetics on prompt when draft exists.
1760 (mh-send-letter): Add -msgid to mh-send-args (closes SF #725425).
1761
191c8741
BW
17622006-01-10 Bill Wohler <wohler@newt.com>
1763
c2134792 1764 * mh-comp.el (mh-insert-letter): If you choose a different folder,
481821c8 1765 the cur message is used. Sync docstring with manual (closes SF
e1fbc812 1766 #1205890).
c2134792
BW
1767
1768 * mh-mime.el (mh-compose-forward): Use standard range argument
d57727c9
JB
1769 instead of messages. Use more powerful mh-read-range instead of
1770 read-string. Sync docstring with manual (close SF #1205890).
c2134792 1771
191c8741
BW
1772 * mh-index.el (mh-index-search): Checking mh-find-path-run is
1773 unnecessary.
2898111c
BW
1774 (mh-index-next-folder): Don't back up a line when going backwards
1775 since this skips the current folder heading if point is on the
1776 first message after the folder heading (closes SF #1126188).
191c8741 1777
d57727c9 1778 * mh-init.el (mh-sys-path): Co-locate with mh-variants, which uses it.
191c8741
BW
1779 (mh-variants): Note variable isn't meant to be accessed directly;
1780 use function mh-variants instead.
1781 (mh-variant-info, mh-variant-mh-info, mh-variant-mu-mh-info)
1782 (mh-variant-nmh-info): Co-locate next to mh-variants, which uses
481821c8 1783 them. Updated to use mh-file-command-p which is more accurrate
191c8741
BW
1784 than file-executable-p which returns t for directories.
1785 (mh-file-command-p): Move here from mh-utils, since
1786 mh-variant-*-info are the only functions to use it.
1787 (mh-variant-set, mh-variant-set-variant, mh-variant-p): Use
d57727c9
JB
1788 function mh-variants instead of variable. More robust.
1789 (mh-find-path-run): Move here from mh-utils.el. Mention that
191c8741 1790 checking this variable is unnecessary.
d57727c9 1791 (mh-find-path): Move here from mh-utils.el. With the advent of MH
191c8741 1792 variants and an mhparam command that doesn't work if there isn't
d57727c9
JB
1793 an MH profile, we can't get libdir for running install-mh. So
1794 don't bother. If there's an issue with the environment, direct the
1795 user to install MH and run install-mh (closes SF #835192). Don't
1796 read ~/.mh_profile directly. Use mh-profile-component which uses
191c8741
BW
1797 mhparam (closes SF #1016027).
1798
1799 * mh-utils.el (mh-get-profile-field): Rename to
d57727c9 1800 mh-profile-component-value. Add colon to search removing
191c8741
BW
1801 unnecessary addition of colon to field in mh-profile-component.
1802 (mh-profile-component): Modify call to mh-profile-component-value
d57727c9 1803 accordingly. Move next to mh-profile-component-value.
191c8741 1804 (mh-find-path-run, mh-find-path, mh-file-command-p): Move to
d57727c9 1805 mh-init.el. It makes sense that code that is only run once per
191c8741
BW
1806 session (more or less) is in mh-init.el rather than cluttering
1807 mh-utils.el.
1808 (mh-no-install, mh-install): Delete.
1809
33462dfa 1810 * mh-customize.el (mh-folder-msg-number):
191c8741
BW
1811 * mh-mime.el (mh-file-mime-type): Removed trailing whitespace.
1812
04f6a2d1
BW
18132006-01-09 Bill Wohler <wohler@newt.com>
1814
b981c52c
BW
1815 * mh-init.el (mh-variant-mu-mh-info, mh-variant-nmh-info): Applied
1816 patch from Satyaki from SF #1016027.
1817
8f9efec8
BW
1818 * mh-e.el (mh-rescan-folder): Try to keep cursor at current
1819 message, even if cur sequence is no longer present (closes SF
1820 #1207247).
1821
b6d8f743
BW
1822 * mh-comp.el: Use ";; Shush compiler." comment consistently per
1823 Mark's suggestion.
1824 (mh-letter-mode): Derive from mail-mode and delete code copied
d57727c9 1825 from mail-mode (closes SF #1385571). Mention mail-mode-hook in
b6d8f743 1826 docstring.
d57727c9 1827 (mh-fill-paragraph-function): Delete. Handled by mail-mode.
b6d8f743
BW
1828 (mh-to-field-choices): For consistency with mail-mode, add "a" for
1829 "Mail-Reply-To:", "l" for "Mail-Followup-To:", and "r" for
d57727c9 1830 "Reply-To:". Change "r" to "m" for "From:" (closes SF #1400139).
b6d8f743
BW
1831 (mh-to-fcc): Move setting of folder argument to interactive
1832 argument as is the norm.
1833 (mh-letter-complete-function-alist): Add mail-reply-to.
1834 (mh-letter-mode-map): Add keys for mh-to-field (Mail-Reply-To,
1835 Mail-Followup-To, Reply-To, From).
1836
90866475
BW
1837 * mh-customize.el: Use ";; Forward definition." consistently.
1838 Comment declaration to remind programmer to update forward
1839 definition if default changes.
1840
33462dfa
JB
1841 * mh-funcs.el:
1842 * mh-inc.el:
1843 * mh-init.el:
1844 * mh-mime.el:
1845 * mh-seq.el:
04f6a2d1
BW
1846 * mh-utils.el: Use ";; Shush compiler." comment consistently per
1847 Mark's suggestion.
1848
7094eefe
BW
18492006-01-08 Bill Wohler <wohler@newt.com>
1850
1851 Removed code that was marked as Emacs 20 compatible that was
1852 easily found showing how important it is to document such
d57727c9
JB
1853 things (closes SF #1359240). Feel free to nuke any other Emacs 20
1854 peculiarities that you find. Wrapped code for shushing compiler
7094eefe
BW
1855 with (eval-when-compile), sometimes moving the defvars closer to
1856 where they were used.
33462dfa 1857
7094eefe
BW
1858 * mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
1859 instead of mh-replace-in-string as mh-replace-in-string was
1860 replaced by a more appropriate defsubst in mh-xemacs.el.
1861
1862 * mh-comp.el: Require cleanup, wrap compiler-shushing defvars with
1863 eval-when-compile.
1864 (mh-file-is-vcard-p): Removed redundant test.
1865
1866 * mh-customize.el: Require cleanup, wrap compiler-shushing defvars
1867 with eval-when-compile.
1868 (mh-adaptive-cmd-note-flag, mh-invisible-header-fields)
1869 (mh-invisible-header-fields-default): Add forward definitions.
1870 (mh-invisible-header-fields-default): Alphabetize.
1871
1872 * mh-e.el: Require cleanup, wrap compiler-shushing defvars with
1873 eval-when-compile.
1874 (mh-thread-scan-line-map-stack, tool-bar-mode): Delete unused
1875 variables.
d57727c9 1876 (mh-colors-available-p): Just call display-color-cells. It's on
7094eefe
BW
1877 all supported Emacsen (and defaliased on XEmacs).
1878
1879 * mh-funcs.el:
1880 * mh-inc.el:
1881 * mh-init.el: Wrap compiler-shushing defvars with
1882 eval-when-compile.
1883
1884 * mh-identity.el: Don't need (mh-require-cl).
1885
1886 * mh-index.el: Don't need to load executable any more.
1887
1888 * mh-mime.el: Wrap compiler-shushing defvars with
1889 eval-when-compile.
d57727c9
JB
1890 (mh-have-file-command): Initialize variable to 'undefined. Add
1891 docstring. Update function of same name accordingly. Also don't
7094eefe
BW
1892 need to load executable any more.
1893 (mh-mime-content-types): Delete.
1894 (mh-minibuffer-read-type): Prompt user for type if
d57727c9 1895 mh-file-mime-type returns application/octet-stream. Assume we have
7094eefe
BW
1896 mailcap-mime-types.
1897 (mh-mime-display): Update error message.
1898
1899 * mh-seq.el: Require cleanup, and wrap compiler-shushing defvars
1900 with eval-when-compile.
1901
1902 * mh-utils.el: Require cleanup, and wrap compiler-shushing defvars
1903 with eval-when-compile.
1904 (mh-clean-msg-header): Don't set after-change-functions to nil.
d57727c9 1905 (mh-replace-in-string): Remove. Create defsubst in mh-xemacs.el
7094eefe 1906 instead.
33462dfa 1907
98b7b7ed
BW
19082006-01-07 Bill Wohler <wohler@newt.com>
1909
3af622d5
BW
1910 * mh-customize.el: Updated Faces documentation in header.
1911 (mh-invisible-header-fields-internal): Add X-Lumos-SenderID,
1912 X-Return-Path-Hint, and X-Roving-* from Roving ConstantContact.
1913
98b7b7ed
BW
1914 * mh-mime.el (mh-mml-tag-present-p): Update regexp to handle <mml>
1915 tags inserted by Gnus gnus-summary-mail-forward (closes SF
1916 #1399307).
1917
836f2863
MB
19182006-01-03 Mark D. Baushke <mdb@gnu.org>
1919
1920 * mh-e.el (mh-delete-a-msg): Fix whitespace nit.
1921 * mh-index.el (mh-mairix-execute-search): Fix symbol quote.
1922
e69d4e02
BW
19232006-01-03 Bill Wohler <wohler@newt.com>
1924
f9c53c97 1925 * mh-alias.el (mh-alias-add-alias): Grand message and error string
d57727c9
JB
1926 unification. Use single sentence if possible by using semicolon.
1927 Don't end message with punctuation. Don't need format with
1928 message. Quote messages as in docstrings: use `' around symbols,
1929 \" for option choices. Don't use quotes around %s.
33462dfa 1930
f9c53c97
BW
1931 * mh-comp.el (mh-complete-word): Ditto.
1932
1933 * mh-customize.el (mh-adaptive-cmd-note-flag-check)
1934 (mh-scan-format-file-check): Ditto.
1935
1936 * mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
1937 (mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
1938 (mh-msg-num-width-to-column): Ditto.
1939
1940 * mh-identity.el (mh-identity-field-handler): Ditto.
1941
1942 * mh-index.el (mh-mairix-execute-search)
1943 (mh-swish-execute-search, mh-swish++-execute-search)
1944 (mh-namazu-execute-search): Ditto.
1945
1946 * mh-init.el (mh-variant-set): Ditto.
1947
1948 * mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
1949 (mh-secure-message, mh-mime-display): Ditto.
1950
1951 * mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
1952
1953 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
1954 (mh-read-range, mh-thread-container-subject): Ditto.
1955
1956 * mh-utils.el (mh-x-image-scale-and-display)
1957 (mh-prompt-for-folder, mh-handle-process-error)
1958 (mh-list-to-string-1): Ditto.
1959
078cb314
BW
1960 * mh-comp.el (mh-reply): Use standard default notation in
1961 prompts (closes SF #1275933).
1962
1963 * mh-mime.el (mh-mime-save-parts): Ditto.
1964
1965 * mh-seq.el (mh-read-seq, mh-read-range): Ditto.
1966
355ebcbf
BW
1967 * mh-customize.el (mh-folder-msg-number): Snow is actually
1968 off-white on low color displays which turns to white when bold.
481821c8
JB
1969 This is unreadable on white backgrounds. Use snow with min-colors
1970 requirement. Use cyan on low-color displays.
355ebcbf
BW
1971
1972 * mh-init.el (mh-defface-compat): On low-color displays, delete
1973 the high-color display rather than simply strip the min-colors
1974 requirement since the existing algorithm shadowed the desired
1975 display on low-color displays.
1976
e69d4e02
BW
1977 * mh-alias.el (mh-alias-add-alias): Remove leading * from
1978 docstring.
1979
af435184
BW
19802006-01-02 Bill Wohler <wohler@newt.com>
1981
1982 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
481821c8 1983 docstring. Does this mean something in a defun?
af435184
BW
1984
1985 * mh-customize.el (bw-new-face-to-old, bw-old-face-to-new):
1986 Checkdoc fix.
1987
1988 * mh-e.el (mh-inc-folder): Rename maildrop-name argument to file
481821c8 1989 so it reads better in docstring and manual. Sync docstring with
af435184
BW
1990 manual.
1991
1992 * mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).
1993
1994 * mh-alias.el (mh-alias-apropos): Sync docstring with manual.
1995
1996 * mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
1997 (mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
1998 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
1999 (mh-letter-complete-or-space, mh-letter-confirm-address)
2000 (mh-letter-next-header-field-or-indent)
2001 (mh-letter-previous-header-field): Ditto.
2002
2003 * mh-customize.el (mh-alias-completion-ignore-case-flag)
2004 (mh-default-folder-for-message-function, mh-mml-method-default)
2005 (mh-signature-file-name, mh-yank-behavior, mh-show-hook)
2006 (mh-show-mode-hook) Ditto.
2007
2008 * mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.
2009
2010 * mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
481821c8 2011 (mh-store-msg, mh-store-buffer): Ditto.
af435184
BW
2012
2013 * mh-index.el (mh-index-search, mh-index-do-search)
2014 (mh-index-next-folder, mh-index-sequenced-messages): Ditto.
2015
2016 * mh-junk.el (mh-spamassassin-blacklist): Ditto.
2017
2018 * mh-mime.el (mh-mh-compose-external-compressed-tar)
2019 (mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
2020 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
481821c8 2021 (mh-mml-secure-message-signencrypt): Ditto.
af435184
BW
2022
2023 * mh-pick.el (mh-search-folder): Ditto.
2024
2025 * mh-seq.el (mh-widen): Ditto.
2026
2027 * mh-utils.el (mh-show, mh-modify): Ditto.
2028
285d1e0c
MB
20292006-01-02 Mark D. Baushke <mdb@gnu.org>
2030
2031 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument.
2032
d49ed7d4
BW
20332006-01-01 Bill Wohler <wohler@newt.com>
2034
2035 * mh-customize.el: Sync docstrings with manual for faces and sort
2036 them alphabetically.
2037 (mh-faces): Move below mh-hooks.
2038 (mh-folder-faces, mh-index-faces, mh-letter-faces)
d57727c9 2039 (mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
d49ed7d4
BW
2040 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
2041 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
2042 (mh-folder-body-face, mh-folder-cur-msg-face)
2043 (mh-folder-cur-msg-number-face, mh-folder-date-face)
2044 (mh-folder-followup-face, mh-folder-msg-number-face)
2045 (mh-folder-deleted-face, mh-folder-refiled-face)
2046 (mh-folder-subject-face, mh-folder-address-face)
2047 (mh-folder-scan-format-face, mh-folder-to-face)
2048 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
2049 (mh-show-header-face, mh-show-pgg-good-face)
2050 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
2051 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
2052 Delete.
d57727c9 2053 (mh-folder-cur-msg): Unused. Delete.
d49ed7d4
BW
2054 (mh-folder-address): Use defface; inherit from mh-folder-subject.
2055 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
2056 Inherit from mh-folder-msg-number.
d57727c9 2057 (mh-folder-deleted): Use defface. Inherit from
d49ed7d4 2058 mh-folder-msg-number.
d57727c9 2059 (mh-folder-sent-to-me-hint): New face. Inherit from
d49ed7d4
BW
2060 mh-folder-date.
2061 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
d57727c9 2062 Use defface. Inherit from mh-folder-followup.
d49ed7d4
BW
2063 (mh-show-xface): Inherit from mh-show-from and highlight.
2064 (bw-face-generation, bw-toggle-faces)
2065 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
2066 variables, functions for toggling between old and new faces.
2067
2068 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
d57727c9 2069 eval-when-compile. We should probably do this throughout.
d49ed7d4
BW
2070 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
2071 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
2072 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2073 (mh-scan-subject-regexp): Sync docstrings with manual
2074 (mh-scan-format-regexp): Rename to
481821c8 2075 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
d57727c9
JB
2076 expression. Make expression more like the others (anchored at the
2077 beginning of line). Sync docstrings with manual.
d49ed7d4 2078 (mh-folder-font-lock-keywords): Use faces directly rather than
d57727c9 2079 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
d49ed7d4
BW
2080 mh-scan-format-regexp, and within that expression, use faces
2081 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
2082 of mh-folder-date-face and mh-folder-scan-format-face which were
2083 misleading.
2084
2085 * mh-mime.el (mh-mime-security-button-face): Use faces directly
2086 rather than -face variables.
2087
2088 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
2089 rather than -face variables.
2090 (mh-face-foreground-compat, mh-face-background-compat): New macros.
2091 (mh-face-display-function): Use mh-face-foreground-compat and
2092 mh-face-background-compat to use inherited attributes of
2093 mh-show-xface on Emacs 22 while still working on Emacs 21.
2094
0d887b77
BW
20952005-12-28 Bill Wohler <wohler@newt.com>
2096
d57727c9
JB
2097 * mh-comp.el (mh-e-user-agent): Move here from simple.el.
2098 Use mh-user-agent-compose instead of mh-smail-batch.
0d887b77 2099
13fe29bd
BW
21002005-12-27 Bill Wohler <wohler@newt.com>
2101
2102 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
2103 suppress creation of folder if it doesn't exist.
2104
2bd87afb
SM
21052005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
2108
5a4aad03
BW
21092005-12-23 Bill Wohler <wohler@newt.com>
2110
7ba8dffd
BW
2111 * mh-e.el (mh-folders-changed): Fix typo in docstring.
2112
d57727c9
JB
2113 Follow MH-E Developers Guide conventions. Use `' quotes for Help
2114 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
2115 everything else. Otherwise, you can accidently get links to
5a4aad03 2116 nonsense symbols.
2bd87afb 2117
d1699462
BW
21182005-12-22 Bill Wohler <wohler@newt.com>
2119
d57727c9 2120 Follow Emacs coding conventions. Use default setting of
2dcf34f9 2121 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 2122
d1699462
BW
2123 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
2124
2125 * mh-comp.el (mh-letter-mode): Use 60 column width.
2126 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
2127 with manual.
2128 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
2129 you have added a mail-citation-hook and neither are used if you
d57727c9 2130 use one of the supercite flavors of mh-yank-behavior. Sync
13fe29bd 2131 docstrings with manual.
d1699462 2132
13fe29bd
BW
2133 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
2134 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
d57727c9 2135 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
2136 Sync docstrings with manual.
2137 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
2138 mh-ins-buf-prefix isn't used if you have added a
2139 mail-citation-hook and neither are used if you use one of the
d57727c9
JB
2140 supercite flavors of mh-yank-behavior. Sync docstrings with manual.
2141 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
2142 (mh-signature-file-name, mh-after-commands-processed-hook)
2143 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
2144 (mh-before-quit-hook, mh-before-send-letter-hook)
2145 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
2146 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
2147 (mh-letter-mode-hook)
2148 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
2149 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
2150 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
d57727c9 2151 of "Invoked...". Sync docstrings with manual.
d1699462
BW
2152
2153 * mh-e.el (mh-last-destination, mh-last-destination-folder)
2154 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
2155 (mh-delete-list, mh-refile-list, mh-folders-changed)
2156 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
2157 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
2158 (mh-mode-line-annotation, mh-sequence-notation-history)
2159 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
2160 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
2161 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
2162 (mh-refile-msg): Small doc edit.
2163 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
2164 Rename msg argument to message.
2165
2166 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
2167
2168 * mh-e.el (mh-update-unseen): No longer say "The value of
2169 `foo-hook' is a list of functions to be called, with no arguments,
2170 ...," but rather just "The hook foo-hook is called...".
2171
2bd87afb 2172 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
2173
2174 * mh-pick.el (mh-pick-mode): Ditto.
2175
2176 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
2177 docstring.
2178 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
2179 into docstring.
13fe29bd
BW
2180 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
2181 manual.
d1699462 2182
2bd87afb 21832005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 2184
d57727c9
JB
2185 * mh-customize.el (mh-after-commands-processed-hook): New variable.
2186 (mh-before-commands-processed-hook): Rename mh-folder-updated-hook.
2953de8c 2187
13fe29bd
BW
2188 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
2189 mh-before-commands-processed-hook, call new
2953de8c
SG
2190 mh-after-commands-processed-hook.
2191 (mh-folders-changed): New variable (for use in
2192 mh-after-commands-processed-hook).
2193
cee9f5c6
BW
21942005-12-19 Bill Wohler <wohler@newt.com>
2195
2196 * mh-acros.el:
2197 * mh-alias.el:
2198 * mh-comp.el:
2199 * mh-customize.el:
2200 * mh-e.el:
2201 * mh-funcs.el:
2202 * mh-gnus.el:
2203 * mh-identity.el:
2204 * mh-inc.el:
2205 * mh-index.el:
2206 * mh-init.el:
2207 * mh-junk.el:
2208 * mh-mime.el:
2209 * mh-pick.el:
2210 * mh-print.el:
2211 * mh-seq.el:
2212 * mh-speed.el:
2213 * mh-utils.el:
d57727c9
JB
2214 Follow commenting conventions. Don't use ;;; form so much, except
2215 for headings. Precede headings with page feed. This was mostly
2216 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
2217 on a couple of files since this was an insignificant change.
2218
fa4075e3
BW
22192005-12-18 Bill Wohler <wohler@newt.com>
2220
2221 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
2222 (mh-tool-bar-search-function): Sync docstrings with manual.
d57727c9 2223 (mh-tool-bar-customize): Replace toolbar with tool bar in docstring.
fa4075e3
BW
2224 (mh-tool-bar-letter-help): Fix manual reference.
2225 (mh-xemacs-use-toolbar-flag): Rename to
d57727c9
JB
2226 mh-xemacs-use-tool-bar-flag. Initialize to
2227 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 2228 (mh-xemacs-toolbar-position): Rename to
d57727c9 2229 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3 2230 option (redundant) and change "Same As Default Tool Bar" setting
d57727c9 2231 to nil. Sync docstrings with manual.
fa4075e3
BW
2232 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
2233 depending on context.
d57727c9 2234 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
481821c8 2235 for calling set-specifier. Only look at the value of
13fe29bd 2236 mh-xemacs-use-tool-bar-flag.
d57727c9
JB
2237 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons):
2238 Sync docstrings with manual.
fa4075e3
BW
2239
2240 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
2241 mh-toolbar-init.
2242
2243 * mh-e.el (mh-folder-mode): Ditto.
2244
2245 * mh-utils.el (mh-show-mode): Ditto.
2246
7a5df5a9
BW
22472005-12-15 Bill Wohler <wohler@newt.com>
2248
2249 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
2250
2251 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
2252 (mh-thread-previous-sibling, mh-thread-ancestor)
2253 (mh-thread-delete, mh-thread-refile): Ditto.
2254
6b960c10
BW
22552005-12-14 Bill Wohler <wohler@newt.com>
2256
2257 * mh-customize.el (mh-speed-flists-interval): Rename to
2258 mh-speed-update-interval.
d57727c9 2259 (mh-speed-run-flists-flag): Delete. Setting
13fe29bd 2260 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 2261
13fe29bd
BW
2262 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
2263 mh-speed-update-interval instead of mh-speed-run-flists-flag.
2264 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
2265 docstrings with manual.
6b960c10 2266
97c688ed
BW
22672005-12-09 Bill Wohler <wohler@newt.com>
2268
2269 * mh-customize.el (mh-path): Move here from mh-init.el.
2270 (mh-variant): Mention that mh-path can be customized.
2271 (mh-invisible-header-fields-internal): Add X-ContentStamp,
2272 X-MAIL-INFO, and X-UNTD- from NetZero.
2273
2274 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
2275
2be362c2
BW
22762005-12-04 Bill Wohler <wohler@newt.com>
2277
f15ced66
BW
2278 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
2279 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
2280 X-Virus-Scanned.
2bd87afb 2281
13fe29bd
BW
2282 * mh-customize.el (mh-insert-signature-hook): Rename
2283 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
2284
2285 * mh-comp.el (mh-insert-signature): Ditto.
2286
56128d97 2287 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
d57727c9 2288 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
2289 #831278).
2290 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
2291 users can see it, look it up in the manual's index, and discover
2292 mh-fetch-x-image-url (closes SF #831278).
a932ce45 2293
a8a47814
BW
2294 * mh-customize.el (mh-new-messages-folders): Rename from
2295 mh-index-new-messages-folders.
2296 (mh-ticked-messages-folders): Rename from
2297 mh-index-ticked-messages-folders.
2bd87afb 2298
a8a47814
BW
2299 * mh-index.el (mh-index-sequenced-messages)
2300 (mh-index-new-messages): Ditto.
2301
2be362c2 2302 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
d57727c9 2303 in the docstrings and made usage consistent. Generally speaking,
2be362c2 2304 "messages in range" and "range of messages" is redundant and just
d57727c9 2305 "range" can be used in most circumstances. Also ensured that
2be362c2 2306 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
2307 that use a range which describes the range argument for both users
2308 and programmers.
2be362c2
BW
2309
2310 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
2311 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
2312 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
2313 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
2314 Ditto.
2be362c2 2315
13fe29bd
BW
2316 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
2317 Ditto.
2be362c2
BW
2318
2319 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
2320
2321 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
2322 (mh-ps-print-msg-file, mh-print-msg): Ditto.
2323
2324 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
2325 (mh-narrow-to-range, mh-toggle-tick): Ditto.
2326
553fb735
BW
23272005-12-01 Bill Wohler <wohler@newt.com>
2328
2329 Rewrote Reading Mail chapter in manual which affected mh-show
2330 customization group and related functions.
2bd87afb 2331
553fb735
BW
2332 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
2333 instead of mh-highlight-citation-p.
2334 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
2335 I think, so use "truncated".
2336
2337 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
d57727c9 2338 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
2339 mh-folder, not mh-show.
2340 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
d57727c9 2341 (mh-thread): New group that corresponds with manual's Threading chapter.
553fb735
BW
2342 (mh-letter-faces): Group's manual section is Editing Drafts, not
2343 Sending Mail.
d57727c9 2344 (mh-sortm-args): New customization variable that used to be a defvar.
553fb735
BW
2345 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
2346 Move from mh-index group to mh-folders group.
2347 (mh-alias-local-users-prefix, mh-large-folder)
2348 (mh-recursive-folders-flag, mh-before-quit-hook)
2349 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
2350 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
2351 mh-folder group.
2352 (mh-highlight-citation-style): Rename from
d57727c9
JB
2353 mh-highlight-citation-p. Sync docstrings with manual.
2354 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 2355 with manual.
13fe29bd
BW
2356 (mh-show-threads-flag): Move from mh-show group to mh-thread
2357 group.
553fb735
BW
2358 (mh-find-path-hook): Move from mh-show group to mh-e group.
2359 (mh-folder-updated-hook): Add to mh-folder group.
2360 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
2361 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
2362 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
2363 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
2364 (mh-display-buttons-for-inline-parts-flag)
2365 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
2366 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
2367 (mh-invisible-header-fields-default, mh-invisible-header-fields)
2368 (mh-lpr-command-format, mh-max-inline-image-height)
2369 (mh-max-inline-image-width)
2370 (mh-mime-save-parts-default-directory, mh-print-background-flag)
2371 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
2372 (mh-show-use-xface-flag, mh-store-default-directory)
2373 (mh-summary-height, mh-delete-msg-hook
2374 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 2375
d57727c9 2376 * mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
553fb735 2377 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
d57727c9
JB
2378 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp):
2379 Use non-fontification instead of non-fontifying.
553fb735 2380 (mh-header-display): Use mh-mhl-format-file instead of
d57727c9 2381 mhl-formfile. Sync docstrings with manual.
553fb735 2382 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
d57727c9 2383 count. Sync docstrings with manual.
553fb735 2384 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
d57727c9 2385 so that message doesn't change when using this command. Sync
13fe29bd 2386 docstrings with manual.
d57727c9 2387 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
13fe29bd 2388 docstrings with manual.
d57727c9
JB
2389 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
2390 to no-header. Sync docstrings with manual.
553fb735
BW
2391 (mh-ps-print-map): Delete keybindings for deleted commands
2392 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 2393 (mh-help-messages): Update printing help.
553fb735
BW
2394 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
2395 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
2396 (mh-prev-button, mh-folder-toggle-mime-part)
2397 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
2398 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
2399 manual.
2400
13fe29bd
BW
2401 * mh-funcs.el (mh-sortm-args): Now a customization option and in
2402 mh-customize.el.
d57727c9
JB
2403 (mh-pipe-msg): Rename include-headers to include-header.
2404 Sync docstrings with manual.
553fb735
BW
2405 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
2406 (mh-store-msg): Sync docstrings with manual.
2407
d57727c9
JB
2408 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt.
2409 Sync docstrings with manual.
553fb735
BW
2410 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
2411 Sync docstrings with manual.
13fe29bd
BW
2412 (mh-mm-display-part, mh-mm-inline-message): Use
2413 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
2414 (mh-press-button): Sync docstrings with manual.
2415 (mh-display-with-external-viewer): Fix default output in
d57727c9 2416 minibuffer. Sync docstrings with manual.
553fb735 2417
d57727c9 2418 * mh-print.el (mh-ps-print-mime, mh-ps-print-toggle-mime):
13fe29bd 2419 Delete.
553fb735
BW
2420 (mh-ps-print-color-option): Incorporate docstring from
2421 ps-print-color-p.
d57727c9
JB
2422 (mh-ps-spool-buffer): Remove unused code. Fix indent.
2423 Slimline docstring.
2424 (mh-ps-spool-msg): Slimline docstring. Rename from
2425 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
13fe29bd 2426 available.
553fb735
BW
2427 (mh-ps-print-range): Extract method from common code in
2428 mh-ps-print-msg and mh-ps-print-msg-file.
d57727c9
JB
2429 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
2430 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
2431 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
2432 new code in mh-ps-spool-msg.
2433 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
2434 Sync docstrings with manual.
2435 (mh-ps-print-msg, mh-ps-print-msg-file)
d57727c9
JB
2436 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color):
2437 Sync docstrings with manual.
33462dfa 2438
2bd87afb 2439 * mh-utils.el (mh-show-ps-print-msg-show)
d57727c9 2440 (mh-show-ps-print-toggle-mime): Delete.
2bd87afb 2441 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
2442 (mh-show-mode): Use mh-highlight-citation-style instead of
2443 mh-highlight-citation-p.
2444 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
2445 mhl-formfile.
d57727c9
JB
2446 (mh-show): Use mh-mhl-format-file instead of mhl-formfile.
2447 Sync docstrings with manual.
2448 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg):
2449 Sync docstrings with manual.
553fb735
BW
2450
24512005-12-01 Bill Wohler <wohler@newt.com>
2452
2453 * mh-init.el (mh-defface-compat): Checkdoc fix.
2454
2455 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
2456 Bogofilter is lowercase except at beginning of sentence and in
2457 titles.
553fb735 2458
94abd6b7
BW
24592005-11-04 Bill Wohler <wohler@newt.com>
2460
6b19bd82
BW
2461 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
2462 Move to mh-init.el to minimize bulk of mh-customize.el.
2463
2464 * mh-init.el: Modify commentary since file is used for load and
2465 initialization as well as setting and getting the variant.
13fe29bd
BW
2466 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
2467 mh-customize.el.
6b19bd82 2468
d57727c9
JB
2469 * mh-customize.el: Refactor faces. Move grayscale requirements
2470 last before t. Use uniform line breaks.
3d2efec2 2471 (mh-min-colors-defined-flag): New variable.
d57727c9 2472 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 2473 for face specs.
2bd87afb
SM
2474 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
2475 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 2476 (mh-folder-body): Use mh-defface-compat.
94abd6b7 2477
b07e0686
DN
24782005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2479
2480 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
2481 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
2482 (mh-folder-to-face): Use the min-colors attribute instead of the
2483 type attribute.
2484
be33fce4
BW
24852005-11-03 Bill Wohler <wohler@newt.com>
2486
2487 * mh-customize.el (mh-refile-preserves-sequences-flag)
d57727c9
JB
2488 (mh-tick-seq, mh-update-sequences-after-mh-show-flag):
2489 Sync docstrings with manual.
be33fce4
BW
2490
2491 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
2492
2bd87afb 2493 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
2494 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
2495 with manual.
2496
93eece98
BW
24972005-11-01 Bill Wohler <wohler@newt.com>
2498
13fe29bd
BW
2499 * mh-comp.el (mh-redist-full-contents) Convert defvar to
2500 defcustom.
b2064e08
BW
2501 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
2502 (mh-reply, mh-send, mh-send-other-window)
2503 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
2504 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
2505 msg argument to message (to make for a better docstring).
b2064e08
BW
2506
2507 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
481821c8 2508 to defcustom. Rename by adding -flag.
b2064e08
BW
2509 (mh-compose-forward-as-mime-flag)
2510 (mh-compose-letter-function, mh-forward-subject-format)
2511 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
2512 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
2513 with manual.
2514
2bd87afb 2515 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 2516 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 2517 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
2518 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
2519 after message per conventions.
2520
fefc5079
BW
25212005-10-30 Bill Wohler <wohler@newt.com>
2522
2bd87afb 2523 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
d57727c9
JB
2524 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp):
2525 Sync docstrings with manual.
ece9cbf7 2526
fefc5079
BW
2527 * mh-customize.el (mh-compose-space-does-completion-flag)
2528 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
2529 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
d57727c9 2530 means" to remain checkdoc clean and consistent with Emacs. I
13fe29bd 2531 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
2532 that "On means" should be allowed in custom docstrings but that
2533 this change requires thought and should wait until after the Emacs
2534 22 release.
2535
ec397a34
BW
25362005-10-28 Bill Wohler <wohler@newt.com>
2537
50df64d6
BW
2538 * mh-comp.el (mh-annotate-msg): Use new variable
2539 mh-scan-field-destination-offset rather than hard-coding 1.
2540
2541 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
2542 docstring.
13fe29bd
BW
2543 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
2544 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
2545 mh-scan-format-file respectively.
2546 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
2547 add :set.
2548
d57727c9 2549 * mh-e.el (mh-scan-field-destination-offset): New variable. The
13fe29bd 2550 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6 2551 Bcc, or Newsgroups respectively.
d57727c9 2552 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note):
50df64d6
BW
2553 Call new function mh-msg-num-width-to-column to make leap between
2554 width and column more explicit.
2555 (mh-msg-num-width-to-column): New function that steals logic from
d57727c9 2556 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
2557 isn't t since we can't adapt the scan lines in this case.
2558 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
2559 make the documentation more clear.
2560 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
2561 column, not a width.
2562 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
d57727c9 2563 variable mh-scan-field-destination-offset rather than hard-coding 1.
50df64d6
BW
2564
2565 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
2566 (mh-notate): Use new variable mh-scan-field-destination-offset
2567 rather than hard-coding 1.
2568 (mh-message-number-width): Rename to mh-msg-num-width to be
2569 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
2570
ec397a34
BW
2571 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
2572 (mail-citation-hook): Quote URLs in docstrings and precede with
d57727c9 2573 `URL'. The former will suppress checkdoc warnings, the latter will
13fe29bd
BW
2574 turn them into hyperlinks in Emacs 22 (I just added the code to do
2575 that today).
ec397a34
BW
2576 (mh-scan-format-file): Checkdoc fix.
2577
169a3241
BW
25782005-10-27 Bill Wohler <wohler@newt.com>
2579
e069fa61
BW
2580 * mh-customize.el (mh-adaptive-cmd-note-flag)
2581 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
2582
2583 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
2584 (mh-note-cur, mh-scan-good-msg-regexp)
2585 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
2586 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
2587 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
2588 (mh-scan-subject-regexp, mh-scan-format-regexp)
2589 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
2590 with manual.
2591
2592 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
2593
2594 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
2595 of hard-coded string.
d57727c9
JB
2596 (mh-mail-header-separator, mh-signature-separator-regexp):
2597 Use "regular expression" in docstring instead of regexp.
e069fa61
BW
2598 (mh-scan-msg-number-regexp)
2599 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
2600 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
2601 (mh-cmd-note): Sync docstrings with manual.
2602
3b463df0
BW
2603 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
2604 Checkdoc fixes.
2605
2606 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
2607
2608 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
2609 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2610 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 2611
4a263988
BW
26122005-10-24 Bill Wohler <wohler@newt.com>
2613
2614 * mh-gnus.el: Load mml.el in order to see if
2615 mml-minibuffer-read-disposition is defined or not.
2616
2617 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
2618 mml autoloads.
2619
97c60a38
MB
26202005-10-23 Miles Bader <miles@gnu.org>
2621
2622 * .arch-inventory: New file.
2623
9a51cf9e
BW
26242005-10-23 Bill Wohler <wohler@newt.com>
2625
d57727c9
JB
2626 * mh-customize.el (mh-interpret-number-as-range-flag):
2627 Sync docstring with manual.
136e0283 2628
9a51cf9e 2629 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
481821c8 2630 mh-alias.el and move to mh-acros.el.
9a51cf9e
BW
2631
2632 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
481821c8 2633 mh-identity.el and move to mh-acros.el.
9a51cf9e
BW
2634
2635 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
2636 mh-identity.el and mh-alias.el.
2637
2638 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
2639 warning in Emacs 22.
2640
1dd9796d
SD
26412005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
2642
2643 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
2644 assoc-string (if the function is available) and falls back on
2645 assoc-ignore-case if assoc-string is not found.
2646 (mh-identity-field-handler): Use mh-assoc-ignore-case since
2647 assoc-ignore-case is a obsolete function in Emacs 22.
2648
2649 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
2650 track of whether the tool-bar in mh-folder-mode has been
2651 initialized yet.
2652 (mh-folder-mode): Initialize the tool-bar for folders the first
2653 time we get into mh-letter-mode.
2654
2655 * mh-customize.el (mh-buffer-exists-p): New function which tests
2656 presence of buffers of a given mode.
d57727c9
JB
2657 (mh-tool-bar-define): New functions mh-tool-bar-folder-buttons-init and
2658 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
2659 used to create the tool-bar from the corresponding customizable
2660 variables.
2661
2662 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
2663 keeps track of whether the tool-bar in mh-letter-mode has been
2664 initialized yet.
2665 (mh-letter-mode): Initialize the tool-bar for drafts the first
2666 time we get into mh-letter-mode.
2667
0c47b17c
BW
26682005-10-23 Bill Wohler <wohler@newt.com>
2669
13fe29bd
BW
2670 * mh-comp.el (mh-letter-menu): Rename
2671 mh-mhn-compose-external-compressed-tar to
d57727c9
JB
2672 mh-mh-compose-external-compressed-tar. Rename
2673 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
481821c8
JB
2674 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
2675 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
d57727c9
JB
2676 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
2677 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
2678 to 'mh.
2679 (mh-insert-signature): Rename mh-mhn-directive-present-p to
2680 mh-mh-directive-present-p.
2681 (mh-send-letter): Rename mh-mhn-directive-present-p to
481821c8 2682 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
d57727c9
JB
2683 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
2684 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
13fe29bd 2685 mh-mhn-compose-external-compressed-tar to
d57727c9
JB
2686 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2687 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
2688 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
2689 mh-mh-compose-anon-ftp. Rename
13fe29bd 2690 mh-mhn-compose-external-compressed-tar to
d57727c9
JB
2691 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
2692 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
2693 mh-mh-compose-external-type.
2694 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
2695 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
2696 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
2697 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
2698 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
2699 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
2700 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
2701 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
2702 (mh-letter-complete-or-space, mh-letter-confirm-address)
2703 (mh-letter-next-header-field-or-indent)
2704 (mh-letter-previous-header-field)
13fe29bd
BW
2705 (mh-letter-toggle-header-field-display): Sync docstrings with
2706 manual.
0c47b17c 2707
13fe29bd
BW
2708 * mh-customize.el (mh-edit-mhn-hook): Rename to
2709 mh-mh-to-mime-hook.
0c47b17c
BW
2710 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
2711 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
2712 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 2713 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
2714 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
2715 mh-pgp-support-flag.
2716 (mh-compose-insertion, mh-compose-space-does-completion-flag)
2717 (mh-delete-yanked-msg-window-flag)
2718 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
2719 (mh-letter-complete-function, mh-letter-fill-column)
2720 (mh-mml-method-default, mh-signature-file-name)
2721 (mh-signature-separator-flag, mh-x-face-file)
2722 (mh-yank-behavior, mail-citation-hook)
2723 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
2724 with manual.
2725
2726 * mh-gnus.el (mml-minibuffer-read-disposition): New function
2727 provided for Emacs 21 environments that lack it.
2728
2729 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
2730 prompt convention.
2731 (mh-compose-forward): mh-mh-forward-message requires string arg.
2732 (mh-minibuffer-read-type): New function.
2733 (mh-mhn-args): Rename to mh-mh-to-mime-args.
2734 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
2735 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
2736 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
2737 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
d57727c9 2738 Rename mh-mhn-compose-external-type to mh-mh-compose-external-type.
0c47b17c 2739 (mh-mhn-compose-external-compressed-tar): Rename to
d57727c9 2740 mh-mh-compose-external-compressed-tar. Rename
13fe29bd 2741 mh-mhn-compose-external-type to mh-mh-compose-external-type.
d57727c9
JB
2742 (mh-mhn-compose-external-type): Rename to mh-mh-compose-external-type.
2743 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
2744 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
2745 Use correct program in message.
2746 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
2747 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
2748 (mh-compose-forward, mh-mh-attach-file)
2749 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2750 (mh-mh-compose-external-type, mh-mh-forward-message)
2751 (mh-mml-attach-file): Use mml-minibuffer-read-description,
2752 mh-minibuffer-read-type.
2bd87afb 2753 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
2754 Emacs 20 to docstring.
2755 (mh-mh-compose-external-type): Rename extra-param argument to
2756 parameters.
2bd87afb 2757 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
2758 (mh-mime-display-part, mh-mime-display-single): Rename
2759 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
2760 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
2761 mh-mh-attach-file.
2762 (mh-compose-forward): Rename mh-mhn-compose-forw to
2763 mh-mh-forward-message.
2764 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
2765 mh-mh-compose-type.
2766 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
2767 (mh-mh-attach-file, mh-mh-compose-type)
2768 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
2769 (mh-mh-compose-external-compressed-tar)
2770 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 2771 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
2772 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
2773 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
2774 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
2775 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
2776 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
2777 Sync docstrings with manual.
2778
13fe29bd
BW
2779 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
2780 mh-pgp-support-flag.
0c47b17c 2781
fba3b4d8
PG
27822005-10-17 Peter S Galbraith <psg@debian.org>
2783
d57727c9
JB
2784 * mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case'
2785 to compare against header field for mixed-case "From:".
fba3b4d8 2786
ffda926c
BW
27872005-10-17 Bill Wohler <wohler@newt.com>
2788
2bd87afb 2789 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
2790 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
2791 to mail/compose, fld_open to fld-open.
13fe29bd
BW
2792 (mh-letter-tool-bar-map): Rename image file mail_send to
2793 mail/send.
ffda926c 2794
8f552dc8
BW
27952005-10-16 Bill Wohler <wohler@newt.com>
2796
79af55a7
BW
2797 * mh-comp.el (mh-display-completion-list-compat): New macro which
2798 calls `display-completion-list' correctly in older environments.
2799 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
2800 argument.
2801 (mh-complete-word): Use it.
2802
8f552dc8 2803 * mh-init.el (mh-image-load-path): Use locate-library to find
d57727c9 2804 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
2805 statements even more.
2806
7c164e0c
SD
28072005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
2808
2809 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
2810 causes a compiler warning.
2811
2812 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
2813 the message to be viewed (closes SF #1306141).
2814
f5fab556
MY
28152005-10-16 Masatake YAMATO <jet@gyve.org>
2816
13fe29bd
BW
2817 * mh-comp.el (mh-complete-word): Pass the common prefix substring
2818 of completion to `display-completion-list'.
f5fab556 2819
2416ec64
SD
28202005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
2821
2822 * mh-init.el (mh-image-load-path-called-flag): New variable which
2823 is used by mh-image-load-path so that it runs only once.
d57727c9 2824 (mh-image-load-path): Modify so that it gets run only once. Also
13fe29bd 2825 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
2826
2827 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
2828 to find images used in the toolbar.
2829
2830 * mh-customize.el (:folder): Remove call to mh-image-load-path.
2831
a9954630
BW
28322005-10-14 Bill Wohler <wohler@newt.com>
2833
2bd87afb 2834 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 2835
481821c8 28362005-10-14 Bill Wohler <wohler@newt.com>
5b004a34
BW
2837
2838 Released MH-E version 7.85.
2bd87afb
SM
2839
2840 * mh-e.el (Version, mh-version): Update for release 7.85.
2841
a10f4ace
BW
28422005-10-14 Bill Wohler <wohler@newt.com>
2843
d57727c9
JB
2844 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
2845 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
2846 need to be indented.
2847
5b004a34 2848 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
d57727c9 2849 but the code that invoked the face had not been updated. Tick
13fe29bd 2850 highlighting working again.
5b004a34 2851
13fe29bd
BW
2852 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
2853 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
2854 CVS Emacs.
2855
2bd87afb 2856 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
2857 with read-string.
2858
a05fcb7d 28592005-10-09 Bill Wohler <wohler@newt.com>
c727526b 2860
a05fcb7d
BW
2861 * mh-init.el (mh-image-load-path): New function that adds the path
2862 to the MH-E images to the image-load-path or load-path depending
2863 on the version of Emacs.
c727526b 2864
a05fcb7d
BW
2865 * mh-customize.el: Call mh-image-load-path just before
2866 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 2867
a05fcb7d 28682005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 2869
2bd87afb
SM
2870 * ChangeLog: Move contents into ChangeLog.1 and trim.
2871
d57727c9 2872 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 2873
47570699 2874
d7a0267c 2875 Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
e9be14aa 2876
5b87ad55
GM
2877 This file is part of GNU Emacs.
2878
2879 GNU Emacs is free software; you can redistribute it and/or modify
2880 it under the terms of the GNU General Public License as published by
2881 the Free Software Foundation; either version 2, or (at your option)
2882 any later version.
2883
2884 GNU Emacs is distributed in the hope that it will be useful,
2885 but WITHOUT ANY WARRANTY; without even the implied warranty of
2886 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2887 GNU General Public License for more details.
2888
2889 You should have received a copy of the GNU General Public License
2890 along with GNU Emacs; see the file COPYING. If not, write to the
2891 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2892 Boston, MA 02110-1301, USA.
ab5796a9 2893
13fe29bd
BW
2894;; Local Variables:
2895;; sentence-end-double-space: nil
33462dfa 2896;; add-log-time-zone-rule: t
13fe29bd
BW
2897;; End:
2898
ab5796a9 2899;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51