* cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist):
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
d49ed7d4
BW
12006-01-01 Bill Wohler <wohler@newt.com>
2
3 * mh-customize.el: Sync docstrings with manual for faces and sort
4 them alphabetically.
5 (mh-faces): Move below mh-hooks.
6 (mh-folder-faces, mh-index-faces, mh-letter-faces)
7 (mh-show-faces, mh-speed-faces): Delete. Organize faces like
8 hooks.
9 (mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
10 (facemenu-unlisted-faces): Might as well ignore all MH-E faces.
11 (mh-folder-body-face, mh-folder-cur-msg-face)
12 (mh-folder-cur-msg-number-face, mh-folder-date-face)
13 (mh-folder-followup-face, mh-folder-msg-number-face)
14 (mh-folder-deleted-face, mh-folder-refiled-face)
15 (mh-folder-subject-face, mh-folder-address-face)
16 (mh-folder-scan-format-face, mh-folder-to-face)
17 (mh-index-folder-face, mh-show-cc-face, mh-show-date-face)
18 (mh-show-header-face, mh-show-pgg-good-face)
19 (mh-show-pgg-unknown-face, mh-show-pgg-bad-face)
20 (mh-show-to-face, mh-show-from-face, mh-show-subject-face):
21 Delete.
22 (mh-folder-cur-msg): Unused. Delete.
23 (mh-folder-address): Use defface; inherit from mh-folder-subject.
24 (mh-folder-body, mh-folder-cur-msg-number, mh-folder-date):
25 Inherit from mh-folder-msg-number.
26 (mh-folder-deleted): Use defface. Inherit from
27 mh-folder-msg-number.
28 (mh-folder-sent-to-me-hint): New face. Inherit from
29 mh-folder-date.
30 (mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format.
31 Use defface. Inherit from mh-folder-followup.
32 (mh-show-xface): Inherit from mh-show-from and highlight.
33 (bw-face-generation, bw-toggle-faces)
34 (bw-new-face-to-old, bw-old-face-to-new): New (tempoarary)
35 variables, functions for toggling between old and new faces.
36
37 * mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
38 eval-when-compile. We should probably do this throughout.
39 (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
40 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
41 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
42 (mh-scan-subject-regexp): Sync docstrings with manual
43 (mh-scan-format-regexp): Rename to
44 mh-scan-sent-to-me-sender-regexp. Drop date parenthesized
45 expression. Make expression more like the others (anchored at the
46 beginning of line). Sync docstrings with manual.
47 (mh-folder-font-lock-keywords): Use faces directly rather than
48 -face variables. Use mh-scan-sent-to-me-sender-regexp instead of
49 mh-scan-format-regexp, and within that expression, use faces
50 mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead
51 of mh-folder-date-face and mh-folder-scan-format-face which were
52 misleading.
53
54 * mh-mime.el (mh-mime-security-button-face): Use faces directly
55 rather than -face variables.
56
57 * mh-utils.el (mh-show-font-lock-keywords): Use faces directly
58 rather than -face variables.
59 (mh-face-foreground-compat, mh-face-background-compat): New macros.
60 (mh-face-display-function): Use mh-face-foreground-compat and
61 mh-face-background-compat to use inherited attributes of
62 mh-show-xface on Emacs 22 while still working on Emacs 21.
63
0d887b77
BW
642005-12-28 Bill Wohler <wohler@newt.com>
65
66 * mh-comp.el (mh-e-user-agent): Move here from simple.el. Use
67 mh-user-agent-compose instead of mh-smail-batch.
68
13fe29bd
BW
692005-12-27 Bill Wohler <wohler@newt.com>
70
71 * mh-utils.el (mh-prompt-for-folder): Use can-create argument to
72 suppress creation of folder if it doesn't exist.
73
2bd87afb
SM
742005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * mh-utils.el (mh-process-daemon): Don't change buffer in proc-filter.
77
5a4aad03
BW
782005-12-23 Bill Wohler <wohler@newt.com>
79
7ba8dffd
BW
80 * mh-e.el (mh-folders-changed): Fix typo in docstring.
81
13fe29bd
BW
82 Follow MH-E Developers Guide conventions. Use `' quotes for Help
83 hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
84 everything else. Otherwise, you can accidently get links to
5a4aad03 85 nonsense symbols.
2bd87afb 86
d1699462
BW
872005-12-22 Bill Wohler <wohler@newt.com>
88
13fe29bd 89 Follow Emacs coding conventions. Use default setting of
2dcf34f9 90 emacs-lisp-docstring-fill-column which is 65.
2bd87afb 91
d1699462
BW
92 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
93
94 * mh-comp.el (mh-letter-mode): Use 60 column width.
95 (mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
96 with manual.
97 (mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if
98 you have added a mail-citation-hook and neither are used if you
13fe29bd
BW
99 use one of the supercite flavors of mh-yank-behavior. Sync
100 docstrings with manual.
d1699462 101
13fe29bd
BW
102 * mh-customize.el (mh-kill-folder-suppress-prompt-hooks): Rename
103 from mh-kill-folder-suppress-prompt-hook since it is an abnormal
104 hook. Use "Hook run by `function'..." instead of "Invoked...".
d1699462
BW
105 Sync docstrings with manual.
106 (mh-ins-buf-prefix, mh-yank-behavior): Mention that
107 mh-ins-buf-prefix isn't used if you have added a
108 mail-citation-hook and neither are used if you use one of the
13fe29bd
BW
109 supercite flavors of mh-yank-behavior. Sync docstrings with
110 manual.
111 (mail-citation-hook): Delete. Use one in sendmail.el.
d1699462
BW
112 (mh-signature-file-name, mh-after-commands-processed-hook)
113 (mh-alias-reloaded-hook, mh-before-commands-processed-hook)
114 (mh-before-quit-hook, mh-before-send-letter-hook)
115 (mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
116 (mh-forward-hook, mh-inc-folder-hook, mh-insert-signature-hook)
117 (mh-letter-mode-hook)
118 (mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
119 (mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
120 (mh-unseen-updated-hook): Use "Hook run by `function'..." instead
13fe29bd 121 of "Invoked...". Sync docstrings with manual.
d1699462
BW
122
123 * mh-e.el (mh-last-destination, mh-last-destination-folder)
124 (mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
125 (mh-delete-list, mh-refile-list, mh-folders-changed)
126 (mh-next-direction, mh-view-ops, mh-folder-view-stack)
127 (mh-index-data, mh-first-msg-num, mh-last-msg-num)
128 (mh-mode-line-annotation, mh-sequence-notation-history)
129 (mh-colors-available-flag): Move comment into docstring.
2bd87afb
SM
130 (mh-delete-msg, mh-execute-commands, mh-inc-folder, mh-quit)
131 (mh-process-commands): Sync docstrings with manual.
d1699462
BW
132 (mh-refile-msg): Small doc edit.
133 (mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
134 Rename msg argument to message.
135
136 * mh-funcs.el (mh-kill-folder): Sync docstrings with manual.
137
138 * mh-e.el (mh-update-unseen): No longer say "The value of
139 `foo-hook' is a list of functions to be called, with no arguments,
140 ...," but rather just "The hook foo-hook is called...".
141
2bd87afb 142 * mh-mime.el (mh-mh-to-mime): Ditto.
d1699462
BW
143
144 * mh-pick.el (mh-pick-mode): Ditto.
145
146 * mh-utils.el (mh-showing-mode): Use uppercase for argument in
147 docstring.
148 (mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
149 into docstring.
13fe29bd
BW
150 (mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
151 manual.
d1699462 152
2bd87afb 1532005-12-19 Stephen Gildea <gildea@stop.mail-abuse.org>
2953de8c 154
13fe29bd
BW
155 * mh-customize.el (mh-after-commands-processed-hook): New
156 variable.
157 (mh-before-commands-processed-hook): Rename
158 mh-folder-updated-hook.
2953de8c 159
13fe29bd
BW
160 * mh-e.el (mh-process-commands): Rename mh-folder-updated-hook to
161 mh-before-commands-processed-hook, call new
2953de8c
SG
162 mh-after-commands-processed-hook.
163 (mh-folders-changed): New variable (for use in
164 mh-after-commands-processed-hook).
165
cee9f5c6
BW
1662005-12-19 Bill Wohler <wohler@newt.com>
167
168 * mh-acros.el:
169 * mh-alias.el:
170 * mh-comp.el:
171 * mh-customize.el:
172 * mh-e.el:
173 * mh-funcs.el:
174 * mh-gnus.el:
175 * mh-identity.el:
176 * mh-inc.el:
177 * mh-index.el:
178 * mh-init.el:
179 * mh-junk.el:
180 * mh-mime.el:
181 * mh-pick.el:
182 * mh-print.el:
183 * mh-seq.el:
184 * mh-speed.el:
185 * mh-utils.el:
13fe29bd
BW
186 Follow commenting conventions. Don't use ;;; form so much, except
187 for headings. Precede headings with page feed. This was mostly
188 already done, so I made it a convention. Did not update copyright
cee9f5c6
BW
189 on a couple of files since this was an insignificant change.
190
fa4075e3
BW
1912005-12-18 Bill Wohler <wohler@newt.com>
192
193 * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
194 (mh-tool-bar-search-function): Sync docstrings with manual.
13fe29bd
BW
195 (mh-tool-bar-customize): Replace toolbar with tool bar in
196 docstring.
fa4075e3
BW
197 (mh-tool-bar-letter-help): Fix manual reference.
198 (mh-xemacs-use-toolbar-flag): Rename to
13fe29bd
BW
199 mh-xemacs-use-tool-bar-flag. Initialize to
200 mh-xemacs-has-tool-bar-flag. Sync docstrings with manual.
fa4075e3 201 (mh-xemacs-toolbar-position): Rename to
13fe29bd 202 mh-xemacs-tool-bar-position. Initialize to nil. Drop "no tool bar"
fa4075e3
BW
203 option (redundant) and change "Same As Default Tool Bar" setting
204 to nil. Sync docstrings with manual.
205 (mh-tool-bar-define): Replace toolbar with tool-bar or tool bar
206 depending on context.
13fe29bd
BW
207 (mh-toolbar-init): Rename to mh-tool-bar-init. Simplify condition
208 for calling set-specifier. Only look at the value of
209 mh-xemacs-use-tool-bar-flag.
210 (mh-tool-bar-folder-buttons, mh-tool-bar-letter-buttons): Sync
211 docstrings with manual.
fa4075e3
BW
212
213 * mh-comp.el (mh-letter-mode): Use mh-tool-bar-init instead of
214 mh-toolbar-init.
215
216 * mh-e.el (mh-folder-mode): Ditto.
217
218 * mh-utils.el (mh-show-mode): Ditto.
219
7a5df5a9
BW
2202005-12-15 Bill Wohler <wohler@newt.com>
221
222 * mh-e.el (mh-delete-msg): Sync docstrings with manual.
223
224 * mh-seq.el (mh-delete-subject, mh-thread-next-sibling)
225 (mh-thread-previous-sibling, mh-thread-ancestor)
226 (mh-thread-delete, mh-thread-refile): Ditto.
227
6b960c10
BW
2282005-12-14 Bill Wohler <wohler@newt.com>
229
230 * mh-customize.el (mh-speed-flists-interval): Rename to
231 mh-speed-update-interval.
13fe29bd
BW
232 (mh-speed-run-flists-flag): Delete. Setting
233 mh-speed-flists-interval to 0 accomplishes the same thing.
6b960c10 234
13fe29bd
BW
235 * mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
236 mh-speed-update-interval instead of mh-speed-run-flists-flag.
237 (mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync
238 docstrings with manual.
6b960c10 239
97c688ed
BW
2402005-12-09 Bill Wohler <wohler@newt.com>
241
242 * mh-customize.el (mh-path): Move here from mh-init.el.
243 (mh-variant): Mention that mh-path can be customized.
244 (mh-invisible-header-fields-internal): Add X-ContentStamp,
245 X-MAIL-INFO, and X-UNTD- from NetZero.
246
247 * mh-init.el (mh-path): Move defcustom to mh-customize.el.
248
2be362c2
BW
2492005-12-04 Bill Wohler <wohler@newt.com>
250
f15ced66
BW
251 * mh-customize.el (mh-sortm-args): Sync docstrings with manual.
252 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
253 X-Virus-Scanned.
2bd87afb 254
13fe29bd
BW
255 * mh-customize.el (mh-insert-signature-hook): Rename
256 mh-letter-insert-signature-hook to mh-insert-signature-hook.
f15ced66
BW
257
258 * mh-comp.el (mh-insert-signature): Ditto.
259
56128d97 260 * mh-customize.el (mh-fetch-x-image-url): Change default from 'ask
13fe29bd 261 to nil. Remove t option. Sync docstring with manual (closes SF
56128d97
BW
262 #831278).
263 (mh-invisible-header-fields-internal): Remove X-Image-URL so that
264 users can see it, look it up in the manual's index, and discover
265 mh-fetch-x-image-url (closes SF #831278).
a932ce45 266
a8a47814
BW
267 * mh-customize.el (mh-new-messages-folders): Rename from
268 mh-index-new-messages-folders.
269 (mh-ticked-messages-folders): Rename from
270 mh-index-ticked-messages-folders.
2bd87afb 271
a8a47814
BW
272 * mh-index.el (mh-index-sequenced-messages)
273 (mh-index-new-messages): Ditto.
274
2be362c2 275 * mh-comp.el (mh-forward): Went over all uses of the word "RANGE"
13fe29bd 276 in the docstrings and made usage consistent. Generally speaking,
2be362c2 277 "messages in range" and "range of messages" is redundant and just
13fe29bd 278 "range" can be used in most circumstances. Also ensured that
2be362c2 279 mh-interactive-range was mentioned in all interactive functions
f15ced66
BW
280 that use a range which describes the range argument for both users
281 and programmers.
2be362c2
BW
282
283 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg)
284 (mh-refile-or-write-again, mh-rescan-folder, mh-undo)
285 (mh-visit-folder, mh-scan-folder, mh-regenerate-headers)
13fe29bd
BW
286 (mh-notate-user-sequences, mh-delete-msg-from-seq, mh-catchup):
287 Ditto.
2be362c2 288
13fe29bd
BW
289 * mh-funcs.el (mh-copy-msg, mh-pack-folder, mh-pack-folder-1):
290 Ditto.
2be362c2
BW
291
292 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Ditto.
293
294 * mh-print.el (mh-ps-print-range, mh-ps-print-msg)
295 (mh-ps-print-msg-file, mh-print-msg): Ditto.
296
297 * mh-seq.el (mh-put-msg-in-seq, mh-range-to-msg-list)
298 (mh-narrow-to-range, mh-toggle-tick): Ditto.
299
553fb735
BW
3002005-12-01 Bill Wohler <wohler@newt.com>
301
302 Rewrote Reading Mail chapter in manual which affected mh-show
303 customization group and related functions.
2bd87afb 304
553fb735
BW
305 * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style
306 instead of mh-highlight-citation-p.
307 (mh-letter-toggle-header-field-display): "Ellipsed" isn't a word,
308 I think, so use "truncated".
309
310 * mh-customize.el (mh-folder, mh-folder-faces): Group's manual
13fe29bd 311 section is Folders, not Organizing. Parent of mh-folder-faces is
553fb735
BW
312 mh-folder, not mh-show.
313 (mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
314 (mh-thread): New group that corresponds with manual's Threading
315 chapter.
316 (mh-letter-faces): Group's manual section is Editing Drafts, not
317 Sending Mail.
13fe29bd
BW
318 (mh-sortm-args): New customization variable that used to be a
319 defvar.
553fb735
BW
320 (mh-index-new-messages-folders, mh-index-ticked-messages-folders):
321 Move from mh-index group to mh-folders group.
322 (mh-alias-local-users-prefix, mh-large-folder)
323 (mh-recursive-folders-flag, mh-before-quit-hook)
324 (mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
325 (mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
326 mh-folder group.
327 (mh-highlight-citation-style): Rename from
13fe29bd
BW
328 mh-highlight-citation-p. Sync docstrings with manual.
329 (mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings
553fb735 330 with manual.
13fe29bd
BW
331 (mh-show-threads-flag): Move from mh-show group to mh-thread
332 group.
553fb735
BW
333 (mh-find-path-hook): Move from mh-show group to mh-e group.
334 (mh-folder-updated-hook): Add to mh-folder group.
335 (mh-forward-hook): Move from mh-folder to mh-sending-mail group.
336 (mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
337 (mh-bury-show-buffer-flag, mh-clean-message-header-flag)
338 (mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
339 (mh-display-buttons-for-inline-parts-flag)
340 (mh-do-not-confirm-flag, mh-fetch-x-image-url)
341 (mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
342 (mh-invisible-header-fields-default, mh-invisible-header-fields)
343 (mh-lpr-command-format, mh-max-inline-image-height)
344 (mh-max-inline-image-width)
345 (mh-mime-save-parts-default-directory, mh-print-background-flag)
346 (mh-show-maximum-size, mh-show-use-goto-addr-flag)
347 (mh-show-use-xface-flag, mh-store-default-directory)
348 (mh-summary-height, mh-delete-msg-hook
349 (mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
2bd87afb 350
553fb735
BW
351 * mh-e.el
352 (mh-scan-format-mh, mh-scan-good-msg-regexp)
353 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
13fe29bd
BW
354 (mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
355 non-fontification instead of non-fontifying.
553fb735 356 (mh-header-display): Use mh-mhl-format-file instead of
13fe29bd 357 mhl-formfile. Sync docstrings with manual.
553fb735 358 (mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
13fe29bd 359 count. Sync docstrings with manual.
553fb735 360 (mh-refile-or-write-again): Use output from mh-write-msg-to-file
13fe29bd
BW
361 so that message doesn't change when using this command. Sync
362 docstrings with manual.
363 (mh-page-msg, mh-previous-page): Rename arg to lines. Sync
364 docstrings with manual.
365 (mh-write-msg-to-file): Rename msg to message. Rename no-headers
366 to no-header. Sync docstrings with manual.
553fb735
BW
367 (mh-ps-print-map): Delete keybindings for deleted commands
368 mh-ps-print-toggle-mime and mh-ps-print-msg-show.
2bd87afb 369 (mh-help-messages): Update printing help.
553fb735
BW
370 (mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
371 (mh-last-msg, mh-previous-unread-msg, mh-next-button)
372 (mh-prev-button, mh-folder-toggle-mime-part)
373 (mh-folder-inline-mime-part, mh-folder-save-mime-part)
374 (mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
375 manual.
376
13fe29bd
BW
377 * mh-funcs.el (mh-sortm-args): Now a customization option and in
378 mh-customize.el.
379 (mh-pipe-msg): Rename include-headers to include-header. Sync
380 docstrings with manual.
553fb735
BW
381 (mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
382 (mh-store-msg): Sync docstrings with manual.
383
13fe29bd
BW
384 * mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
385 docstrings with manual.
553fb735
BW
386 (mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
387 Sync docstrings with manual.
13fe29bd
BW
388 (mh-mm-display-part, mh-mm-inline-message): Use
389 mh-highlight-citation-style instead of mh-highlight-citation-p.
553fb735
BW
390 (mh-press-button): Sync docstrings with manual.
391 (mh-display-with-external-viewer): Fix default output in
13fe29bd 392 minibuffer. Sync docstrings with manual.
553fb735 393
13fe29bd
BW
394 * mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime):
395 Delete.
553fb735
BW
396 (mh-ps-print-color-option): Incorporate docstring from
397 ps-print-color-p.
13fe29bd
BW
398 (mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
399 docstring.
400 (mh-ps-spool-msg): Slimline docstring. Rename from
401 mh-ps-spool-a-msg. Rewrite to use existing show buffer when
402 available.
553fb735
BW
403 (mh-ps-print-range): Extract method from common code in
404 mh-ps-print-msg and mh-ps-print-msg-file.
13fe29bd
BW
405 (mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
406 (mh-ps-print-msg-show): Delete. Can use either
553fb735
BW
407 mh-ps-print-msg-show or mh-ps-print-msg-show to same effect with
408 new code in mh-ps-spool-msg.
409 (mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile.
410 Sync docstrings with manual.
411 (mh-ps-print-msg, mh-ps-print-msg-file)
13fe29bd
BW
412 (mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync
413 docstrings with manual.
553fb735 414
2bd87afb 415 * mh-utils.el (mh-show-ps-print-msg-show)
553fb735 416 mh-show-ps-print-toggle-mime): Delete.
2bd87afb 417 (mh-show-ps-print-map): Update accordingly.
553fb735
BW
418 (mh-show-mode): Use mh-highlight-citation-style instead of
419 mh-highlight-citation-p.
420 (mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
421 mhl-formfile.
13fe29bd
BW
422 (mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
423 docstrings with manual.
424 (mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
425 docstrings with manual.
553fb735
BW
426
4272005-12-01 Bill Wohler <wohler@newt.com>
428
429 * mh-init.el (mh-defface-compat): Checkdoc fix.
430
431 * mh-junk.el (mh-bogofilter-blacklist, mh-bogofilter-whitelist):
13fe29bd
BW
432 Bogofilter is lowercase except at beginning of sentence and in
433 titles.
553fb735 434
94abd6b7
BW
4352005-11-04 Bill Wohler <wohler@newt.com>
436
6b19bd82
BW
437 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
438 Move to mh-init.el to minimize bulk of mh-customize.el.
439
440 * mh-init.el: Modify commentary since file is used for load and
441 initialization as well as setting and getting the variant.
13fe29bd
BW
442 (mh-min-colors-defined-flag, mh-defface-compat): Move here from
443 mh-customize.el.
6b19bd82 444
13fe29bd
BW
445 * mh-customize.el: Refactor faces. Move grayscale requirements
446 last before t. Use uniform line breaks.
3d2efec2 447 (mh-min-colors-defined-flag): New variable.
13fe29bd 448 (mh-defface-compat): New function. Provides backward compatibility
3d2efec2 449 for face specs.
2bd87afb
SM
450 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
451 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
3d2efec2 452 (mh-folder-body): Use mh-defface-compat.
94abd6b7 453
b07e0686
DN
4542005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
455
456 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
457 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
458 (mh-folder-to-face): Use the min-colors attribute instead of the
459 type attribute.
460
be33fce4
BW
4612005-11-03 Bill Wohler <wohler@newt.com>
462
463 * mh-customize.el (mh-refile-preserves-sequences-flag)
13fe29bd
BW
464 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
465 docstrings with manual.
be33fce4
BW
466
467 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
468
2bd87afb 469 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
be33fce4
BW
470 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
471 with manual.
472
93eece98
BW
4732005-11-01 Bill Wohler <wohler@newt.com>
474
13fe29bd
BW
475 * mh-comp.el (mh-redist-full-contents) Convert defvar to
476 defcustom.
b2064e08
BW
477 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
478 (mh-reply, mh-send, mh-send-other-window)
479 (mh-fill-paragraph-function): Sync docstrings with manual.
13fe29bd
BW
480 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
481 msg argument to message (to make for a better docstring).
b2064e08
BW
482
483 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
13fe29bd 484 to defcustom. Rename by adding -flag.
b2064e08
BW
485 (mh-compose-forward-as-mime-flag)
486 (mh-compose-letter-function, mh-forward-subject-format)
487 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
488 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
489 with manual.
490
2bd87afb 491 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
93eece98 492 (mh-ps-print-msg): Remove debugging messages.
2bd87afb 493 (mh-ps-print-msg-show, mh-ps-print-msg-show)
93eece98
BW
494 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
495 after message per conventions.
496
fefc5079
BW
4972005-10-30 Bill Wohler <wohler@newt.com>
498
2bd87afb 499 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
13fe29bd
BW
500 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
501 docstrings with manual.
ece9cbf7 502
fefc5079
BW
503 * mh-customize.el (mh-compose-space-does-completion-flag)
504 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
505 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
13fe29bd
BW
506 means" to remain checkdoc clean and consistent with Emacs. I
507 raised this issue with the Emacs developers and Stallman agrees
fefc5079
BW
508 that "On means" should be allowed in custom docstrings but that
509 this change requires thought and should wait until after the Emacs
510 22 release.
511
ec397a34
BW
5122005-10-28 Bill Wohler <wohler@newt.com>
513
50df64d6
BW
514 * mh-comp.el (mh-annotate-msg): Use new variable
515 mh-scan-field-destination-offset rather than hard-coding 1.
516
517 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
518 docstring.
13fe29bd
BW
519 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
520 functions to check input for mh-adaptive-cmd-note-flag and
50df64d6
BW
521 mh-scan-format-file respectively.
522 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
523 add :set.
524
13fe29bd
BW
525 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
526 destination is the -, t, b, c, or n character for Replied, To, cc,
50df64d6
BW
527 Bcc, or Newsgroups respectively.
528 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
529 Call new function mh-msg-num-width-to-column to make leap between
530 width and column more explicit.
531 (mh-msg-num-width-to-column): New function that steals logic from
13fe29bd 532 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
50df64d6
BW
533 isn't t since we can't adapt the scan lines in this case.
534 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
535 make the documentation more clear.
536 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
537 column, not a width.
538 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
13fe29bd
BW
539 variable mh-scan-field-destination-offset rather than hard-coding
540 1.
50df64d6
BW
541
542 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
543 (mh-notate): Use new variable mh-scan-field-destination-offset
544 rather than hard-coding 1.
545 (mh-message-number-width): Rename to mh-msg-num-width to be
546 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
547
ec397a34
BW
548 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
549 (mail-citation-hook): Quote URLs in docstrings and precede with
13fe29bd
BW
550 `URL'. The former will suppress checkdoc warnings, the latter will
551 turn them into hyperlinks in Emacs 22 (I just added the code to do
552 that today).
ec397a34
BW
553 (mh-scan-format-file): Checkdoc fix.
554
169a3241
BW
5552005-10-27 Bill Wohler <wohler@newt.com>
556
e069fa61
BW
557 * mh-customize.el (mh-adaptive-cmd-note-flag)
558 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
559
560 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
561 (mh-note-cur, mh-scan-good-msg-regexp)
562 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
563 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
564 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
565 (mh-scan-subject-regexp, mh-scan-format-regexp)
566 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
567 with manual.
568
569 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
570
571 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
572 of hard-coded string.
13fe29bd
BW
573 (mh-mail-header-separator, mh-signature-separator-regexp): Use
574 "regular expression" in docstring instead of regexp.
e069fa61
BW
575 (mh-scan-msg-number-regexp)
576 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
577 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
578 (mh-cmd-note): Sync docstrings with manual.
579
3b463df0
BW
580 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
581 Checkdoc fixes.
582
583 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
2bd87afb
SM
584
585 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
586 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
587 (mh-mml-secure-message-signencrypt): Ditto.
169a3241 588
4a263988
BW
5892005-10-24 Bill Wohler <wohler@newt.com>
590
591 * mh-gnus.el: Load mml.el in order to see if
592 mml-minibuffer-read-disposition is defined or not.
593
594 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
595 mml autoloads.
596
97c60a38
MB
5972005-10-23 Miles Bader <miles@gnu.org>
598
599 * .arch-inventory: New file.
600
9a51cf9e
BW
6012005-10-23 Bill Wohler <wohler@newt.com>
602
13fe29bd
BW
603 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
604 docstring with manual.
136e0283 605
9a51cf9e
BW
606 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
607 mh-alias.el and move to mh-acros.el
608
609 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
610 mh-identity.el and move to mh-acros.el
611
612 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
613 mh-identity.el and mh-alias.el.
614
615 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
616 warning in Emacs 22.
617
1dd9796d
SD
6182005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
619
620 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
621 assoc-string (if the function is available) and falls back on
622 assoc-ignore-case if assoc-string is not found.
623 (mh-identity-field-handler): Use mh-assoc-ignore-case since
624 assoc-ignore-case is a obsolete function in Emacs 22.
625
626 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
627 track of whether the tool-bar in mh-folder-mode has been
628 initialized yet.
629 (mh-folder-mode): Initialize the tool-bar for folders the first
630 time we get into mh-letter-mode.
631
632 * mh-customize.el (mh-buffer-exists-p): New function which tests
633 presence of buffers of a given mode.
634 (mh-tool-bar-define): New functions
635 mh-tool-bar-folder-buttons-init and
13fe29bd 636 mh-tool-bar-letter-buttons-init are defined. These functions are
1dd9796d
SD
637 used to create the tool-bar from the corresponding customizable
638 variables.
639
640 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
641 keeps track of whether the tool-bar in mh-letter-mode has been
642 initialized yet.
643 (mh-letter-mode): Initialize the tool-bar for drafts the first
644 time we get into mh-letter-mode.
645
0c47b17c
BW
6462005-10-23 Bill Wohler <wohler@newt.com>
647
13fe29bd
BW
648 * mh-comp.el (mh-letter-menu): Rename
649 mh-mhn-compose-external-compressed-tar to
650 mh-mh-compose-external-compressed-tar. Rename
651 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
652 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
653 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
654 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
655 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
0c47b17c
BW
656 to 'mh.
657 (mh-insert-signature): Rename mh-mhn-directive-present-p to
658 mh-mh-directive-present-p.
659 (mh-send-letter): Rename mh-mhn-directive-present-p to
13fe29bd
BW
660 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
661 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
662 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
663 mh-mhn-compose-external-compressed-tar to
664 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
665 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
666 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
667 mh-mh-compose-anon-ftp. Rename
668 mh-mhn-compose-external-compressed-tar to
669 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
670 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
0c47b17c
BW
671 mh-mh-compose-external-type.
672 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
673 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
13fe29bd
BW
674 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
675 mh-yank-from-start-of-msg to mh-yank-behavior.
0c47b17c
BW
676 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
677 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
678 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
679 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
680 (mh-letter-complete-or-space, mh-letter-confirm-address)
681 (mh-letter-next-header-field-or-indent)
682 (mh-letter-previous-header-field)
13fe29bd
BW
683 (mh-letter-toggle-header-field-display): Sync docstrings with
684 manual.
0c47b17c 685
13fe29bd
BW
686 * mh-customize.el (mh-edit-mhn-hook): Rename to
687 mh-mh-to-mime-hook.
0c47b17c
BW
688 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
689 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
690 and user-visible values from mhn and Gnus to MH and MML.
2bd87afb 691 (mh-before-send-letter-hook): Add 'ispell-message option.
0c47b17c
BW
692 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
693 mh-pgp-support-flag.
694 (mh-compose-insertion, mh-compose-space-does-completion-flag)
695 (mh-delete-yanked-msg-window-flag)
696 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
697 (mh-letter-complete-function, mh-letter-fill-column)
698 (mh-mml-method-default, mh-signature-file-name)
699 (mh-signature-separator-flag, mh-x-face-file)
700 (mh-yank-behavior, mail-citation-hook)
701 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
702 with manual.
703
704 * mh-gnus.el (mml-minibuffer-read-disposition): New function
705 provided for Emacs 21 environments that lack it.
706
707 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
708 prompt convention.
709 (mh-compose-forward): mh-mh-forward-message requires string arg.
710 (mh-minibuffer-read-type): New function.
711 (mh-mhn-args): Rename to mh-mh-to-mime-args.
712 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
713 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
714 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
715 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
13fe29bd
BW
716 Rename mh-mhn-compose-external-type to
717 mh-mh-compose-external-type.
0c47b17c 718 (mh-mhn-compose-external-compressed-tar): Rename to
13fe29bd
BW
719 mh-mh-compose-external-compressed-tar. Rename
720 mh-mhn-compose-external-type to mh-mh-compose-external-type.
721 (mh-mhn-compose-external-type): Rename to
722 mh-mh-compose-external-type.
723 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
724 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
0c47b17c
BW
725 Use correct program in message.
726 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
727 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
728 (mh-compose-forward, mh-mh-attach-file)
729 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
730 (mh-mh-compose-external-type, mh-mh-forward-message)
731 (mh-mml-attach-file): Use mml-minibuffer-read-description,
732 mh-minibuffer-read-type.
2bd87afb 733 (mh-mime-content-types): Move comment about only being used in
0c47b17c
BW
734 Emacs 20 to docstring.
735 (mh-mh-compose-external-type): Rename extra-param argument to
736 parameters.
2bd87afb 737 (mh-mml-to-mime, mh-secure-message, mh-mml-unsecure-message)
13fe29bd
BW
738 (mh-mime-display-part, mh-mime-display-single): Rename
739 mh-gnus-pgp-support-flag to mh-pgp-support-flag.
0c47b17c
BW
740 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
741 mh-mh-attach-file.
742 (mh-compose-forward): Rename mh-mhn-compose-forw to
743 mh-mh-forward-message.
744 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
745 mh-mh-compose-type.
746 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
747 (mh-mh-attach-file, mh-mh-compose-type)
748 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
749 (mh-mh-compose-external-compressed-tar)
750 (mh-mh-compose-external-type, mh-mh-forward-message)
2bd87afb 751 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp)
0c47b17c
BW
752 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
753 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
754 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
755 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
756 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
757 Sync docstrings with manual.
758
13fe29bd
BW
759 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
760 mh-pgp-support-flag.
0c47b17c 761
fba3b4d8
PG
7622005-10-17 Peter S Galbraith <psg@debian.org>
763
13fe29bd
BW
764 * mh-identity.el (mh-identity-field-handler): Use
765 `assoc-ignore-case' to compare against header field for mixed-case
fba3b4d8
PG
766 "From:".
767
ffda926c
BW
7682005-10-17 Bill Wohler <wohler@newt.com>
769
2bd87afb 770 * mh-customize.el (mh-folder-tool-bar-map): Rename image file
ffda926c
BW
771 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
772 to mail/compose, fld_open to fld-open.
13fe29bd
BW
773 (mh-letter-tool-bar-map): Rename image file mail_send to
774 mail/send.
ffda926c 775
8f552dc8
BW
7762005-10-16 Bill Wohler <wohler@newt.com>
777
79af55a7
BW
778 * mh-comp.el (mh-display-completion-list-compat): New macro which
779 calls `display-completion-list' correctly in older environments.
780 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
781 argument.
782 (mh-complete-word): Use it.
783
8f552dc8 784 * mh-init.el (mh-image-load-path): Use locate-library to find
13fe29bd 785 MH-E. This simplified the code a lot. Flattened out nested
8f552dc8
BW
786 statements even more.
787
7c164e0c
SD
7882005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
789
790 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
791 causes a compiler warning.
792
793 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
794 the message to be viewed (closes SF #1306141).
795
f5fab556
MY
7962005-10-16 Masatake YAMATO <jet@gyve.org>
797
13fe29bd
BW
798 * mh-comp.el (mh-complete-word): Pass the common prefix substring
799 of completion to `display-completion-list'.
f5fab556 800
2416ec64
SD
8012005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
802
803 * mh-init.el (mh-image-load-path-called-flag): New variable which
804 is used by mh-image-load-path so that it runs only once.
13fe29bd
BW
805 (mh-image-load-path): Modify so that it gets run only once. Also
806 flatten out heavily nested if statements to make it clearer.
2416ec64
SD
807
808 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
809 to find images used in the toolbar.
810
811 * mh-customize.el (:folder): Remove call to mh-image-load-path.
812
a9954630
BW
8132005-10-14 Bill Wohler <wohler@newt.com>
814
2bd87afb 815 * mh-e.el (Version, mh-version): Add +cvs to version.
a9954630 816
5b004a34
BW
8172005-10-14 Bill Wohler <wohler@newt.com>
818
819 Released MH-E version 7.85.
2bd87afb
SM
820
821 * mh-e.el (Version, mh-version): Update for release 7.85.
822
a10f4ace
BW
8232005-10-14 Bill Wohler <wohler@newt.com>
824
13fe29bd
BW
825 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el: *
826 mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
2bd87afb
SM
827 need to be indented.
828
5b004a34 829 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
13fe29bd
BW
830 but the code that invoked the face had not been updated. Tick
831 highlighting working again.
5b004a34 832
13fe29bd
BW
833 * mh-seq.el (mh-non-seq-mode-line-annotation): Move
834 make-variable-buffer-local call to top level to avoid warnings in
a10f4ace
BW
835 CVS Emacs.
836
2bd87afb 837 * mh-comp.el (mh-insert-letter): Replace deprecated read-input
a10f4ace
BW
838 with read-string.
839
a05fcb7d 8402005-10-09 Bill Wohler <wohler@newt.com>
c727526b 841
a05fcb7d
BW
842 * mh-init.el (mh-image-load-path): New function that adds the path
843 to the MH-E images to the image-load-path or load-path depending
844 on the version of Emacs.
c727526b 845
a05fcb7d
BW
846 * mh-customize.el: Call mh-image-load-path just before
847 mh-tool-bar-define so that the toolbar images can be found.
d88a70a0 848
a05fcb7d 8492005-10-04 Bill Wohler <wohler@newt.com>
d88a70a0 850
2bd87afb
SM
851 * ChangeLog: Move contents into ChangeLog.1 and trim.
852
13fe29bd 853 * ChangeLog.1: New file. Contains old ChangeLog.
900d1698 854
47570699 855
a05fcb7d 856 Copyright (C) 2005 Free Software Foundation, Inc.
e9be14aa 857
e495eaec
BW
858 Copying and distribution of this file, with or without modification,
859 are permitted in any medium without royalty provided the copyright
860 notice and this notice are preserved.
ab5796a9 861
13fe29bd
BW
862;; Local Variables:
863;; sentence-end-double-space: nil
864;; End:
865
ab5796a9 866;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51