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