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