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