Mercurial > emacs
annotate lisp/mh-e/mh-e.el @ 70101:ceac9912f828
Add SF number to :package-version implementation.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Tue, 18 Apr 2006 21:29:03 +0000 |
parents | c328b4787289 |
children | fe9fcf15288e 2d2f6f096f6e 72dea2ff0142 |
rev | line source |
---|---|
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
1 ;;; mh-e.el --- GNU Emacs interface to the MH mail system |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
2 |
62847
aa8c2e12ee24
Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents:
62465
diff
changeset
|
3 ;; Copyright (C) 1985, 1986, 1987, 1988, |
aa8c2e12ee24
Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents:
62465
diff
changeset
|
4 ;; 1990, 1992, 1993, 1994, 1995, 1997, 1999, |
67988
7882fc7df359
* mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents:
67969
diff
changeset
|
5 ;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
6 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
7 ;; Author: Bill Wohler <wohler@newt.com> |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
8 ;; Maintainer: Bill Wohler <wohler@newt.com> |
69305
7b2c4c12503a
(Version, mh-version): Add +cvs to version.
Bill Wohler <wohler@newt.com>
parents:
69287
diff
changeset
|
9 ;; Version: 7.93+cvs |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
10 ;; Keywords: mail |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
11 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
12 ;; This file is part of GNU Emacs. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
13 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
14 ;; GNU Emacs is free software; you can redistribute it and/or modify |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
15 ;; it under the terms of the GNU General Public License as published by |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
16 ;; the Free Software Foundation; either version 2, or (at your option) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
17 ;; any later version. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
18 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
19 ;; GNU Emacs is distributed in the hope that it will be useful, |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
22 ;; GNU General Public License for more details. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
23 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
24 ;; You should have received a copy of the GNU General Public License |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 26 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
27 ;; Boston, MA 02110-1301, USA. | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
28 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
29 ;;; Commentary: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
30 |
68465 | 31 ;; How to use: |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
32 ;; M-x mh-rmail to read mail. Type C-h m there for a list of commands. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
33 ;; C-u M-x mh-rmail to visit any folder. |
68465 | 34 ;; M-x mh-smail to send mail. From within the mail reader, "s" works, too. |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
35 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
36 ;; Your .emacs might benefit from these bindings: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
37 ;; (global-set-key "\C-cr" 'mh-rmail) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
38 ;; (global-set-key "\C-xm" 'mh-smail) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
39 ;; (global-set-key "\C-x4m" 'mh-smail-other-window) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
40 |
68465 | 41 ;; If Emacs can't find mh-rmail or mh-smail, add the following to ~/.emacs: |
42 ;; (require 'mh-autoloads) | |
43 | |
44 ;; If you want to customize MH-E before explicitly loading it, add this: | |
45 ;; (require 'mh-cus-load) | |
46 | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
47 ;; MH (Message Handler) is a powerful mail reader. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
48 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
49 ;; The MH newsgroup is comp.mail.mh; the mailing list is mh-users@ics.uci.edu |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
50 ;; (send to mh-users-request to be added). See the monthly Frequently Asked |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
51 ;; Questions posting there for information on getting MH and MH-E: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
52 ;; http://www.faqs.org/faqs/mail/mh-faq/part1/preamble.html |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
53 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
54 ;; N.B. MH must have been compiled with the MHE compiler flag or several |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
55 ;; features necessary for MH-E will be missing from MH commands, specifically |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
56 ;; the -build switch to repl and forw. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
57 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
58 ;; MH-E is an Emacs interface to the MH mail system. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
59 |
68096
57c4e7929f99
* mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68014
diff
changeset
|
60 ;; MH-E is supported in GNU Emacs 21 and 22 as well as XEmacs 21 |
57c4e7929f99
* mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68014
diff
changeset
|
61 ;; (except for versions 21.5.9-21.5.16), with MH 6.8.4 on, nmh 1.0.4 |
57c4e7929f99
* mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68014
diff
changeset
|
62 ;; on, and GNU mailutils 0.4 on. |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
63 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
64 ;; Mailing Lists: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
65 ;; mh-e-users@lists.sourceforge.net |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
66 ;; mh-e-announce@lists.sourceforge.net |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
67 ;; mh-e-devel@lists.sourceforge.net |
68465 | 68 |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
69 ;; Subscribe by sending a "subscribe" message to |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
70 ;; <list>-request@lists.sourceforge.net, or by using the web interface at |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
71 ;; https://sourceforge.net/mail/?group_id=13357 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
72 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
73 ;; Bug Reports: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
74 ;; https://sourceforge.net/tracker/?group_id=13357&atid=113357 |
68465 | 75 ;; Include the output of M-x mh-version in the bug report unless |
76 ;; you're 110% sure we won't ask for it. | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
77 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
78 ;; Feature Requests: |
68465 | 79 ;; https://sourceforge.net/tracker/?group_id=13357&atid=363357 |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
80 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
81 ;; Support: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
82 ;; https://sourceforge.net/tracker/?group_id=13357&atid=213357 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
83 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
84 ;;; Change Log: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
85 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
86 ;; Original version for Gosling emacs by Brian Reid, Stanford, 1982. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
87 ;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. |
56673
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
88 ;; Rewritten for GNU Emacs, James Larus, 1985. |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
89 ;; Modified by Stephen Gildea, 1988. |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
90 ;; Maintenance picked up by Bill Wohler and the |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
91 ;; SourceForge Crew <http://mh-e.sourceforge.net/>, 2001. |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
92 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
93 ;;; Code: |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
94 |
68465 | 95 ;; Provide functions to the rest of MH-E. However, mh-e.el must not |
96 ;; use any definitions in files that require mh-e from mh-loaddefs, | |
97 ;; for if it does it will introduce a require loop. | |
98 (require 'mh-loaddefs) | |
99 | |
56406
d36b00b98db0
Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents:
55151
diff
changeset
|
100 (mh-require-cl) |
68096
57c4e7929f99
* mh-alias.el (mh-alias-gecos-name): Use replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68014
diff
changeset
|
101 |
68465 | 102 (eval-and-compile |
103 (defvar mh-xemacs-flag (featurep 'xemacs) | |
69186
4eb7009c53f4
* mh-compat.el (mh-display-color-cells): Return 2 if
Bill Wohler <wohler@newt.com>
parents:
69074
diff
changeset
|
104 "Non-nil means the current Emacs is XEmacs.")) |
68529
7daec5f4a289
* mh-alias.el (mh-alias-gecos-name): Use mh-replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68484
diff
changeset
|
105 |
68465 | 106 (mh-do-in-xemacs |
107 (require 'mh-xemacs)) | |
108 | |
68135
03bac2d0a4aa
* Makefile (MH_E_SRC): Add mh-buffers.el.
Bill Wohler <wohler@newt.com>
parents:
68112
diff
changeset
|
109 (require 'mh-buffers) |
68465 | 110 (require 'mh-compat) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
111 |
70026
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
112 (mh-font-lock-add-keywords |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
113 'emacs-lisp-mode |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
114 (eval-when-compile |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
115 `((,(concat "(\\(" |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
116 ;; Function declarations (use font-lock-function-name-face). |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
117 "\\(def\\(un\\|macro\\)-mh\\)\\|" |
70026
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
118 ;; Variable declarations (use font-lock-variable-name-face). |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
119 "\\(def\\(custom\\|face\\)-mh\\)\\|" |
70026
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
120 ;; Group declarations (use font-lock-type-face). |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
121 "\\(defgroup-mh\\)" |
70026
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
122 "\\)\\>" |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
123 ;; Any whitespace and defined object. |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
124 "[ \t'\(]*" |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
125 "\\(setf[ \t]+\\sw+)\\|\\sw+\\)?") |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
126 (1 font-lock-keyword-face) |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
127 (7 (cond ((match-beginning 2) font-lock-function-name-face) |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
128 ((match-beginning 4) font-lock-variable-name-face) |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
129 (t font-lock-type-face)) |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
130 nil t))))) |
a0de53f6c617
* mh-compat.el (mh-font-lock-add-keywords): New alias for
Bill Wohler <wohler@newt.com>
parents:
70022
diff
changeset
|
131 |
56673
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
132 |
67681 | 133 |
68465 | 134 ;;; Global Variables |
135 | |
136 ;; Try to keep variables local to a single file. Provide accessors if | |
137 ;; variables are shared. Use this section as a last resort. | |
138 | |
69305
7b2c4c12503a
(Version, mh-version): Add +cvs to version.
Bill Wohler <wohler@newt.com>
parents:
69287
diff
changeset
|
139 (defconst mh-version "7.93+cvs" "Version number of MH-E.") |
68465 | 140 |
141 ;; Variants | |
142 | |
143 (defvar mh-sys-path | |
144 '("/usr/local/nmh/bin" ; nmh default | |
145 "/usr/local/bin/mh/" | |
146 "/usr/local/mh/" | |
147 "/usr/bin/mh/" ; Ultrix 4.2, Linux | |
148 "/usr/new/mh/" ; Ultrix < 4.2 | |
149 "/usr/contrib/mh/bin/" ; BSDI | |
150 "/usr/pkg/bin/" ; NetBSD | |
151 "/usr/local/bin/" | |
152 "/usr/local/bin/mu-mh/" ; GNU mailutils - default | |
153 "/usr/bin/mu-mh/") ; GNU mailutils - packaged | |
154 "List of directories to search for variants of the MH variant. | |
155 The list `exec-path' is searched in addition to this list. | |
156 There's no need for users to modify this list. Instead add extra | |
157 directories to the customizable variable `mh-path'.") | |
158 | |
159 (defvar mh-variants nil | |
160 "List describing known MH variants. | |
161 Do not access this variable directly as it may not have yet been initialized. | |
162 Use the function `mh-variants' instead.") | |
163 | |
164 (defvar mh-variant-in-use nil | |
165 "The MH variant currently in use; a string with variant and version number. | |
166 This differs from `mh-variant' when the latter is set to | |
167 \"autodetect\".") | |
168 | |
169 (defvar mh-progs nil | |
170 "Directory containing MH commands, such as inc, repl, and rmm.") | |
171 | |
172 ;;;###autoload | |
173 (put 'mh-progs 'risky-local-variable t) | |
174 | |
175 (defvar mh-lib nil | |
176 "Directory containing the MH library. | |
177 This directory contains, among other things, the components file.") | |
178 | |
179 ;;;###autoload | |
180 (put 'mh-lib 'risky-local-variable t) | |
181 | |
182 (defvar mh-lib-progs nil | |
183 "Directory containing MH helper programs. | |
184 This directory contains, among other things, the mhl program.") | |
185 | |
186 ;;;###autoload | |
187 (put 'mh-lib-progs 'risky-local-variable t) | |
188 | |
189 ;; Profile Components | |
190 | |
191 (defvar mh-draft-folder nil | |
192 "Cached value of the \"Draft-Folder:\" MH profile component. | |
193 Name of folder containing draft messages. | |
194 Nil means do not use a draft folder.") | |
195 | |
196 (defvar mh-inbox nil | |
197 "Cached value of the \"Inbox:\" MH profile component. | |
198 Set to \"+inbox\" if no such component. | |
199 Name of the Inbox folder.") | |
200 | |
201 (defvar mh-user-path nil | |
202 "Cached value of the \"Path:\" MH profile component. | |
203 User's mail folder directory.") | |
204 | |
205 ;; Maps declared here so that they can be used in docstrings. | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
206 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
207 (defvar mh-folder-mode-map (make-keymap) |
68465 | 208 "Keymap for MH-Folder mode.") |
209 | |
210 (defvar mh-folder-seq-tool-bar-map nil | |
211 "Keymap for MH-Folder tool bar.") | |
212 | |
213 (defvar mh-folder-tool-bar-map nil | |
214 "Keymap for MH-Folder tool bar.") | |
215 | |
216 (defvar mh-inc-spool-map (make-sparse-keymap) | |
217 "Keymap for MH-E's mh-inc-spool commands.") | |
218 | |
219 (defvar mh-letter-mode-map (copy-keymap text-mode-map) | |
220 "Keymap for MH-Letter mode.") | |
221 | |
222 (defvar mh-letter-tool-bar-map nil | |
223 "Keymap for MH-Letter tool bar.") | |
224 | |
225 (defvar mh-search-mode-map (make-sparse-keymap) | |
226 "Keymap for MH-Search mode.") | |
227 | |
228 (defvar mh-show-mode-map (make-sparse-keymap) | |
229 "Keymap MH-Show mode.") | |
230 | |
231 (defvar mh-show-seq-tool-bar-map nil | |
232 "Keymap for MH-Show tool bar.") | |
233 | |
234 (defvar mh-show-tool-bar-map nil | |
235 "Keymap for MH-Show tool bar.") | |
236 | |
237 ;; MH-Folder Locals (alphabetical) | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
238 |
67756
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
239 (defvar mh-arrow-marker nil |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
240 "Marker for arrow display in fringe.") |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
241 |
68465 | 242 (defvar mh-colors-available-flag nil |
243 "Non-nil means colors are available.") | |
244 | |
245 (defvar mh-current-folder nil | |
246 "Name of current folder, a string.") | |
247 | |
67756
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
248 (defvar mh-delete-list nil |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
249 "List of message numbers to delete. |
67758
6b063593fdad
Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents:
67756
diff
changeset
|
250 This variable can be used by |
6b063593fdad
Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents:
67756
diff
changeset
|
251 `mh-before-commands-processed-hook'.") |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
252 |
68465 | 253 (defvar mh-folder-view-stack nil |
67756
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
254 "Stack of previous folder views.") |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
255 |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
256 (defvar mh-index-data nil |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
257 "Info about index search results.") |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
258 |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
259 (defvar mh-index-previous-search nil) |
68465 | 260 |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
261 (defvar mh-index-msg-checksum-map nil) |
68465 | 262 |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
263 (defvar mh-index-checksum-origin-map nil) |
68465 | 264 |
56406
d36b00b98db0
Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents:
55151
diff
changeset
|
265 (defvar mh-index-sequence-search-flag nil) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
266 |
67756
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
267 (defvar mh-mode-line-annotation nil |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
268 "Message range displayed in buffer.") |
56406
d36b00b98db0
Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents:
55151
diff
changeset
|
269 |
68465 | 270 (defvar mh-next-direction 'forward |
271 "Direction to move to next message.") | |
272 | |
273 (defvar mh-previous-window-config nil | |
274 "Window configuration before MH-E command.") | |
275 | |
276 (defvar mh-refile-list nil | |
277 "List of folder names in `mh-seq-list'. | |
278 This variable can be used by | |
279 `mh-before-commands-processed-hook'.") | |
280 | |
281 (defvar mh-seen-list nil | |
282 "List of displayed messages to be removed from the \"Unseen\" sequence.") | |
283 | |
284 (defvar mh-seq-list nil | |
285 "Alist of this folder's sequences. | |
286 Elements have the form (SEQUENCE . MESSAGES).") | |
287 | |
67756
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
288 (defvar mh-sequence-notation-history nil |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
289 "Remember original notation that is overwritten by `mh-note-seq'.") |
7ff92ad99326
* mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents:
67689
diff
changeset
|
290 |
68465 | 291 (defvar mh-show-buffer nil |
292 "Buffer that displays message for this folder.") | |
293 | |
294 (defvar mh-showing-mode nil | |
295 "If non-nil, show the message in a separate window.") | |
296 | |
297 (defvar mh-view-ops nil | |
298 "Stack of operations that change the folder view. | |
299 These operations include narrowing or threading.") | |
300 | |
301 ;; MH-Show Locals (alphabetical) | |
302 | |
303 (defvar mh-globals-hash (make-hash-table) | |
304 "Keeps track of MIME data on a per buffer basis.") | |
305 | |
306 (defvar mh-show-folder-buffer nil | |
307 "Keeps track of folder whose message is being displayed.") | |
308 | |
309 ;; MH-Letter Locals | |
310 | |
311 (defvar mh-folders-changed nil | |
312 "Lists which folders were affected by deletes and refiles. | |
313 This list will always include the current folder | |
314 `mh-current-folder'. This variable can be used by | |
315 `mh-after-commands-processed-hook'.") | |
316 | |
317 (defvar mh-mail-header-separator "--------" | |
318 "*Line used by MH to separate headers from text in messages being composed. | |
319 | |
320 This variable should not be used directly in programs. Programs | |
321 should use `mail-header-separator' instead. | |
322 `mail-header-separator' is initialized to | |
323 `mh-mail-header-separator' in `mh-letter-mode'; in other | |
324 contexts, you may have to perform this initialization yourself. | |
325 | |
326 Do not make this a regular expression as it may be the argument | |
327 to `insert' and it is passed through `regexp-quote' before being | |
328 used by functions like `re-search-forward'.") | |
329 | |
330 (defvar mh-sent-from-folder nil | |
331 "Folder of msg assoc with this letter.") | |
332 | |
333 (defvar mh-sent-from-msg nil | |
334 "Number of msg assoc with this letter.") | |
335 | |
336 ;; Sequences | |
337 | |
338 (defvar mh-unseen-seq nil | |
339 "Cached value of the \"Unseen-Sequence:\" MH profile component. | |
340 Name of the Unseen sequence.") | |
341 | |
342 (defvar mh-previous-seq nil | |
343 "Cached value of the \"Previous-Sequence:\" MH profile component. | |
344 Name of the Previous sequence.") | |
345 | |
346 ;; Etc. (alphabetical) | |
347 | |
348 (defvar mh-flists-present-flag nil | |
349 "Non-nil means that we have \"flists\".") | |
350 | |
351 (defvar mh-index-data-file ".mhe_index" | |
352 "MH-E specific file where index seach info is stored.") | |
353 | |
354 (defvar mh-letter-header-field-regexp "^\\([A-Za-z][A-Za-z0-9-]*\\):") | |
355 | |
356 (defvar mh-page-to-next-msg-flag nil | |
357 "Non-nil means next SPC or whatever goes to next undeleted message.") | |
358 | |
359 (defvar mh-pgp-support-flag (not (not (locate-library "mml2015"))) | |
360 "Non-nil means PGP support is available.") | |
361 | |
362 (defvar mh-signature-separator "-- \n" | |
363 "Text of a signature separator. | |
364 | |
365 A signature separator is used to separate the body of a message | |
366 from the signature. This can be used by user agents such as MH-E | |
367 to render the signature differently or to suppress the inclusion | |
368 of the signature in a reply. Use `mh-signature-separator-regexp' | |
369 when searching for a separator.") | |
370 | |
371 (defvar mh-signature-separator-regexp "^-- $" | |
372 "This regular expression matches the signature separator. | |
373 See `mh-signature-separator'.") | |
374 | |
375 (defvar mh-thread-scan-line-map nil | |
376 "Map of message index to various parts of the scan line.") | |
377 (make-variable-buffer-local 'mh-thread-scan-line-map) | |
378 | |
379 (defvar mh-thread-scan-line-map-stack nil | |
380 "Old map of message index to various parts of the scan line. | |
381 This is the original map that is stored when the folder is | |
382 narrowed.") | |
383 (make-variable-buffer-local 'mh-thread-scan-line-map-stack) | |
384 | |
385 (defvar mh-x-mailer-string nil | |
386 "*String containing the contents of the X-Mailer header field. | |
387 If nil, this variable is initialized to show the version of MH-E, | |
388 Emacs, and MH the first time a message is composed.") | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
389 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
390 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
391 |
68465 | 392 ;;; MH-E Entry Points |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
393 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
394 (eval-when-compile (require 'gnus)) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
395 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
396 (defmacro mh-macro-expansion-time-gnus-version () |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
397 "Return Gnus version available at macro expansion time. |
67758
6b063593fdad
Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents:
67756
diff
changeset
|
398 The macro evaluates the Gnus version at macro expansion time. If |
6b063593fdad
Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents:
67756
diff
changeset
|
399 MH-E was compiled then macro expansion happens at compile time." |
6b063593fdad
Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents:
67756
diff
changeset
|
400 gnus-version) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
401 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
402 (defun mh-run-time-gnus-version () |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
403 "Return Gnus version available at run time." |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
404 (require 'gnus) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
405 gnus-version) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
406 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
407 ;;;###autoload |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
408 (defun mh-version () |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
409 "Display version information about MH-E and the MH mail handling system." |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
410 (interactive) |
49578
b35587af8747
Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents:
49459
diff
changeset
|
411 (set-buffer (get-buffer-create mh-info-buffer)) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
412 (erase-buffer) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
413 ;; MH-E version. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
414 (insert "MH-E " mh-version "\n\n") |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
415 ;; MH-E compilation details. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
416 (insert "MH-E compilation details:\n") |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
417 (let* ((compiled-mhe (byte-code-function-p (symbol-function 'mh-version))) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
418 (gnus-compiled-version (if compiled-mhe |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
419 (mh-macro-expansion-time-gnus-version) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
420 "N/A"))) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
421 (insert " Byte compiled:\t\t" (if compiled-mhe "yes" "no") "\n" |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
422 " Gnus (compile-time):\t" gnus-compiled-version "\n" |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
423 " Gnus (run-time):\t" (mh-run-time-gnus-version) "\n\n")) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
424 ;; Emacs version. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
425 (insert (emacs-version) "\n\n") |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
426 ;; MH version. |
56673
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
427 (if mh-variant-in-use |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
428 (insert mh-variant-in-use "\n" |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
429 " mh-progs:\t" mh-progs "\n" |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
430 " mh-lib:\t" mh-lib "\n" |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
431 " mh-lib-progs:\t" mh-lib-progs "\n\n") |
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
432 (insert "No MH variant detected\n")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
433 ;; Linux version. |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
434 (condition-case () |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
435 (call-process "uname" nil t nil "-a") |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
436 (file-error)) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
437 (goto-char (point-min)) |
49578
b35587af8747
Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents:
49459
diff
changeset
|
438 (display-buffer mh-info-buffer)) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
439 |
68465 | 440 |
441 | |
442 ;;; Support Routines | |
443 | |
444 (defun mh-list-to-string (l) | |
445 "Flatten the list L and make every element of the new list into a string." | |
446 (nreverse (mh-list-to-string-1 l))) | |
447 | |
448 (defun mh-list-to-string-1 (l) | |
449 "Flatten the list L and make every element of the new list into a string." | |
69519
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
450 (let (new-list) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
451 (dolist (element l) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
452 (cond ((null element)) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
453 ((symbolp element) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
454 (push (symbol-name element) new-list)) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
455 ((numberp element) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
456 (push (int-to-string element) new-list)) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
457 ((equal element "")) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
458 ((stringp element) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
459 (push element new-list)) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
460 ((listp element) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
461 (setq new-list (nconc (mh-list-to-string-1 element) new-list))) |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
462 (t |
e9f5e5650ade
(mh-list-to-string-1): Use dolist.
Bill Wohler <wohler@newt.com>
parents:
69492
diff
changeset
|
463 (error "Bad element: %s" element)))) |
68465 | 464 new-list)) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
465 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
466 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
467 |
68465 | 468 ;;; MH-E Process Support |
469 | |
470 (defvar mh-index-max-cmdline-args 500 | |
471 "Maximum number of command line args.") | |
472 | |
473 (defun mh-xargs (cmd &rest args) | |
474 "Partial imitation of xargs. | |
475 The current buffer contains a list of strings, one on each line. | |
476 The function will execute CMD with ARGS and pass the first | |
477 `mh-index-max-cmdline-args' strings to it. This is repeated till | |
478 all the strings have been used." | |
479 (goto-char (point-min)) | |
480 (let ((current-buffer (current-buffer))) | |
481 (with-temp-buffer | |
482 (let ((out (current-buffer))) | |
483 (set-buffer current-buffer) | |
484 (while (not (eobp)) | |
485 (let ((arg-list (reverse args)) | |
486 (count 0)) | |
487 (while (and (not (eobp)) (< count mh-index-max-cmdline-args)) | |
68529
7daec5f4a289
* mh-alias.el (mh-alias-gecos-name): Use mh-replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68484
diff
changeset
|
488 (push (buffer-substring-no-properties (point) |
7daec5f4a289
* mh-alias.el (mh-alias-gecos-name): Use mh-replace-regexp-in-string
Bill Wohler <wohler@newt.com>
parents:
68484
diff
changeset
|
489 (mh-line-end-position)) |
68465 | 490 arg-list) |
491 (incf count) | |
492 (forward-line)) | |
493 (apply #'call-process cmd nil (list out nil) nil | |
494 (nreverse arg-list)))) | |
495 (erase-buffer) | |
496 (insert-buffer-substring out))))) | |
497 | |
498 ;; XXX This should be applied anywhere MH-E calls out to /bin/sh. | |
499 (defun mh-quote-for-shell (string) | |
500 "Quote STRING for /bin/sh. | |
501 Adds double-quotes around entire string and quotes the characters | |
502 \\, `, and $ with a backslash." | |
503 (concat "\"" | |
504 (loop for x across string | |
505 concat (format (if (memq x '(?\\ ?` ?$)) "\\%c" "%c") x)) | |
506 "\"")) | |
507 | |
508 (defun mh-exec-cmd (command &rest args) | |
509 "Execute mh-command COMMAND with ARGS. | |
510 The side effects are what is desired. Any output is assumed to be | |
511 an error and is shown to the user. The output is not read or | |
512 parsed by MH-E." | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
513 (save-excursion |
68465 | 514 (set-buffer (get-buffer-create mh-log-buffer)) |
515 (let* ((initial-size (mh-truncate-log-buffer)) | |
516 (start (point)) | |
517 (args (mh-list-to-string args))) | |
518 (apply 'call-process (expand-file-name command mh-progs) nil t nil args) | |
519 (when (> (buffer-size) initial-size) | |
520 (save-excursion | |
521 (goto-char start) | |
522 (insert "Errors when executing: " command) | |
523 (loop for arg in args do (insert " " arg)) | |
524 (insert "\n")) | |
525 (save-window-excursion | |
526 (switch-to-buffer-other-window mh-log-buffer) | |
527 (sit-for 5)))))) | |
528 | |
529 (defun mh-exec-cmd-error (env command &rest args) | |
530 "In environment ENV, execute mh-command COMMAND with ARGS. | |
531 ENV is nil or a string of space-separated \"var=value\" elements. | |
532 Signals an error if process does not complete successfully." | |
49578
b35587af8747
Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents:
49459
diff
changeset
|
533 (save-excursion |
68465 | 534 (set-buffer (get-buffer-create mh-temp-buffer)) |
535 (erase-buffer) | |
536 (let ((process-environment process-environment)) | |
537 ;; XXX: We should purge the list that split-string returns of empty | |
538 ;; strings. This can happen in XEmacs if leading or trailing spaces | |
539 ;; are present. | |
540 (dolist (elem (if (stringp env) (split-string env " ") ())) | |
541 (push elem process-environment)) | |
542 (mh-handle-process-error | |
543 command (apply #'call-process (expand-file-name command mh-progs) | |
544 nil t nil (mh-list-to-string args)))))) | |
545 | |
546 (defun mh-exec-cmd-daemon (command filter &rest args) | |
547 "Execute MH command COMMAND in the background. | |
548 | |
549 If FILTER is non-nil then it is used to process the output | |
550 otherwise the default filter `mh-process-daemon' is used. See | |
551 `set-process-filter' for more details of FILTER. | |
552 | |
553 ARGS are passed to COMMAND as command line arguments." | |
554 (save-excursion | |
555 (set-buffer (get-buffer-create mh-log-buffer)) | |
556 (mh-truncate-log-buffer)) | |
557 (let* ((process-connection-type nil) | |
558 (process (apply 'start-process | |
559 command nil | |
560 (expand-file-name command mh-progs) | |
561 (mh-list-to-string args)))) | |
562 (set-process-filter process (or filter 'mh-process-daemon)) | |
563 process)) | |
564 | |
565 (defun mh-exec-cmd-env-daemon (env command filter &rest args) | |
566 "In ennvironment ENV, execute mh-command COMMAND in the background. | |
567 | |
568 ENV is nil or a string of space-separated \"var=value\" elements. | |
569 Signals an error if process does not complete successfully. | |
570 | |
571 If FILTER is non-nil then it is used to process the output | |
572 otherwise the default filter `mh-process-daemon' is used. See | |
573 `set-process-filter' for more details of FILTER. | |
574 | |
575 ARGS are passed to COMMAND as command line arguments." | |
576 (let ((process-environment process-environment)) | |
577 (dolist (elem (if (stringp env) (split-string env " ") ())) | |
578 (push elem process-environment)) | |
579 (apply #'mh-exec-cmd-daemon command filter args))) | |
580 | |
581 (defun mh-process-daemon (process output) | |
582 "PROCESS daemon that puts OUTPUT into a temporary buffer. | |
583 Any output from the process is displayed in an asynchronous | |
584 pop-up window." | |
585 (with-current-buffer (get-buffer-create mh-log-buffer) | |
586 (insert-before-markers output) | |
587 (display-buffer mh-log-buffer))) | |
588 | |
589 (defun mh-exec-cmd-quiet (raise-error command &rest args) | |
590 "Signal RAISE-ERROR if COMMAND with ARGS fails. | |
591 Execute MH command COMMAND with ARGS. ARGS is a list of strings. | |
592 Return at start of mh-temp buffer, where output can be parsed and | |
593 used. | |
594 Returns value of `call-process', which is 0 for success, unless | |
595 RAISE-ERROR is non-nil, in which case an error is signaled if | |
596 `call-process' returns non-0." | |
597 (set-buffer (get-buffer-create mh-temp-buffer)) | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
598 (erase-buffer) |
68465 | 599 (let ((value |
600 (apply 'call-process | |
601 (expand-file-name command mh-progs) nil t nil | |
602 args))) | |
603 (goto-char (point-min)) | |
604 (if raise-error | |
605 (mh-handle-process-error command value) | |
606 value))) | |
607 | |
608 (defun mh-exec-cmd-output (command display &rest args) | |
609 "Execute MH command COMMAND with DISPLAY flag and ARGS. | |
610 Put the output into buffer after point. | |
611 Set mark after inserted text. | |
612 Output is expected to be shown to user, not parsed by MH-E." | |
613 (push-mark (point) t) | |
614 (apply 'call-process | |
615 (expand-file-name command mh-progs) nil t display | |
616 (mh-list-to-string args)) | |
617 | |
618 ;; The following is used instead of 'exchange-point-and-mark because the | |
619 ;; latter activates the current region (between point and mark), which | |
620 ;; turns on highlighting. So prior to this bug fix, doing "inc" would | |
621 ;; highlight a region containing the new messages, which is undesirable. | |
622 ;; The bug wasn't seen in emacs21 but still occurred in XEmacs21.4. | |
623 (mh-exchange-point-and-mark-preserving-active-mark)) | |
56673
e9a6cbc8ca5e
Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents:
56407
diff
changeset
|
624 |
68102
dbf20754c3a7
Use consistent verbiage with compiler defvars.
Bill Wohler <wohler@newt.com>
parents:
68096
diff
changeset
|
625 ;; Shush compiler. |
70028
d81780942bb8
* mh-acros.el (struct, x, y): No need to wrap defvar with
Bill Wohler <wohler@newt.com>
parents:
70026
diff
changeset
|
626 (defvar mark-active) ; XEmacs |
68465 | 627 |
628 (defun mh-exchange-point-and-mark-preserving-active-mark () | |
629 "Put the mark where point is now, and point where the mark is now. | |
630 This command works even when the mark is not active, and | |
631 preserves whether the mark is active or not." | |
632 (interactive nil) | |
633 (let ((is-active (and (boundp 'mark-active) mark-active))) | |
634 (let ((omark (mark t))) | |
635 (if (null omark) | |
636 (error "No mark set in this buffer")) | |
637 (set-mark (point)) | |
638 (goto-char omark) | |
639 (if (boundp 'mark-active) | |
640 (setq mark-active is-active)) | |
641 nil))) | |
642 | |
643 (defun mh-exec-lib-cmd-output (command &rest args) | |
644 "Execute MH library command COMMAND with ARGS. | |
645 Put the output into buffer after point. | |
646 Set mark after inserted text." | |
647 (apply 'mh-exec-cmd-output (expand-file-name command mh-lib-progs) nil args)) | |
648 | |
649 (defun mh-handle-process-error (command status) | |
650 "Raise error if COMMAND returned non-zero STATUS, otherwise return STATUS." | |
651 (if (equal status 0) | |
652 status | |
653 (goto-char (point-min)) | |
654 (insert (if (integerp status) | |
655 (format "%s: exit code %d\n" command status) | |
656 (format "%s: %s\n" command status))) | |
657 (save-excursion | |
658 (let ((error-message (buffer-substring (point-min) (point-max)))) | |
659 (set-buffer (get-buffer-create mh-log-buffer)) | |
660 (mh-truncate-log-buffer) | |
661 (insert error-message))) | |
662 (error "%s failed, check buffer %s for error message" | |
663 command mh-log-buffer))) | |
664 | |
665 | |
666 | |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
667 ;;; MH-E Customization Support Routines |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
668 |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
669 ;; Shush compiler (Emacs 21 and XEmacs). |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
670 (defvar customize-package-emacs-version-alist) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
671 |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
672 ;; Temporary function and data structure used customization. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
673 ;; These will be unbound after the options are defined. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
674 (defmacro mh-strip-package-version (args) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
675 "Strip :package-version keyword and its value from ARGS. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
676 In Emacs versions that support the :package-version keyword, |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
677 ARGS is returned unchanged." |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
678 `(if (boundp 'customize-package-emacs-version-alist) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
679 ,args |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
680 (let (seen) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
681 (loop for keyword in ,args |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
682 if (cond ((eq keyword ':package-version) (setq seen t) nil) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
683 (seen (setq seen nil) nil) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
684 (t t)) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
685 collect keyword)))) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
686 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
687 (defmacro defgroup-mh (symbol members doc &rest args) |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
688 "Declare SYMBOL as a customization group containing MEMBERS. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
689 See documentation for `defgroup' for a description of the arguments |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
690 SYMBOL, MEMBERS, DOC and ARGS. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
691 This macro is used by Emacs versions that lack the :package-version |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
692 keyword, introduced in Emacs 22." |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
693 (declare (doc-string 3)) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
694 `(defgroup ,symbol ,members ,doc ,@(mh-strip-package-version args))) |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
695 (put 'defgroup-mh 'lisp-indent-function 'defun) |
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
696 |
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
697 (defmacro defcustom-mh (symbol value doc &rest args) |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
698 "Declare SYMBOL as a customizable variable that defaults to VALUE. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
699 See documentation for `defcustom' for a description of the arguments |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
700 SYMBOL, VALUE, DOC and ARGS. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
701 This macro is used by Emacs versions that lack the :package-version |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
702 keyword, introduced in Emacs 22." |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
703 (declare (doc-string 3)) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
704 `(defcustom ,symbol ,value ,doc ,@(mh-strip-package-version args))) |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
705 (put 'defcustom-mh 'lisp-indent-function 'defun) |
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
706 |
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
707 (defmacro defface-mh (face spec doc &rest args) |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
708 "Declare FACE as a customizable face that defaults to SPEC. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
709 See documentation for `defface' for a description of the arguments |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
710 FACE, SPEC, DOC and ARGS. |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
711 This macro is used by Emacs versions that lack the :package-version |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
712 keyword, introduced in Emacs 22." |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
713 (declare (doc-string 3)) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
714 `(defface ,face ,spec ,doc ,@(mh-strip-package-version args))) |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
715 (put 'defface-mh 'lisp-indent-function 'defun) |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
716 |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
717 |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
718 |
68465 | 719 ;;; Variant Support |
720 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
721 (defcustom-mh mh-path nil |
68465 | 722 "*Additional list of directories to search for MH. |
723 See `mh-variant'." | |
724 :group 'mh-e | |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
725 :type '(repeat (directory)) |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
726 :package-version '(MH-E "8.0")) |
68465 | 727 |
728 (defun mh-variants () | |
729 "Return a list of installed variants of MH on the system. | |
730 This function looks for MH in `mh-sys-path', `mh-path' and | |
731 `exec-path'. The format of the list of variants that is returned | |
732 is described by the variable `mh-variants'." | |
733 (if mh-variants | |
734 mh-variants | |
735 (let ((list-unique)) | |
736 ;; Make a unique list of directories, keeping the given order. | |
737 ;; We don't want the same MH variant to be listed multiple times. | |
738 (loop for dir in (append mh-path mh-sys-path exec-path) do | |
739 (setq dir (file-chase-links (directory-file-name dir))) | |
740 (add-to-list 'list-unique dir)) | |
741 (loop for dir in (nreverse list-unique) do | |
742 (when (and dir (file-directory-p dir) (file-readable-p dir)) | |
743 (let ((variant (mh-variant-info dir))) | |
744 (if variant | |
745 (add-to-list 'mh-variants variant))))) | |
746 mh-variants))) | |
747 | |
748 (defun mh-variant-info (dir) | |
749 "Return MH variant found in DIR, or nil if none present." | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
750 (save-excursion |
68465 | 751 (let ((tmp-buffer (get-buffer-create mh-temp-buffer))) |
752 (set-buffer tmp-buffer) | |
753 (cond | |
754 ((mh-variant-mh-info dir)) | |
755 ((mh-variant-nmh-info dir)) | |
756 ((mh-variant-mu-mh-info dir)))))) | |
757 | |
758 (defun mh-variant-mh-info (dir) | |
759 "Return info for MH variant in DIR assuming a temporary buffer is setup." | |
760 ;; MH does not have the -version option. | |
761 ;; Its version number is included in the output of "-help" as: | |
762 ;; | |
763 ;; version: MH 6.8.4 #2[UCI] (burrito) of Fri Jan 15 20:01:39 EST 1999 | |
764 ;; options: [ATHENA] [BIND] [DUMB] [LIBLOCKFILE] [LOCALE] [MAILGROUP] [MHE] | |
765 ;; [MHRC] [MIME] [MORE='"/usr/bin/sensible-pager"'] [NLINK_HACK] | |
766 ;; [NORUSERPASS] [OVERHEAD] [POP] [POPSERVICE='"pop-3"'] [RENAME] | |
767 ;; [RFC1342] [RPATHS] [RPOP] [SENDMTS] [SMTP] [SOCKETS] | |
768 ;; [SPRINTFTYPE=int] [SVR4] [SYS5] [SYS5DIR] [TERMINFO] | |
769 ;; [TYPESIG=void] [UNISTD] [UTK] [VSPRINTF] | |
770 (let ((mhparam (expand-file-name "mhparam" dir))) | |
771 (when (mh-file-command-p mhparam) | |
772 (erase-buffer) | |
773 (call-process mhparam nil '(t nil) nil "-help") | |
774 (goto-char (point-min)) | |
775 (when (search-forward-regexp "version: MH \\(\\S +\\)" nil t) | |
776 (let ((version (format "MH %s" (match-string 1)))) | |
777 (erase-buffer) | |
778 (call-process mhparam nil '(t nil) nil "libdir") | |
779 (goto-char (point-min)) | |
780 (when (search-forward-regexp "^.*$" nil t) | |
781 (let ((libdir (match-string 0))) | |
782 `(,version | |
783 (variant mh) | |
784 (mh-lib-progs ,libdir) | |
785 (mh-lib ,libdir) | |
786 (mh-progs ,dir) | |
787 (flists nil))))))))) | |
788 | |
789 (defun mh-variant-mu-mh-info (dir) | |
790 "Return info for GNU mailutils variant in DIR. | |
791 This assumes that a temporary buffer is setup." | |
792 ;; 'mhparam -version' output: | |
793 ;; mhparam (GNU mailutils 0.3.2) | |
794 (let ((mhparam (expand-file-name "mhparam" dir))) | |
795 (when (mh-file-command-p mhparam) | |
796 (erase-buffer) | |
797 (call-process mhparam nil '(t nil) nil "-version") | |
798 (goto-char (point-min)) | |
799 (when (search-forward-regexp "mhparam (\\(GNU [Mm]ailutils \\S +\\))" | |
800 nil t) | |
801 (let ((version (match-string 1)) | |
802 (mh-progs dir)) | |
803 `(,version | |
804 (variant mu-mh) | |
805 (mh-lib-progs ,(mh-profile-component "libdir")) | |
806 (mh-lib ,(mh-profile-component "etcdir")) | |
807 (mh-progs ,dir) | |
808 (flists ,(file-exists-p | |
809 (expand-file-name "flists" dir))))))))) | |
810 | |
811 (defun mh-variant-nmh-info (dir) | |
812 "Return info for nmh variant in DIR assuming a temporary buffer is setup." | |
813 ;; `mhparam -version' outputs: | |
814 ;; mhparam -- nmh-1.1-RC1 [compiled on chaak at Fri Jun 20 11:03:28 PDT 2003] | |
815 (let ((mhparam (expand-file-name "mhparam" dir))) | |
816 (when (mh-file-command-p mhparam) | |
817 (erase-buffer) | |
818 (call-process mhparam nil '(t nil) nil "-version") | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
819 (goto-char (point-min)) |
68465 | 820 (when (search-forward-regexp "mhparam -- nmh-\\(\\S +\\)" nil t) |
821 (let ((version (format "nmh %s" (match-string 1))) | |
822 (mh-progs dir)) | |
823 `(,version | |
824 (variant nmh) | |
825 (mh-lib-progs ,(mh-profile-component "libdir")) | |
826 (mh-lib ,(mh-profile-component "etcdir")) | |
827 (mh-progs ,dir) | |
828 (flists ,(file-exists-p | |
829 (expand-file-name "flists" dir))))))))) | |
830 | |
831 (defun mh-file-command-p (file) | |
832 "Return t if file FILE is the name of a executable regular file." | |
833 (and (file-regular-p file) (file-executable-p file))) | |
834 | |
835 (defun mh-variant-set-variant (variant) | |
836 "Setup the system variables for the MH variant named VARIANT. | |
837 If VARIANT is a string, use that key in the alist returned by the | |
838 function `mh-variants'. | |
839 If VARIANT is a symbol, select the first entry that matches that | |
840 variant." | |
841 (cond | |
842 ((stringp variant) ;e.g. "nmh 1.1-RC1" | |
843 (when (assoc variant (mh-variants)) | |
844 (let* ((alist (cdr (assoc variant (mh-variants)))) | |
845 (lib-progs (cadr (assoc 'mh-lib-progs alist))) | |
846 (lib (cadr (assoc 'mh-lib alist))) | |
847 (progs (cadr (assoc 'mh-progs alist))) | |
848 (flists (cadr (assoc 'flists alist)))) | |
849 ;;(set-default mh-variant variant) | |
850 (setq mh-x-mailer-string nil | |
851 mh-flists-present-flag flists | |
852 mh-lib-progs lib-progs | |
853 mh-lib lib | |
854 mh-progs progs | |
855 mh-variant-in-use variant)))) | |
856 ((symbolp variant) ;e.g. 'nmh (pick the first match) | |
857 (loop for variant-list in (mh-variants) | |
858 when (eq variant (cadr (assoc 'variant (cdr variant-list)))) | |
859 return (let* ((version (car variant-list)) | |
860 (alist (cdr variant-list)) | |
861 (lib-progs (cadr (assoc 'mh-lib-progs alist))) | |
862 (lib (cadr (assoc 'mh-lib alist))) | |
863 (progs (cadr (assoc 'mh-progs alist))) | |
864 (flists (cadr (assoc 'flists alist)))) | |
865 ;;(set-default mh-variant flavor) | |
866 (setq mh-x-mailer-string nil | |
867 mh-flists-present-flag flists | |
868 mh-lib-progs lib-progs | |
869 mh-lib lib | |
870 mh-progs progs | |
871 mh-variant-in-use version) | |
872 t))))) | |
873 | |
874 (defun mh-variant-p (&rest variants) | |
875 "Return t if variant is any of VARIANTS. | |
876 Currently known variants are 'MH, 'nmh, and 'mu-mh." | |
877 (let ((variant-in-use | |
878 (cadr (assoc 'variant (assoc mh-variant-in-use (mh-variants)))))) | |
879 (not (null (member variant-in-use variants))))) | |
880 | |
881 (defun mh-profile-component (component) | |
882 "Return COMPONENT value from mhparam, or nil if unset." | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
883 (save-excursion |
69357
1f70898570ca
(mh-profile-component): Drop `s' from mhparam -components for
Bill Wohler <wohler@newt.com>
parents:
69305
diff
changeset
|
884 ;; MH and nmh use -components, Mailutils uses -component. Since MH |
1f70898570ca
(mh-profile-component): Drop `s' from mhparam -components for
Bill Wohler <wohler@newt.com>
parents:
69305
diff
changeset
|
885 ;; and nmh work with an unambiguous prefix, the `s' is dropped here. |
1f70898570ca
(mh-profile-component): Drop `s' from mhparam -components for
Bill Wohler <wohler@newt.com>
parents:
69305
diff
changeset
|
886 (mh-exec-cmd-quiet nil "mhparam" "-component" component) |
68465 | 887 (mh-profile-component-value component))) |
888 | |
889 (defun mh-profile-component-value (component) | |
890 "Find and return the value of COMPONENT in the current buffer. | |
891 Returns nil if the component is not in the buffer." | |
892 (let ((case-fold-search t)) | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
893 (goto-char (point-min)) |
68465 | 894 (cond ((not (re-search-forward (format "^%s:" component) nil t)) nil) |
895 ((looking-at "[\t ]*$") nil) | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
896 (t |
68465 | 897 (re-search-forward "[\t ]*\\([^\t \n].*\\)$" nil t) |
898 (let ((start (match-beginning 1))) | |
899 (end-of-line) | |
900 (buffer-substring start (point))))))) | |
901 | |
902 (defun mh-variant-set (variant) | |
903 "Set the MH variant to VARIANT. | |
904 Sets `mh-progs', `mh-lib', `mh-lib-progs' and | |
905 `mh-flists-present-flag'. | |
906 If the VARIANT is \"autodetect\", then first try nmh, then MH and | |
907 finally GNU mailutils." | |
908 (interactive | |
909 (list (completing-read | |
910 "MH variant: " | |
911 (mapcar (lambda (x) (list (car x))) (mh-variants)) | |
912 nil t))) | |
913 (let ((valid-list (mapcar (lambda (x) (car x)) (mh-variants)))) | |
914 (cond | |
915 ((eq variant 'none)) | |
916 ((eq variant 'autodetect) | |
917 (cond | |
918 ((mh-variant-set-variant 'nmh) | |
919 (message "%s installed as MH variant" mh-variant-in-use)) | |
920 ((mh-variant-set-variant 'mh) | |
921 (message "%s installed as MH variant" mh-variant-in-use)) | |
922 ((mh-variant-set-variant 'mu-mh) | |
923 (message "%s installed as MH variant" mh-variant-in-use)) | |
924 (t | |
925 (message "No MH variant found on the system")))) | |
926 ((member variant valid-list) | |
927 (when (not (mh-variant-set-variant variant)) | |
928 (message "Warning: %s variant not found. Autodetecting..." variant) | |
929 (mh-variant-set 'autodetect))) | |
930 (t | |
931 (message "Unknown variant; use %s" | |
932 (mapconcat '(lambda (x) (format "%s" (car x))) | |
933 (mh-variants) " or ")))))) | |
934 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
935 (defcustom-mh mh-variant 'autodetect |
68465 | 936 "*Specifies the variant used by MH-E. |
937 | |
938 The default setting of this option is \"Auto-detect\" which means | |
939 that MH-E will automatically choose the first of nmh, MH, or GNU | |
940 mailutils that it finds in the directories listed in | |
941 `mh-path' (which you can customize), `mh-sys-path', and | |
69196
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
942 `exec-path'. If MH-E can't find MH at all, you may have to |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
943 customize `mh-path' and add the directory in which the command |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
944 \"mhparam\" is located. If, on the other hand, you have both nmh |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
945 and mailutils installed (for example) and `mh-variant-in-use' was |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
946 initialized to nmh but you want to use mailutils, then you can |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
947 set this option to \"mailutils\". |
68465 | 948 |
949 When this variable is changed, MH-E resets `mh-progs', `mh-lib', | |
950 `mh-lib-progs', `mh-flists-present-flag', and `mh-variant-in-use' | |
69196
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
951 accordingly. Prior to version 8, it was often necessary to set |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
952 some of these variables in \"~/.emacs\"; now it is no longer |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
953 necessary and can actually cause problems." |
68465 | 954 :type `(radio |
955 (const :tag "Auto-detect" autodetect) | |
956 ,@(mapcar (lambda (x) `(const ,(car x))) (mh-variants))) | |
957 :set (lambda (symbol value) | |
958 (set-default symbol value) ;Done in mh-variant-set-variant! | |
959 (mh-variant-set value)) | |
69846
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
960 :group 'mh-e |
9942deb37276
(mh-path, mh-variant): Define with mh-defcustom and add
Bill Wohler <wohler@newt.com>
parents:
69749
diff
changeset
|
961 :package-version '(MH-E "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
962 |
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
963 |
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
964 |
68465 | 965 ;;; MH-E Customization |
966 | |
967 ;; All of the defgroups, defcustoms, and deffaces in MH-E are found | |
968 ;; here. This makes it possible to customize modules that aren't | |
969 ;; loaded yet. It also makes it easier to organize the customization | |
970 ;; groups. | |
971 | |
972 ;; This section contains the following sub-sections: | |
973 | |
974 ;; 1. MH-E Customization Groups | |
975 | |
976 ;; These are the customization group definitions. Every group has a | |
977 ;; associated manual node. The ordering is alphabetical, except for | |
978 ;; the groups mh-faces and mh-hooks which are last . | |
979 | |
980 ;; 2. MH-E Customization | |
981 | |
982 ;; These are the actual customization variables. There is a | |
983 ;; sub-section for each group in the MH-E Customization Groups | |
984 ;; section, in the same order, separated by page breaks. Within | |
985 ;; each section, variables are sorted alphabetically. | |
986 | |
987 ;; 3. Hooks | |
988 | |
989 ;; All hooks must be placed in the mh-hook group; in addition, add | |
990 ;; the group associated with the manual node in which the hook is | |
991 ;; described. Since the mh-hook group appears near the end of this | |
992 ;; section, the hooks will appear at the end of these other groups. | |
993 | |
994 ;; 4. Faces | |
995 | |
996 ;; All faces must be placed in the mh-faces group; in addition, add | |
997 ;; the group associated with the manual node in which the face is | |
998 ;; described. Since the mh-faces group appears near the end of this | |
999 ;; section, the faces will appear at the end of these other groups. | |
1000 | |
1001 (defun mh-customize (&optional delete-other-windows-flag) | |
1002 "Customize MH-E variables. | |
1003 If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other | |
1004 windows in the frame are removed." | |
1005 (interactive "P") | |
1006 (customize-group 'mh-e) | |
1007 (when delete-other-windows-flag | |
1008 (delete-other-windows))) | |
1009 | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1010 (if (boundp 'customize-package-emacs-version-alist) |
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1011 (add-to-list 'customize-package-emacs-version-alist |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1012 '(MH-E ("6.0" . "22.1") ("6.1" . "22.1") ("7.0" . "22.1") |
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1013 ("7.1" . "22.1") ("7.2" . "22.1") ("7.3" . "22.1") |
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1014 ("7.4" . "22.1") ("8.0" . "22.1")))) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1015 |
68465 | 1016 |
1017 | |
1018 ;;; MH-E Customization Groups | |
1019 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1020 (defgroup-mh mh-e nil |
68465 | 1021 "Emacs interface to the MH mail system. |
1022 MH is the Rand Mail Handler. Other implementations include nmh | |
1023 and GNU mailutils." | |
1024 :link '(custom-manual "(mh-e)Top") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1025 :group 'mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1026 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1027 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1028 (defgroup-mh mh-alias nil |
68465 | 1029 "Aliases." |
1030 :link '(custom-manual "(mh-e)Aliases") | |
1031 :prefix "mh-alias-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1032 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1033 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1034 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1035 (defgroup-mh mh-folder nil |
68465 | 1036 "Organizing your mail with folders." |
1037 :prefix "mh-" | |
1038 :link '(custom-manual "(mh-e)Folders") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1039 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1040 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1041 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1042 (defgroup-mh mh-folder-selection nil |
68465 | 1043 "Folder selection." |
1044 :prefix "mh-" | |
1045 :link '(custom-manual "(mh-e)Folder Selection") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1046 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1047 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1048 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1049 (defgroup-mh mh-identity nil |
68465 | 1050 "Identities." |
1051 :link '(custom-manual "(mh-e)Identities") | |
1052 :prefix "mh-identity-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1053 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1054 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1055 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1056 (defgroup-mh mh-inc nil |
68465 | 1057 "Incorporating your mail." |
1058 :prefix "mh-inc-" | |
1059 :link '(custom-manual "(mh-e)Incorporating Mail") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1060 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1061 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1062 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1063 (defgroup-mh mh-junk nil |
68465 | 1064 "Dealing with junk mail." |
1065 :link '(custom-manual "(mh-e)Junk") | |
1066 :prefix "mh-junk-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1067 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1068 :package-version '(MH-E . "7.3")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1069 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1070 (defgroup-mh mh-letter nil |
68465 | 1071 "Editing a draft." |
1072 :prefix "mh-" | |
1073 :link '(custom-manual "(mh-e)Editing Drafts") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1074 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1075 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1076 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1077 (defgroup-mh mh-ranges nil |
68465 | 1078 "Ranges." |
1079 :prefix "mh-" | |
1080 :link '(custom-manual "(mh-e)Ranges") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1081 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1082 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1083 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1084 (defgroup-mh mh-scan-line-formats nil |
68465 | 1085 "Scan line formats." |
1086 :link '(custom-manual "(mh-e)Scan Line Formats") | |
1087 :prefix "mh-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1088 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1089 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1090 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1091 (defgroup-mh mh-search nil |
68465 | 1092 "Searching." |
1093 :link '(custom-manual "(mh-e)Searching") | |
1094 :prefix "mh-search-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1095 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1096 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1097 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1098 (defgroup-mh mh-sending-mail nil |
68465 | 1099 "Sending mail." |
1100 :prefix "mh-" | |
1101 :link '(custom-manual "(mh-e)Sending Mail") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1102 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1103 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1104 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1105 (defgroup-mh mh-sequences nil |
68465 | 1106 "Sequences." |
1107 :prefix "mh-" | |
1108 :link '(custom-manual "(mh-e)Sequences") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1109 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1110 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1111 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1112 (defgroup-mh mh-show nil |
68465 | 1113 "Reading your mail." |
1114 :prefix "mh-" | |
1115 :link '(custom-manual "(mh-e)Reading Mail") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1116 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1117 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1118 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1119 (defgroup-mh mh-speedbar nil |
68465 | 1120 "The speedbar." |
1121 :prefix "mh-speed-" | |
1122 :link '(custom-manual "(mh-e)Speedbar") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1123 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1124 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1125 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1126 (defgroup-mh mh-thread nil |
68465 | 1127 "Threading." |
1128 :prefix "mh-thread-" | |
1129 :link '(custom-manual "(mh-e)Threading") | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1130 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1131 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1132 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1133 (defgroup-mh mh-tool-bar nil |
68465 | 1134 "The tool bar" |
1135 :link '(custom-manual "(mh-e)Tool Bar") | |
1136 :prefix "mh-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1137 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1138 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1139 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1140 (defgroup-mh mh-hooks nil |
68465 | 1141 "MH-E hooks." |
1142 :link '(custom-manual "(mh-e)Top") | |
1143 :prefix "mh-" | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1144 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1145 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1146 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1147 (defgroup-mh mh-faces nil |
68465 | 1148 "Faces used in MH-E." |
1149 :link '(custom-manual "(mh-e)Top") | |
1150 :prefix "mh-" | |
1151 :group 'faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1152 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1153 :package-version '(MH-E . "7.1")) |
68465 | 1154 |
1155 | |
1156 | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1157 ;;; MH-E Customization |
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1158 |
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1159 ;; See Variant Support, above, for mh-e group. |
68465 | 1160 |
1161 ;;; Aliases (:group 'mh-alias) | |
1162 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1163 (defcustom-mh mh-alias-completion-ignore-case-flag t |
68465 | 1164 "*Non-nil means don't consider case significant in MH alias completion. |
1165 | |
1166 As MH ignores case in the aliases, so too does MH-E. However, you | |
1167 may turn off this option to make case significant which can be | |
1168 used to segregate completion of your aliases. You might use | |
1169 lowercase for mailing lists and uppercase for people." | |
1170 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1171 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1172 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1173 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1174 (defcustom-mh mh-alias-expand-aliases-flag nil |
68465 | 1175 "*Non-nil means to expand aliases entered in the minibuffer. |
1176 | |
1177 In other words, aliases entered in the minibuffer will be | |
1178 expanded to the full address in the message draft. By default, | |
1179 this expansion is not performed." | |
1180 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1181 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1182 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1183 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1184 (defcustom-mh mh-alias-flash-on-comma t |
68465 | 1185 "*Specify whether to flash address or warn on translation. |
1186 | |
1187 This option controls the behavior when a [comma] is pressed while | |
1188 entering aliases or addresses. The default setting flashes the | |
1189 address associated with an address in the minibuffer briefly, but | |
1190 does not display a warning if the alias is not found." | |
1191 :type '(choice (const :tag "Flash but Don't Warn If No Alias" t) | |
1192 (const :tag "Flash and Warn If No Alias" 1) | |
1193 (const :tag "Don't Flash Nor Warn If No Alias" nil)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1194 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1195 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1196 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1197 (defcustom-mh mh-alias-insert-file nil |
68465 | 1198 "*Filename used to store a new MH-E alias. |
1199 | |
1200 The default setting of this option is \"Use Aliasfile Profile | |
1201 Component\". This option can also hold the name of a file or a | |
1202 list a file names. If this option is set to a list of file names, | |
1203 or the \"Aliasfile:\" profile component contains more than one file | |
1204 name, MH-E will prompt for one of them when MH-E adds an alias." | |
1205 :type '(choice (const :tag "Use Aliasfile Profile Component" nil) | |
1206 (file :tag "Alias File") | |
1207 (repeat :tag "List of Alias Files" file)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1208 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1209 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1210 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1211 (defcustom-mh mh-alias-insertion-location 'sorted |
68465 | 1212 "Specifies where new aliases are entered in alias files. |
1213 | |
1214 This option is set to \"Alphabetical\" by default. If you organize | |
1215 your alias file in other ways, then adding aliases to the \"Top\" | |
1216 or \"Bottom\" of your alias file might be more appropriate." | |
1217 :type '(choice (const :tag "Alphabetical" sorted) | |
1218 (const :tag "Top" top) | |
1219 (const :tag "Bottom" bottom)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1220 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1221 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1222 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1223 (defcustom-mh mh-alias-local-users t |
68465 | 1224 "*If on, local users are added to alias completion. |
1225 | |
1226 Aliases are created from \"/etc/passwd\" entries with a user ID | |
1227 larger than a magical number, typically 200. This can be a handy | |
1228 tool on a machine where you and co-workers exchange messages. | |
1229 These aliases have the form \"local.first.last\" if a real name is | |
1230 present in the password file. Otherwise, the alias will have the | |
1231 form \"local.login\". | |
1232 | |
1233 If you're on a system with thousands of users you don't know, and | |
1234 the loading of local aliases slows MH-E down noticeably, then | |
1235 turn this option off. | |
1236 | |
1237 This option also takes a string which is executed to generate the | |
1238 password file. For example, use \"ypcat passwd\" to obtain the | |
1239 NIS password file." | |
1240 :type '(choice (boolean) (string)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1241 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1242 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1243 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1244 (defcustom-mh mh-alias-local-users-prefix "local." |
68465 | 1245 "*String prefixed to the real names of users from the password file. |
1246 This option can also be set to \"Use Login\". | |
1247 | |
1248 For example, consider the following password file entry: | |
1249 | |
1250 psg:x:1000:1000:Peter S Galbraith,,,:/home/psg:/bin/tcsh | |
1251 | |
1252 The following settings of this option will produce the associated | |
1253 aliases: | |
1254 | |
1255 \"local.\" local.peter.galbraith | |
1256 \"\" peter.galbraith | |
1257 Use Login psg | |
1258 | |
1259 This option has no effect if variable `mh-alias-local-users' is | |
1260 turned off." | |
1261 :type '(choice (const :tag "Use Login" nil) | |
1262 (string)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1263 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1264 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1265 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1266 (defcustom-mh mh-alias-passwd-gecos-comma-separator-flag t |
68465 | 1267 "*Non-nil means the gecos field in the password file uses a comma separator. |
1268 | |
1269 In the example in `mh-alias-local-users-prefix', commas are used | |
1270 to separate different values within the so-called gecos field. | |
1271 This is a fairly common usage. However, in the rare case that the | |
1272 gecos field in your password file is not separated by commas and | |
1273 whose contents may contain commas, you can turn this option off." | |
1274 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1275 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1276 :package-version '(MH-E . "7.4")) |
68465 | 1277 |
1278 ;;; Organizing Your Mail with Folders (:group 'mh-folder) | |
1279 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1280 (defcustom-mh mh-new-messages-folders t |
68465 | 1281 "Folders searched for the \"unseen\" sequence. |
1282 | |
1283 Set this option to \"Inbox\" to search the \"+inbox\" folder or | |
1284 \"All\" to search all of the top level folders. Otherwise, list | |
1285 the folders that should be searched with the \"Choose Folders\" | |
1286 menu item. | |
1287 | |
1288 See also `mh-recursive-folders-flag'." | |
1289 :type '(choice (const :tag "Inbox" t) | |
1290 (const :tag "All" nil) | |
1291 (repeat :tag "Choose Folders" (string :tag "Folder"))) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1292 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1293 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1294 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1295 (defcustom-mh mh-ticked-messages-folders t |
68465 | 1296 "Folders searched for `mh-tick-seq'. |
1297 | |
1298 Set this option to \"Inbox\" to search the \"+inbox\" folder or | |
1299 \"All\" to search all of the top level folders. Otherwise, list | |
1300 the folders that should be searched with the \"Choose Folders\" | |
1301 menu item. | |
1302 | |
1303 See also `mh-recursive-folders-flag'." | |
1304 :type '(choice (const :tag "Inbox" t) | |
1305 (const :tag "All" nil) | |
1306 (repeat :tag "Choose Folders" (string :tag "Folder"))) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1307 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1308 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1309 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1310 (defcustom-mh mh-large-folder 200 |
68465 | 1311 "The number of messages that indicates a large folder. |
1312 | |
1313 If a folder is deemed to be large, that is the number of messages | |
1314 in it exceed this value, then confirmation is needed when it is | |
1315 visited. Even when `mh-show-threads-flag' is non-nil, the folder | |
1316 is not automatically threaded, if it is large. If set to nil all | |
1317 folders are treated as if they are small." | |
1318 :type '(choice (const :tag "No Limit") integer) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1319 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1320 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1321 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1322 (defcustom-mh mh-recenter-summary-flag nil |
68465 | 1323 "*Non-nil means to recenter the summary window. |
1324 | |
1325 If this option is turned on, recenter the summary window when the | |
1326 show window is toggled off." | |
1327 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1328 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1329 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1330 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1331 (defcustom-mh mh-recursive-folders-flag nil |
68465 | 1332 "*Non-nil means that commands which operate on folders do so recursively." |
1333 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1334 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1335 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1336 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1337 (defcustom-mh mh-sortm-args nil |
68465 | 1338 "*Additional arguments for \"sortm\"\\<mh-folder-mode-map>. |
1339 | |
1340 This option is consulted when a prefix argument is used with | |
1341 \\[mh-sort-folder]. Normally default arguments to \"sortm\" are | |
1342 specified in the MH profile. This option may be used to provide | |
1343 an alternate view. For example, \"'(\"-nolimit\" \"-textfield\" | |
1344 \"subject\")\" is a useful setting." | |
1345 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1346 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1347 :package-version '(MH-E . "8.0")) |
68465 | 1348 |
1349 ;;; Folder Selection (:group 'mh-folder-selection) | |
1350 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1351 (defcustom-mh mh-default-folder-for-message-function nil |
68465 | 1352 "Function to select a default folder for refiling or \"Fcc:\". |
1353 | |
69196
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
1354 When this function is called, the current buffer contains the message |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
1355 being refiled and point is at the start of the message. This function |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
1356 should return the default folder as a string with a leading \"+\" |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
1357 sign. It can also return nil so that the last folder name is used as |
6c74df3ce672
(mh-variant, mh-default-folder-for-message-function): Sync docstring
Bill Wohler <wohler@newt.com>
parents:
69186
diff
changeset
|
1358 the default, or an empty string to suppress the default entirely." |
68465 | 1359 :type 'function |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1360 :group 'mh-folder-selection |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1361 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1362 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1363 (defcustom-mh mh-default-folder-list nil |
68465 | 1364 "*List of addresses and folders. |
1365 | |
1366 The folder name associated with the first address found in this | |
1367 list is used as the default for `mh-refile-msg' and similar | |
1368 functions. Each element in this list contains a \"Check Recipient\" | |
1369 item. If this item is turned on, then the address is checked | |
1370 against the recipient instead of the sender. This is useful for | |
1371 mailing lists. | |
1372 | |
1373 See `mh-prompt-for-refile-folder' and `mh-folder-from-address' | |
1374 for more information." | |
1375 :type '(repeat (list (regexp :tag "Address") | |
1376 (string :tag "Folder") | |
1377 (boolean :tag "Check Recipient"))) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1378 :group 'mh-folder-selection |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1379 :package-version '(MH-E . "7.2")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1380 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1381 (defcustom-mh mh-default-folder-must-exist-flag t |
68465 | 1382 "*Non-nil means guessed folder name must exist to be used. |
1383 | |
1384 If the derived folder does not exist, and this option is on, then | |
1385 the last folder name used is suggested. This is useful if you get | |
1386 mail from various people for whom you have an alias, but file | |
1387 them all in the same project folder. | |
1388 | |
1389 See `mh-prompt-for-refile-folder' and `mh-folder-from-address' | |
1390 for more information." | |
1391 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1392 :group 'mh-folder-selection |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1393 :package-version '(MH-E . "7.2")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1394 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1395 (defcustom-mh mh-default-folder-prefix "" |
68465 | 1396 "*Prefix used for folder names generated from aliases. |
1397 The prefix is used to prevent clutter in your mail directory. | |
1398 | |
1399 See `mh-prompt-for-refile-folder' and `mh-folder-from-address' | |
1400 for more information." | |
1401 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1402 :group 'mh-folder-selection |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1403 :package-version '(MH-E . "7.2")) |
68465 | 1404 |
1405 ;;; Identities (:group 'mh-identity) | |
1406 | |
1407 (eval-and-compile | |
1408 (unless (fboundp 'mh-identity-make-menu-no-autoload) | |
1409 (defun mh-identity-make-menu-no-autoload () | |
1410 "Temporary definition. | |
1411 Real definition will take effect when mh-identity is loaded." | |
1412 nil))) | |
1413 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1414 (defcustom-mh mh-identity-list nil |
68465 | 1415 "*List of identities. |
1416 | |
1417 To customize this option, click on the \"INS\" button and enter a label | |
1418 such as \"Home\" or \"Work\". Then click on the \"INS\" button with the | |
1419 label \"Add at least one item below\". Then choose one of the items in | |
1420 the \"Value Menu\". | |
1421 | |
1422 You can specify an alternate \"From:\" header field using the \"From | |
1423 Field\" menu item. You must include a valid email address. A standard | |
1424 format is \"First Last <login@@host.domain>\". If you use an initial | |
1425 with a period, then you must quote your name as in '\"First I. Last\" | |
1426 <login@@host.domain>'. People usually list the name of the company | |
1427 where they work using the \"Organization Field\" menu item. Set any | |
1428 arbitrary header field and value in the \"Other Field\" menu item. | |
1429 Unless the header field is a standard one, precede the name of your | |
1430 field's label with \"X-\", as in \"X-Fruit-of-the-Day:\". The value of | |
1431 \"Attribution Verb\" overrides the setting of | |
1432 `mh-extract-from-attribution-verb'. Set your signature with the | |
1433 \"Signature\" menu item. You can specify the contents of | |
1434 `mh-signature-file-name', a file, or a function. Specify a different | |
1435 key to sign or encrypt messages with the \"GPG Key ID\" menu item. | |
1436 | |
1437 You can select the identities you have added via the menu called | |
1438 \"Identity\" in the MH-Letter buffer. You can also use | |
1439 \\[mh-insert-identity]. To clear the fields and signature added by the | |
1440 identity, select the \"None\" identity. | |
1441 | |
1442 The \"Identity\" menu contains two other items to save you from having | |
1443 to set the identity on every message. The menu item \"Set Default for | |
1444 Session\" can be used to set the default identity to the current | |
1445 identity until you exit Emacs. The menu item \"Save as Default\" sets | |
1446 the option `mh-identity-default' to the current identity setting. You | |
1447 can also customize the `mh-identity-default' option in the usual | |
1448 fashion." | |
1449 :type '(repeat (list :tag "" | |
1450 (string :tag "Label") | |
1451 (repeat :tag "Add at least one item below" | |
1452 (choice | |
1453 (cons :tag "From Field" | |
1454 (const "From") | |
1455 (string :tag "Value")) | |
1456 (cons :tag "Organization Field" | |
1457 (const "Organization") | |
1458 (string :tag "Value")) | |
1459 (cons :tag "Other Field" | |
1460 (string :tag "Field") | |
1461 (string :tag "Value")) | |
1462 (cons :tag "Attribution Verb" | |
1463 (const ":attribution-verb") | |
1464 (string :tag "Value")) | |
1465 (cons :tag "Signature" | |
1466 (const :tag "Signature" | |
1467 ":signature") | |
1468 (choice | |
1469 (const :tag "mh-signature-file-name" | |
1470 nil) | |
1471 (file) | |
1472 (function))) | |
1473 (cons :tag "GPG Key ID" | |
1474 (const :tag "GPG Key ID" | |
1475 ":pgg-default-user-id") | |
1476 (string :tag "Value")))))) | |
1477 :set (lambda (symbol value) | |
1478 (set-default symbol value) | |
1479 (mh-identity-make-menu-no-autoload)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1480 :group 'mh-identity |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1481 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1482 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1483 (defcustom-mh mh-auto-fields-list nil |
68465 | 1484 "List of recipients for which header lines are automatically inserted. |
1485 | |
1486 This option can be used to set the identity depending on the | |
1487 recipient. To customize this option, click on the \"INS\" button and | |
1488 enter a regular expression for the recipient's address. Click on the | |
1489 \"INS\" button with the \"Add at least one item below\" label. Then choose | |
1490 one of the items in the \"Value Menu\". | |
1491 | |
1492 The \"Identity\" menu item is used to select an identity from those | |
1493 configured in `mh-identity-list'. All of the information for that | |
1494 identity will be added if the recipient matches. The \"Fcc Field\" menu | |
1495 item is used to select a folder that is used in the \"Fcc:\" header. | |
1496 When you send the message, MH will put a copy of your message in this | |
1497 folder. The \"Mail-Followup-To Field\" menu item is used to insert an | |
1498 \"Mail-Followup-To:\" header field with the recipients you provide. If | |
1499 the recipient's mail user agent supports this header field (as nmh | |
1500 does), then their replies will go to the addresses listed. This is | |
1501 useful if their replies go both to the list and to you and you don't | |
1502 have a mechanism to suppress duplicates. If you reply to someone not | |
1503 on the list, you must either remove the \"Mail-Followup-To:\" field, or | |
1504 ensure the recipient is also listed there so that he receives replies | |
1505 to your reply. Other header fields may be added using the \"Other | |
1506 Field\" menu item. | |
1507 | |
1508 These fields can only be added after the recipient is known. Once the | |
1509 header contains one or more recipients, run the | |
1510 \\[mh-insert-auto-fields] command or choose the \"Identity -> Insert | |
1511 Auto Fields\" menu item to insert these fields manually. However, you | |
1512 can just send the message and the fields will be added automatically. | |
1513 You are given a chance to see these fields and to confirm them before | |
1514 the message is actually sent. You can do away with this confirmation | |
1515 by turning off the option `mh-auto-fields-prompt-flag'. | |
1516 | |
1517 You should avoid using the same header field in `mh-auto-fields-list' | |
1518 and `mh-identity-list' definitions that may apply to the same message | |
1519 as the result is undefined." | |
1520 :type `(repeat | |
1521 (list :tag "" | |
1522 (string :tag "Recipient") | |
1523 (repeat :tag "Add at least one item below" | |
1524 (choice | |
1525 (cons :tag "Identity" | |
1526 (const ":identity") | |
1527 ,(append | |
1528 '(radio) | |
1529 (mapcar | |
1530 (function (lambda (arg) `(const ,arg))) | |
1531 (mapcar 'car mh-identity-list)))) | |
1532 (cons :tag "Fcc Field" | |
1533 (const "fcc") | |
1534 (string :tag "Value")) | |
1535 (cons :tag "Mail-Followup-To Field" | |
1536 (const "Mail-Followup-To") | |
1537 (string :tag "Value")) | |
1538 (cons :tag "Other Field" | |
1539 (string :tag "Field") | |
1540 (string :tag "Value")))))) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1541 :group 'mh-identity |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1542 :package-version '(MH-E . "7.3")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1543 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1544 (defcustom-mh mh-auto-fields-prompt-flag t |
68465 | 1545 "*Non-nil means to prompt before sending if fields inserted. |
1546 See `mh-auto-fields-list'." | |
1547 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1548 :group 'mh-identity |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1549 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1550 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1551 (defcustom-mh mh-identity-default nil |
68465 | 1552 "Default identity to use when `mh-letter-mode' is called. |
1553 See `mh-identity-list'." | |
1554 :type (append | |
1555 '(radio) | |
1556 (cons '(const :tag "None" nil) | |
1557 (mapcar (function (lambda (arg) `(const ,arg))) | |
1558 (mapcar 'car mh-identity-list)))) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1559 :group 'mh-identity |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1560 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1561 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1562 (defcustom-mh mh-identity-handlers |
68465 | 1563 '(("From" . mh-identity-handler-top) |
1564 (":default" . mh-identity-handler-bottom) | |
1565 (":attribution-verb" . mh-identity-handler-attribution-verb) | |
1566 (":signature" . mh-identity-handler-signature) | |
1567 (":pgg-default-user-id" . mh-identity-handler-gpg-identity)) | |
1568 "Handler functions for fields in `mh-identity-list'. | |
1569 | |
1570 This option is used to change the way that fields, signatures, | |
1571 and attributions in `mh-identity-list' are added. To customize | |
1572 `mh-identity-handlers', replace the name of an existing handler | |
1573 function associated with the field you want to change with the | |
1574 name of a function you have written. You can also click on an | |
1575 \"INS\" button and insert a field of your choice and the name of | |
1576 the function you have written to handle it. | |
1577 | |
1578 The \"Field\" field can be any field that you've used in your | |
1579 `mh-identity-list'. The special fields \":attribution-verb\", | |
1580 \":signature\", or \":pgg-default-user-id\" are used for the | |
1581 `mh-identity-list' choices \"Attribution Verb\", \"Signature\", and | |
1582 \"GPG Key ID\" respectively. | |
1583 | |
1584 The handler associated with the \":default\" field is used when no | |
1585 other field matches. | |
1586 | |
1587 The handler functions are passed two or three arguments: the | |
1588 FIELD itself (for example, \"From\"), or one of the special | |
1589 fields (for example, \":signature\"), and the ACTION 'remove or | |
1590 'add. If the action is 'add, an additional argument | |
1591 containing the VALUE for the field is given." | |
1592 :type '(repeat (cons (string :tag "Field") function)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1593 :group 'mh-identity |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1594 :package-version '(MH-E . "8.0")) |
68465 | 1595 |
1596 ;;; Incorporating Your Mail (:group 'mh-inc) | |
1597 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1598 (defcustom-mh mh-inc-prog "inc" |
68465 | 1599 "*Program to incorporate new mail into a folder. |
1600 | |
1601 This program generates a one-line summary for each of the new | |
1602 messages. Unless it is an absolute pathname, the file is assumed | |
1603 to be in the `mh-progs' directory. You may also link a file to | |
1604 \"inc\" that uses a different format. You'll then need to modify | |
1605 several scan line format variables appropriately." | |
1606 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1607 :group 'mh-inc |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1608 :package-version '(MH-E . "6.0")) |
68465 | 1609 |
1610 (eval-and-compile | |
1611 (unless (fboundp 'mh-inc-spool-make-no-autoload) | |
1612 (defun mh-inc-spool-make-no-autoload () | |
1613 "Temporary definition. | |
1614 Real definition will take effect when mh-inc is loaded." | |
1615 nil))) | |
1616 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1617 (defcustom-mh mh-inc-spool-list nil |
68465 | 1618 "*Alternate spool files. |
1619 | |
1620 You can use the `mh-inc-spool-list' variable to direct MH-E to | |
1621 retrieve mail from arbitrary spool files other than your system | |
1622 mailbox, file it in folders other than your \"+inbox\", and assign | |
1623 key bindings to incorporate this mail. | |
1624 | |
1625 Suppose you are subscribed to the \"mh-e-devel\" mailing list and | |
1626 you use \"procmail\" to filter this mail into \"~/mail/mh-e\" with | |
1627 the following recipe in \".procmailrc\": | |
1628 | |
1629 MAILDIR=$HOME/mail | |
1630 :0: | |
1631 * ^From mh-e-devel-admin@stop.mail-abuse.org | |
1632 mh-e | |
1633 | |
1634 In order to incorporate \"~/mail/mh-e\" into \"+mh-e\" with an | |
1635 \"I m\" (mh-inc-spool-mh-e) command, customize this option, and click | |
1636 on the \"INS\" button. Enter a \"Spool File\" of \"~/mail/mh-e\", a | |
1637 \"Folder\" of \"mh-e\", and a \"Key Binding\" of \"m\". | |
1638 | |
1639 You can use \"xbuffy\" to automate the incorporation of this mail | |
68622
8e332f1560b0
(mh-inc-spool-list): Update example for Emacs 22 which has an
Bill Wohler <wohler@newt.com>
parents:
68605
diff
changeset
|
1640 using the Emacs 22 command \"emacsclient\" as follows: |
68465 | 1641 |
1642 box ~/mail/mh-e | |
1643 title mh-e | |
1644 origMode | |
1645 polltime 10 | |
1646 headertime 0 | |
68622
8e332f1560b0
(mh-inc-spool-list): Update example for Emacs 22 which has an
Bill Wohler <wohler@newt.com>
parents:
68605
diff
changeset
|
1647 command emacsclient --eval '(mh-inc-spool-mh-e)' |
8e332f1560b0
(mh-inc-spool-list): Update example for Emacs 22 which has an
Bill Wohler <wohler@newt.com>
parents:
68605
diff
changeset
|
1648 |
8e332f1560b0
(mh-inc-spool-list): Update example for Emacs 22 which has an
Bill Wohler <wohler@newt.com>
parents:
68605
diff
changeset
|
1649 In XEmacs, the command \"gnuclient\" is used in a similar |
8e332f1560b0
(mh-inc-spool-list): Update example for Emacs 22 which has an
Bill Wohler <wohler@newt.com>
parents:
68605
diff
changeset
|
1650 fashion." |
68465 | 1651 :type '(repeat (list (file :tag "Spool File") |
1652 (string :tag "Folder") | |
1653 (character :tag "Key Binding"))) | |
1654 :set (lambda (symbol value) | |
1655 (set-default symbol value) | |
1656 (mh-inc-spool-make-no-autoload)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1657 :group 'mh-inc |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1658 :package-version '(MH-E . "7.3")) |
68465 | 1659 |
1660 ;;; Dealing with Junk Mail (:group 'mh-junk) | |
1661 | |
1662 (defvar mh-junk-choice nil | |
1663 "Chosen spam fighting program.") | |
1664 | |
1665 ;; Available spam filter interfaces | |
1666 (defvar mh-junk-function-alist | |
1667 '((spamassassin mh-spamassassin-blacklist mh-spamassassin-whitelist) | |
1668 (bogofilter mh-bogofilter-blacklist mh-bogofilter-whitelist) | |
1669 (spamprobe mh-spamprobe-blacklist mh-spamprobe-whitelist)) | |
1670 "Available choices of spam programs to use. | |
1671 | |
1672 This is an alist. For each element there are functions that | |
1673 blacklist a message as spam and whitelist a message incorrectly | |
1674 classified as spam.") | |
1675 | |
1676 (defun mh-junk-choose (symbol value) | |
1677 "Choose spam program to use. | |
1678 | |
1679 The function is always called with SYMBOL bound to | |
1680 `mh-junk-program' and VALUE bound to the new value of | |
1681 `mh-junk-program'. The function sets the variable | |
1682 `mh-junk-choice' in addition to `mh-junk-program'." | |
1683 (set symbol value) ;XXX shouldn't this be set-default? | |
1684 (setq mh-junk-choice | |
1685 (or value | |
1686 (loop for element in mh-junk-function-alist | |
1687 until (executable-find (symbol-name (car element))) | |
1688 finally return (car element))))) | |
1689 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1690 (defcustom-mh mh-junk-background nil |
68465 | 1691 "If on, spam programs are run in background. |
1692 | |
1693 By default, the programs are run in the foreground, but this can | |
1694 be slow when junking large numbers of messages. If you have | |
1695 enough memory or don't junk that many messages at the same time, | |
1696 you might try turning on this option." | |
1697 :type '(choice (const :tag "Off" nil) | |
1698 (const :tag "On" 0)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1699 :group 'mh-junk |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1700 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1701 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1702 (defcustom-mh mh-junk-disposition nil |
68465 | 1703 "Disposition of junk mail." |
1704 :type '(choice (const :tag "Delete Spam" nil) | |
1705 (string :tag "Spam Folder")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1706 :group 'mh-junk |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1707 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1708 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1709 (defcustom-mh mh-junk-program nil |
68465 | 1710 "Spam program that MH-E should use. |
1711 | |
1712 The default setting of this option is \"Auto-detect\" which means | |
1713 that MH-E will automatically choose one of SpamAssassin, | |
1714 bogofilter, or SpamProbe in that order. If, for example, you have | |
1715 both SpamAssassin and bogofilter installed and you want to use | |
1716 bogofilter, then you can set this option to \"Bogofilter\"." | |
1717 :type '(choice (const :tag "Auto-detect" nil) | |
1718 (const :tag "SpamAssassin" spamassassin) | |
1719 (const :tag "Bogofilter" bogofilter) | |
1720 (const :tag "SpamProbe" spamprobe)) | |
1721 :set 'mh-junk-choose | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1722 :group 'mh-junk |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1723 :package-version '(MH-E . "7.3")) |
68465 | 1724 |
1725 ;;; Editing a Draft (:group 'mh-letter) | |
1726 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1727 (defcustom-mh mh-compose-insertion (if (locate-library "mml") 'mml 'mh) |
68465 | 1728 "Type of tags used when composing MIME messages. |
1729 | |
1730 In addition to MH-style directives, MH-E also supports MML (MIME | |
1731 Meta Language) tags. (see Info node `(emacs-mime)Composing'). | |
1732 This option can be used to choose between them. By default, this | |
1733 option is set to \"MML\" if it is supported since it provides a | |
1734 lot more functionality. This option can also be set to \"MH\" if | |
1735 MH-style directives are preferred." | |
1736 :type '(choice (const :tag "MML" mml) | |
1737 (const :tag "MH" mh)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1738 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1739 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1740 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1741 (defcustom-mh mh-compose-skipped-header-fields |
68465 | 1742 '("From" "Organization" "References" "In-Reply-To" |
1743 "X-Face" "Face" "X-Image-URL" "X-Mailer") | |
1744 "List of header fields to skip over when navigating in draft." | |
1745 :type '(repeat (string :tag "Field")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1746 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1747 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1748 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1749 (defcustom-mh mh-compose-space-does-completion-flag nil |
68465 | 1750 "*Non-nil means \\<mh-letter-mode-map>\\[mh-letter-complete-or-space] does completion in message header." |
1751 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1752 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1753 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1754 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1755 (defcustom-mh mh-delete-yanked-msg-window-flag nil |
68465 | 1756 "*Non-nil means delete any window displaying the message. |
1757 | |
1758 This deletes the window containing the original message after | |
1759 yanking it with \\<mh-letter-mode-map>\\[mh-yank-cur-msg] to make | |
1760 more room on your screen for your reply." | |
1761 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1762 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1763 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1764 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1765 (defcustom-mh mh-extract-from-attribution-verb "wrote:" |
68465 | 1766 "*Verb to use for attribution when a message is yanked by \\<mh-letter-mode-map>\\[mh-yank-cur-msg]. |
1767 | |
1768 The attribution consists of the sender's name and email address | |
1769 followed by the content of this option. This option can be set to | |
1770 \"wrote:\", \"a écrit:\", and \"schrieb:\". You can also use the | |
1771 \"Custom String\" menu item to enter your own verb." | |
1772 :type '(choice (const "wrote:") | |
1773 (const "a écrit:") | |
1774 (const "schrieb:") | |
1775 (string :tag "Custom String")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1776 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1777 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1778 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1779 (defcustom-mh mh-ins-buf-prefix "> " |
68465 | 1780 "*String to put before each line of a yanked or inserted message. |
1781 | |
1782 The prefix \"> \" is the default setting of this option. I | |
1783 suggest that you not modify this option since it is used by many | |
1784 mailers and news readers: messages are far easier to read if | |
1785 several included messages have all been indented by the same | |
1786 string. | |
1787 | |
1788 This prefix is not inserted if you use one of the supercite | |
1789 flavors of `mh-yank-behavior' or you have added a | |
1790 `mail-citation-hook'." | |
1791 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1792 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1793 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1794 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1795 (defcustom-mh mh-letter-complete-function 'ispell-complete-word |
68465 | 1796 "*Function to call when completing outside of address or folder fields. |
1797 | |
1798 In the body of the message, | |
1799 \\<mh-letter-mode-map>\\[mh-letter-complete] runs this function, | |
1800 which is set to \"ispell-complete-word\" by default." | |
1801 :type '(choice function (const nil)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1802 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1803 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1804 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1805 (defcustom-mh mh-letter-fill-column 72 |
68465 | 1806 "*Fill column to use in MH Letter mode. |
1807 | |
1808 By default, this option is 72 to allow others to quote your | |
1809 message without line wrapping." | |
1810 :type 'integer | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1811 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1812 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1813 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1814 (defcustom-mh mh-mml-method-default (if mh-pgp-support-flag "pgpmime" "none") |
68465 | 1815 "Default method to use in security tags. |
1816 | |
1817 This option is used to select between a variety of mail security | |
1818 mechanisms. The default is \"PGP (MIME)\" if it is supported\; | |
1819 otherwise, the default is \"None\". Other mechanisms include | |
1820 vanilla \"PGP\" and \"S/MIME\". | |
1821 | |
1822 The `pgg' customization group may have some settings which may | |
1823 interest you (see Info node `(pgg)'). | |
1824 | |
1825 In particular, I turn on the option `pgg-encrypt-for-me' so that | |
1826 all messages I encrypt are encrypted with my public key as well. | |
1827 If you keep a copy of all of your outgoing mail with a \"Fcc:\" | |
1828 header field, this setting is vital so that you can read the mail | |
1829 you write!" | |
1830 :type '(choice (const :tag "PGP (MIME)" "pgpmime") | |
1831 (const :tag "PGP" "pgp") | |
1832 (const :tag "S/MIME" "smime") | |
1833 (const :tag "None" "none")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1834 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1835 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1836 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1837 (defcustom-mh mh-signature-file-name "~/.signature" |
68465 | 1838 "*Source of user's signature. |
1839 | |
1840 By default, the text of your signature is taken from the file | |
1841 \"~/.signature\". You can read from other sources by changing this | |
1842 option. This file may contain a vCard in which case an attachment is | |
1843 added with the vCard. | |
1844 | |
1845 This option may also be a symbol, in which case that function is | |
1846 called. You may not want a signature separator to be added for you; | |
1847 instead you may want to insert one yourself. Options that you may find | |
1848 useful to do this include `mh-signature-separator' (when inserting a | |
1849 signature separator) and `mh-signature-separator-regexp' (for finding | |
1850 said separator). The function `mh-signature-separator-p', which | |
1851 reports t if the buffer contains a separator, may be useful as well. | |
1852 | |
1853 The signature is inserted into your message with the command | |
1854 \\<mh-letter-mode-map>\\[mh-insert-signature] or with the option | |
1855 `mh-identity-list'." | |
1856 :type 'file | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1857 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1858 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1859 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1860 (defcustom-mh mh-signature-separator-flag t |
68465 | 1861 "*Non-nil means a signature separator should be inserted. |
1862 | |
1863 It is not recommended that you change this option since various | |
1864 mail user agents, including MH-E, use the separator to present | |
1865 the signature differently, and to suppress the signature when | |
1866 replying or yanking a letter into a draft." | |
1867 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1868 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1869 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1870 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1871 (defcustom-mh mh-x-face-file "~/.face" |
68465 | 1872 "*File containing face header field to insert in outgoing mail. |
1873 | |
1874 If the file starts with either of the strings \"X-Face:\", \"Face:\" | |
1875 or \"X-Image-URL:\" then the contents are added to the message header | |
1876 verbatim. Otherwise it is assumed that the file contains the value of | |
1877 the \"X-Face:\" header field. | |
1878 | |
1879 The \"X-Face:\" header field, which is a low-resolution, black and | |
1880 white image, can be generated using the \"compface\" command (see URL | |
1881 `ftp://ftp.cs.indiana.edu/pub/faces/compface/compface.tar.Z'). The | |
1882 \"Online X-Face Converter\" is a useful resource for quick conversion | |
1883 of images into \"X-Face:\" header fields (see URL | |
1884 `http://www.dairiki.org/xface/'). | |
1885 | |
1886 Use the \"make-face\" script to convert a JPEG image to the higher | |
1887 resolution, color, \"Face:\" header field (see URL | |
1888 `http://quimby.gnus.org/circus/face/make-face'). | |
1889 | |
1890 The URL of any image can be used for the \"X-Image-URL:\" field and no | |
1891 processing of the image is required. | |
1892 | |
1893 To prevent the setting of any of these header fields, either set | |
1894 `mh-x-face-file' to nil, or simply ensure that the file defined by | |
1895 this option doesn't exist." | |
1896 :type 'file | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1897 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1898 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1899 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1900 (defcustom-mh mh-yank-behavior 'attribution |
68465 | 1901 "*Controls which part of a message is yanked by \\<mh-letter-mode-map>\\[mh-yank-cur-msg]. |
1902 | |
1903 To include the entire message, including the entire header, use | |
1904 \"Body and Header\". Use \"Body\" to yank just the body without | |
1905 the header. To yank only the portion of the message following the | |
1906 point, set this option to \"Below Point\". | |
1907 | |
1908 Choose \"Invoke supercite\" to pass the entire message and header | |
1909 through supercite. | |
1910 | |
1911 If the \"Body With Attribution\" setting is used, then the | |
1912 message minus the header is yanked and a simple attribution line | |
1913 is added at the top using the value of the option | |
1914 `mh-extract-from-attribution-verb'. This is the default. | |
1915 | |
1916 If the \"Invoke supercite\" or \"Body With Attribution\" settings | |
1917 are used, the \"-noformat\" argument is passed to the \"repl\" | |
1918 program to override a \"-filter\" or \"-format\" argument. These | |
1919 settings also have \"Automatically\" variants that perform the | |
1920 action automatically when you reply so that you don't need to use | |
1921 \\[mh-yank-cur-msg] at all. Note that this automatic action is | |
1922 only performed if the show buffer matches the message being | |
1923 replied to. People who use the automatic variants tend to turn on | |
1924 the option `mh-delete-yanked-msg-window-flag' as well so that the | |
1925 show window is never displayed. | |
1926 | |
1927 If the show buffer has a region, the option `mh-yank-behavior' is | |
1928 ignored unless its value is one of Attribution variants in which | |
1929 case the attribution is added to the yanked region. | |
1930 | |
1931 If this option is set to one of the supercite flavors, the hook | |
1932 `mail-citation-hook' is ignored and `mh-ins-buf-prefix' is not | |
1933 inserted." | |
1934 :type '(choice (const :tag "Body and Header" t) | |
1935 (const :tag "Body" body) | |
1936 (const :tag "Below Point" nil) | |
1937 (const :tag "Invoke supercite" supercite) | |
1938 (const :tag "Invoke supercite, Automatically" autosupercite) | |
1939 (const :tag "Body With Attribution" attribution) | |
1940 (const :tag "Body With Attribution, Automatically" | |
1941 autoattrib)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1942 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1943 :package-version '(MH-E . "8.0")) |
68465 | 1944 |
1945 ;;; Ranges (:group 'mh-ranges) | |
1946 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1947 (defcustom-mh mh-interpret-number-as-range-flag t |
68465 | 1948 "*Non-nil means interpret a number as a range. |
1949 | |
1950 Since one of the most frequent ranges used is \"last:N\", MH-E | |
1951 will interpret input such as \"200\" as \"last:200\" if this | |
1952 option is on (which is the default). If you need to scan just the | |
1953 message 200, then use the range \"200:200\"." | |
1954 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1955 :group 'mh-ranges |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1956 :package-version '(MH-E . "7.4")) |
68465 | 1957 |
1958 ;;; Scan Line Formats (:group 'mh-scan-line-formats) | |
1959 | |
1960 (eval-and-compile | |
1961 (unless (fboundp 'mh-adaptive-cmd-note-flag-check) | |
1962 (defun mh-adaptive-cmd-note-flag-check (symbol value) | |
1963 "Temporary definition. | |
1964 Real definition, below, uses variables that aren't defined yet." | |
1965 (set-default symbol value)))) | |
1966 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1967 (defcustom-mh mh-adaptive-cmd-note-flag t |
68465 | 1968 "*Non-nil means that the message number width is determined dynamically. |
1969 | |
1970 If you've created your own format to handle long message numbers, | |
1971 you'll be pleased to know you no longer need it since MH-E adapts its | |
1972 internal format based upon the largest message number if this option | |
1973 is on (the default). This option may only be turned on when | |
1974 `mh-scan-format-file' is set to \"Use MH-E scan Format\". | |
1975 | |
1976 If you prefer fixed-width message numbers, turn off this option and | |
1977 call `mh-set-cmd-note' with the width specified by your format file | |
1978 \(see `mh-scan-format-file'). For example, the default width is 4, so | |
1979 you would use \"(mh-set-cmd-note 4)\"." | |
1980 :type 'boolean | |
1981 :group 'mh-scan-line-formats | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
1982 :set 'mh-adaptive-cmd-note-flag-check |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
1983 :package-version '(MH-E . "7.0")) |
68465 | 1984 |
1985 (defun mh-scan-format-file-check (symbol value) | |
1986 "Check if desired setting is legal. | |
1987 Throw an error if user tries to set `mh-scan-format-file' to | |
1988 anything but t when `mh-adaptive-cmd-note-flag' is on. Otherwise, | |
1989 set SYMBOL to VALUE." | |
1990 (if (and (not (eq value t)) | |
68484
d5026c3051b9
(mh-scan-format-file-check): Allow any non-nil for
Bill Wohler <wohler@newt.com>
parents:
68475
diff
changeset
|
1991 mh-adaptive-cmd-note-flag) |
68465 | 1992 (error "%s %s" "You must turn off `mh-adaptive-cmd-note-flag'" |
1993 "unless you use \"Use MH-E scan Format\"") | |
1994 (set-default symbol value))) | |
1995 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
1996 (defcustom-mh mh-scan-format-file t |
68465 | 1997 "Specifies the format file to pass to the scan program. |
1998 | |
1999 The default setting for this option is \"Use MH-E scan Format\". This | |
2000 means that the format string will be taken from the either | |
2001 `mh-scan-format-mh' or `mh-scan-format-nmh' depending on whether MH or | |
2002 nmh (or GNU mailutils) is in use. This setting also enables you to | |
2003 turn on the `mh-adaptive-cmd-note-flag' option. | |
2004 | |
2005 You can also set this option to \"Use Default scan Format\" to get the | |
2006 same output as you would get if you ran \"scan\" from the shell. If | |
2007 you have a format file that you want MH-E to use but not MH, you can | |
2008 set this option to \"Specify a scan Format File\" and enter the name | |
2009 of your format file. | |
2010 | |
2011 If you change the format of the scan lines you'll need to tell MH-E | |
2012 how to parse the new format. As you will see, quite a lot of variables | |
2013 are involved to do that. Use \"\\[apropos] RET mh-scan.*regexp\" to | |
2014 obtain a list of these variables. You will also have to call | |
2015 `mh-set-cmd-note' if your notations are not in column 4 (columns in | |
2016 Emacs start with 0)." | |
2017 :type '(choice (const :tag "Use MH-E scan Format" t) | |
2018 (const :tag "Use Default scan Format" nil) | |
2019 (file :tag "Specify a scan Format File")) | |
2020 :group 'mh-scan-line-formats | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2021 :set 'mh-scan-format-file-check |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2022 :package-version '(MH-E . "6.0")) |
68465 | 2023 |
2024 (defun mh-adaptive-cmd-note-flag-check (symbol value) | |
2025 "Check if desired setting is legal. | |
2026 Throw an error if user tries to turn on | |
2027 `mh-adaptive-cmd-note-flag' when `mh-scan-format-file' isn't t. | |
2028 Otherwise, set SYMBOL to VALUE." | |
2029 (if (and value | |
2030 (not (eq mh-scan-format-file t))) | |
2031 (error "%s %s" "Can't turn on unless `mh-scan-format-file'" | |
2032 "is set to \"Use MH-E scan Format\"") | |
2033 (set-default symbol value))) | |
2034 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2035 (defcustom-mh mh-scan-prog "scan" |
68465 | 2036 "*Program used to scan messages. |
2037 | |
2038 The name of the program that generates a listing of one line per | |
2039 message is held in this option. Unless this variable contains an | |
2040 absolute pathname, it is assumed to be in the `mh-progs' | |
2041 directory. You may link another program to `scan' (see | |
2042 \"mh-profile(5)\") to produce a different type of listing." | |
2043 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2044 :group 'mh-scan-line-formats |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2045 :package-version '(MH-E . "6.0")) |
68465 | 2046 (make-variable-buffer-local 'mh-scan-prog) |
2047 | |
2048 ;;; Searching (:group 'mh-search) | |
2049 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2050 (defcustom-mh mh-search-program nil |
68465 | 2051 "Search program that MH-E shall use. |
2052 | |
2053 The default setting of this option is \"Auto-detect\" which means | |
2054 that MH-E will automatically choose one of swish++, swish-e, | |
2055 mairix, namazu, pick and grep in that order. If, for example, you | |
2056 have both swish++ and mairix installed and you want to use | |
2057 mairix, then you can set this option to \"mairix\". | |
2058 | |
2059 More information about setting up an indexing program to use with | |
2060 MH-E can be found in the documentation of `mh-search'." | |
2061 :type '(choice (const :tag "Auto-detect" nil) | |
2062 (const :tag "swish++" swish++) | |
2063 (const :tag "swish-e" swish) | |
2064 (const :tag "mairix" mairix) | |
2065 (const :tag "namazu" namazu) | |
2066 (const :tag "pick" pick) | |
2067 (const :tag "grep" grep)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2068 :group 'mh-search |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2069 :package-version '(MH-E . "8.0")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
2070 |
68465 | 2071 ;;; Sending Mail (:group 'mh-sending-mail) |
2072 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2073 (defcustom-mh mh-compose-forward-as-mime-flag t |
68465 | 2074 "*Non-nil means that messages are forwarded as attachments. |
2075 | |
2076 By default, this option is on which means that the forwarded | |
2077 messages are included as attachments. If you would prefer to | |
2078 forward your messages verbatim (as text, inline), then turn off | |
2079 this option. Forwarding messages verbatim works well for short, | |
2080 textual messages, but your recipient won't be able to view any | |
2081 non-textual attachments that were in the forwarded message. Be | |
2082 aware that if you have \"forw: -mime\" in your MH profile, then | |
2083 forwarded messages will always be included as attachments | |
2084 regardless of the settings of this option." | |
2085 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2086 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2087 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2088 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2089 (defcustom-mh mh-compose-letter-function nil |
68465 | 2090 "Invoked when starting a new draft. |
2091 | |
2092 However, it is the last function called before you edit your | |
2093 message. The consequence of this is that you can write a function | |
2094 to write and send the message for you. This function is passed | |
2095 three arguments: the contents of the TO, SUBJECT, and CC header | |
2096 fields." | |
2097 :type '(choice (const nil) function) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2098 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2099 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2100 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2101 (defcustom-mh mh-compose-prompt-flag nil |
68465 | 2102 "*Non-nil means prompt for header fields when composing a new draft." |
2103 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2104 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2105 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2106 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2107 (defcustom-mh mh-forward-subject-format "%s: %s" |
68465 | 2108 "*Format string for forwarded message subject. |
2109 | |
2110 This option is a string which includes two escapes (\"%s\"). The | |
2111 first \"%s\" is replaced with the sender of the original message, | |
2112 and the second one is replaced with the original \"Subject:\"." | |
2113 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2114 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2115 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2116 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2117 (defcustom-mh mh-insert-x-mailer-flag t |
68465 | 2118 "*Non-nil means append an \"X-Mailer:\" header field to the header. |
2119 | |
2120 This header field includes the version of MH-E and Emacs that you | |
2121 are using. If you don't want to participate in our marketing, you | |
2122 can turn this option off." | |
2123 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2124 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2125 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2126 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2127 (defcustom-mh mh-redist-full-contents-flag nil |
68465 | 2128 "*Non-nil means the \"dist\" command needs entire letter for redistribution. |
2129 | |
2130 This option must be turned on if \"dist\" requires the whole | |
2131 letter for redistribution, which is the case if \"send\" is | |
2132 compiled with the BERK option (which many people abhor). If you | |
2133 find that MH will not allow you to redistribute a message that | |
2134 has been redistributed before, turn off this option." | |
2135 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2136 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2137 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2138 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2139 (defcustom-mh mh-reply-default-reply-to nil |
68465 | 2140 "*Sets the person or persons to whom a reply will be sent. |
2141 | |
2142 This option is set to \"Prompt\" by default so that you are | |
2143 prompted for the recipient of a reply. If you find that most of | |
2144 the time that you specify \"cc\" when you reply to a message, set | |
2145 this option to \"cc\". Other choices include \"from\", \"to\", or | |
2146 \"all\". You can always edit the recipients in the draft." | |
2147 :type '(choice (const :tag "Prompt" nil) | |
2148 (const "from") | |
2149 (const "to") | |
2150 (const "cc") | |
2151 (const "all")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2152 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2153 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2154 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2155 (defcustom-mh mh-reply-show-message-flag t |
68465 | 2156 "*Non-nil means the MH-Show buffer is displayed when replying. |
2157 | |
2158 If you include the message automatically, you can hide the | |
2159 MH-Show buffer by turning off this option. | |
2160 | |
2161 See also `mh-reply'." | |
2162 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2163 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2164 :package-version '(MH-E . "7.0")) |
68465 | 2165 |
2166 ;;; Sequences (:group 'mh-sequences) | |
2167 | |
2168 ;; If `mh-unpropagated-sequences' becomes a defcustom, add the following to | |
2169 ;; the docstring: "Additional sequences that should not to be preserved can be | |
2170 ;; specified by setting `mh-unpropagated-sequences' appropriately." XXX | |
2171 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2172 (defcustom-mh mh-refile-preserves-sequences-flag t |
68465 | 2173 "*Non-nil means that sequences are preserved when messages are refiled. |
2174 | |
2175 If a message is in any sequence (except \"Previous-Sequence:\" | |
2176 and \"cur\") when it is refiled, then it will still be in those | |
2177 sequences in the destination folder. If this behavior is not | |
2178 desired, then turn off this option." | |
2179 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2180 :group 'mh-sequences |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2181 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2182 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2183 (defcustom-mh mh-tick-seq 'tick |
68465 | 2184 "The name of the MH sequence for ticked messages. |
2185 | |
2186 You can customize this option if you already use the \"tick\" | |
2187 sequence for your own use. You can also disable all of the | |
2188 ticking functions by choosing the \"Disable Ticking\" item but | |
2189 there isn't much advantage to that." | |
2190 :type '(choice (const :tag "Disable Ticking" nil) | |
2191 symbol) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2192 :group 'mh-sequences |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2193 :package-version '(MH-E . "7.3")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2194 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2195 (defcustom-mh mh-update-sequences-after-mh-show-flag t |
68465 | 2196 "*Non-nil means flush MH sequences to disk after message is shown\\<mh-folder-mode-map>. |
2197 | |
2198 Three sequences are maintained internally by MH-E and pushed out | |
2199 to MH when a message is shown. They include the sequence | |
2200 specified by your \"Unseen-Sequence:\" profile entry, \"cur\", | |
2201 and the sequence listed by the option `mh-tick-seq' which is | |
2202 \"tick\" by default. If you do not like this behavior, turn off | |
2203 this option. You can then update the state manually with the | |
2204 \\[mh-execute-commands], \\[mh-quit], or \\[mh-update-sequences] | |
2205 commands." | |
2206 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2207 :group 'mh-sequences |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2208 :package-version '(MH-E . "7.0")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
2209 |
68465 | 2210 ;;; Reading Your Mail (:group 'mh-show) |
2211 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2212 (defcustom-mh mh-bury-show-buffer-flag t |
68465 | 2213 "*Non-nil means show buffer is buried. |
2214 | |
2215 One advantage of not burying the show buffer is that one can | |
2216 delete the show buffer more easily in an electric buffer list | |
2217 because of its proximity to its associated MH-Folder buffer. Try | |
2218 running \\[electric-buffer-list] to see what I mean." | |
2219 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2220 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2221 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2222 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2223 (defcustom-mh mh-clean-message-header-flag t |
68465 | 2224 "*Non-nil means remove extraneous header fields. |
2225 | |
2226 See also `mh-invisible-header-fields-default' and | |
2227 `mh-invisible-header-fields'." | |
2228 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2229 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2230 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2231 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2232 (defcustom-mh mh-decode-mime-flag (not (not (locate-library "mm-decode"))) |
68465 | 2233 "*Non-nil means attachments are handled\\<mh-folder-mode-map>. |
2234 | |
2235 MH-E can handle attachments as well if the Gnus `mm-decode' | |
2236 library is present. If so, this option will be on. Otherwise, | |
2237 you'll see the MIME body parts rather than text or attachments. | |
2238 There isn't much point in turning off this option; however, you | |
2239 can inspect it if it appears that the body parts are not being | |
2240 interpreted correctly or toggle it with the command | |
2241 \\[mh-toggle-mh-decode-mime-flag] to view the raw message. | |
2242 | |
2243 This option also controls the display of quoted-printable | |
2244 messages and other graphical widgets. See the options | |
2245 `mh-graphical-smileys-flag' and `mh-graphical-emphasis-flag'." | |
2246 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2247 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2248 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2249 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2250 (defcustom-mh mh-display-buttons-for-alternatives-flag nil |
68465 | 2251 "*Non-nil means display buttons for all alternative attachments. |
2252 | |
2253 Sometimes, a mail program will produce multiple alternatives of | |
2254 the attachment in increasing degree of faithfulness to the | |
2255 original content. By default, only the preferred alternative is | |
2256 displayed. If this option is on, then the preferred part is shown | |
2257 inline and buttons are shown for each of the other alternatives." | |
2258 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2259 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2260 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2261 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2262 (defcustom-mh mh-display-buttons-for-inline-parts-flag nil |
68465 | 2263 "*Non-nil means display buttons for all inline attachments\\<mh-folder-mode-map>. |
2264 | |
2265 The sender can request that attachments should be viewed inline so | |
2266 that they do not really appear like an attachment at all to the | |
2267 reader. Most of the time, this is desirable, so by default MH-E | |
2268 suppresses the buttons for inline attachments. On the other hand, you | |
2269 may receive code or HTML which the sender has added to his message as | |
2270 inline attachments so that you can read them in MH-E. In this case, it | |
2271 is useful to see the buttons so that you know you don't have to cut | |
2272 and paste the code into a file; you can simply save the attachment. | |
2273 | |
2274 If you want to make the buttons visible for inline attachments, you | |
2275 can use the command \\[mh-toggle-mime-buttons] to toggle the | |
2276 visibility of these buttons. You can turn on these buttons permanently | |
2277 by turning on this option. | |
2278 | |
2279 MH-E cannot display all attachments inline however. It can display | |
2280 text (including HTML) and images." | |
2281 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2282 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2283 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2284 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2285 (defcustom-mh mh-do-not-confirm-flag nil |
68465 | 2286 "*Non-nil means non-reversible commands do not prompt for confirmation. |
2287 | |
2288 Commands such as `mh-pack-folder' prompt to confirm whether to | |
2289 process outstanding moves and deletes or not before continuing. | |
2290 Turning on this option means that these actions will be | |
2291 performed--which is usually desired but cannot be | |
2292 retracted--without question." | |
2293 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2294 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2295 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2296 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2297 (defcustom-mh mh-fetch-x-image-url nil |
68465 | 2298 "*Control fetching of \"X-Image-URL:\" header field image. |
2299 | |
2300 Ths option controls the fetching of the \"X-Image-URL:\" header | |
2301 field image with the following values: | |
2302 | |
2303 Ask Before Fetching | |
2304 You are prompted before the image is fetched. MH-E will | |
2305 remember your reply and will either use the already fetched | |
2306 image the next time the same URL is encountered or silently | |
2307 skip it if you didn't fetch it the first time. This is a | |
2308 good setting. | |
2309 | |
2310 Never Fetch | |
2311 Images are never fetched and only displayed if they are | |
2312 already present in the cache. This is the default. | |
2313 | |
2314 There isn't a value of \"Always Fetch\" for privacy and DOS (denial of | |
2315 service) reasons. For example, fetching a URL can tip off a spammer | |
2316 that you've read his email (which is why you shouldn't blindly answer | |
2317 yes if you've set this option to \"Ask Before Fetching\"). Someone may | |
2318 also flood your network and fill your disk drive by sending a torrent | |
2319 of messages, each specifying a unique URL to a very large file. | |
2320 | |
2321 The cache of images is found in the directory \".mhe-x-image-cache\" | |
2322 within your MH directory. You can add your own face to the \"From:\" | |
2323 field too. See Info node `(mh-e)Picture'. | |
2324 | |
2325 This setting only has effect if the option `mh-show-use-xface-flag' is | |
2326 turned on." | |
2327 | |
2328 :type '(choice (const :tag "Ask Before Fetching" ask) | |
2329 (const :tag "Never Fetch" nil)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2330 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2331 :package-version '(MH-E . "7.3")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2332 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2333 (defcustom-mh mh-graphical-smileys-flag t |
68465 | 2334 "*Non-nil means graphical smileys are displayed. |
2335 | |
2336 It is a long standing custom to inject body language using a | |
2337 cornucopia of punctuation, also known as the \"smileys\". MH-E | |
2338 can render these as graphical widgets if this option is turned | |
2339 on, which it is by default. Smileys include patterns such as :-) | |
2340 and ;-). | |
2341 | |
2342 This option is disabled if the option `mh-decode-mime-flag' is | |
2343 turned off." | |
2344 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2345 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2346 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2347 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2348 (defcustom-mh mh-graphical-emphasis-flag t |
68465 | 2349 "*Non-nil means graphical emphasis is displayed. |
2350 | |
2351 A few typesetting features are indicated in ASCII text with | |
2352 certain characters. If your terminal supports it, MH-E can render | |
2353 these typesetting directives naturally if this option is turned | |
2354 on, which it is by default. For example, _underline_ will be | |
2355 underlined, *bold* will appear in bold, /italics/ will appear in | |
2356 italics, and so on. See the option `gnus-emphasis-alist' for the | |
2357 whole list. | |
2358 | |
2359 This option is disabled if the option `mh-decode-mime-flag' is | |
2360 turned off." | |
2361 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2362 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2363 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2364 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2365 (defcustom-mh mh-highlight-citation-style 'gnus |
68465 | 2366 "Style for highlighting citations. |
2367 | |
2368 If the sender of the message has cited other messages in his | |
2369 message, then MH-E will highlight these citations to emphasize | |
2370 the sender's actual response. This option can be customized to | |
2371 change the highlighting style. The \"Multicolor\" method uses a | |
2372 different color for each indentation while the \"Monochrome\" | |
2373 method highlights all citations in red. To disable highlighting | |
2374 of citations entirely, choose \"None\"." | |
2375 :type '(choice (const :tag "Multicolor" gnus) | |
2376 (const :tag "Monochrome" font-lock) | |
2377 (const :tag "None" nil)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2378 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2379 :package-version '(MH-E . "8.0")) |
68465 | 2380 |
2381 ;; Keep fields alphabetized. Mention source, if known. | |
2382 (defvar mh-invisible-header-fields-internal | |
2383 '("Approved:" | |
2384 "Autoforwarded:" | |
2385 "Bestservhost:" | |
2386 "Cancel-Lock:" ; NNTP posts | |
2387 "Content-" ; RFC 2045 | |
2388 "Delivered-To:" ; Egroups/yahoogroups mailing list manager | |
2389 "Delivery-Date:" ; MH | |
2390 "Delivery:" | |
2391 "DomainKey-Signature:" ;http://antispam.yahoo.com/domainkeys | |
2392 "Encoding:" | |
2393 "Envelope-to:" | |
2394 "Errors-To:" | |
2395 "Face:" ; Gnus Face header | |
2396 "Forwarded:" ; MH | |
2397 "From " ; sendmail | |
2398 "Importance:" ; MS Outlook | |
2399 "In-Reply-To:" ; MH | |
2400 "Lines:" | |
2401 "List-" ; Mailman mailing list manager | |
2402 "List-" ; Unknown mailing list managers | |
2403 "List-Subscribe:" ; Unknown mailing list managers | |
2404 "List-Unsubscribe:" ; Unknown mailing list managers | |
2405 "Mail-from:" ; MH | |
2406 "Mailing-List:" ; Egroups/yahoogroups mailing list manager | |
2407 "Message-Id:" ; RFC 822 | |
2408 "Mime-Version" ; RFC 2045 | |
2409 "NNTP-" ; News | |
2410 "Old-Return-Path:" | |
2411 "Original-Encoded-Information-Types:" ; X400 | |
2412 "Original-Lines:" ; mail to news | |
2413 "Original-NNTP-" ; mail to news | |
2414 "Original-Newsgroups:" ; mail to news | |
2415 "Original-Path:" ; mail to news | |
2416 "Original-Received:" ; mail to news | |
2417 "Original-To:" ; mail to news | |
2418 "Original-X-" ; mail to news | |
2419 "Originator:" | |
2420 "P1-Content-Type:" ; X400 | |
2421 "P1-Message-Id:" ; X400 | |
2422 "P1-Recipient:" ; X400 | |
2423 "Path:" | |
2424 "Precedence:" | |
2425 "Prev-Resent" ; MH | |
2426 "Priority:" | |
2427 "Received:" ; RFC 822 | |
2428 "Received-SPF:" ; Gmail | |
2429 "References:" | |
2430 "Remailed-" ; MH | |
2431 "Replied:" ; MH | |
2432 "Resent" ; MH | |
2433 "Return-Path:" ; RFC 822 | |
2434 "Sensitivity:" ; MS Outlook | |
2435 "Status:" ; sendmail | |
2436 "Thread-" | |
2437 "Ua-Content-Id:" ; X400 | |
2438 ;; "User-Agent:" ; Similar to X-Mailer, so display it. | |
2439 "Via:" ; MH | |
69691
2c0452875544
mh-e.el (mh-invisible-header-fields-internal): Add entries "X-AOL-IP:"
Eric Ding <ericding@mit.edu>
parents:
69519
diff
changeset
|
2440 "X-AOL-IP:" ; AOL WebMail |
68465 | 2441 "X-Abuse-Info:" |
2442 "X-Abuse-and-DMCA-" | |
2443 "X-Accept-Language:" | |
2444 "X-Accept-Language:" ; Netscape/Mozilla | |
2445 "X-Ack:" | |
2446 "X-Administrivia-To:" | |
2447 "X-AntiAbuse:" ; cPanel | |
2448 "X-Apparently-From:" ; MS Outlook | |
2449 "X-Apparently-To:" ; Egroups/yahoogroups mailing list manager | |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2450 "X-Authenticated-Sender:" ; AT&T Message Center (webmail) |
68465 | 2451 "X-Authentication-Warning:" ; sendmail |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2452 "X-Barracuda-" ; Barracuda spam scores |
68465 | 2453 "X-Beenthere:" ; Mailman mailing list manager |
2454 "X-Bogosity:" ; bogofilter | |
68725
e59bf34a8b21
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Peter Galbraith <galbraith@mixing.qc.dfo.ca>
parents:
68622
diff
changeset
|
2455 "X-BrightmailFiltered:" ; Brightmail |
e59bf34a8b21
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Peter Galbraith <galbraith@mixing.qc.dfo.ca>
parents:
68622
diff
changeset
|
2456 "X-Brightmail-Tracker:" ; Brightmail |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2457 "X-Bugzilla-" ; Bugzilla |
68465 | 2458 "X-Complaints-To:" |
2459 "X-ContentStamp:" ; NetZero | |
2460 "X-Cron-Env:" | |
2461 "X-DMCA" | |
2462 "X-Delivered" | |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2463 "X-EFL-Spamscore:" ; MIT alumni spam filtering |
68465 | 2464 "X-ELNK-Trace:" ; Earthlink mailer |
2465 "X-Envelope-Date:" ; GNU mailutils | |
2466 "X-Envelope-From:" | |
2467 "X-Envelope-Sender:" | |
2468 "X-Envelope-To:" | |
2469 "X-Evolution:" ; Evolution mail client | |
2470 "X-Face:" | |
2471 "X-Folder:" ; Spam | |
2472 "X-From-Line" | |
2473 "X-Gmail-" ; Gmail | |
2474 "X-Gnus-Mail-Source:" ; gnus | |
2475 "X-Greylist:" ; milter-greylist-1.2.1 | |
2476 "X-Habeas-SWE-1:" ; Spam | |
2477 "X-Habeas-SWE-2:" ; Spam | |
2478 "X-Habeas-SWE-3:" ; Spam | |
2479 "X-Habeas-SWE-4:" ; Spam | |
2480 "X-Habeas-SWE-5:" ; Spam | |
2481 "X-Habeas-SWE-6:" ; Spam | |
2482 "X-Habeas-SWE-7:" ; Spam | |
2483 "X-Habeas-SWE-8:" ; Spam | |
2484 "X-Habeas-SWE-9:" ; Spam | |
68725
e59bf34a8b21
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Peter Galbraith <galbraith@mixing.qc.dfo.ca>
parents:
68622
diff
changeset
|
2485 "X-Hashcash:" ; hashcash |
68465 | 2486 "X-Info:" ; NTMail |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2487 "X-IronPort-AV:" ; IronPort AV |
68465 | 2488 "X-Juno-" ; Juno |
2489 "X-List-Host:" ; Unknown mailing list managers | |
2490 "X-List-Subscribe:" ; Unknown mailing list managers | |
2491 "X-List-Unsubscribe:" ; Unknown mailing list managers | |
2492 "X-Listprocessor-" ; ListProc(tm) by CREN | |
2493 "X-Listserver:" ; Unknown mailing list managers | |
2494 "X-Loop:" ; Unknown mailing list managers | |
2495 "X-Lumos-SenderID:" ; Roving ConstantContact | |
2496 "X-MAIL-INFO:" ; NetZero | |
69691
2c0452875544
mh-e.el (mh-invisible-header-fields-internal): Add entries "X-AOL-IP:"
Eric Ding <ericding@mit.edu>
parents:
69519
diff
changeset
|
2497 "X-MB-Message-" ; AOL WebMail |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2498 "X-MHE-Checksum:" ; Checksum added during index search |
68465 | 2499 "X-MIME-Autoconverted:" ; sendmail |
2500 "X-MIMETrack:" | |
2501 "X-MS-" ; MS Outlook | |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2502 "X-Mail-from:" ; fastmail.fm |
68465 | 2503 "X-MailScanner" ; ListProc(tm) by CREN |
2504 "X-Mailing-List:" ; Unknown mailing list managers | |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2505 "X-Mailman-Approved-At:" ; Mailman mailing list manager |
68465 | 2506 "X-Mailman-Version:" ; Mailman mailing list manager |
2507 "X-Majordomo:" ; Majordomo mailing list manager | |
2508 "X-Message-Id" | |
2509 "X-MessageWall-Score:" ; Unknown mailing list manager, AUC TeX | |
2510 "X-MimeOLE:" ; MS Outlook | |
2511 "X-Mms-" ; T-Mobile pictures | |
2512 "X-Mozilla-Status:" ; Netscape/Mozilla | |
2513 "X-Msmail-" ; MS Outlook | |
2514 "X-NAI-Spam-" ; Network Associates Inc. SpamKiller | |
2515 "X-News:" ; News | |
2516 "X-No-Archive:" | |
2517 "X-Notes-Item:" ; Lotus Notes Domino structured header | |
2518 "X-OperatingSystem:" | |
2519 ;;"X-Operator:" ; Similar to X-Mailer, so display it | |
2520 "X-Orcl-Content-Type:" | |
2521 "X-Original-Complaints-To:" | |
2522 "X-Original-Date:" ; SourceForge mailing list manager | |
2523 "X-Original-To:" | |
2524 "X-Original-Trace:" | |
2525 "X-OriginalArrivalTime:" ; Hotmail | |
2526 "X-Originating-IP:" ; Hotmail | |
2527 "X-Postfilter:" | |
2528 "X-Priority:" ; MS Outlook | |
2529 "X-Qotd-" ; User added | |
2530 "X-RM" | |
2531 "X-Received-Date:" | |
2532 "X-Received:" | |
2533 "X-Request-" | |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2534 "X-Resolved-to:" ; fastmail.fm |
68465 | 2535 "X-Return-Path-Hint:" ; Roving ConstantContact |
69058
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2536 "X-Roving-" ; Roving ConstantContact |
2ac1a4fca640
* mh-e.el (mh-invisible-header-fields-internal): Added entries
Eric Ding <ericding@mit.edu>
parents:
69031
diff
changeset
|
2537 "X-SA-Exim-" ; Exim SpamAssassin |
68465 | 2538 "X-SBClass:" ; Spam |
2539 "X-SBNote:" ; Spam | |
2540 "X-SBPass:" ; Spam | |
2541 "X-SBRule:" ; Spam | |
2542 "X-SMTP-" | |
69074
f5bc6bf5c294
* mh-e.el (mh-invisible-header-fields-internal): Added entry
Eric Ding <ericding@mit.edu>
parents:
69058
diff
changeset
|
2543 "X-Sasl-enc:" ; Apple Mail |
f5bc6bf5c294
* mh-e.el (mh-invisible-header-fields-internal): Added entry
Eric Ding <ericding@mit.edu>
parents:
69058
diff
changeset
|
2544 "X-Scanned-By:" |
68465 | 2545 "X-Sender:" |
2546 "X-Server-Date:" | |
2547 "X-Server-Uuid:" | |
2548 "X-Sieve:" ; Sieve filtering | |
2549 "X-Source" | |
2550 "X-Spam-" ; Spamassassin | |
2551 "X-SpamBouncer:" ; Spam | |
2552 "X-Status" | |
2553 "X-Submissions-To:" | |
2554 "X-Telecom-Digest" | |
2555 "X-Trace:" | |
2556 "X-UID" | |
2557 "X-UIDL:" | |
2558 "X-UNTD-" ; NetZero | |
2559 "X-USANET-" ; usa.net | |
2560 "X-UserInfo1:" | |
2561 "X-VSMLoop:" ; NTMail | |
2562 "X-Virus-Scanned" ; amavisd-new | |
2563 "X-Vms-To:" | |
2564 "X-WebTV-Signature:" | |
2565 "X-Wss-Id:" ; Worldtalk gateways | |
2566 "X-Yahoo" | |
2567 "X-eGroups-" ; Egroups/yahoogroups mailing list manager | |
2568 "X-pgp:" | |
2569 "X-submission-address:" | |
2570 "X400-" ; X400 | |
2571 "Xref:") | |
2572 "List of default header fields that are not to be shown. | |
2573 | |
2574 Do not alter this variable directly. Instead, add entries from | |
2575 here that you would like to be displayed in | |
2576 `mh-invisible-header-fields-default' and add entries to hide in | |
2577 `mh-invisible-header-fields'.") | |
2578 | |
2579 (eval-and-compile | |
2580 (unless (fboundp 'mh-invisible-headers) | |
2581 (defun mh-invisible-headers () | |
2582 "Temporary definition. | |
2583 Real definition, below, uses variables that aren't defined yet." | |
2584 nil))) | |
2585 | |
2586 (defvar mh-delay-invisible-header-generation-flag t | |
2587 "Non-nil means to delay the generation of invisible header fields. | |
2588 Because the function `mh-invisible-headers' uses both | |
2589 `mh-invisible-header-fields' and `mh-invisible-header-fields', it | |
2590 cannot be run until both variables have been initialized.") | |
2591 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2592 (defcustom-mh mh-invisible-header-fields nil |
68465 | 2593 "*Additional header fields to hide. |
2594 | |
2595 Header fields that you would like to hide that aren't listed in | |
2596 `mh-invisible-header-fields-default' can be added to this option | |
2597 with a couple of caveats. Regular expressions are not allowed. | |
2598 Unique fields should have a \":\" suffix; otherwise, the element | |
2599 can be used to render invisible an entire class of fields that | |
2600 start with the same prefix. If you think a header field should be | |
2601 generally ignored, report a bug (see URL | |
2602 `https://sourceforge.net/tracker/?group_id=13357&atid=113357'). | |
2603 | |
2604 See also `mh-clean-message-header-flag'." | |
2605 | |
2606 :type '(repeat (string :tag "Header field")) | |
2607 :set (lambda (symbol value) | |
2608 (set-default symbol value) | |
2609 (mh-invisible-headers)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2610 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2611 :package-version '(MH-E . "7.1")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2612 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2613 (defcustom-mh mh-invisible-header-fields-default nil |
68465 | 2614 "*List of hidden header fields. |
2615 | |
2616 The header fields listed in this option are hidden, although you | |
2617 can check off any field that you would like to see. | |
2618 | |
2619 Header fields that you would like to hide that aren't listed can | |
2620 be added to the option `mh-invisible-header-fields'. | |
2621 | |
2622 See also `mh-clean-message-header-flag'." | |
2623 :type `(set ,@(mapcar (lambda (x) `(const ,x)) | |
2624 mh-invisible-header-fields-internal)) | |
2625 :set (lambda (symbol value) | |
2626 (set-default symbol value) | |
2627 (mh-invisible-headers)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2628 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2629 :package-version '(MH-E . "8.0")) |
68465 | 2630 |
2631 (defvar mh-invisible-header-fields-compiled nil | |
2632 "*Regexp matching lines in a message header that are not to be shown. | |
2633 Do not alter this variable directly. Instead, customize | |
2634 `mh-invisible-header-fields-default' checking for fields normally | |
2635 hidden that you wish to display, and add extra entries to hide in | |
2636 `mh-invisible-header-fields'.") | |
2637 | |
2638 (defun mh-invisible-headers () | |
2639 "Make or remake the variable `mh-invisible-header-fields-compiled'. | |
2640 Done using `mh-invisible-header-fields-internal' as input, from | |
2641 which entries from `mh-invisible-header-fields-default' are | |
2642 removed and entries from `mh-invisible-header-fields' are added." | |
2643 (let ((fields mh-invisible-header-fields-internal)) | |
2644 (when mh-invisible-header-fields-default | |
2645 ;; Remove entries from `mh-invisible-header-fields-default' | |
2646 (setq fields | |
2647 (loop for x in fields | |
2648 unless (member x mh-invisible-header-fields-default) | |
2649 collect x))) | |
2650 (when (and (boundp 'mh-invisible-header-fields) | |
2651 mh-invisible-header-fields) | |
2652 (dolist (x mh-invisible-header-fields) | |
2653 (unless (member x fields) (setq fields (cons x fields))))) | |
2654 (if fields | |
2655 (setq mh-invisible-header-fields-compiled | |
2656 (concat | |
2657 "^" | |
2658 ;; workaround for insufficient default | |
2659 (let ((max-specpdl-size 1000)) | |
2660 (regexp-opt fields t)))) | |
2661 (setq mh-invisible-header-fields-compiled nil)))) | |
2662 | |
2663 ;; Compile invisible header fields. | |
2664 (mh-invisible-headers) | |
2665 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2666 (defcustom-mh mh-lpr-command-format "lpr -J '%s'" |
68465 | 2667 "*Command used to print\\<mh-folder-mode-map>. |
2668 | |
2669 This option contains the Unix command line which performs the | |
2670 actual printing for the \\[mh-print-msg] command. The string can | |
2671 contain one escape, \"%s\", which is replaced by the name of the | |
2672 folder and the message number and is useful for print job names. | |
2673 I use \"mpage -h'%s' -b Letter -H1of -mlrtb -P\" which produces a | |
2674 nice header and adds a bit of margin so the text fits within my | |
2675 printer's margins. | |
2676 | |
2677 This options is not used by the commands \\[mh-ps-print-msg] or | |
2678 \\[mh-ps-print-msg-file]." | |
2679 :type 'string | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2680 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2681 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2682 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2683 (defcustom-mh mh-max-inline-image-height nil |
68465 | 2684 "*Maximum inline image height if \"Content-Disposition:\" is not present. |
2685 | |
2686 Some older mail programs do not insert this needed plumbing to | |
2687 tell MH-E whether to display the attachments inline or not. If | |
2688 this is the case, MH-E will display these images inline if they | |
2689 are smaller than the window. However, you might want to allow | |
2690 larger images to be displayed inline. To do this, you can change | |
2691 the options `mh-max-inline-image-width' and | |
2692 `mh-max-inline-image-height' from their default value of zero to | |
2693 a large number. The size of your screen is a good choice for | |
2694 these numbers." | |
2695 :type '(choice (const nil) integer) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2696 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2697 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2698 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2699 (defcustom-mh mh-max-inline-image-width nil |
68465 | 2700 "*Maximum inline image width if \"Content-Disposition:\" is not present. |
2701 | |
2702 Some older mail programs do not insert this needed plumbing to | |
2703 tell MH-E whether to display the attachments inline or not. If | |
2704 this is the case, MH-E will display these images inline if they | |
2705 are smaller than the window. However, you might want to allow | |
2706 larger images to be displayed inline. To do this, you can change | |
2707 the options `mh-max-inline-image-width' and | |
2708 `mh-max-inline-image-height' from their default value of zero to | |
2709 a large number. The size of your screen is a good choice for | |
2710 these numbers." | |
2711 :type '(choice (const nil) integer) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2712 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2713 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2714 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2715 (defcustom-mh mh-mhl-format-file nil |
68465 | 2716 "*Specifies the format file to pass to the \"mhl\" program. |
2717 | |
2718 Normally MH-E takes care of displaying messages itself (rather than | |
2719 calling an MH program to do the work). If you'd rather have \"mhl\" | |
2720 display the message (within MH-E), change this option from its default | |
2721 value of \"Use Default mhl Format (Printing Only)\". | |
2722 | |
2723 You can set this option to \"Use Default mhl Format\" to get the same | |
2724 output as you would get if you ran \"mhl\" from the shell. | |
2725 | |
2726 If you have a format file that you want MH-E to use, you can set this | |
2727 option to \"Specify an mhl Format File\" and enter the name of your | |
2728 format file. Your format file should specify a non-zero value for | |
2729 \"overflowoffset\" to allow MH-E to parse the header. Note that | |
2730 \"mhl\" is always used for printing and forwarding; in this case, the | |
2731 value of this option is consulted if you have specified a format | |
2732 file." | |
2733 :type '(choice (const :tag "Use Default mhl Format (Printing Only)" nil) | |
2734 (const :tag "Use Default mhl Format" t) | |
2735 (file :tag "Specify an mhl Format File")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2736 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2737 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2738 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2739 (defcustom-mh mh-mime-save-parts-default-directory t |
68465 | 2740 "Default directory to use for \\<mh-folder-mode-map>\\[mh-mime-save-parts]. |
2741 | |
2742 The default value for this option is \"Prompt Always\" so that | |
2743 you are always prompted for the directory in which to save the | |
2744 attachments. However, if you usually use the same directory | |
2745 within a session, then you can set this option to \"Prompt the | |
2746 First Time\" to avoid the prompt each time. you can make this | |
2747 directory permanent by choosing \"Directory\" and entering the | |
2748 directory's name." | |
2749 :type '(choice (const :tag "Prompt the First Time" nil) | |
2750 (const :tag "Prompt Always" t) | |
2751 directory) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2752 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2753 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2754 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2755 (defcustom-mh mh-print-background-flag nil |
68465 | 2756 "*Non-nil means messages should be printed in the background\\<mh-folder-mode-map>. |
2757 | |
2758 Normally messages are printed in the foreground. If this is slow on | |
2759 your system, you may elect to turn off this option to print in the | |
2760 background. | |
2761 | |
2762 WARNING: If you do this, do not delete the message until it is printed | |
2763 or else the output may be truncated. | |
2764 | |
2765 This option is not used by the commands \\[mh-ps-print-msg] or | |
2766 \\[mh-ps-print-msg-file]." | |
2767 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2768 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2769 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2770 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2771 (defcustom-mh mh-show-maximum-size 0 |
68465 | 2772 "*Maximum size of message (in bytes) to display automatically. |
2773 | |
2774 This option provides an opportunity to skip over large messages | |
2775 which may be slow to load. The default value of 0 means that all | |
2776 message are shown regardless of size." | |
2777 :type 'integer | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2778 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2779 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2780 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2781 (defcustom-mh mh-show-use-xface-flag (>= emacs-major-version 21) |
68465 | 2782 "*Non-nil means display face images in MH-show buffers. |
2783 | |
2784 MH-E can display the content of \"Face:\", \"X-Face:\", and | |
2785 \"X-Image-URL:\" header fields. If any of these fields occur in the | |
2786 header of your message, the sender's face will appear in the \"From:\" | |
2787 header field. If more than one of these fields appear, then the first | |
2788 field found in the order \"Face:\", \"X-Face:\", and \"X-Image-URL:\" | |
2789 will be used. | |
2790 | |
2791 The option `mh-show-use-xface-flag' is used to turn this feature on | |
2792 and off. This feature will be turned on by default if your system | |
2793 supports it. | |
2794 | |
2795 The first header field used, if present, is the Gnus-specific | |
2796 \"Face:\" field. The \"Face:\" field appeared in GNU Emacs 21 and | |
2797 XEmacs. For more information, see URL | |
2798 `http://quimby.gnus.org/circus/face/'. Next is the traditional | |
2799 \"X-Face:\" header field. The display of this field requires the | |
2800 \"uncompface\" program (see URL | |
2801 `ftp://ftp.cs.indiana.edu/pub/faces/compface/compface.tar.z'). Recent | |
2802 versions of XEmacs have internal support for \"X-Face:\" images. If | |
2803 your version of XEmacs does not, then you'll need both \"uncompface\" | |
2804 and the x-face package (see URL `ftp://ftp.jpl.org/pub/elisp/'). | |
2805 | |
2806 Finally, MH-E will display images referenced by the \"X-Image-URL:\" | |
2807 header field if neither the \"Face:\" nor the \"X-Face:\" fields are | |
2808 present. The display of the images requires \"wget\" (see URL | |
2809 `http://www.gnu.org/software/wget/wget.html'), \"fetch\", or \"curl\" | |
2810 to fetch the image and the \"convert\" program from the ImageMagick | |
2811 suite (see URL `http://www.imagemagick.org/'). Of the three header | |
2812 fields this is the most efficient in terms of network usage since the | |
2813 image doesn't need to be transmitted with every single mail. | |
2814 | |
2815 The option `mh-fetch-x-image-url' controls the fetching of the | |
2816 \"X-Image-URL:\" header field image." | |
2817 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2818 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2819 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2820 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2821 (defcustom-mh mh-store-default-directory nil |
68465 | 2822 "*Default directory for \\<mh-folder-mode-map>\\[mh-store-msg]. |
2823 | |
2824 If you would like to change the initial default directory, | |
2825 customize this option, change the value from \"Current\" to | |
2826 \"Directory\", and then enter the name of the directory for storing | |
2827 the content of these messages." | |
2828 :type '(choice (const :tag "Current" nil) | |
2829 directory) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2830 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2831 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2832 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2833 (defcustom-mh mh-summary-height nil |
68465 | 2834 "*Number of lines in MH-Folder buffer (including the mode line). |
2835 | |
2836 The default value of this option is \"Automatic\" which means | |
2837 that the MH-Folder buffer will maintain the same proportional | |
2838 size if the frame is resized. If you'd prefer a fixed height, | |
2839 then choose the \"Fixed Size\" option and enter the number of | |
2840 lines you'd like to see." | |
2841 :type '(choice (const :tag "Automatic" nil) | |
2842 (integer :tag "Fixed Size")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2843 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2844 :package-version '(MH-E . "7.4")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
2845 |
68465 | 2846 ;;; The Speedbar (:group 'mh-speedbar) |
2847 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2848 (defcustom-mh mh-speed-update-interval 60 |
68465 | 2849 "Time between speedbar updates in seconds. |
2850 Set to 0 to disable automatic update." | |
2851 :type 'integer | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2852 :group 'mh-speedbar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2853 :package-version '(MH-E . "8.0")) |
68465 | 2854 |
2855 ;;; Threading (:group 'mh-thread) | |
2856 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2857 (defcustom-mh mh-show-threads-flag nil |
68465 | 2858 "*Non-nil means new folders start in threaded mode. |
2859 | |
2860 Threading large number of messages can be time consuming so this | |
2861 option is turned off by default. If you turn this option on, then | |
2862 threading will be done only if the number of messages being | |
2863 threaded is less than `mh-large-folder'." | |
2864 :type 'boolean | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2865 :group 'mh-thread |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2866 :package-version '(MH-E . "7.1")) |
68465 | 2867 |
2868 ;;; The Tool Bar (:group 'mh-tool-bar) | |
2869 | |
2870 ;; mh-tool-bar-folder-buttons and mh-tool-bar-letter-buttons defined | |
2871 ;; dynamically in mh-tool-bar.el. | |
2872 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2873 (defcustom-mh mh-tool-bar-search-function 'mh-search |
68465 | 2874 "*Function called by the tool bar search button. |
2875 | |
2876 By default, this is set to `mh-search'. You can also choose | |
2877 \"Other Function\" from the \"Value Menu\" and enter a function | |
2878 of your own choosing." | |
2879 :type '(choice (const mh-search) | |
2880 (function :tag "Other Function")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2881 :group 'mh-tool-bar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2882 :package-version '(MH-E . "7.0")) |
68465 | 2883 |
2884 ;; XEmacs has a couple of extra customizations... | |
2885 (mh-do-in-xemacs | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2886 (defcustom-mh mh-xemacs-use-tool-bar-flag mh-xemacs-has-tool-bar-flag |
68465 | 2887 "*If non-nil, use tool bar. |
2888 | |
2889 This option controls whether to show the MH-E icons at all. By | |
2890 default, this option is turned on if the window system supports | |
2891 tool bars. If your system doesn't support tool bars, then you | |
2892 won't be able to turn on this option." | |
2893 :type 'boolean | |
2894 :group 'mh-tool-bar | |
2895 :set (lambda (symbol value) | |
2896 (if (and (eq value t) | |
2897 (not mh-xemacs-has-tool-bar-flag)) | |
2898 (error "Tool bar not supported")) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2899 (set-default symbol value)) |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2900 :package-version '(MH-E . "7.3")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2901 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2902 (defcustom-mh mh-xemacs-tool-bar-position nil |
68465 | 2903 "*Tool bar location. |
2904 | |
2905 This option controls the placement of the tool bar along the four | |
2906 edges of the frame. You can choose from one of \"Same As Default | |
2907 Tool Bar\", \"Top\", \"Bottom\", \"Left\", or \"Right\". If this | |
2908 variable is set to anything other than \"Same As Default Tool | |
2909 Bar\" and the default tool bar is in a different location, then | |
2910 two tool bars will be displayed: the MH-E tool bar and the | |
2911 default tool bar." | |
2912 :type '(radio (const :tag "Same As Default Tool Bar" :value nil) | |
2913 (const :tag "Top" :value top) | |
2914 (const :tag "Bottom" :value bottom) | |
2915 (const :tag "Left" :value left) | |
2916 (const :tag "Right" :value right)) | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2917 :group 'mh-tool-bar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2918 :package-version '(MH-E . "7.3"))) |
68465 | 2919 |
2920 | |
2921 | |
2922 ;;; Hooks (:group 'mh-hooks + group where hook described) | |
2923 | |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2924 (defcustom-mh mh-after-commands-processed-hook nil |
68475
fef251da6e07
(mh-after-commands-processed-hook)
Bill Wohler <wohler@newt.com>
parents:
68465
diff
changeset
|
2925 "Hook run by \\<mh-folder-mode-map>\\[mh-execute-commands] after performing outstanding refile and delete requests. |
68465 | 2926 |
2927 Variables that are useful in this hook include | |
2928 `mh-folders-changed', which lists which folders were affected by | |
2929 deletes and refiles. This list will always include the current | |
2930 folder, which is also available in `mh-current-folder'." | |
2931 :type 'hook | |
2932 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2933 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2934 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2935 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2936 (defcustom-mh mh-alias-reloaded-hook nil |
68465 | 2937 "Hook run by `mh-alias-reload' after loading aliases." |
2938 :type 'hook | |
2939 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2940 :group 'mh-alias |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2941 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2942 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2943 (defcustom-mh mh-before-commands-processed-hook nil |
68475
fef251da6e07
(mh-after-commands-processed-hook)
Bill Wohler <wohler@newt.com>
parents:
68465
diff
changeset
|
2944 "Hook run by \\<mh-folder-mode-map>\\[mh-execute-commands] before performing outstanding refile and delete requests. |
68465 | 2945 |
2946 Variables that are useful in this hook include `mh-delete-list' | |
2947 and `mh-refile-list' which can be used to see which changes will | |
2948 be made to the current folder, `mh-current-folder'." | |
2949 :type 'hook | |
2950 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2951 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2952 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2953 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2954 (defcustom-mh mh-before-quit-hook nil |
68465 | 2955 "Hook run by \\<mh-folder-mode-map>\\[mh-quit] before quitting MH-E. |
2956 | |
2957 This hook is called before the quit occurs, so you might use it | |
2958 to perform any MH-E operations; you could perform some query and | |
2959 abort the quit or call `mh-execute-commands', for example. | |
2960 | |
2961 See also `mh-quit-hook'." | |
2962 :type 'hook | |
2963 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2964 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2965 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2966 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2967 (defcustom-mh mh-before-send-letter-hook nil |
68465 | 2968 "Hook run at the beginning of the \\<mh-letter-mode-map>\\[mh-send-letter] command. |
2969 | |
2970 For example, if you want to check your spelling in your message | |
2971 before sending, add the `ispell-message' function." | |
2972 :type 'hook | |
2973 :options '(ispell-message) | |
2974 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2975 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2976 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2977 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2978 (defcustom-mh mh-delete-msg-hook nil |
68465 | 2979 "Hook run by \\<mh-letter-mode-map>\\[mh-delete-msg] after marking each message for deletion. |
2980 | |
2981 For example, a past maintainer of MH-E used this once when he | |
2982 kept statistics on his mail usage." | |
2983 :type 'hook | |
2984 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2985 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2986 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2987 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2988 (defcustom-mh mh-find-path-hook nil |
68465 | 2989 "Hook run by `mh-find-path' after reading the user's MH profile. |
2990 | |
2991 This hook can be used the change the value of the variables that | |
2992 `mh-find-path' sets if you need to run with different values | |
2993 between MH and MH-E." | |
2994 :type 'hook | |
2995 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2996 :group 'mh-e |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
2997 :package-version '(MH-E . "7.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
2998 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
2999 (defcustom-mh mh-folder-mode-hook nil |
68465 | 3000 "Hook run by `mh-folder-mode' when visiting a new folder." |
3001 :type 'hook | |
3002 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3003 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3004 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3005 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3006 (defcustom-mh mh-forward-hook nil |
68465 | 3007 "Hook run by `mh-forward' on a forwarded letter." |
3008 :type 'hook | |
3009 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3010 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3011 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3012 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3013 (defcustom-mh mh-inc-folder-hook nil |
68465 | 3014 "Hook run by \\<mh-folder-mode-map>\\[mh-inc-folder] after incorporating mail into a folder." |
3015 :type 'hook | |
3016 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3017 :group 'mh-inc |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3018 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3019 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3020 (defcustom-mh mh-insert-signature-hook nil |
68465 | 3021 "Hook run by \\<mh-letter-mode-map>\\[mh-insert-signature] after signature has been inserted. |
3022 | |
3023 Hook functions may access the actual name of the file or the | |
3024 function used to insert the signature with | |
3025 `mh-signature-file-name'." | |
3026 :type 'hook | |
3027 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3028 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3029 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3030 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3031 (defcustom-mh mh-kill-folder-suppress-prompt-hooks '(mh-search-p) |
68465 | 3032 "Abnormal hook run at the beginning of \\<mh-folder-mode-map>\\[mh-kill-folder]. |
3033 | |
3034 The hook functions are called with no arguments and should return | |
3035 a non-nil value to suppress the normal prompt when you remove a | |
3036 folder. This is useful for folders that are easily regenerated. | |
3037 | |
3038 The default value of `mh-search-p' suppresses the prompt on | |
3039 folders generated by searching. | |
3040 | |
3041 WARNING: Use this hook with care. If there is a bug in your hook | |
3042 which returns t on \"+inbox\" and you hit \\[mh-kill-folder] by | |
3043 accident in the \"+inbox\" folder, you will not be happy." | |
3044 :type 'hook | |
3045 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3046 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3047 :package-version '(MH-E . "7.4")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3048 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3049 (defcustom-mh mh-letter-mode-hook nil |
68465 | 3050 "Hook run by `mh-letter-mode' on a new letter. |
3051 | |
3052 This hook allows you to do some processing before editing a | |
3053 letter. For example, you may wish to modify the header after | |
3054 \"repl\" has done its work, or you may have a complicated | |
3055 \"components\" file and need to tell MH-E where the cursor should | |
3056 go." | |
3057 :type 'hook | |
3058 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3059 :group 'mh-sending-mail |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3060 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3061 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3062 (defcustom-mh mh-mh-to-mime-hook nil |
68465 | 3063 "Hook run on the formatted letter by \\<mh-letter-mode-map>\\[mh-mh-to-mime]." |
3064 :type 'hook | |
3065 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3066 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3067 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3068 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3069 (defcustom-mh mh-search-mode-hook nil |
68465 | 3070 "Hook run upon entry to `mh-search-mode'\\<mh-folder-mode-map>. |
3071 | |
3072 If you find that you do the same thing over and over when editing | |
3073 the search template, you may wish to bind some shortcuts to keys. | |
3074 This can be done with this hook which is called when | |
3075 \\[mh-search] is run on a new pattern." | |
3076 :type 'hook | |
3077 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3078 :group 'mh-search |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3079 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3080 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3081 (defcustom-mh mh-quit-hook nil |
68465 | 3082 "Hook run by \\<mh-folder-mode-map>\\[mh-quit] after quitting MH-E. |
3083 | |
3084 This hook is not run in an MH-E context, so you might use it to | |
3085 modify the window setup. | |
3086 | |
3087 See also `mh-before-quit-hook'." | |
3088 :type 'hook | |
3089 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3090 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3091 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3092 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3093 (defcustom-mh mh-refile-msg-hook nil |
68465 | 3094 "Hook run by \\<mh-folder-mode-map>\\[mh-refile-msg] after marking each message for refiling." |
3095 :type 'hook | |
3096 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3097 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3098 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3099 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3100 (defcustom-mh mh-show-hook nil |
68465 | 3101 "Hook run after \\<mh-folder-mode-map>\\[mh-show] shows a message. |
3102 | |
3103 It is the last thing called after messages are displayed. It's | |
3104 used to affect the behavior of MH-E in general or when | |
3105 `mh-show-mode-hook' is too early. See `mh-show-mode-hook'." | |
3106 :type 'hook | |
3107 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3108 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3109 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3110 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3111 (defcustom-mh mh-show-mode-hook nil |
68465 | 3112 "Hook run upon entry to `mh-show-mode'. |
3113 | |
3114 This hook is called early on in the process of the message | |
3115 display. It is usually used to perform some action on the | |
3116 message's content. See `mh-show-hook'." | |
3117 :type 'hook | |
3118 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3119 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3120 :package-version '(MH-E . "6.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3121 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3122 (defcustom-mh mh-unseen-updated-hook nil |
68465 | 3123 "Hook run after the unseen sequence has been updated. |
3124 | |
3125 The variable `mh-seen-list' can be used by this hook to obtain | |
3126 the list of messages which were removed from the unseen | |
3127 sequence." | |
3128 :type 'hook | |
3129 :group 'mh-hooks | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3130 :group 'mh-sequences |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3131 :package-version '(MH-E . "6.0")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3132 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3133 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3134 |
68465 | 3135 ;;; Faces (:group 'mh-faces + group where faces described) |
3136 | |
3137 (if (boundp 'facemenu-unlisted-faces) | |
3138 (add-to-list 'facemenu-unlisted-faces "^mh-")) | |
3139 | |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3140 ;; To add a new face: |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3141 ;; 1. Add entry to variable mh-face-data. |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3142 ;; 2. Create face using defface-mh (which removes min-color spec and |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3143 ;; :package-version keyword where these are not supported), |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3144 ;; accessing face data with function mh-face-data. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3145 ;; 3. Add inherit argument to function mh-face-data if applicable. |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3146 (defvar mh-face-data |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3147 '((mh-folder-followup |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3148 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3149 (:foreground "blue3")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3150 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3151 (:foreground "LightGoldenRod")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3152 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3153 (:bold t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3154 (mh-folder-msg-number |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3155 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3156 (:foreground "snow4")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3157 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3158 (:foreground "snow3")) |
68977
c6014dab558d
(mh-folder-msg-number): Use purple on low-color, light backgrounds per
Bill Wohler <wohler@newt.com>
parents:
68948
diff
changeset
|
3159 (((class color) (background light)) |
c6014dab558d
(mh-folder-msg-number): Use purple on low-color, light backgrounds per
Bill Wohler <wohler@newt.com>
parents:
68948
diff
changeset
|
3160 (:foreground "purple")) |
c6014dab558d
(mh-folder-msg-number): Use purple on low-color, light backgrounds per
Bill Wohler <wohler@newt.com>
parents:
68948
diff
changeset
|
3161 (((class color) (background dark)) |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3162 (:foreground "cyan")))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3163 (mh-folder-refiled |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3164 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3165 (:foreground "DarkGoldenrod")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3166 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3167 (:foreground "LightGoldenrod")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3168 (((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3169 (:foreground "yellow" :weight light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3170 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3171 (:foreground "Gray90" :bold t :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3172 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3173 (:foreground "DimGray" :bold t :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3174 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3175 (:bold t :italic t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3176 (mh-folder-subject |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3177 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3178 (:foreground "blue4")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3179 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3180 (:foreground "yellow")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3181 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3182 (:bold t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3183 (mh-folder-tick |
68977
c6014dab558d
(mh-folder-msg-number): Use purple on low-color, light backgrounds per
Bill Wohler <wohler@newt.com>
parents:
68948
diff
changeset
|
3184 ((((class color) (background light)) |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3185 (:background "#dddf7e")) |
68977
c6014dab558d
(mh-folder-msg-number): Use purple on low-color, light backgrounds per
Bill Wohler <wohler@newt.com>
parents:
68948
diff
changeset
|
3186 (((class color) (background dark)) |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3187 (:background "#dddf7e")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3188 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3189 (:underline t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3190 (mh-folder-to |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3191 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3192 (:foreground "RosyBrown")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3193 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3194 (:foreground "LightSalmon")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3195 (((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3196 (:foreground "green")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3197 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3198 (:foreground "DimGray" :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3199 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3200 (:foreground "LightGray" :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3201 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3202 (:italic t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3203 (mh-letter-header-field |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3204 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3205 (:background "gray90")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3206 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3207 (:background "gray10")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3208 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3209 (:bold t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3210 (mh-search-folder |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3211 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3212 (:foreground "dark green" :bold t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3213 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3214 (:foreground "indian red" :bold t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3215 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3216 (:bold t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3217 (mh-show-cc |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3218 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3219 (:foreground "DarkGoldenrod")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3220 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3221 (:foreground "LightGoldenrod")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3222 (((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3223 (:foreground "yellow" :weight light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3224 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3225 (:foreground "Gray90" :bold t :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3226 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3227 (:foreground "DimGray" :bold t :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3228 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3229 (:bold t :italic t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3230 (mh-show-date |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3231 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3232 (:foreground "ForestGreen")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3233 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3234 (:foreground "PaleGreen")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3235 (((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3236 (:foreground "green")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3237 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3238 (:foreground "Gray90" :bold t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3239 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3240 (:foreground "DimGray" :bold t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3241 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3242 (:bold t :underline t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3243 (mh-show-from |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3244 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3245 (:foreground "red3")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3246 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3247 (:foreground "cyan")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3248 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3249 (:bold t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3250 (mh-show-header |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3251 ((((class color) (min-colors 64) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3252 (:foreground "RosyBrown")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3253 (((class color) (min-colors 64) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3254 (:foreground "LightSalmon")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3255 (((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3256 (:foreground "green")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3257 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3258 (:foreground "DimGray" :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3259 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3260 (:foreground "LightGray" :italic t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3261 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3262 (:italic t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3263 (mh-show-pgg-bad ((t (:bold t :foreground "DeepPink1")))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3264 (mh-show-pgg-good ((t (:bold t :foreground "LimeGreen")))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3265 (mh-show-pgg-unknown ((t (:bold t :foreground "DarkGoldenrod2")))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3266 (mh-show-signature ((t (:italic t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3267 (mh-show-to |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3268 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3269 (:foreground "SaddleBrown")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3270 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3271 (:foreground "burlywood")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3272 (((class grayscale) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3273 (:foreground "DimGray" :underline t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3274 (((class grayscale) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3275 (:foreground "LightGray" :underline t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3276 (t (:underline t)))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3277 (mh-speedbar-folder |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3278 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3279 (:foreground "blue4")) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3280 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3281 (:foreground "light blue")))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3282 (mh-speedbar-selected-folder |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3283 ((((class color) (background light)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3284 (:foreground "red1" :underline t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3285 (((class color) (background dark)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3286 (:foreground "red1" :underline t)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3287 (t |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3288 (:underline t))))) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3289 "MH-E face data. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3290 Used by function `mh-face-data' which returns spec that is |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3291 consumed by `defface-mh'.") |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3292 |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3293 (require 'cus-face) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3294 |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3295 (defvar mh-inherit-face-flag (assq :inherit custom-face-attributes) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3296 "Non-nil means that the `defface' :inherit keyword is available. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3297 The :inherit keyword is available on all supported versions of |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3298 GNU Emacs and XEmacs from at least 21.5.23 on.") |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3299 |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3300 (defvar mh-min-colors-defined-flag (and (not mh-xemacs-flag) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3301 (>= emacs-major-version 22)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3302 "Non-nil means `defface' supports min-colors display requirement.") |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3303 |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3304 (defun mh-face-data (face &optional inherit) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3305 "Return spec for FACE. |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3306 See `defface' for the spec definition. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3307 |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3308 If INHERIT is non-nil and `defface' supports the :inherit |
69749
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3309 keyword, return INHERIT literally; otherwise, return spec for |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3310 FACE from the variable `mh-face-data'. This isn't a perfect |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3311 implementation. In the case that the :inherit keyword is not |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3312 supported, any additional attributes in the inherit parameter are |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3313 not added to the returned spec. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3314 |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3315 Furthermore, when `mh-min-colors-defined-flag' is nil, this |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3316 function finds display entries with \"min-colors\" requirements |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3317 and either removes the \"min-colors\" requirement or strips the |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3318 display entirely if the display does not support the number of |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3319 specified colors." |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3320 (let ((spec |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3321 (if (and inherit mh-inherit-face-flag) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3322 inherit |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3323 (or (cadr (assq face mh-face-data)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3324 (error "Could not find %s in mh-face-data" face))))) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3325 |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3326 (if mh-min-colors-defined-flag |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3327 spec |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3328 (let ((cells (mh-display-color-cells)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3329 new-spec) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3330 ;; Remove entries with min-colors, or delete them if we have |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3331 ;; fewer colors than they specify. |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3332 (loop for entry in (reverse spec) do |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3333 (let ((requirement (if (eq (car entry) t) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3334 nil |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3335 (assq 'min-colors (car entry))))) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3336 (if requirement |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3337 (when (>= cells (nth 1 requirement)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3338 (setq new-spec (cons (cons (delq requirement (car entry)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3339 (cdr entry)) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3340 new-spec))) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3341 (setq new-spec (cons entry new-spec))))) |
8dfee8162776
(mh-strip-package-version): Make macro, also to avoid compiler error.
Bill Wohler <wohler@newt.com>
parents:
69745
diff
changeset
|
3342 new-spec)))) |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3343 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3344 (defface-mh mh-folder-address |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3345 (mh-face-data 'mh-folder-subject '((t (:inherit mh-folder-subject)))) |
68465 | 3346 "Recipient face." |
3347 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3348 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3349 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3350 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3351 (defface-mh mh-folder-body |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3352 (mh-face-data 'mh-folder-msg-number |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3353 '((((class color)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3354 (:inherit mh-folder-msg-number)) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3355 (t |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3356 (:inherit mh-folder-msg-number :italic t)))) |
68465 | 3357 "Body text face." |
3358 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3359 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3360 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3361 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3362 (defface-mh mh-folder-cur-msg-number |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3363 (mh-face-data 'mh-folder-msg-number |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3364 '((t (:inherit mh-folder-msg-number :bold t)))) |
68465 | 3365 "Current message number face." |
3366 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3367 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3368 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3369 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3370 (defface-mh mh-folder-date |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3371 (mh-face-data 'mh-folder-msg-number '((t (:inherit mh-folder-msg-number)))) |
68465 | 3372 "Date face." |
3373 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3374 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3375 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3376 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3377 (defface-mh mh-folder-deleted |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3378 (mh-face-data 'mh-folder-msg-number '((t (:inherit mh-folder-msg-number)))) |
68465 | 3379 "Deleted message face." |
3380 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3381 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3382 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3383 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3384 (defface-mh mh-folder-followup (mh-face-data 'mh-folder-followup) |
68465 | 3385 "\"Re:\" face." |
3386 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3387 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3388 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3389 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3390 (defface-mh mh-folder-msg-number (mh-face-data 'mh-folder-msg-number) |
68465 | 3391 "Message number face." |
3392 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3393 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3394 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3395 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3396 (defface-mh mh-folder-refiled (mh-face-data 'mh-folder-refiled) |
68465 | 3397 "Refiled message face." |
3398 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3399 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3400 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3401 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3402 (defface-mh mh-folder-sent-to-me-hint |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3403 (mh-face-data 'mh-folder-msg-number '((t (:inherit mh-folder-date)))) |
68465 | 3404 "Fontification hint face in messages sent directly to us. |
3405 The detection of messages sent to us is governed by the scan | |
3406 format `mh-scan-format-nmh' and the regular expression | |
3407 `mh-scan-sent-to-me-sender-regexp'." | |
3408 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3409 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3410 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3411 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3412 (defface-mh mh-folder-sent-to-me-sender |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3413 (mh-face-data 'mh-folder-followup '((t (:inherit mh-folder-followup)))) |
68465 | 3414 "Sender face in messages sent directly to us. |
3415 The detection of messages sent to us is governed by the scan | |
3416 format `mh-scan-format-nmh' and the regular expression | |
3417 `mh-scan-sent-to-me-sender-regexp'." | |
3418 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3419 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3420 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3421 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3422 (defface-mh mh-folder-subject (mh-face-data 'mh-folder-subject) |
68465 | 3423 "Subject face." |
3424 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3425 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3426 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3427 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3428 (defface-mh mh-folder-tick (mh-face-data 'mh-folder-tick) |
68465 | 3429 "Ticked message face." |
3430 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3431 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3432 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3433 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3434 (defface-mh mh-folder-to (mh-face-data 'mh-folder-to) |
68465 | 3435 "\"To:\" face." |
3436 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3437 :group 'mh-folder |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3438 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3439 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3440 (defface-mh mh-letter-header-field (mh-face-data 'mh-letter-header-field) |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3441 "Editable header field value face in draft buffers." |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3442 :group 'mh-faces |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3443 :group 'mh-letter |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3444 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3445 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3446 (defface-mh mh-search-folder (mh-face-data 'mh-search-folder) |
68465 | 3447 "Folder heading face in MH-Folder buffers created by searches." |
3448 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3449 :group 'mh-search |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3450 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3451 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3452 (defface-mh mh-show-cc (mh-face-data 'mh-show-cc) |
68465 | 3453 "Face used to highlight \"cc:\" header fields." |
3454 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3455 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3456 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3457 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3458 (defface-mh mh-show-date (mh-face-data 'mh-show-date) |
68465 | 3459 "Face used to highlight \"Date:\" header fields." |
3460 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3461 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3462 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3463 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3464 (defface-mh mh-show-from (mh-face-data 'mh-show-from) |
68465 | 3465 "Face used to highlight \"From:\" header fields." |
3466 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3467 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3468 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3469 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3470 (defface-mh mh-show-header (mh-face-data 'mh-show-header) |
68465 | 3471 "Face used to deemphasize less interesting header fields." |
3472 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3473 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3474 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3475 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3476 (defface-mh mh-show-pgg-bad (mh-face-data 'mh-show-pgg-bad) |
68465 | 3477 "Bad PGG signature face." |
3478 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3479 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3480 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3481 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3482 (defface-mh mh-show-pgg-good (mh-face-data 'mh-show-pgg-good) |
68465 | 3483 "Good PGG signature face." |
3484 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3485 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3486 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3487 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3488 (defface-mh mh-show-pgg-unknown (mh-face-data 'mh-show-pgg-unknown) |
68465 | 3489 "Unknown or untrusted PGG signature face." |
3490 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3491 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3492 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3493 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3494 (defface-mh mh-show-signature (mh-face-data 'mh-show-signature) |
68465 | 3495 "Signature face." |
3496 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3497 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3498 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3499 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3500 (defface-mh mh-show-subject |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3501 (mh-face-data 'mh-folder-subject '((t (:inherit mh-folder-subject)))) |
68465 | 3502 "Face used to highlight \"Subject:\" header fields." |
3503 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3504 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3505 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3506 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3507 (defface-mh mh-show-to (mh-face-data 'mh-show-to) |
68465 | 3508 "Face used to highlight \"To:\" header fields." |
3509 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3510 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3511 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3512 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3513 (defface-mh mh-show-xface |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3514 (mh-face-data 'mh-show-from '((t (:inherit (mh-show-from highlight))))) |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3515 "X-Face image face. |
68465 | 3516 The background and foreground are used in the image." |
3517 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3518 :group 'mh-show |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3519 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3520 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3521 (defface-mh mh-speedbar-folder (mh-face-data 'mh-speedbar-folder) |
68465 | 3522 "Basic folder face." |
3523 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3524 :group 'mh-speedbar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3525 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3526 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3527 (defface-mh mh-speedbar-folder-with-unseen-messages |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3528 (mh-face-data 'mh-speedbar-folder |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3529 '((t (:inherit mh-speedbar-folder :bold t)))) |
68465 | 3530 "Folder face when folder contains unread messages." |
3531 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3532 :group 'mh-speedbar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3533 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3534 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3535 (defface-mh mh-speedbar-selected-folder |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3536 (mh-face-data 'mh-speedbar-selected-folder) |
68465 | 3537 "Selected folder face." |
3538 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3539 :group 'mh-speedbar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3540 :package-version '(MH-E . "8.0")) |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3541 |
70061
b3ab71ac7f4e
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
Bill Wohler <wohler@newt.com>
parents:
70028
diff
changeset
|
3542 (defface-mh mh-speedbar-selected-folder-with-unseen-messages |
68948
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3543 (mh-face-data 'mh-speedbar-selected-folder |
ab0fd996e480
(mh-inherit-face-flag): New variable. Non-nil means that the defface
Bill Wohler <wohler@newt.com>
parents:
68725
diff
changeset
|
3544 '((t (:inherit mh-speedbar-selected-folder :bold t)))) |
68465 | 3545 "Selected folder face when folder contains unread messages." |
3546 :group 'mh-faces | |
69728
fb125d0913e5
* mh-e.el (mh-defcustom, mh-defface, mh-defgroup): Macros to remove
Bill Wohler <wohler@newt.com>
parents:
69691
diff
changeset
|
3547 :group 'mh-speedbar |
70022
34e6282ccc27
(customize-package-emacs-version-alist)
Bill Wohler <wohler@newt.com>
parents:
69846
diff
changeset
|
3548 :package-version '(MH-E . "8.0")) |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3549 |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3550 (provide 'mh-e) |
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3551 |
67681 | 3552 ;; Local Variables: |
3553 ;; indent-tabs-mode: nil | |
3554 ;; sentence-end-double-space: nil | |
3555 ;; End: | |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3556 |
67681 | 3557 ;; arch-tag: cce884de-bd37-4104-9963-e4439d5ed22b |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff
changeset
|
3558 ;;; mh-e.el ends here |