1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00
Commit Graph

270 Commits

Author SHA1 Message Date
Bill Wohler
b67d434965 (Version, mh-version): Update for release 8.0.2. 2006-07-04 00:43:44 +00:00
Bill Wohler
fbe4aef835 (mh-tool-bar-define): Fix XEmacs' vector-list so it refers to the
icons in mh-xemacs-icon-map instead of trying to declare the icons in
situ. This allows mh-tool-bar.el to be compiled under XEmacs. Remove
initial value for mh-tool-bar-folder-buttons,
mh-tool-bar-show-buttons, mh-tool-bar-letter-buttons. The MH-E icons
now appear in XEmacs. In mh-tool-bar-init, check for
mh-xemacs-use-tool-bar-flag sooner. This allows MH-E to be used in
XEmacs in a tty (closes SF #1506846).
2006-07-03 23:41:32 +00:00
Bill Wohler
ebb4d60b7c Require mh-buffers and mh-compat before mh-xemacs now that mh-xemacs
needs functions in mh-compat.
2006-07-03 23:30:27 +00:00
Bill Wohler
1937adc20b (mh-search, mh-index-group-by-folder): Add "the" in loop construct to
be consistent with other loops, and because edebug doesn't work
without it.
(mh-folder-exists-p): Strip + from folder to avoid redundant +s in
regexp (closes SF #1514424).
2006-06-29 21:04:17 +00:00
Bill Wohler
e0487df876 (mh-mime-save-parts): Add -store option to mhn (closes SF #1513140). 2006-06-29 20:43:44 +00:00
Bill Wohler
737abde8f6 (Version, mh-version): Update for release 8.0.1. 2006-06-21 05:12:13 +00:00
Bill Wohler
d9044cd65d (mh-index-new-folder): Use -2 suffix instead of <2> suffix for folder
names, as <> are illegal filename characters on Windows (closes SF
#1507002).
2006-06-16 00:54:41 +00:00
Bill Wohler
fbf62741d6 (mh-send-uses-spost): New variable.
(mh-send-letter): Do not use -msgid and -mime if mh-send-uses-spost is
t (closes SF #1486726).
2006-06-16 00:48:04 +00:00
Bill Wohler
c1def6ea27 (mh-folder-exists-p): Change test from an empty buffer, to one that
contains the actual folder, since GNU mailutils' folder command
displays output if the folder doesn't exist (closes SF #1499712).
2006-06-02 18:47:44 +00:00
Bill Wohler
ae18726b83 (Version, mh-version): Update for release 8.0. 2006-05-06 15:48:34 +00:00
Bill Wohler
d2f8ce2f9c Update commentary. 2006-05-06 00:30:21 +00:00
Bill Wohler
0303217f02 (Version, mh-version): Update for release 7.95. 2006-04-29 01:26:12 +00:00
Eric Ding
13384ea67e * mh-e.el (mh-invisible-header-fields-internal): Add entry "X-Provags-ID:" 2006-04-26 13:13:35 +00:00
Bill Wohler
6a7250d806 (mh-folder-expand-at-point): Fix folder completion. Folders returned
by mh-folder-completion-function no longer need adornment (closes SF
#1476270).
2006-04-25 21:41:13 +00:00
Bill Wohler
237ad50745 (Version, mh-version): Add +cvs to version. 2006-04-21 21:59:54 +00:00
Bill Wohler
d9ca64a98d Release MH-E version 7.94.
(Version, mh-version): Update for release 7.94.
2006-04-21 21:23:14 +00:00
Bill Wohler
15855f8f78 (mh-insert-letter): If a message number isn't given, throw an error
rather than using a potentially incorrect message number (closes SF
#1473729). In addition, use the cur message if mh-sent-from-msg is
nil (when sending a message, in contrast to replying). Move conversion
of int to string into interactive stanza so body can assume variables
are of proper type.
2006-04-21 17:49:02 +00:00
Bill Wohler
d2464a9fb9 * mh-tool-bar.el (image-load-path): Define to shush compiler.
(mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it isn't
used outside of it.
(mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
Update load-path/image-load-path before setting buttons. This code
used to be in mh-folder-mode/mh-letter-mode but this was the wrong
place since mh-tool-bar-*-buttons-init can also be called when
customizing the buttons.
(mh-tool-bar-update): New function which updates tool-bar-map in all
of the MH-E buffers after customizing the buttons (closes SF
#1452718).
(mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set): Call
it (closes SF #1452718).

* mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
mh-folder-tool-bar-map instead.
(image-load-path): Delete. No longer used.
(mh-folder-mode): Moved setting of image-load-path into
mh-tool-bar-folder-buttons-init.

* mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
mh-letter-tool-bar-map instead.
(image-load-path): Delete. No longer used.
(mh-letter-mode): Moved setting of image-load-path into
mh-tool-bar-letter-buttons-init.

* mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
instead of set-buffer.
2006-04-21 01:32:16 +00:00
Bill Wohler
02195654f6 Fix typo. 2006-04-19 21:03:23 +00:00
Bill Wohler
d36069f0e7 (mh-tool-bar-define): Fix enable-expr so that one can permenently
disable a button (such as a separator) with nil.
2006-04-19 21:02:59 +00:00
Bill Wohler
def2755256 Add SF number to :package-version implementation. 2006-04-18 21:29:03 +00:00
Bill Wohler
17ce6de79f (defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
(mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
(mh-min-colors-defined-flag): Do not unbind these macros and
variables. Nice idea, but too many nasty side-effects. These macros
are needed by [Cc]ustom-make-dependencies when creating the MH-E
customization groups in mh-cus-load.el. These disappeared when the
macros above were introduced. Besides, if a developer were to try to
show the help for a macro or variable they were looking at and got [No
match] when they did so, that would be bad.
2006-04-18 19:20:44 +00:00
Bill Wohler
d5468dff87 (mh-insert-x-mailer): Strip build number from version in X-Mailer
field (closes SF #1466481).
2006-04-18 01:55:54 +00:00
Bill Wohler
c90c4cf168 * mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
variables and functions with the same name are found correctly by
find-func (invoked by clicking on the filename link in the *Help*
buffer.
(mh-defmacro-compat): Rename to defmacro-mh. Ditto. *
mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
(mh-defcustom): Rename to defcustom-mh. Ditto.
(mh-defface): Rename to defface-mh. Ditto.
(mh-font-lock-add-keywords): Make changes according to these
renamings.

* mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
#1472029).
2006-04-18 00:55:43 +00:00
Bill Wohler
cd35b20a6f (mh-sub-folders-actual): Mention that folder must have been processed
by mh-normalize-folder-name.
(mh-folder-completion-function): Handle completion of folders with
absolute names. Also, when flag is t, display complete folder name to
provide proper highlighting in Emacs 22 now that
minibuffer-completing-file-name is nil (closes SF #1470518).
(mh-folder-completing-read): No longer set
minibuffer-completing-file-name to t. This was causing "Can't set
current directory errors" when browsing absolute file names. Another
benefit of this change is that SPC can be used for completion
again (closes SF #1470518).
2006-04-17 23:43:03 +00:00
Bill Wohler
21acd4c9d3 (mh-font-lock-add-keywords): Fix typo in docstring. 2006-04-15 18:51:38 +00:00
Bill Wohler
42f8c37fa0 * mh-acros.el (struct, x, y): No need to wrap defvar with
eval-when-compile when shushing compiler, even when mh-do-in-xemacs or
another construct is used.

* mh-comp.el (sendmail-coding-system): Ditto.

* mh-e.el (mark-active): Ditto.

* mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
(image-load-path, font-lock-defaults): Ditto.

* mh-letter.el (image-load-path, font-lock-defaults): Ditto.

* mh-mime.el (dots, type, ov)
(mm-verify-function-alist, mm-decrypt-function-alist)
(pressed-details): Ditto.

* mh-search.el (pick-folder, mh-do-in-xemacs)
(mh-mairix-folder, mh-flists-search-folders)
(which-func-mode, mh-speed-flists-inhibit-flag): Ditto.

* mh-seq.el (tool-bar-mode): Ditto.

* mh-utils.el (completion-root-regexp)
(minibuffer-completing-file-name): Ditto.

* mh-xface.el (default-enable-multibyte-characters): Ditto.
2006-04-15 00:28:08 +00:00
Bill Wohler
73e6d1af3e * mh-funcs.el (view-exit-action): No need to wrap defvar with
eval-when-compile when shushing compiler.

* mh-mime.el (mh-identity-pgg-default-user-id): Ditto.

* mh-seq.el (view-exit-action): Ditto.

* mh-show.el (font-lock-auto-fontify): Ditto.

* mh-utils.el (mh-speed-flists-cache): Ditto
2006-04-14 21:28:52 +00:00
Bill Wohler
30545916ed * mh-compat.el (mh-font-lock-add-keywords): New alias for
font-lock-add-keywords. Returns nil on XEmacs.

* mh-e.el: Add MH-E function and variable keywords such as
mh-defun-compat and mh-defcustom to font-lock-keywords.
2006-04-14 18:49:18 +00:00
Bill Wohler
70a1d47eec (customize-package-emacs-version-alist)
(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, 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)
(mh-defcustom, 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, 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): Use dotted
notation in :package-version keyword.
2006-04-14 00:47:00 +00:00
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