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