1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00
Commit Graph

193 Commits

Author SHA1 Message Date
Bill Wohler
fde155f459 (mh-path, mh-variant): Define with mh-defcustom and add
:package-version keyword.
2006-04-07 18:58:38 +00:00
Bill Wohler
367c48ef1e (mh-strip-package-version): Make macro, also to avoid compiler error.
(mh-defface-compat): Incorporate body into mh-face-data and delete.
2006-04-01 00:58:41 +00:00
Bill Wohler
59e8810f09 (mh-strip-package-version): Move before use to avoid compiler error. 2006-03-31 17:44:40 +00:00
Bill Wohler
23347d769d * mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
new :package-version keyword in older settings.
(customize-package-emacs-version-alist): Add MH-E version to Emacs
version mappings.
(mh-e, mh-alias, mh-folder, mh-folder-selection)
(mh-identity, mh-inc, mh-junk, mh-letter, mh-ranges)
(mh-scan-line-formats, mh-search, mh-sending-mail)
(mh-sequences, mh-show, mh-speedbar, mh-thread, mh-tool-bar)
(mh-hooks, mh-faces): Add :package-version keyword to these groups.
(mh-alias-completion-ignore-case-flag)
(mh-alias-expand-aliases-flag, mh-alias-flash-on-comma)
(mh-alias-insert-file, mh-alias-insertion-location)
(mh-alias-local-users, mh-alias-local-users-prefix)
(mh-alias-passwd-gecos-comma-separator-flag)
(mh-new-messages-folders, mh-ticked-messages-folders)
(mh-large-folder, mh-recenter-summary-flag)
(mh-recursive-folders-flag, mh-sortm-args)
(mh-default-folder-for-message-function)
(mh-default-folder-list, mh-default-folder-must-exist-flag)
(mh-default-folder-prefix, mh-identity-list)
(mh-auto-fields-list, mh-auto-fields-prompt-flag)
(mh-identity-default, mh-identity-handlers, mh-inc-prog)
(mh-inc-spool-list, mh-junk-background, mh-junk-disposition)
(mh-junk-program, mh-compose-insertion)
(mh-compose-skipped-header-fields)
(mh-compose-space-does-completion-flag)
(mh-delete-yanked-msg-window-flag)
(mh-extract-from-attribution-verb, mh-ins-buf-prefix)
(mh-letter-complete-function, mh-letter-fill-column)
(mh-mml-method-default, mh-signature-file-name)
(mh-signature-separator-flag, mh-x-face-file)
(mh-yank-behavior, mh-interpret-number-as-range-flag)
(mh-adaptive-cmd-note-flag, mh-scan-format-file, mh-scan-prog)
(mh-search-program, mh-compose-forward-as-mime-flag)
(mh-compose-letter-function, mh-compose-prompt-flag)
(mh-forward-subject-format, mh-insert-x-mailer-flag)
(mh-redist-full-contents-flag, mh-reply-default-reply-to)
(mh-reply-show-message-flag)
(mh-refile-preserves-sequences-flag, mh-tick-seq)
(mh-update-sequences-after-mh-show-flag)
(mh-bury-show-buffer-flag, mh-clean-message-header-flag)
(mh-decode-mime-flag)
(mh-display-buttons-for-alternatives-flag)
(mh-display-buttons-for-inline-parts-flag)
(mh-do-not-confirm-flag, mh-fetch-x-image-url)
(mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
(mh-highlight-citation-style, mh-invisible-header-fields)
(mh-invisible-header-fields-default, mh-lpr-command-format)
(mh-max-inline-image-height, mh-max-inline-image-width)
(mh-mhl-format-file, mh-mime-save-parts-default-directory)
(mh-print-background-flag, mh-show-maximum-size)
(mh-show-use-xface-flag, mh-store-default-directory)
(mh-summary-height, mh-speed-update-interval)
(mh-show-threads-flag, mh-tool-bar-search-function): Add
:package-version keyword to these options.
(mh-after-commands-processed-hook)
(mh-alias-reloaded-hook, mh-before-commands-processed-hook)
(mh-before-quit-hook, mh-before-send-letter-hook)
(mh-delete-msg-hook, mh-find-path-hook, mh-folder-mode-hook)
(mh-forward-hook, mh-inc-folder-hook)
(mh-insert-signature-hook)
(mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
(mh-mh-to-mime-hook, mh-search-mode-hook, mh-quit-hook)
(mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
(mh-unseen-updated-hook): Add :package-version keyword to these hooks.
(mh-min-colors-defined-flag)
(mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
(mh-folder-date, mh-folder-deleted, mh-folder-followup)
(mh-folder-msg-number, mh-folder-refiled)
(mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
(mh-folder-subject, mh-folder-tick, mh-folder-to)
(mh-letter-header-field, mh-search-folder, mh-show-cc)
(mh-show-date, mh-show-from, mh-show-header, mh-show-pgg-bad)
(mh-show-pgg-good, mh-show-pgg-unknown, mh-show-signature)
(mh-show-subject, mh-show-to, mh-show-xface)
(mh-speedbar-folder, mh-speedbar-folder-with-unseen-messages)
(mh-speedbar-selected-folder)
(mh-speedbar-selected-folder-with-unseen-messages): : Add
:package-version keyword to these faces.

* mh-tool-bar.el (mh-tool-bar-define): Added commented-out
:package-version keywords.
2006-03-30 23:39:32 +00:00
Bill Wohler
84b5700490 Use clipboard-kill-region, clipboard-kill-ring-save, and
clipboard-yank instead of undo, kill-region, and
menu-bar-kill-ring-save respectively. In MH-Letter mode, move
save-buffer and mh-fully-kill-draft icons in front of
mh-compose-insertion to be consistent with other mailers, such as
Evolution. In MH-Folder mode, move vanilla reply icon to the left of
the other reply icons. Use mail/inbox icon instead of mail, next-page
instead of page-down, delete instead of close, mail/move instead of
mail/refile, data-save instead of execute, mail/flag-for-followup
instead of highlight, contact instead of mail/alias, open instead of
fld-open, zoom-out instead of widen.
2006-03-28 19:19:38 +00:00
Bill Wohler
798b73dd09 * mh-folder.el (mh-execute-commands, mh-rescan-folder):
* mh-funcs.el (mh-pack-folder): Sync docstrings with manual.
2006-03-28 18:35:15 +00:00
Romain Francoise
83c3d14f88 Separate name and email with two spaces. 2006-03-28 09:44:17 +00:00
Eric Ding
3a3a719821 Fix email address/name from last checkin 2006-03-27 18:53:47 +00:00
Eric Ding
2e9aae1477 mh-e.el (mh-invisible-header-fields-internal): Add entries "X-AOL-IP:"
and "X-MB-Message-" (AOL WebMail)
2006-03-27 18:52:59 +00:00
Bill Wohler
72cf2f2e78 (mh-reply): Sync docstring with manual. 2006-03-19 20:21:58 +00:00
Bill Wohler
d79c9e9d25 (mh-image-load-path-for-library): Shorten first line in docstring. 2006-03-19 18:20:31 +00:00
Bill Wohler
1792673df9 (mh-image-load-path-for-library): Minor docstring fix. 2006-03-17 17:28:09 +00:00
Bill Wohler
16b9a4760b (mh-send-letter): Use split-string to break up mh-send-args (closes SF
#1448604).
(mh-compose-and-send-mail): Use run-hook-with-args for
mh-compose-letter-function.
2006-03-16 17:38:14 +00:00
Bill Wohler
8d1ada5345 (mh-list-to-string-1): Use dolist. 2006-03-16 17:01:12 +00:00
Bill Wohler
e8b5a7cebf (mh-image-load-path-for-library): Prefer user's images. 2006-03-16 17:00:02 +00:00
Bill Wohler
f875b154b4 * mh-compat.el (mh-image-load-path-for-library): Fix example by not
recommending that one binds image-load-path. Just defvar it to placate
compiler and only use it if previously defined.

* mh-e.el (image-load-path): Don't bind!

* mh-folder.el (mh-folder-mode): Only use image-load-path if
previously defined.

* mh-letter.el (mh-letter-mode): Ditto.

* mh-utils.el (mh-logo-display): Ditto.
2006-03-15 17:03:58 +00:00
Bill Wohler
44e3f44013 * mh-compat.el (mh-image-load-path-for-library): Incorporate changes
from image-load-path-for-library, which are:
(image-load-path-for-library): Pass value of path rather than symbol.
Always return list of directories. Guarantee that image directory
comes first.

* mh-e.el (image-load-path): Define on those Emacsen that lack it to
avoid compile and run-time errors.

* mh-folder.el (mh-folder-mode): Use new idiom for setting
image-load-path.

* mh-letter.el (mh-letter-mode): Ditto.

* mh-utils.el (mh-logo-display): Ditto.
2006-03-14 19:21:48 +00:00
Bill Wohler
2044e8f184 (mh-folder-list): Fix docstring (closes SF #1448498). 2006-03-13 01:05:27 +00:00
Bill Wohler
08f99a547c (mh-image-load-path-for-library): Merged changes from Reiner. Add
no-error argument. If path t, just return directory.
2006-03-11 01:59:13 +00:00
Bill Wohler
4a732ae965 (mh-replace-regexp-in-string): Pass the literal flag to
replace-in-string. This was badly needed by mh-quote-pick-expr in
order to properly quote subjects when using / s on XEmacs (closes SF
#1447598).
2006-03-11 01:34:45 +00:00
Bill Wohler
0c32f8c691 (mh-profile-component): Drop `s' from mhparam -components for
Mailutils compatibility (closes SF #1446985).
2006-03-10 16:56:16 +00:00
Bill Wohler
971a25abc7 (Version, mh-version): Add +cvs to version. 2006-03-06 16:00:19 +00:00
Satyaki Das
1af028e6bd (mh-index-update-single-msg): Fix a bug in the
handling of duplicate messages.  The test in cond was too strong
and wasn't catching the case where origin-map was nil.
2006-03-06 05:21:41 +00:00
Bill Wohler
b1d9cef430 (Version, mh-version): Update for release 7.93. 2006-03-05 20:28:10 +00:00
Bill Wohler
fd5536d8e2 * mh-folder.el (mh-folder-mode): Drop 'load-path argument when calling
mh-image-load-path-for-library since this is the default.

* mh-letter.el (mh-letter-mode): Ditto.

* mh-utils.el (mh-logo-display): Ditto.
2006-03-05 20:11:53 +00:00
Bill Wohler
c80658b74f * mh-compat.el (mh-image-load-path-for-library): Move here from
mh-utils.el and wrap with mh-defun-compat since this function will be
soon added to image.el.

* mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
(mh-normalize-folder-name): Add return-nil-if-folder-empty argument
which is useful when calling mh-normalize-folder-name to process the
folder argument for the folders command.
(mh-sub-folders): Use new flag to mh-normalize-folder-name to make
this function more robust. It could too easily list the folders in /.
(mh-folder-list): Fix a couple of problems pointed out by Thomas
Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
2006-03-04 21:23:21 +00:00
Bill Wohler
5e9edb94b7 * mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
mh-image-load-path-for-library.

* mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
mh-image-load-path-for-library.

* mh-utils.el (mh-image-load-path): Rename to
mh-image-load-path-for-library. Add example to docstring. Rename local
variable mh-image-directory to image-directory. Move error checks to
default case in cond and simplify.
2006-03-03 20:50:50 +00:00
Bill Wohler
3fbc098da9 (mh-send-letter, mh-insert-auto-fields): Sync docstrings with manual. 2006-03-03 20:02:10 +00:00
Bill Wohler
c99f622718 GNU Emacs folks prefer present tense in ChangeLog entries. 2006-03-03 00:29:23 +00:00
Bill Wohler
efc27af6c4 * mh-folder.el (mh-tool-bar-init): Autoload.
(mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs. Set
scoped variables image-load-path and load-path with updated
mh-image-load-path before calling mh-tool-bar-folder-buttons-init.

* mh-letter.el (mh-tool-bar-init): Autoload.
(mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs. Set
scoped variables image-load-path and load-path with updated
mh-image-load-path before calling mh-tool-bar-letter-buttons-init.

* mh-show.el (mh-tool-bar-init): Autoload.
(mh-show-mode): Perform tool bar stuff conditionally in XEmacs and GNU
Emacs.

* mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
messages per conventions.
(mh-tool-bar-folder-buttons-init)
(mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
(mh-tool-bar-define call): Format.

* mh-utils.el (mh-image-directory, mh-image-load-path-called-flag):
Delete.
(mh-image-load-path): Incorporate changes from Gnus team. Biggest
changes are that it no longer uses/sets mh-image-directory or
mh-image-load-path-called-flag, and returns the updated path rather
than change it.
(mh-logo-display): Change usage of mh-image-load-path.
2006-03-03 00:27:49 +00:00
Bill Wohler
66b265f5df (mh-narrow-to-subject): Remove Re: string from subject so that pick
can find originating message (closes SF #1438369).
2006-03-01 06:19:59 +00:00
Bill Wohler
052df3346e * mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
(mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow to
subjects with special characters by quoting regular expression
characters in pick expression derived from existing subjects and other
fields (closes SF #1432548).

* mh-utils.el (mh-pick-regexp-chars, mh-quote-pick-expr): New variable
and function for quoting pick regular expression characters (closes SF
#1432548).
2006-03-01 05:33:18 +00:00
Bill Wohler
898dda9251 (mh-folder-list): Fix problem with passing in a folder and getting
nothing back. Fix problem with passing in empty string and getting the
entire filesystem (or infinite loop). Don't append slash to folder.
These fixes fix problems observed with the pick search. Thanks to
Thomas Baumann for the help (closes SF #1435381).
2006-02-28 23:54:53 +00:00
Bill Wohler
a9e22173e4 (mh-image-load-path): Rename variable to mh-image-directory.
(mh-image-load-path): Access mh-image-directory instead of
mh-image-load-path.
2006-02-28 21:47:19 +00:00
Bill Wohler
bc4c8031d3 (mh-variant, mh-default-folder-for-message-function): Sync docstring
with manual.
(cus-face): Require as it is needed by mh-inherit-face-flag.
2006-02-28 01:33:28 +00:00
Bill Wohler
0659521f75 (mh-minibuffer-read-type): Deleted comment in docstring about obsolete
variable mh-mime-content-types.
2006-02-27 22:30:58 +00:00
Bill Wohler
abc46e909b (mh-variant): Sync docstring with manual.
(cus-face): Require as it is needed by mh-inherit-face-flag.
2006-02-27 22:29:54 +00:00
Bill Wohler
a425dc3d19 * mh-compat.el (mh-display-color-cells): Return 2 if
device-color-cells returns nil (closes SF #1436924).

* mh-e.el (mh-compiling-flag): Delete. No longer needed by
mh-display-color-cells.
2006-02-27 22:25:07 +00:00
Eric Ding
f669a69df8 mh-e.el (mh-invisible-header-fields-internal): Added entry
"X-Sasl-enc:"
2006-02-21 14:43:56 +00:00
Eric Ding
efd5b7df1b * mh-e.el (mh-invisible-header-fields-internal): Added entries
"X-Authenticated-Sender:", "X-Barracuda-", "X-EFL-Spamscore",
"X-IronPort-AV:", "X-Mail-from:", "X-Mailman-Approved-At:",
"X-Resolved-to:", and "X-SA-Exim".  Fixed "X-Bugzilla-" and
"X-Roving-" by removing unnecessary "*" at end.
2006-02-21 00:45:17 +00:00
Bill Wohler
ae494f66e7 * mh-alias.el (mh-address-mail-regexp)
(mh-goto-address-find-address-at-point): Delete copies from
goto-addr.el. (mh-alias-suggest-alias): Use goto-address-mail-regexp
instead of mh-address-mail-regexp.
(mh-alias-add-address-under-point): Use
goto-address-find-address-at-point instead of
mh-goto-address-find-address-at-point.

* mh-e.el (mh-show-use-goto-addr-flag): Delete.

* mh-show.el (mh-show-mode): Mention goto-address-highlight-p in
docstring.
(mh-show-addr): Call goto-address unconditionally. User should use
goto-address-highlight-p instead of mh-show-use-goto-addr-flag.
2006-02-20 01:24:38 +00:00
Bill Wohler
803c30445d (Version, mh-version): Add +cvs to version. 2006-02-18 23:38:39 +00:00
Bill Wohler
927967ee92 (Version, mh-version): Update for release 7.92. 2006-02-18 22:43:43 +00:00
Bill Wohler
b95d0a2433 (mh-folder-msg-number): Use purple on low-color, light backgrounds per
Mark's suggestion.
2006-02-17 20:32:16 +00:00
Bill Wohler
6e69a0bf12 (mh-image-load-path): Fix problem that images on load-path or
image-load-path would win over relative paths (newer MH-E or Emacs
distribution).
2006-02-17 18:36:03 +00:00
Bill Wohler
6d21875b1f (mh-inherit-face-flag): New variable. Non-nil means that the defface
:inherit keyword is available.
(mh-face-data): New variable (contains
all face specs) and function (accessor).
(mh-folder-address, mh-folder-body, mh-folder-cur-msg-number)
(mh-folder-date, mh-folder-deleted, mh-folder-followup)
(mh-folder-msg-number, mh-folder-refiled)
(mh-folder-sent-to-me-hint, mh-folder-sent-to-me-sender)
(mh-folder-subject, mh-folder-tick, mh-folder-to)
(mh-search-folder, mh-letter-header-field, mh-show-cc)
(mh-show-date, mh-show-from)
(mh-show-header, mh-show-pgg-bad, mh-show-pgg-good)
(mh-show-pgg-unknown, mh-show-signature, mh-show-subject)
(mh-show-to, mh-show-xface, mh-speedbar-folder)
(mh-speedbar-folder-with-unseen-messages)
(mh-speedbar-selected-folder)
(mh-speedbar-selected-folder-with-unseen-messages): Use mh-face-data.
2006-02-17 03:57:57 +00:00
Bill Wohler
dccd067f3a (mh-image-load-path): The variables image-load-path or load-path would
not get updated if user set mh-image-load-path. Moved tests and
add-to-list calls outside of cond so they are applied consistently,
even if they are redundant in some circumstances. Efficiency isn't a
concern here. Made error messages more user-friendly.
2006-02-16 18:32:15 +00:00
Peter Galbraith
fc0f755fab mh-compat.el (mh-image-search-load-path): Compatibility code. Emacs 21 and
XEmacs don't have `image-search-load-path'.

mh-utils.el (mh-image-load-path): Don't bail out on error if the images are
already found.
2006-02-16 02:14:40 +00:00
Bill Wohler
be39769861 (mh-search): Wrap code in (block mh-search ...) rather than use
defun*. XEmacs cannot create a proper autoload for a defun*.
2006-02-10 20:04:50 +00:00
Bill Wohler
da01a066b9 (mh-folder-list): Don't replace "/*$" with "/" since that causes an
infinite loop on XEmacs.
2006-02-09 19:53:44 +00:00