(vc-svn-registered): Catch all errors.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
1 2005-11-04 Bill Wohler <wohler@newt.com>
2
3 * mh-customize.el (mh-min-colors-defined-flag, mh-defface-compat):
4 Move to mh-init.el to minimize bulk of mh-customize.el.
5
6 * mh-init.el: Modify commentary since file is used for load and
7 initialization as well as setting and getting the variant.
8 (mh-min-colors-defined-flag, mh-defface-compat): Move
9 here from mh-customize.el.
10
11 * mh-customize.el: Refactor faces. Move grayscale requirements
12 last before t. Use uniform line breaks.
13 (mh-min-colors-defined-flag): New variable.
14 (mh-defface-compat): New function. Provides backward compatibility
15 for face specs.
16 (mh-show-header, mh-show-date, mh-show-cc, mh-folder-to)
17 (mh-folder-refiled, mh-folder-cur-msg-number, mh-folder-cur-msg)
18 (mh-folder-body): Use mh-defface-compat.
19
20 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
21
22 * mh-customize.el (mh-folder-body-face, mh-folder-cur-msg-face)
23 (mh-folder-cur-msg-number-face, mh-folder-refiled-face)
24 (mh-folder-to-face): Use the min-colors attribute instead of the
25 type attribute.
26
27 2005-11-03 Bill Wohler <wohler@newt.com>
28
29 * mh-customize.el (mh-refile-preserves-sequences-flag)
30 (mh-tick-seq, mh-update-sequences-after-mh-show-flag): Sync
31 docstrings with manual.
32
33 * mh-e.el (mh-update-sequences): Sync docstrings with manual.
34
35 * mh-seq.el (mh-delete-seq, mh-list-sequences, mh-narrow-to-seq)
36 (mh-widen, mh-toggle-tick, mh-narrow-to-tick): Sync docstrings
37 with manual.
38
39 2005-11-01 Bill Wohler <wohler@newt.com>
40
41 * mh-comp.el (mh-redist-full-contents) Convert defvar to
42 defcustom.
43 (mh-smail, mh-extract-rejected-mail, mh-forward, mh-redistribute)
44 (mh-reply, mh-send, mh-send-other-window)
45 (mh-fill-paragraph-function): Sync docstrings with manual.
46 (mh-edit-again, mh-extract-rejected-mail, mh-redistribute): Rename
47 msg argument to message (to make for a better docstring).
48
49 * mh-customize.el (mh-redist-full-contents-flag): Convert defvar
50 to defcustom. Rename by adding -flag.
51 (mh-compose-forward-as-mime-flag)
52 (mh-compose-letter-function, mh-forward-subject-format)
53 (mh-insert-x-mailer-flag, mh-reply-default-reply-to)
54 (mh-reply-show-message-flag, mh-letter-mode-hook): Sync docstrings
55 with manual.
56
57 * mh-print.el (mh-ps-spool-buffer, mh-ps-spool-a-msg)
58 (mh-ps-print-msg): Remove debugging messages.
59 (mh-ps-print-msg-show, mh-ps-print-msg-show)
60 (mh-ps-print-toggle-color, mh-ps-print-toggle-mime): Remove period
61 after message per conventions.
62
63 2005-10-30 Bill Wohler <wohler@newt.com>
64
65 * mh-e.el (mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
66 (mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp): Sync
67 docstrings with manual.
68
69 * mh-customize.el (mh-compose-space-does-completion-flag)
70 (mh-signature-separator-flag, mh-interpret-number-as-range-flag)
71 (mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On
72 means" to remain checkdoc clean and consistent with Emacs. I
73 raised this issue with the Emacs developers and Stallman agrees
74 that "On means" should be allowed in custom docstrings but that
75 this change requires thought and should wait until after the Emacs
76 22 release.
77
78 2005-10-28 Bill Wohler <wohler@newt.com>
79
80 * mh-comp.el (mh-annotate-msg): Use new variable
81 mh-scan-field-destination-offset rather than hard-coding 1.
82
83 * mh-customize.el (mh-interpret-number-as-range-flag): Add * to
84 docstring.
85 (mh-adaptive-cmd-note-flag-check, mh-scan-format-file-check): New
86 functions to check input for mh-adaptive-cmd-note-flag and
87 mh-scan-format-file respectively.
88 (mh-adaptive-cmd-note-flag, mh-scan-format-file): Docstring fixes,
89 add :set.
90
91 * mh-e.el: (mh-scan-field-destination-offset): New variable. The
92 destination is the -, t, b, c, or n character for Replied, To, cc,
93 Bcc, or Newsgroups respectively.
94 (mh-make-folder, mh-regenerate-headers, mh-generate-new-cmd-note)
95 Call new function mh-msg-num-width-to-column to make leap between
96 width and column more explicit.
97 (mh-msg-num-width-to-column): New function that steals logic from
98 old mh-set-cmd-note. Also, throw error if mh-scan-format-file
99 isn't t since we can't adapt the scan lines in this case.
100 (mh-set-cmd-note): Now just simply sets mh-cmd-note which will
101 make the documentation more clear.
102 (mh-generate-new-cmd-note): Docstring fix--mh-cmd-note is a
103 column, not a width.
104 (mh-add-sequence-notation, mh-remove-sequence-notation): Use new
105 variable mh-scan-field-destination-offset rather than hard-coding
106 1.
107
108 * mh-utils.el (mh-cmd-note) Synced docstring with manual.
109 (mh-notate): Use new variable mh-scan-field-destination-offset
110 rather than hard-coding 1.
111 (mh-message-number-width): Rename to mh-msg-num-width to be
112 consistent with mh-get-msg-num and mh-msg-num-width-to-column.
113
114 * mh-customize.el (mh-x-face-file, mh-show-use-xface-flag)
115 (mail-citation-hook): Quote URLs in docstrings and precede with
116 `URL'. The former will suppress checkdoc warnings, the latter will
117 turn them into hyperlinks in Emacs 22 (I just added the code
118 to do that today).
119 (mh-scan-format-file): Checkdoc fix.
120
121 2005-10-27 Bill Wohler <wohler@newt.com>
122
123 * mh-customize.el (mh-adaptive-cmd-note-flag)
124 (mh-scan-format-file, mh-scan-prog): Sync docstrings with manual.
125
126 * mh-e.el (mh-scan-format-mh, mh-note-deleted, mh-note-refiled)
127 (mh-note-cur, mh-scan-good-msg-regexp)
128 (mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
129 (mh-scan-valid-regexp, mh-scan-cur-msg-number-regexp)
130 (mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
131 (mh-scan-subject-regexp, mh-scan-format-regexp)
132 (mh-folder-font-lock-keywords, mh-set-cmd-note): Sync docstrings
133 with manual.
134
135 * mh-funcs.el (mh-note-copied): Sync docstrings with manual.
136
137 * mh-utils.el (mh-goto-msg): Use mh-scan-msg-search-regexp instead
138 of hard-coded string.
139 (mh-mail-header-separator, mh-signature-separator-regexp): Use
140 "regular expression" in docstring instead of regexp.
141 (mh-scan-msg-number-regexp)
142 (mh-scan-msg-overflow-regexp, mh-scan-msg-format-regexp)
143 (mh-scan-msg-format-string, mh-scan-msg-search-regexp)
144 (mh-cmd-note): Sync docstrings with manual.
145
146 * mh-comp.el (mh-insert-signature, mh-insert-auto-fields):
147 Checkdoc fixes.
148
149 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Ditto.
150
151 * mh-mime.el (mh-mh-to-mime, mh-mml-attach-file)
152 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
153 (mh-mml-secure-message-signencrypt): Ditto
154
155 2005-10-24 Bill Wohler <wohler@newt.com>
156
157 * mh-gnus.el: Load mml.el in order to see if
158 mml-minibuffer-read-disposition is defined or not.
159
160 * mh-mime.el: Now that mh-gnus.el loads mml, we shouldn't need the
161 mml autoloads.
162
163 2005-10-23 Miles Bader <miles@gnu.org>
164
165 * .arch-inventory: New file.
166
167 2005-10-23 Bill Wohler <wohler@newt.com>
168
169 * mh-customize.el (mh-interpret-number-as-range-flag): Sync
170 docstring with manual.
171
172 * mh-identity.el (mh-assoc-ignore-case): Merge with version in
173 mh-alias.el and move to mh-acros.el
174
175 * mh-alias.el (mh-assoc-ignore-case): Merge with version in
176 mh-identity.el and move to mh-acros.el
177
178 * mh-acros.el (mh-assoc-ignore-case): Merge of function from
179 mh-identity.el and mh-alias.el.
180
181 * mh-mime.el: Autoload mm-uu for mm-uu-dissect to avoid compiler
182 warning in Emacs 22.
183
184 2005-10-23 Satyaki Das <satyaki@theforce.stanford.edu>
185
186 * mh-identity.el (mh-assoc-ignore-case): New macro that uses
187 assoc-string (if the function is available) and falls back on
188 assoc-ignore-case if assoc-string is not found.
189 (mh-identity-field-handler): Use mh-assoc-ignore-case since
190 assoc-ignore-case is a obsolete function in Emacs 22.
191
192 * mh-e.el (mh-folder-buttons-init-flag): New variable that keeps
193 track of whether the tool-bar in mh-folder-mode has been
194 initialized yet.
195 (mh-folder-mode): Initialize the tool-bar for folders the first
196 time we get into mh-letter-mode.
197
198 * mh-customize.el (mh-buffer-exists-p): New function which tests
199 presence of buffers of a given mode.
200 (mh-tool-bar-define): New functions
201 mh-tool-bar-folder-buttons-init and
202 mh-tool-bar-letter-buttons-init are defined. These functions are
203 used to create the tool-bar from the corresponding customizable
204 variables.
205
206 * mh-comp.el (mh-letter-buttons-init-flag): New variable that
207 keeps track of whether the tool-bar in mh-letter-mode has been
208 initialized yet.
209 (mh-letter-mode): Initialize the tool-bar for drafts the first
210 time we get into mh-letter-mode.
211
212 2005-10-23 Bill Wohler <wohler@newt.com>
213
214 * mh-comp.el (mh-letter-menu): Rename
215 mh-mhn-compose-external-compressed-tar to
216 mh-mh-compose-external-compressed-tar. Rename
217 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
218 mh-edit-mhn to mh-mh-to-mime. Rename mh-mhn-directive-present-p to
219 mh-mh-directive-present-p. Rename mh-revert-mhn-edit to
220 mh-mh-to-mime-undo. Rename mh-gnus-pgp-support-flag to
221 mh-pgp-support-flag. Rename mh-compose-insertion value from 'mhn
222 to 'mh.
223 (mh-insert-signature): Rename mh-mhn-directive-present-p to
224 mh-mh-directive-present-p.
225 (mh-send-letter): Rename mh-mhn-directive-present-p to
226 mh-mh-directive-present-p. Rename mh-edit-mhn to mh-mh-to-mime.
227 (mh-letter-mode-map): Rename mh-edit-mhn to mh-mh-to-mime. Rename
228 mh-mhn-compose-anon-ftp to mh-mh-compose-anon-ftp. Rename
229 mh-mhn-compose-external-compressed-tar to
230 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
231 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
232 mh-mh-compose-external-type. Rename mh-mhn-compose-anon-ftp to
233 mh-mh-compose-anon-ftp. Rename
234 mh-mhn-compose-external-compressed-tar to
235 mh-mh-compose-external-compressed-tar. Rename mh-revert-mhn-edit
236 to mh-mh-to-mime-undo. Rename mh-mhn-compose-external-type to
237 mh-mh-compose-external-type.
238 (mh-send-letter, mh-letter-mode-map): Rename mh-edit-mhn to
239 mh-mh-to-mime, mh-revert-mhn-edit to mh-mh-to-mime-undo.
240 (mh-reply, mh-yank-cur-msg, mh-insert-prefix-string): Rename
241 mh-yank-from-start-of-msg to mh-yank-behavior.
242 (mh-letter-mode, mh-to-field, mh-to-fcc, mh-insert-signature)
243 (mh-check-whom, mh-insert-auto-fields, mh-send-letter)
244 (mh-insert-letter, mh-yank-cur-msg, mh-insert-prefix-string)
245 (mh-fully-kill-draft, mh-open-line, mh-letter-complete)
246 (mh-letter-complete-or-space, mh-letter-confirm-address)
247 (mh-letter-next-header-field-or-indent)
248 (mh-letter-previous-header-field)
249 (mh-letter-toggle-header-field-display): Sync docstrings with
250 manual.
251
252 * mh-customize.el (mh-edit-mhn-hook): Rename to
253 mh-mh-to-mime-hook.
254 (mh-yank-from-start-of-msg): Rename to mh-yank-behavior.
255 (mh-compose-insertion): Rename values from 'gnus and 'mhn to 'mh
256 and user-visible values from mhn and Gnus to MH and MML.
257 (mh-before-send-letter-hook): Added 'ispell-message option.
258 (mh-mml-method-default): Rename mh-gnus-pgp-support-flag to
259 mh-pgp-support-flag.
260 (mh-compose-insertion, mh-compose-space-does-completion-flag)
261 (mh-delete-yanked-msg-window-flag)
262 (mh-extract-from-attribution-verb, mh-ins-buf-prefix)
263 (mh-letter-complete-function, mh-letter-fill-column)
264 (mh-mml-method-default, mh-signature-file-name)
265 (mh-signature-separator-flag, mh-x-face-file)
266 (mh-yank-behavior, mail-citation-hook)
267 (mh-before-send-letter-hook, mh-mh-to-mime-hook): Sync docstrings
268 with manual.
269
270 * mh-gnus.el (mml-minibuffer-read-disposition): New function
271 provided for Emacs 21 environments that lack it.
272
273 * mh-mime.el (mh-mml-query-cryptographic-method): Use default
274 prompt convention.
275 (mh-compose-forward): mh-mh-forward-message requires string arg.
276 (mh-minibuffer-read-type): New function.
277 (mh-mhn-args): Rename to mh-mh-to-mime-args.
278 (mh-mhn-compose-insertion): Rename to mh-mh-attach-file.
279 (mh-mhn-compose-forw): Rename to mh-mh-forward-message.
280 (mh-mhn-compose-type): Rename to mh-mh-compose-type.
281 (mh-mhn-compose-anon-ftp): Rename to mh-mh-compose-anon-ftp.
282 Rename mh-mhn-compose-external-type to
283 mh-mh-compose-external-type.
284 (mh-mhn-compose-external-compressed-tar): Rename to
285 mh-mh-compose-external-compressed-tar. Rename
286 mh-mhn-compose-external-type to mh-mh-compose-external-type.
287 (mh-mhn-compose-external-type): Rename to
288 mh-mh-compose-external-type.
289 (mh-edit-mhn): Rename to mh-mh-to-mime. Rename mh-mhn-args to
290 mh-mh-to-mime-args. Rename mh-edit-mhn-hook to mh-mh-to-mime-hook.
291 Use correct program in message.
292 (mh-mhn-directive-present-p): Rename to mh-mh-directive-present-p.
293 (mh-mml-directive-present-p): Rename to mh-mml-tag-present-p.
294 (mh-compose-forward, mh-mh-attach-file)
295 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
296 (mh-mh-compose-external-type, mh-mh-forward-message)
297 (mh-mml-attach-file): Use mml-minibuffer-read-description,
298 mh-minibuffer-read-type.
299 (mh-mime-content-types): Moved comment about only being used in
300 Emacs 20 to docstring.
301 (mh-mh-compose-external-type): Rename extra-param argument to
302 parameters.
303 (mh-mml-to-mime, mh-secure-message)
304 (mh-mml-unsecure-message, mh-mime-display-part)
305 (mh-mime-display-single): Rename mh-gnus-pgp-support-flag to
306 mh-pgp-support-flag.
307 (mh-compose-insertion): Rename mh-mhn-compose-insertion to
308 mh-mh-attach-file.
309 (mh-compose-forward): Rename mh-mhn-compose-forw to
310 mh-mh-forward-message.
311 (mh-mhn-compose-insertion): Rename mh-mhn-compose-type to
312 mh-mh-compose-type.
313 (mh-compose-insertion, mh-compose-forward, mh-mh-to-mime-args)
314 (mh-mh-attach-file, mh-mh-compose-type)
315 (mh-mh-compose-anon-ftp, mh-mh-compose-external-compressed-tar)
316 (mh-mh-compose-external-compressed-tar)
317 (mh-mh-compose-external-type, mh-mh-forward-message)
318 (mh-mh-to-mime, mh-mh-quote-unescaped-sharp,
319 (mh-mh-to-mime-undo, mh-mh-directive-present-p, mh-mml-to-mime)
320 (mh-mml-attach-file, mh-secure-message, mh-mml-unsecure-message)
321 (mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
322 (mh-mml-directive-present-p, mh-destroy-postponed-handles)
323 (mh-display-smileys, mh-display-emphasis, mh-mime-save-parts):
324 Sync docstrings with manual.
325
326 * mh-utils.el (mh-gnus-pgp-support-flag): Rename to
327 mh-pgp-support-flag.
328
329 2005-10-17 Peter S Galbraith <psg@debian.org>
330
331 * mh-identity.el (mh-identity-field-handler): Use
332 `assoc-ignore-case' to compare against header field for mixed-case
333 "From:".
334
335 2005-10-17 Bill Wohler <wohler@newt.com>
336
337 * mh-customize.el (mh-folder-tool-bar-map): Renamed image file
338 left_arrow to left-arrow, right_arrow to right-arrow, mail_compose
339 to mail/compose, fld_open to fld-open.
340 (mh-letter-tool-bar-map): Renamed image file mail_send to
341 mail/send.
342
343 2005-10-16 Bill Wohler <wohler@newt.com>
344
345 * mh-comp.el (mh-display-completion-list-compat): New macro which
346 calls `display-completion-list' correctly in older environments.
347 Versions of Emacs prior to version 22 lacked a COMMON-SUBSTRING
348 argument.
349 (mh-complete-word): Use it.
350
351 * mh-init.el (mh-image-load-path): Use locate-library to find
352 MH-E. This simplified the code a lot. Flattened out nested
353 statements even more.
354
355 2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
356
357 * mh-init.el (mh-image-load-path): Remove use of pushnew since it
358 causes a compiler warning.
359
360 * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
361 the message to be viewed (closes SF #1306141).
362
363 2005-10-16 Masatake YAMATO <jet@gyve.org>
364
365 * mh-comp.el (mh-complete-word): Pass the common
366 prefix substring of completion to `display-completion-list'.
367
368 2005-10-15 Satyaki Das <satyaki@theforce.stanford.edu>
369
370 * mh-init.el (mh-image-load-path-called-flag): New variable which
371 is used by mh-image-load-path so that it runs only once.
372 (mh-image-load-path): Modified so that it gets run only once. Also
373 flatten out heavily nested if statements to make it clearer.
374
375 * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
376 to find images used in the toolbar.
377
378 * mh-customize.el (:folder): Remove call to mh-image-load-path.
379
380 2005-10-14 Bill Wohler <wohler@newt.com>
381
382 * mh-e.el (Version, mh-version): Added +cvs to version.
383
384 2005-10-14 Bill Wohler <wohler@newt.com>
385
386 Released MH-E version 7.85.
387
388 * mh-e.el (Version, mh-version): Updated for release 7.85.
389
390 2005-10-14 Bill Wohler <wohler@newt.com>
391
392 * mh-e.el, mh-funcs.el, mh-init.el, mh-mime.el, mh-pick.el:
393 * mh-seq.el, mh-utils.el: Ran mh-unit. Continued copyright lines
394 need to be indented.
395
396 * mh-e.el: mh-folder-tick-face had been renamed to mh-folder-tick
397 but the code that invoked the face had not been updated. Tick
398 highlighting working again.
399
400 * mh-seq.el (mh-non-seq-mode-line-annotation): Moved
401 make-variable-buffer-local call to top level to avoid warnings in
402 CVS Emacs.
403
404 * mh-comp.el (mh-insert-letter): Replaced deprecated read-input
405 with read-string.
406
407 2005-10-09 Bill Wohler <wohler@newt.com>
408
409 * mh-init.el (mh-image-load-path): New function that adds the path
410 to the MH-E images to the image-load-path or load-path depending
411 on the version of Emacs.
412
413 * mh-customize.el: Call mh-image-load-path just before
414 mh-tool-bar-define so that the toolbar images can be found.
415
416 2005-10-04 Bill Wohler <wohler@newt.com>
417
418 * ChangeLog: Moved contents into ChangeLog.1 and trimmed.
419
420 * ChangeLog.1: New file. Contains old ChangeLog.
421
422
423 Copyright (C) 2005 Free Software Foundation, Inc.
424
425 Copying and distribution of this file, with or without modification,
426 are permitted in any medium without royalty provided the copyright
427 notice and this notice are preserved.
428
429 ;;; arch-tag: 87324964-69b6-4925-a3c2-9c1df53d7d51