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