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