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