annotate lisp/mh-e/mh-customize.el @ 67999:08bdaa28d0d2

(mh-alias-add-alias): Remove leading * from docstring.
author Bill Wohler <wohler@newt.com>
date Tue, 03 Jan 2006 18:20:20 +0000
parents 7882fc7df359
children 830e95c83d49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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-customize.el --- MH-E customization
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
3 ;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
4
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
5 ;; 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
6 ;; Maintainer: 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
7 ;; Keywords: mail
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
8 ;; See: mh-e.el
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
9
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
10 ;; 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
11
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
12 ;; GNU Emacs is free software; you can redistribute it and/or modify
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
13 ;; it under the terms of the GNU General Public License as published by
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
14 ;; the Free Software Foundation; either version 2, or (at your option)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
15 ;; any later version.
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
16
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
17 ;; 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
18 ;; 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
19 ;; 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
20 ;; 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
21
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
22 ;; You should have received a copy of the GNU General Public License
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63535
diff changeset
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63535
diff changeset
25 ;; Boston, MA 02110-1301, USA.
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
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
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
29 ;; All of the defgroups, defcustoms, and deffaces in MH-E are found
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
30 ;; here. This makes it possible to customize modules that aren't loaded
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
31 ;; yet. It also makes it easier to organize the customization groups.
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
32
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
33 ;; This file contains the following sections:
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
34 ;;
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
35 ;; 1. MH-E Customization Groups
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
36 ;;
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
37 ;; These are the customization group definitions. Every group has a
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
38 ;; associated manual node. The ordering is alphabetical, except for the
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
39 ;; groups mh-faces and mh-hooks which are last .
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
40 ;;
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
41 ;; 2. MH-E Customization
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
42 ;;
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
43 ;; These are the actual customization variables. There is a sub-section for
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
44 ;; each group in the MH-E Customization Groups section, in the same order,
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
45 ;; separated by page breaks. Within each section, variables are sorted
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
46 ;; alphabetically.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
47 ;;
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
48 ;; 3. Hooks
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
49 ;;
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
50 ;; All hooks must be placed in the mh-hook group; in addition, add the
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
51 ;; group associated with the manual node in which the hook is described.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
52 ;; Since the mh-hook group appears near the end of this file, the hooks
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
53 ;; will appear at the end of these other groups.
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
54 ;;
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
55 ;; 4. Faces
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
56 ;;
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
57 ;; Create a new face group if necessary; in this case, add the group
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
58 ;; associated with the manual node in which the faces are described to the
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
59 ;; faces' group definition. Since the face groups appear last, the face
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
60 ;; groups will appear at the end of these other groups.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
61 ;;
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
62 ;;; Change Log:
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
63
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
64 ;;; Code:
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
65
49578
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
66 (provide 'mh-customize)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
67
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
68 (eval-when-compile (require 'mh-acros))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
69 (mh-require-cl)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
70 (require 'mh-loaddefs)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
71
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
72 (eval-and-compile
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
73 (defvar mh-xemacs-flag (featurep 'xemacs)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
74 "Non-nil means the current Emacs is XEmacs."))
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
75
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
76 (when mh-xemacs-flag
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
77 (require 'mh-xemacs))
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
78
56787
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
79 ;; XXX: Functions autoloaded from the following files are used to initialize
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
80 ;; customizable variables. They are require'd here, since otherwise the
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
81 ;; corresponding .elc would be loaded at compile time.
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
82 (eval-when-compile
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
83 (require 'mh-init)
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
84 (require 'mh-identity))
25da1d331c99 Upgraded to MH-E version 7.82.
Bill Wohler <wohler@newt.com>
parents: 56751
diff changeset
85
67681
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
86 ;; For compiler warnings...
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
87 (eval-when-compile
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
88 (defvar mh-show-buffer)
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
89 (defvar mh-show-folder-buffer))
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
90
49578
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
91 (defun mh-customize (&optional delete-other-windows-flag)
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
92 "Customize MH-E variables.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
93 If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
94 windows in the frame are removed."
49578
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
95 (interactive "P")
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
96 (customize-group 'mh-e)
49578
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
97 (when delete-other-windows-flag
b35587af8747 Upgraded to MH-E version 7.2.
Bill Wohler <wohler@newt.com>
parents: 49459
diff changeset
98 (delete-other-windows)))
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
99
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
100
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
101
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
102 ;;; MH-E Customization Groups
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
103
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
104 (defgroup mh-e nil
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
105 "Emacs interface to the MH mail system.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
106 MH is the Rand Mail Handler. Other implementations include nmh
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
107 and GNU mailutils."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
108 :link '(custom-manual "(mh-e)Top")
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
109 :group 'mail)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
110
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
111 (defgroup mh-alias nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
112 "Aliases."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
113 :link '(custom-manual "(mh-e)Aliases")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
114 :prefix "mh-alias-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
115 :group 'mh-e)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
116
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
117 (defgroup mh-folder nil
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
118 "Organizing your mail with folders."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
119 :prefix "mh-"
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
120 :link '(custom-manual "(mh-e)Folders")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
121 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
122
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
123 (defgroup mh-folder-selection nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
124 "Folder selection."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
125 :prefix "mh-"
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
126 :link '(custom-manual "(mh-e)Folder Selection")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
127 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
128
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
129 (defgroup mh-identity nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
130 "Identities."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
131 :link '(custom-manual "(mh-e)Identities")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
132 :prefix "mh-identity-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
133 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
134
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
135 (defgroup mh-inc nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
136 "Incorporating your mail."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
137 :prefix "mh-inc-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
138 :link '(custom-manual "(mh-e)Incorporating Mail")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
139 :group 'mh-e)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
140
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
141 (defgroup mh-index nil
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
142 "Searching."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
143 :link '(custom-manual "(mh-e)Searching")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
144 :prefix "mh-index-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
145 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
146
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
147 (defgroup mh-junk nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
148 "Dealing with junk mail."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
149 :link '(custom-manual "(mh-e)Junk")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
150 :prefix "mh-junk-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
151 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
152
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
153 (defgroup mh-letter nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
154 "Editing a draft."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
155 :prefix "mh-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
156 :link '(custom-manual "(mh-e)Editing Drafts")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
157 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
158
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
159 (defgroup mh-ranges nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
160 "Ranges."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
161 :prefix "mh-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
162 :link '(custom-manual "(mh-e)Ranges")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
163 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
164
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
165 (defgroup mh-scan-line-formats nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
166 "Scan line formats."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
167 :link '(custom-manual "(mh-e)Scan Line Formats")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
168 :prefix "mh-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
169 :group 'mh-e)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
170
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
171 (defgroup mh-sending-mail nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
172 "Sending mail."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
173 :prefix "mh-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
174 :link '(custom-manual "(mh-e)Sending Mail")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
175 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
176
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
177 (defgroup mh-sequences nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
178 "Sequences."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
179 :prefix "mh-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
180 :link '(custom-manual "(mh-e)Sequences")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
181 :group 'mh-e)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
182
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
183 (defgroup mh-show nil
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
184 "Reading your mail."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
185 :prefix "mh-"
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
186 :link '(custom-manual "(mh-e)Reading Mail")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
187 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
188
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
189 (defgroup mh-speedbar nil
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
190 "The speedbar."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
191 :prefix "mh-speed-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
192 :link '(custom-manual "(mh-e)Speedbar")
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
193 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
194
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
195 (defgroup mh-thread nil
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
196 "Threading."
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
197 :prefix "mh-thread-"
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
198 :link '(custom-manual "(mh-e)Threading")
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
199 :group 'mh-e)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
200
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
201 (defgroup mh-tool-bar nil
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
202 "The tool bar"
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
203 :link '(custom-manual "(mh-e)Tool Bar")
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
204 :prefix "mh-"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
205 :group 'mh-e)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
206
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
207 (defgroup mh-hooks nil
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
208 "MH-E hooks."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
209 :link '(custom-manual "(mh-e)Top")
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
210 :prefix "mh-"
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
211 :group 'mh-e)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
212
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
213 (defgroup mh-faces nil
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
214 "Faces used in MH-E."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
215 :link '(custom-manual "(mh-e)Top")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
216 :prefix "mh-"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
217 :group 'faces
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
218 :group 'mh-e)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
219
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
220
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
221
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
222 ;;; Emacs interface to the MH mail system (:group mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
223 (eval-when (compile)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
224 (setq mh-variant 'none))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
225
67449
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
226 (defcustom mh-path nil
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
227 "*Additional list of directories to search for MH.
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
228 See `mh-variant'."
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
229 :group 'mh-e
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
230 :type '(repeat (directory)))
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
231
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
232 (defcustom mh-variant 'autodetect
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
233 "*Specifies the variant used by MH-E.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
234
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
235 The default setting of this option is \"Auto-detect\" which means
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
236 that MH-E will automatically choose the first of nmh, MH, or GNU
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
237 mailutils that it finds in the directories listed in
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
238 `mh-path' (which you can customize), `mh-sys-path', and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
239 `exec-path'. If, for example, you have both nmh and mailutils
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
240 installed and `mh-variant-in-use' was initialized to nmh but you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
241 want to use mailutils, then you can set this option to
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
242 \"mailutils\".
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
243
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
244 When this variable is changed, MH-E resets `mh-progs', `mh-lib',
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
245 `mh-lib-progs', `mh-flists-present-flag', and `mh-variant-in-use'
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
246 accordingly."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
247 :type `(radio
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
248 (const :tag "Auto-detect" autodetect)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
249 ,@(mapcar (lambda (x) `(const ,(car x))) (mh-variants)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
250 :set (lambda (symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
251 (set-default symbol value) ;Done in mh-variant-set-variant!
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
252 (mh-variant-set value))
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
253 :group 'mh-e)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
254
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
255
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
256
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
257 ;;; Aliases (:group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
258
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
259 (defcustom mh-alias-completion-ignore-case-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
260 "*Non-nil means don't consider case significant in MH alias completion.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
261
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
262 As MH ignores case in the aliases, so too does MH-E. However, you
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
263 may turn off this option to make case significant which can be
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
264 used to segregate completion of your aliases. You might use
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
265 lowercase for mailing lists and uppercase for people."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
266 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
267 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
268
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
269 (defcustom mh-alias-expand-aliases-flag nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
270 "*Non-nil means to expand aliases entered in the minibuffer.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
271
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
272 In other words, aliases entered in the minibuffer will be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
273 expanded to the full address in the message draft. By default,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
274 this expansion is not performed."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
275 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
276 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
277
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
278 (defcustom mh-alias-flash-on-comma t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
279 "*Specify whether to flash address or warn on translation.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
280
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
281 This option controls the behavior when a [comma] is pressed while
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
282 entering aliases or addresses. The default setting flashes the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
283 address associated with an address in the minibuffer briefly, but
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
284 does not display a warning if the alias is not found."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
285 :type '(choice (const :tag "Flash but Don't Warn If No Alias" t)
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
286 (const :tag "Flash and Warn If No Alias" 1)
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
287 (const :tag "Don't Flash Nor Warn If No Alias" nil))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
288 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
289
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
290 (defcustom mh-alias-insert-file nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
291 "*Filename used to store a new MH-E alias.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
292
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
293 The default setting of this option is \"Use Aliasfile Profile
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
294 Component\". This option can also hold the name of a file or a
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
295 list a file names. If this option is set to a list of file names,
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
296 or the \"Aliasfile:\" profile component contains more than one file
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
297 name, MH-E will prompt for one of them when MH-E adds an alias."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
298 :type '(choice (const :tag "Use Aliasfile Profile Component" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
299 (file :tag "Alias File")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
300 (repeat :tag "List of Alias Files" file))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
301 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
302
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
303 (defcustom mh-alias-insertion-location 'sorted
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
304 "Specifies where new aliases are entered in alias files.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
305
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
306 This option is set to \"Alphabetical\" by default. If you organize
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
307 your alias file in other ways, then adding aliases to the \"Top\"
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
308 or \"Bottom\" of your alias file might be more appropriate."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
309 :type '(choice (const :tag "Alphabetical" sorted)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
310 (const :tag "Top" top)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
311 (const :tag "Bottom" bottom))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
312 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
313
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
314 (defcustom mh-alias-local-users t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
315 "*If on, local users are added to alias completion.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
316
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
317 Aliases are created from \"/etc/passwd\" entries with a user ID
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
318 larger than a magical number, typically 200. This can be a handy
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
319 tool on a machine where you and co-workers exchange messages.
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
320 These aliases have the form \"local.first.last\" if a real name is
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
321 present in the password file. Otherwise, the alias will have the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
322 form \"local.login\".
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
323
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
324 If you're on a system with thousands of users you don't know, and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
325 the loading of local aliases slows MH-E down noticeably, then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
326 turn this option off.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
327
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
328 This option also takes a string which is executed to generate the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
329 password file. For example, use \"ypcat passwd\" to obtain the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
330 NIS password file."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
331 :type '(choice (boolean) (string))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
332 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
333
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
334 (defcustom mh-alias-local-users-prefix "local."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
335 "*String prefixed to the real names of users from the password file.
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
336 This option can also be set to \"Use Login\".
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
337
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
338 For example, consider the following password file entry:
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
339
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
340 psg:x:1000:1000:Peter S Galbraith,,,:/home/psg:/bin/tcsh
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
341
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
342 The following settings of this option will produce the associated
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
343 aliases:
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
344
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
345 \"local.\" local.peter.galbraith
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
346 \"\" peter.galbraith
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
347 Use Login psg
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
348
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
349 This option has no effect if variable `mh-alias-local-users' is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
350 turned off."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
351 :type '(choice (const :tag "Use Login" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
352 (string))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
353 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
354
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
355 (defcustom mh-alias-passwd-gecos-comma-separator-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
356 "*Non-nil means the gecos field in the password file uses a comma separator.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
357
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
358 In the example in `mh-alias-local-users-prefix', commas are used
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
359 to separate different values within the so-called gecos field.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
360 This is a fairly common usage. However, in the rare case that the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
361 gecos field in your password file is not separated by commas and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
362 whose contents may contain commas, you can turn this option off."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
363 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
364 :group 'mh-alias)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
365
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
366
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
367
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
368 ;;; Organizing Your Mail with Folders (:group 'mh-folder)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
369
67314
8cbe08e4eed5 * mh-customize.el (mh-new-messages-folders): Rename from
Bill Wohler <wohler@newt.com>
parents: 67246
diff changeset
370 (defcustom mh-new-messages-folders t
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
371 "Folders searched for the \"unseen\" sequence.
67314
8cbe08e4eed5 * mh-customize.el (mh-new-messages-folders): Rename from
Bill Wohler <wohler@newt.com>
parents: 67246
diff changeset
372
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
373 Set this option to \"Inbox\" to search the \"+inbox\" folder or
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
374 \"All\" to search all of the top level folders. Otherwise, list
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
375 the folders that should be searched with the \"Choose Folders\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
376 menu item.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
377
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
378 See also `mh-recursive-folders-flag'."
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
379 :type '(choice (const :tag "Inbox" t)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
380 (const :tag "All" nil)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
381 (repeat :tag "Choose Folders" (string :tag "Folder")))
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
382 :group 'mh-folder)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
383
67314
8cbe08e4eed5 * mh-customize.el (mh-new-messages-folders): Rename from
Bill Wohler <wohler@newt.com>
parents: 67246
diff changeset
384 (defcustom mh-ticked-messages-folders t
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
385 "Folders searched for `mh-tick-seq'.
67314
8cbe08e4eed5 * mh-customize.el (mh-new-messages-folders): Rename from
Bill Wohler <wohler@newt.com>
parents: 67246
diff changeset
386
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
387 Set this option to \"Inbox\" to search the \"+inbox\" folder or
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
388 \"All\" to search all of the top level folders. Otherwise, list
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
389 the folders that should be searched with the \"Choose Folders\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
390 menu item.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
391
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
392 See also `mh-recursive-folders-flag'."
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
393 :type '(choice (const :tag "Inbox" t)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
394 (const :tag "All" nil)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
395 (repeat :tag "Choose Folders" (string :tag "Folder")))
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
396 :group 'mh-folder)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
397
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
398 (defcustom mh-large-folder 200
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
399 "The number of messages that indicates a large folder.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
400
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
401 If a folder is deemed to be large, that is the number of messages
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
402 in it exceed this value, then confirmation is needed when it is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
403 visited. Even when `mh-show-threads-flag' is non-nil, the folder
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
404 is not automatically threaded, if it is large. If set to nil all
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
405 folders are treated as if they are small."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
406 :type '(choice (const :tag "No Limit") integer)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
407 :group 'mh-folder)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
408
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
409 (defcustom mh-recenter-summary-flag nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
410 "*Non-nil means to recenter the summary window.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
411
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
412 If this option is turned on, recenter the summary window when the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
413 show window is toggled off."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
414 :type 'boolean
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
415 :group 'mh-folder)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
416
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
417 (defcustom mh-recursive-folders-flag nil
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
418 "*Non-nil means that commands which operate on folders do so recursively."
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
419 :type 'boolean
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
420 :group 'mh-folder)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
421
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
422 (defcustom mh-sortm-args nil
67317
436927904f36 (mh-sortm-args): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67316
diff changeset
423 "*Additional arguments for \"sortm\"\\<mh-folder-mode-map>.
436927904f36 (mh-sortm-args): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67316
diff changeset
424
436927904f36 (mh-sortm-args): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67316
diff changeset
425 This option is consulted when a prefix argument is used with
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
426 \\[mh-sort-folder]. Normally default arguments to \"sortm\" are
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
427 specified in the MH profile. This option may be used to provide
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
428 an alternate view. For example, \"'(\"-nolimit\" \"-textfield\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
429 \"subject\")\" is a useful setting."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
430 :type 'string
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
431 :group 'mh-folder)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
432
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
433
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
434
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
435 ;;; Folder Selection (:group 'mh-folder-selection)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
436
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
437 (defcustom mh-default-folder-for-message-function nil
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
438 "Function to select a default folder for refiling or \"Fcc:\".
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
439
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
440 The current buffer is set to the message being refiled with point
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
441 at the start of the message. This function should return the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
442 default folder as a string with a leading \"+\" sign. It can also
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
443 return nil so that the last folder name is used as the default,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
444 or an empty string to suppress the default entirely."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
445 :type 'function
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
446 :group 'mh-folder-selection)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
447
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
448 (defcustom mh-default-folder-list nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
449 "*List of addresses and folders.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
450
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
451 The folder name associated with the first address found in this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
452 list is used as the default for `mh-refile-msg' and similar
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
453 functions. Each element in this list contains a \"Check Recipient\"
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
454 item. If this item is turned on, then the address is checked
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
455 against the recipient instead of the sender. This is useful for
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
456 mailing lists.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
457
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
458 See `mh-prompt-for-refile-folder' and `mh-folder-from-address'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
459 for more information."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
460 :type '(repeat (list (regexp :tag "Address")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
461 (string :tag "Folder")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
462 (boolean :tag "Check Recipient")))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
463 :group 'mh-folder-selection)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
464
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
465 (defcustom mh-default-folder-must-exist-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
466 "*Non-nil means guessed folder name must exist to be used.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
467
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
468 If the derived folder does not exist, and this option is on, then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
469 the last folder name used is suggested. This is useful if you get
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
470 mail from various people for whom you have an alias, but file
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
471 them all in the same project folder.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
472
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
473 See `mh-prompt-for-refile-folder' and `mh-folder-from-address'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
474 for more information."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
475 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
476 :group 'mh-folder-selection)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
477
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
478 (defcustom mh-default-folder-prefix ""
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
479 "*Prefix used for folder names generated from aliases.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
480 The prefix is used to prevent clutter in your mail directory.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
481
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
482 See `mh-prompt-for-refile-folder' and `mh-folder-from-address'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
483 for more information."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
484 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
485 :group 'mh-folder-selection)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
486
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
487
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
488
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
489 ;;; Identities (:group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
490
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
491 (defcustom mh-identity-list nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
492 "*List of identities.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
493
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
494 To customize this option, click on the \"INS\" button and enter a label
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
495 such as \"Home\" or \"Work\". Then click on the \"INS\" button with the
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
496 label \"Add at least one item below\". Then choose one of the items in
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
497 the \"Value Menu\".
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
498
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
499 You can specify an alternate \"From:\" header field using the \"From
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
500 Field\" menu item. You must include a valid email address. A standard
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
501 format is \"First Last <login@@host.domain>\". If you use an initial
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
502 with a period, then you must quote your name as in '\"First I. Last\"
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
503 <login@@host.domain>'. People usually list the name of the company
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
504 where they work using the \"Organization Field\" menu item. Set any
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
505 arbitrary header field and value in the \"Other Field\" menu item.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
506 Unless the header field is a standard one, precede the name of your
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
507 field's label with \"X-\", as in \"X-Fruit-of-the-Day:\". The value of
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
508 \"Attribution Verb\" overrides the setting of
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
509 `mh-extract-from-attribution-verb'. Set your signature with the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
510 \"Signature\" menu item. You can specify the contents of
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
511 `mh-signature-file-name', a file, or a function. Specify a different
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
512 key to sign or encrypt messages with the \"GPG Key ID\" menu item.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
513
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
514 You can select the identities you have added via the menu called
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
515 \"Identity\" in the MH-Letter buffer. You can also use
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
516 \\[mh-insert-identity]. To clear the fields and signature added by the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
517 identity, select the \"None\" identity.
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
518
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
519 The \"Identity\" menu contains two other items to save you from having
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
520 to set the identity on every message. The menu item \"Set Default for
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
521 Session\" can be used to set the default identity to the current
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
522 identity until you exit Emacs. The menu item \"Save as Default\" sets
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
523 the option `mh-identity-default' to the current identity setting. You
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
524 can also customize the `mh-identity-default' option in the usual
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
525 fashion."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
526 :type '(repeat (list :tag ""
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
527 (string :tag "Label")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
528 (repeat :tag "Add at least one item below"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
529 (choice
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
530 (cons :tag "From Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
531 (const "From")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
532 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
533 (cons :tag "Organization Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
534 (const "Organization")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
535 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
536 (cons :tag "Other Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
537 (string :tag "Field")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
538 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
539 (cons :tag "Attribution Verb"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
540 (const ":attribution-verb")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
541 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
542 (cons :tag "Signature"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
543 (const :tag "Signature"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
544 ":signature")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
545 (choice
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
546 (const :tag "mh-signature-file-name"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
547 nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
548 (file)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
549 (function)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
550 (cons :tag "GPG Key ID"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
551 (const :tag "GPG Key ID"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
552 ":pgg-default-user-id")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
553 (string :tag "Value"))))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
554 :set 'mh-identity-list-set
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
555 :group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
556
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
557 (defcustom mh-auto-fields-list nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
558 "List of recipients for which header lines are automatically inserted.
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
559
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
560 This option can be used to set the identity depending on the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
561 recipient. To customize this option, click on the \"INS\" button and
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
562 enter a regular expression for the recipient's address. Click on the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
563 \"INS\" button with the \"Add at least one item below\" label. Then choose
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
564 one of the items in the \"Value Menu\".
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
565
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
566 The \"Identity\" menu item is used to select an identity from those
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
567 configured in `mh-identity-list'. All of the information for that
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
568 identity will be added if the recipient matches. The \"Fcc Field\" menu
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
569 item is used to select a folder that is used in the \"Fcc:\" header.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
570 When you send the message, MH will put a copy of your message in this
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
571 folder. The \"Mail-Followup-To Field\" menu item is used to insert an
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
572 \"Mail-Followup-To:\" header field with the recipients you provide. If
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
573 the recipient's mail user agent supports this header field (as nmh
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
574 does), then their replies will go to the addresses listed. This is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
575 useful if their replies go both to the list and to you and you don't
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
576 have a mechanism to suppress duplicates. If you reply to someone not
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
577 on the list, you must either remove the \"Mail-Followup-To:\" field, or
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
578 ensure the recipient is also listed there so that he receives replies
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
579 to your reply. Other header fields may be added using the \"Other
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
580 Field\" menu item.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
581
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
582 These fields can only be added after the recipient is known. Once the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
583 header contains one or more recipients, run the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
584 \\[mh-insert-auto-fields] command or choose the \"Identity -> Insert
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
585 Auto Fields\" menu item to insert these fields manually. However, you
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
586 can just send the message and the fields will be added automatically.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
587 You are given a chance to see these fields and to confirm them before
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
588 the message is actually sent. You can do away with this confirmation
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
589 by turning off the option `mh-auto-fields-prompt-flag'.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
590
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
591 You should avoid using the same header field in `mh-auto-fields-list'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
592 and `mh-identity-list' definitions that may apply to the same message
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
593 as the result is undefined."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
594 :type `(repeat
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
595 (list :tag ""
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
596 (string :tag "Recipient")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
597 (repeat :tag "Add at least one item below"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
598 (choice
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
599 (cons :tag "Identity"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
600 (const ":identity")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
601 ,(append
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
602 '(radio)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
603 (mapcar
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
604 (function (lambda (arg) `(const ,arg)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
605 (mapcar 'car mh-identity-list))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
606 (cons :tag "Fcc Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
607 (const "fcc")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
608 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
609 (cons :tag "Mail-Followup-To Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
610 (const "Mail-Followup-To")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
611 (string :tag "Value"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
612 (cons :tag "Other Field"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
613 (string :tag "Field")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
614 (string :tag "Value"))))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
615 :group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
616
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
617 (defcustom mh-auto-fields-prompt-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
618 "*Non-nil means to prompt before sending if fields inserted.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
619 See `mh-auto-fields-list'."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
620 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
621 :group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
622
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
623 (defcustom mh-identity-default nil
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
624 "Default identity to use when `mh-letter-mode' is called.
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
625 See `mh-identity-list'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
626 :type (append
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
627 '(radio)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
628 (cons '(const :tag "None" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
629 (mapcar (function (lambda (arg) `(const ,arg)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
630 (mapcar 'car mh-identity-list))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
631 :group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
632
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
633 (defcustom mh-identity-handlers
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
634 '(("From" . mh-identity-handler-top)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
635 (":default" . mh-identity-handler-bottom)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
636 (":attribution-verb" . mh-identity-handler-attribution-verb)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
637 (":signature" . mh-identity-handler-signature)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
638 (":pgg-default-user-id" . mh-identity-handler-gpg-identity))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
639 "Handler functions for fields in `mh-identity-list'.
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
640
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
641 This option is used to change the way that fields, signatures,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
642 and attributions in `mh-identity-list' are added. To customize
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
643 `mh-identity-handlers', replace the name of an existing handler
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
644 function associated with the field you want to change with the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
645 name of a function you have written. You can also click on an
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
646 \"INS\" button and insert a field of your choice and the name of
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
647 the function you have written to handle it.
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
648
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
649 The \"Field\" field can be any field that you've used in your
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
650 `mh-identity-list'. The special fields \":attribution-verb\",
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
651 \":signature\", or \":pgg-default-user-id\" are used for the
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
652 `mh-identity-list' choices \"Attribution Verb\", \"Signature\", and
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
653 \"GPG Key ID\" respectively.
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
654
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
655 The handler associated with the \":default\" field is used when no
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
656 other field matches.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
657
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
658 The handler functions are passed two or three arguments: the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
659 FIELD itself (for example, \"From\"), or one of the special
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
660 fields (for example, \":signature\"), and the ACTION 'remove or
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
661 'add. If the action is 'add, an additional argument
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
662 containing the VALUE for the field is given."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
663 :type '(repeat (cons (string :tag "Field") function))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
664 :group 'mh-identity)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
665
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
666
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
667
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
668 ;;; Incorporating Your Mail (:group 'mh-inc)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
669
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
670 (defcustom mh-inc-prog "inc"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
671 "*Program to incorporate new mail into a folder.
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
672
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
673 This program generates a one-line summary for each of the new
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
674 messages. Unless it is an absolute pathname, the file is assumed
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
675 to be in the `mh-progs' directory. You may also link a file to
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
676 \"inc\" that uses a different format. You'll then need to modify
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
677 several scan line format variables appropriately."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
678 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
679 :group 'mh-inc)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
680
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
681 (defcustom mh-inc-spool-list nil
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
682 "*Alternate spool files.
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
683
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
684 You can use the `mh-inc-spool-list' variable to direct MH-E to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
685 retrieve mail from arbitrary spool files other than your system
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
686 mailbox, file it in folders other than your \"+inbox\", and assign
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
687 key bindings to incorporate this mail.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
688
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
689 Suppose you are subscribed to the \"mh-e-devel\" mailing list and
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
690 you use \"procmail\" to filter this mail into \"~/mail/mh-e\" with
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
691 the following recipe in \".procmailrc\":
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
692
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
693 MAILDIR=$HOME/mail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
694 :0:
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
695 * ^From mh-e-devel-admin@stop.mail-abuse.org
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
696 mh-e
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
697
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
698 In order to incorporate \"~/mail/mh-e\" into \"+mh-e\" with an
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
699 \"I m\" (mh-inc-spool-mh-e) command, customize this option, and click
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
700 on the \"INS\" button. Enter a \"Spool File\" of \"~/mail/mh-e\", a
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
701 \"Folder\" of \"mh-e\", and a \"Key Binding\" of \"m\".
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
702
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
703 You can use \"xbuffy\" to automate the incorporation of this mail
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
704 using the \"gnudoit\" command in the \"gnuserv\" package as follows:
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
705
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
706 box ~/mail/mh-e
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
707 title mh-e
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
708 origMode
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
709 polltime 10
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
710 headertime 0
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
711 command gnudoit -q '(mh-inc-spool-mh-e)'"
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
712 :type '(repeat (list (file :tag "Spool File")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
713 (string :tag "Folder")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
714 (character :tag "Key Binding")))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
715 :set 'mh-inc-spool-list-set
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
716 :group 'mh-inc)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
717
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
718
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
719
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
720 ;;; Searching (:group 'mh-index)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
721
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
722 (defcustom mh-index-program nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
723 "Indexing program that MH-E shall use.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
724
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
725 The default setting of this option is \"Auto-detect\" which means
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
726 that MH-E will automatically choose one of swish++, swish-e,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
727 mairix, namazu, pick and grep in that order. If, for example, you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
728 have both swish++ and mairix installed and you want to use
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
729 mairix, then you can set this option to \"mairix\".
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
730
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
731 More information about setting up an indexing program to use with
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
732 MH-E can be found in the documentation of `mh-index-search'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
733 :type '(choice (const :tag "Auto-detect" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
734 (const :tag "swish++" swish++)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
735 (const :tag "swish-e" swish)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
736 (const :tag "mairix" mairix)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
737 (const :tag "namazu" namazu)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
738 (const :tag "pick" pick)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
739 (const :tag "grep" grep))
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
740 :group 'mh-index)
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
741
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
742
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
743
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
744 ;;; Dealing with Junk Mail (:group 'mh-junk)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
745
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
746 ;; Spam fighting program chosen
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
747 (defvar mh-junk-choice nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
748
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
749 ;; Available spam filter interfaces
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
750 (defvar mh-junk-function-alist
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
751 '((spamassassin mh-spamassassin-blacklist mh-spamassassin-whitelist)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
752 (bogofilter mh-bogofilter-blacklist mh-bogofilter-whitelist)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
753 (spamprobe mh-spamprobe-blacklist mh-spamprobe-whitelist))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
754 "Available choices of spam programs to use.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
755
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
756 This is an alist. For each element there are functions that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
757 blacklist a message as spam and whitelist a message incorrectly
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
758 classified as spam.")
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
759
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
760 (defun mh-junk-choose (symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
761 "Choose spam program to use.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
762
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
763 The function is always called with SYMBOL bound to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
764 `mh-junk-program' and VALUE bound to the new value of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
765 `mh-junk-program'. The function sets the variable
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
766 `mh-junk-choice' in addition to `mh-junk-program'."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
767 (set symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
768 (setq mh-junk-choice
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
769 (or value
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
770 (loop for element in mh-junk-function-alist
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
771 until (executable-find (symbol-name (car element)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
772 finally return (car element)))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
773
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
774 ;; User customizable variables
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
775 (defcustom mh-junk-background nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
776 "If on, spam programs are run in background.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
777
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
778 By default, the programs are run in the foreground, but this can
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
779 be slow when junking large numbers of messages. If you have
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
780 enough memory or don't junk that many messages at the same time,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
781 you might try turning on this option."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
782 :type '(choice (const :tag "Off" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
783 (const :tag "On" 0))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
784 :group 'mh-junk)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
785
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
786 (defcustom mh-junk-disposition nil
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
787 "Disposition of junk mail."
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
788 :type '(choice (const :tag "Delete Spam" nil)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
789 (string :tag "Spam Folder"))
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
790 :group 'mh-junk)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
791
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
792 (defcustom mh-junk-program nil
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
793 "Spam program that MH-E should use.
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
794
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
795 The default setting of this option is \"Auto-detect\" which means
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
796 that MH-E will automatically choose one of SpamAssassin,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
797 bogofilter, or SpamProbe in that order. If, for example, you have
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
798 both SpamAssassin and bogofilter installed and you want to use
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
799 bogofilter, then you can set this option to \"Bogofilter\"."
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
800 :type '(choice (const :tag "Auto-detect" nil)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
801 (const :tag "SpamAssassin" spamassassin)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
802 (const :tag "Bogofilter" bogofilter)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
803 (const :tag "SpamProbe" spamprobe))
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
804 :set 'mh-junk-choose
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
805 :group 'mh-junk)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
806
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
807
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
808
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
809 ;;; Editing a Draft (:group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
810
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
811 (defcustom mh-compose-insertion (if (locate-library "mml") 'mml 'mh)
66474
06ed4e88d849 * mh-customize.el (mh-compose-insertion, mh-x-face-file): Checkdoc
Bill Wohler <wohler@newt.com>
parents: 66370
diff changeset
812 "Type of tags used when composing MIME messages.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
813
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
814 In addition to MH-style directives, MH-E also supports MML (MIME
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
815 Meta Language) tags. (see Info node `(emacs-mime)Composing').
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
816 This option can be used to choose between them. By default, this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
817 option is set to \"MML\" if it is supported since it provides a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
818 lot more functionality. This option can also be set to \"MH\" if
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
819 MH-style directives are preferred."
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
820 :type '(choice (const :tag "MML" mml)
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
821 (const :tag "MH" mh))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
822 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
823
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
824 (defcustom mh-compose-skipped-header-fields
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
825 '("From" "Organization" "References" "In-Reply-To"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
826 "X-Face" "Face" "X-Image-URL" "X-Mailer")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
827 "List of header fields to skip over when navigating in draft."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
828 :type '(repeat (string :tag "Field"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
829 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
830
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
831 (defcustom mh-compose-space-does-completion-flag nil
66571
beb6b92a94f6 (mh-compose-space-does-completion-flag, mh-signature-separator-flag)
Bill Wohler <wohler@newt.com>
parents: 66518
diff changeset
832 "*Non-nil means \\<mh-letter-mode-map>\\[mh-letter-complete-or-space] does completion in message header."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
833 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
834 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
835
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
836 (defcustom mh-delete-yanked-msg-window-flag nil
66571
beb6b92a94f6 (mh-compose-space-does-completion-flag, mh-signature-separator-flag)
Bill Wohler <wohler@newt.com>
parents: 66518
diff changeset
837 "*Non-nil means delete any window displaying the message.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
838
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
839 This deletes the window containing the original message after
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
840 yanking it with \\<mh-letter-mode-map>\\[mh-yank-cur-msg] to make
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
841 more room on your screen for your reply."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
842 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
843 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
844
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
845 (defcustom mh-extract-from-attribution-verb "wrote:"
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
846 "*Verb to use for attribution when a message is yanked by \\<mh-letter-mode-map>\\[mh-yank-cur-msg].
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
847
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
848 The attribution consists of the sender's name and email address
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
849 followed by the content of this option. This option can be set to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
850 \"wrote:\", \"a écrit:\", and \"schrieb:\". You can also use the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
851 \"Custom String\" menu item to enter your own verb."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
852 :type '(choice (const "wrote:")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
853 (const "a écrit:")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
854 (const "schrieb:")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
855 (string :tag "Custom String"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
856 :group 'mh-letter)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
857
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
858 (defcustom mh-ins-buf-prefix "> "
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
859 "*String to put before each line of a yanked or inserted message.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
860
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
861 The prefix \"> \" is the default setting of this option. I
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
862 suggest that you not modify this option since it is used by many
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
863 mailers and news readers: messages are far easier to read if
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
864 several included messages have all been indented by the same
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
865 string.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
866
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
867 This prefix is not inserted if you use one of the supercite
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
868 flavors of `mh-yank-behavior' or you have added a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
869 `mail-citation-hook'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
870 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
871 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
872
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
873 (defcustom mh-letter-complete-function 'ispell-complete-word
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
874 "*Function to call when completing outside of address or folder fields.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
875
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
876 In the body of the message,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
877 \\<mh-letter-mode-map>\\[mh-letter-complete] runs this function,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
878 which is set to \"ispell-complete-word\" by default."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
879 :type '(choice function (const nil))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
880 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
881
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
882 (defcustom mh-letter-fill-column 72
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
883 "*Fill column to use in MH Letter mode.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
884
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
885 By default, this option is 72 to allow others to quote your
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
886 message without line wrapping."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
887 :type 'integer
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
888 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
889
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
890 (defcustom mh-mml-method-default (if mh-pgp-support-flag "pgpmime" "none")
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
891 "Default method to use in security tags.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
892
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
893 This option is used to select between a variety of mail security
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
894 mechanisms. The default is \"PGP (MIME)\" if it is supported\;
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
895 otherwise, the default is \"None\". Other mechanisms include
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
896 vanilla \"PGP\" and \"S/MIME\".
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
897
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
898 The `pgg' customization group may have some settings which may
67759
b7b75914a27d Don't need to quote parenthesis within docstrings that are no longer
Bill Wohler <wohler@newt.com>
parents: 67758
diff changeset
899 interest you (see Info node `(pgg)').
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
900
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
901 In particular, I turn on the option `pgg-encrypt-for-me' so that
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
902 all messages I encrypt are encrypted with my public key as well.
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
903 If you keep a copy of all of your outgoing mail with a \"Fcc:\"
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
904 header field, this setting is vital so that you can read the mail
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
905 you write!"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
906 :type '(choice (const :tag "PGP (MIME)" "pgpmime")
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
907 (const :tag "PGP" "pgp")
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
908 (const :tag "S/MIME" "smime")
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
909 (const :tag "None" "none"))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
910 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
911
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
912 (defcustom mh-signature-file-name "~/.signature"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
913 "*Source of user's signature.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
914
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
915 By default, the text of your signature is taken from the file
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
916 \"~/.signature\". You can read from other sources by changing this
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
917 option. This file may contain a vCard in which case an attachment is
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
918 added with the vCard.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
919
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
920 This option may also be a symbol, in which case that function is
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
921 called. You may not want a signature separator to be added for you;
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
922 instead you may want to insert one yourself. Options that you may find
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
923 useful to do this include `mh-signature-separator' (when inserting a
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
924 signature separator) and `mh-signature-separator-regexp' (for finding
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
925 said separator). The function `mh-signature-separator-p', which
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
926 reports t if the buffer contains a separator, may be useful as well.
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
927
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
928 The signature is inserted into your message with the command
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
929 \\<mh-letter-mode-map>\\[mh-insert-signature] or with the option
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
930 `mh-identity-list'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
931 :type 'file
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
932 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
933
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
934 (defcustom mh-signature-separator-flag t
66571
beb6b92a94f6 (mh-compose-space-does-completion-flag, mh-signature-separator-flag)
Bill Wohler <wohler@newt.com>
parents: 66518
diff changeset
935 "*Non-nil means a signature separator should be inserted.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
936
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
937 It is not recommended that you change this option since various
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
938 mail user agents, including MH-E, use the separator to present
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
939 the signature differently, and to suppress the signature when
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
940 replying or yanking a letter into a draft."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
941 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
942 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
943
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
944 (defcustom mh-x-face-file "~/.face"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
945 "*File containing face header field to insert in outgoing mail.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
946
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
947 If the file starts with either of the strings \"X-Face:\", \"Face:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
948 or \"X-Image-URL:\" then the contents are added to the message header
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
949 verbatim. Otherwise it is assumed that the file contains the value of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
950 the \"X-Face:\" header field.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
951
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
952 The \"X-Face:\" header field, which is a low-resolution, black and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
953 white image, can be generated using the \"compface\" command (see URL
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
954 `ftp://ftp.cs.indiana.edu/pub/faces/compface/compface.tar.Z'). The
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
955 \"Online X-Face Converter\" is a useful resource for quick conversion
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
956 of images into \"X-Face:\" header fields (see URL
66517
2ed668700790 (mh-x-face-file, mh-show-use-xface-flag)
Bill Wohler <wohler@newt.com>
parents: 66477
diff changeset
957 `http://www.dairiki.org/xface/').
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
958
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
959 Use the \"make-face\" script to convert a JPEG image to the higher
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
960 resolution, color, \"Face:\" header field (see URL
66517
2ed668700790 (mh-x-face-file, mh-show-use-xface-flag)
Bill Wohler <wohler@newt.com>
parents: 66477
diff changeset
961 `http://quimby.gnus.org/circus/face/make-face').
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
962
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
963 The URL of any image can be used for the \"X-Image-URL:\" field and no
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
964 processing of the image is required.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
965
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
966 To prevent the setting of any of these header fields, either set
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
967 `mh-x-face-file' to nil, or simply ensure that the file defined by
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
968 this option doesn't exist."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
969 :type 'file
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
970 :group 'mh-letter)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
971
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
972 (defcustom mh-yank-behavior 'attribution
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
973 "*Controls which part of a message is yanked by \\<mh-letter-mode-map>\\[mh-yank-cur-msg].
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
974
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
975 To include the entire message, including the entire header, use
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
976 \"Body and Header\". Use \"Body\" to yank just the body without
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
977 the header. To yank only the portion of the message following the
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
978 point, set this option to \"Below Point\".
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
979
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
980 Choose \"Invoke supercite\" to pass the entire message and header
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
981 through supercite.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
982
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
983 If the \"Body With Attribution\" setting is used, then the
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
984 message minus the header is yanked and a simple attribution line
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
985 is added at the top using the value of the option
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
986 `mh-extract-from-attribution-verb'. This is the default.
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
987
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
988 If the \"Invoke supercite\" or \"Body With Attribution\" settings
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
989 are used, the \"-noformat\" argument is passed to the \"repl\"
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
990 program to override a \"-filter\" or \"-format\" argument. These
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
991 settings also have \"Automatically\" variants that perform the
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
992 action automatically when you reply so that you don't need to use
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
993 \\[mh-yank-cur-msg] at all. Note that this automatic action is
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
994 only performed if the show buffer matches the message being
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
995 replied to. People who use the automatic variants tend to turn on
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
996 the option `mh-delete-yanked-msg-window-flag' as well so that the
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
997 show window is never displayed.
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
998
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
999 If the show buffer has a region, the option `mh-yank-behavior' is
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
1000 ignored unless its value is one of Attribution variants in which
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
1001 case the attribution is added to the yanked region.
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
1002
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
1003 If this option is set to one of the supercite flavors, the hook
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1004 `mail-citation-hook' is ignored and `mh-ins-buf-prefix' is not
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1005 inserted."
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1006 :type '(choice (const :tag "Body and Header" t)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1007 (const :tag "Body" body)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1008 (const :tag "Below Point" nil)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1009 (const :tag "Invoke supercite" supercite)
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1010 (const :tag "Invoke supercite, Automatically" autosupercite)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1011 (const :tag "Body With Attribution" attribution)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1012 (const :tag "Body With Attribution, Automatically"
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1013 autoattrib))
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
1014 :group 'mh-letter)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1015
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1016
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1017
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1018 ;;; Ranges (:group 'mh-ranges)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1019
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1020 (defcustom mh-interpret-number-as-range-flag t
66571
beb6b92a94f6 (mh-compose-space-does-completion-flag, mh-signature-separator-flag)
Bill Wohler <wohler@newt.com>
parents: 66518
diff changeset
1021 "*Non-nil means interpret a number as a range.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1022
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1023 Since one of the most frequent ranges used is \"last:N\", MH-E
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1024 will interpret input such as \"200\" as \"last:200\" if this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1025 option is on (which is the default). If you need to scan just the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1026 message 200, then use the range \"200:200\"."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1027 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1028 :group 'mh-ranges)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1029
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1030
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1031
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1032 ;;; Scan Line Formats (:group 'mh-scan-line-formats)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1033
67681
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
1034 ;; Forward definition to avoid compiler and runtime error.
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1035 (defvar mh-scan-format-file t)
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1036
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1037 (defun mh-adaptive-cmd-note-flag-check (symbol value)
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1038 "Check if desired setting is legal.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1039 Throw an error if user tries to turn on
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1040 `mh-adaptive-cmd-note-flag' when `mh-scan-format-file' isn't t.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1041 Otherwise, set SYMBOL to VALUE."
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1042 (if (and value
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1043 (not (eq mh-scan-format-file t)))
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1044 (error "%s %s" "Can't turn on unless mh-scan-format-file"
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1045 "is set to \"Use MH-E scan Format\"")
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1046 (set-default symbol value)))
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1047
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1048 (defun mh-scan-format-file-check (symbol value)
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1049 "Check if desired setting is legal.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1050 Throw an error if user tries to set `mh-scan-format-file' to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1051 anything but t when `mh-adaptive-cmd-note-flag' is on. Otherwise,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1052 set SYMBOL to VALUE."
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1053 (if (and (not (eq value t))
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1054 (eq mh-adaptive-cmd-note-flag t))
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1055 (error "%s %s" "You must turn off mh-adaptive-cmd-note-flag"
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1056 "unless you use \"Use MH-E scan Format\"")
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1057 (set-default symbol value)))
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1058
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1059 (defcustom mh-adaptive-cmd-note-flag t
66571
beb6b92a94f6 (mh-compose-space-does-completion-flag, mh-signature-separator-flag)
Bill Wohler <wohler@newt.com>
parents: 66518
diff changeset
1060 "*Non-nil means that the message number width is determined dynamically.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1061
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1062 If you've created your own format to handle long message numbers,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1063 you'll be pleased to know you no longer need it since MH-E adapts its
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1064 internal format based upon the largest message number if this option
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1065 is on (the default). This option may only be turned on when
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1066 `mh-scan-format-file' is set to \"Use MH-E scan Format\".
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1067
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1068 If you prefer fixed-width message numbers, turn off this option and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1069 call `mh-set-cmd-note' with the width specified by your format file
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1070 \(see `mh-scan-format-file'). For example, the default width is 4, so
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1071 you would use \"(mh-set-cmd-note 4)\"."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1072 :type 'boolean
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1073 :group 'mh-scan-line-formats
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1074 :set 'mh-adaptive-cmd-note-flag-check)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1075
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1076 (defcustom mh-scan-format-file t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1077 "Specifies the format file to pass to the scan program.
66477
117f8e71b37a * mh-customize.el (mh-adaptive-cmd-note-flag)
Bill Wohler <wohler@newt.com>
parents: 66474
diff changeset
1078
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1079 The default setting for this option is \"Use MH-E scan Format\". This
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1080 means that the format string will be taken from the either
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1081 `mh-scan-format-mh' or `mh-scan-format-nmh' depending on whether MH or
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1082 nmh (or GNU mailutils) is in use. This setting also enables you to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1083 turn on the `mh-adaptive-cmd-note-flag' option.
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1084
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1085 You can also set this option to \"Use Default scan Format\" to get the
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1086 same output as you would get if you ran \"scan\" from the shell. If
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1087 you have a format file that you want MH-E to use but not MH, you can
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1088 set this option to \"Specify a scan Format File\" and enter the name
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1089 of your format file.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1090
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1091 If you change the format of the scan lines you'll need to tell MH-E
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1092 how to parse the new format. As you will see, quite a lot of variables
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1093 are involved to do that. Use \"\\[apropos] RET mh-scan.*regexp\" to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1094 obtain a list of these variables. You will also have to call
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1095 `mh-set-cmd-note' if your notations are not in column 4 (columns in
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1096 Emacs start with 0)."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1097 :type '(choice (const :tag "Use MH-E scan Format" t)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1098 (const :tag "Use Default scan Format" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1099 (file :tag "Specify a scan Format File"))
66518
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1100 :group 'mh-scan-line-formats
7cc22b3f2300 * mh-comp.el (mh-annotate-msg): Use new variable
Bill Wohler <wohler@newt.com>
parents: 66517
diff changeset
1101 :set 'mh-scan-format-file-check)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1102
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1103 (defcustom mh-scan-prog "scan"
66477
117f8e71b37a * mh-customize.el (mh-adaptive-cmd-note-flag)
Bill Wohler <wohler@newt.com>
parents: 66474
diff changeset
1104 "*Program used to scan messages.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1105
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1106 The name of the program that generates a listing of one line per
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1107 message is held in this option. Unless this variable contains an
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1108 absolute pathname, it is assumed to be in the `mh-progs'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1109 directory. You may link another program to `scan' (see
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1110 \"mh-profile(5)\") to produce a different type of listing."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1111 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1112 :group 'mh-scan-line-formats)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1113 (make-variable-buffer-local 'mh-scan-prog)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1114
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1115
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1116
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1117 ;;; Sending Mail (:group 'mh-sending-mail)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1118
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1119 (defcustom mh-compose-forward-as-mime-flag t
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1120 "*Non-nil means that messages are forwarded as attachments.
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1121
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1122 By default, this option is on which means that the forwarded
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1123 messages are included as attachments. If you would prefer to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1124 forward your messages verbatim (as text, inline), then turn off
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1125 this option. Forwarding messages verbatim works well for short,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1126 textual messages, but your recipient won't be able to view any
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1127 non-textual attachments that were in the forwarded message. Be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1128 aware that if you have \"forw: -mime\" in your MH profile, then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1129 forwarded messages will always be included as attachments
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1130 regardless of the settings of this option."
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1131 :type 'boolean
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1132 :group 'mh-sending-mail)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1133
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1134 (defcustom mh-compose-letter-function nil
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1135 "Invoked when starting a new draft.
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1136
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1137 However, it is the last function called before you edit your
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1138 message. The consequence of this is that you can write a function
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1139 to write and send the message for you. This function is passed
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1140 three arguments: the contents of the TO, SUBJECT, and CC header
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1141 fields."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1142 :type '(choice (const nil) function)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1143 :group 'mh-sending-mail)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1144
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1145 (defcustom mh-compose-prompt-flag nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1146 "*Non-nil means prompt for header fields when composing a new draft."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1147 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1148 :group 'mh-sending-mail)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1149
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1150 (defcustom mh-forward-subject-format "%s: %s"
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1151 "*Format string for forwarded message subject.
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1152
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1153 This option is a string which includes two escapes (\"%s\"). The
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1154 first \"%s\" is replaced with the sender of the original message,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1155 and the second one is replaced with the original \"Subject:\"."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1156 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1157 :group 'mh-sending-mail)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1158
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1159 (defcustom mh-insert-x-mailer-flag t
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1160 "*Non-nil means append an \"X-Mailer:\" header field to the header.
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1161
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1162 This header field includes the version of MH-E and Emacs that you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1163 are using. If you don't want to participate in our marketing, you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1164 can turn this option off."
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1165 :type 'boolean
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1166 :group 'mh-sending-mail)
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1167
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1168 (defcustom mh-redist-full-contents-flag nil
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1169 "*Non-nil means the \"dist\" command needs entire letter for redistribution.
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1170
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1171 This option must be turned on if \"dist\" requires the whole
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1172 letter for redistribution, which is the case if \"send\" is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1173 compiled with the BERK option (which many people abhor). If you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1174 find that MH will not allow you to redistribute a message that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1175 has been redistributed before, turn off this option."
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1176 :type 'boolean
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1177 :group 'mh-sending-mail)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1178
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1179 (defcustom mh-reply-default-reply-to nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1180 "*Sets the person or persons to whom a reply will be sent.
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1181
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1182 This option is set to \"Prompt\" by default so that you are
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1183 prompted for the recipient of a reply. If you find that most of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1184 the time that you specify \"cc\" when you reply to a message, set
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1185 this option to \"cc\". Other choices include \"from\", \"to\", or
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1186 \"all\". You can always edit the recipients in the draft."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1187 :type '(choice (const :tag "Prompt" nil)
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1188 (const "from")
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1189 (const "to")
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1190 (const "cc")
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1191 (const "all"))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1192 :group 'mh-sending-mail)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1193
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1194 (defcustom mh-reply-show-message-flag t
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1195 "*Non-nil means the MH-Show buffer is displayed when replying.
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1196
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1197 If you include the message automatically, you can hide the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1198 MH-Show buffer by turning off this option.
66626
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1199
8d60d23ffa33 * mh-comp.el (mh-redist-full-contents) Convert defvar to defcustom.
Bill Wohler <wohler@newt.com>
parents: 66571
diff changeset
1200 See also `mh-reply'."
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1201 :type 'boolean
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1202 :group 'mh-sending-mail)
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1203
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1204
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1205
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1206 ;;; Sequences (:group 'mh-sequences)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1207
67681
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
1208 ;; If `mh-unpropagated-sequences' becomes a defcustom, add the following to
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
1209 ;; the docstring: "Additional sequences that should not to be preserved can be
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
1210 ;; specified by setting `mh-unpropagated-sequences' appropriately." XXX
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1211
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1212 (defcustom mh-refile-preserves-sequences-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1213 "*Non-nil means that sequences are preserved when messages are refiled.
66661
f7b261d0f8e8 * mh-customize.el (mh-refile-preserves-sequences-flag)
Bill Wohler <wohler@newt.com>
parents: 66626
diff changeset
1214
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1215 If a message is in any sequence (except \"Previous-Sequence:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1216 and \"cur\") when it is refiled, then it will still be in those
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1217 sequences in the destination folder. If this behavior is not
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1218 desired, then turn off this option."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1219 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1220 :group 'mh-sequences)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1221
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1222 (defcustom mh-tick-seq 'tick
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1223 "The name of the MH sequence for ticked messages.
66661
f7b261d0f8e8 * mh-customize.el (mh-refile-preserves-sequences-flag)
Bill Wohler <wohler@newt.com>
parents: 66626
diff changeset
1224
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1225 You can customize this option if you already use the \"tick\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1226 sequence for your own use. You can also disable all of the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1227 ticking functions by choosing the \"Disable Ticking\" item but
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1228 there isn't much advantage to that."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1229 :type '(choice (const :tag "Disable Ticking" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1230 symbol)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1231 :group 'mh-sequences)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1232
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1233 (defcustom mh-update-sequences-after-mh-show-flag t
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1234 "*Non-nil means flush MH sequences to disk after message is shown\\<mh-folder-mode-map>.
66661
f7b261d0f8e8 * mh-customize.el (mh-refile-preserves-sequences-flag)
Bill Wohler <wohler@newt.com>
parents: 66626
diff changeset
1235
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1236 Three sequences are maintained internally by MH-E and pushed out
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1237 to MH when a message is shown. They include the sequence
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1238 specified by your \"Unseen-Sequence:\" profile entry, \"cur\",
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1239 and the sequence listed by the option `mh-tick-seq' which is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1240 \"tick\" by default. If you do not like this behavior, turn off
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1241 this option. You can then update the state manually with the
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1242 \\[mh-execute-commands], \\[mh-quit], or \\[mh-update-sequences]
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1243 commands."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1244 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1245 :group 'mh-sequences)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1246
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1247
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1248
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1249 ;;; Reading Your Mail (:group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1250
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1251 (defcustom mh-bury-show-buffer-flag t
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1252 "*Non-nil means show buffer is buried.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1253
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1254 One advantage of not burying the show buffer is that one can
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1255 delete the show buffer more easily in an electric buffer list
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1256 because of its proximity to its associated MH-Folder buffer. Try
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1257 running \\[electric-buffer-list] to see what I mean."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1258 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1259 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1260
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1261 (defcustom mh-clean-message-header-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1262 "*Non-nil means remove extraneous header fields.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1263
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1264 See also `mh-invisible-header-fields-default' and
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1265 `mh-invisible-header-fields'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1266 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1267 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1268
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1269 (defcustom mh-decode-mime-flag (not (not (locate-library "mm-decode")))
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1270 "*Non-nil means attachments are handled\\<mh-folder-mode-map>.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1271
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1272 MH-E can handle attachments as well if the Gnus `mm-decode'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1273 library is present. If so, this option will be on. Otherwise,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1274 you'll see the MIME body parts rather than text or attachments.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1275 There isn't much point in turning off this option; however, you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1276 can inspect it if it appears that the body parts are not being
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1277 interpreted correctly or toggle it with the command
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1278 \\[mh-toggle-mh-decode-mime-flag] to view the raw message.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1279
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1280 This option also controls the display of quoted-printable
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1281 messages and other graphical widgets. See the options
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1282 `mh-graphical-smileys-flag' and `mh-graphical-emphasis-flag'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1283 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1284 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1285
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1286 (defcustom mh-display-buttons-for-alternatives-flag nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1287 "*Non-nil means display buttons for all alternative attachments.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1288
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1289 Sometimes, a mail program will produce multiple alternatives of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1290 the attachment in increasing degree of faithfulness to the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1291 original content. By default, only the preferred alternative is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1292 displayed. If this option is on, then the preferred part is shown
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1293 inline and buttons are shown for each of the other alternatives."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1294 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1295 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1296
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1297 (defcustom mh-display-buttons-for-inline-parts-flag nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1298 "*Non-nil means display buttons for all inline attachments\\<mh-folder-mode-map>.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1299
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1300 The sender can request that attachments should be viewed inline so
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1301 that they do not really appear like an attachment at all to the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1302 reader. Most of the time, this is desirable, so by default MH-E
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1303 suppresses the buttons for inline attachments. On the other hand, you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1304 may receive code or HTML which the sender has added to his message as
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1305 inline attachments so that you can read them in MH-E. In this case, it
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1306 is useful to see the buttons so that you know you don't have to cut
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1307 and paste the code into a file; you can simply save the attachment.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1308
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1309 If you want to make the buttons visible for inline attachments, you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1310 can use the command \\[mh-toggle-mime-buttons] to toggle the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1311 visibility of these buttons. You can turn on these buttons permanently
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1312 by turning on this option.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1313
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1314 MH-E cannot display all attachments inline however. It can display
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1315 text (including HTML) and images."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1316 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1317 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1318
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1319 (defcustom mh-do-not-confirm-flag nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1320 "*Non-nil means non-reversible commands do not prompt for confirmation.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1321
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1322 Commands such as `mh-pack-folder' prompt to confirm whether to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1323 process outstanding moves and deletes or not before continuing.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1324 Turning on this option means that these actions will be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1325 performed--which is usually desired but cannot be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1326 retracted--without question."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1327 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1328 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1329
67316
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1330 (defcustom mh-fetch-x-image-url nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1331 "*Control fetching of \"X-Image-URL:\" header field image.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1332
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1333 Ths option controls the fetching of the \"X-Image-URL:\" header
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1334 field image with the following values:
67316
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1335
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1336 Ask Before Fetching
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1337 You are prompted before the image is fetched. MH-E will
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1338 remember your reply and will either use the already fetched
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1339 image the next time the same URL is encountered or silently
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1340 skip it if you didn't fetch it the first time. This is a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1341 good setting.
67316
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1342
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1343 Never Fetch
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1344 Images are never fetched and only displayed if they are
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1345 already present in the cache. This is the default.
67316
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1346
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1347 There isn't a value of \"Always Fetch\" for privacy and DOS (denial of
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1348 service) reasons. For example, fetching a URL can tip off a spammer
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1349 that you've read his email (which is why you shouldn't blindly answer
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1350 yes if you've set this option to \"Ask Before Fetching\"). Someone may
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1351 also flood your network and fill your disk drive by sending a torrent
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1352 of messages, each specifying a unique URL to a very large file.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1353
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1354 The cache of images is found in the directory \".mhe-x-image-cache\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1355 within your MH directory. You can add your own face to the \"From:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1356 field too. See Info node `(mh-e)Picture'.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1357
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1358 This setting only has effect if the option `mh-show-use-xface-flag' is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1359 turned on."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1360
67316
78b3886a9f87 (mh-fetch-x-image-url): Change default from 'ask to
Bill Wohler <wohler@newt.com>
parents: 67315
diff changeset
1361 :type '(choice (const :tag "Ask Before Fetching" ask)
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1362 (const :tag "Never Fetch" nil))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1363 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1364
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1365 (defcustom mh-graphical-smileys-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1366 "*Non-nil means graphical smileys are displayed.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1367
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1368 It is a long standing custom to inject body language using a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1369 cornucopia of punctuation, also known as the \"smileys\". MH-E
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1370 can render these as graphical widgets if this option is turned
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1371 on, which it is by default. Smileys include patterns such as :-)
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1372 and ;-).
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1373
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1374 This option is disabled if the option `mh-decode-mime-flag' is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1375 turned off."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1376 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1377 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1378
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1379 (defcustom mh-graphical-emphasis-flag t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1380 "*Non-nil means graphical emphasis is displayed.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1381
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1382 A few typesetting features are indicated in ASCII text with
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1383 certain characters. If your terminal supports it, MH-E can render
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1384 these typesetting directives naturally if this option is turned
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1385 on, which it is by default. For example, _underline_ will be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1386 underlined, *bold* will appear in bold, /italics/ will appear in
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1387 italics, and so on. See the option `gnus-emphasis-alist' for the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1388 whole list.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1389
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1390 This option is disabled if the option `mh-decode-mime-flag' is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1391 turned off."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1392 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1393 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1394
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1395 (defcustom mh-highlight-citation-style 'gnus
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1396 "Style for highlighting citations.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1397
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1398 If the sender of the message has cited other messages in his
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1399 message, then MH-E will highlight these citations to emphasize
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1400 the sender's actual response. This option can be customized to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1401 change the highlighting style. The \"Multicolor\" method uses a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1402 different color for each indentation while the \"Monochrome\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1403 method highlights all citations in red. To disable highlighting
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1404 of citations entirely, choose \"None\"."
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1405 :type '(choice (const :tag "Multicolor" gnus)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1406 (const :tag "Monochrome" font-lock)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1407 (const :tag "None" nil))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1408 :group 'mh-show)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1409
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1410 ;; Keep fields alphabetized. Mention source, if known.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1411 (defvar mh-invisible-header-fields-internal
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1412 '("Approved:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1413 "Autoforwarded:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1414 "Bestservhost:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1415 "Cancel-Lock:" ; NNTP posts
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1416 "Content-" ; RFC 2045
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1417 "Delivered-To:" ; Egroups/yahoogroups mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1418 "Delivery-Date:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1419 "Delivery:"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1420 "DomainKey-Signature:" ;http://antispam.yahoo.com/domainkeys
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1421 "Encoding:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1422 "Envelope-to:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1423 "Errors-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1424 "Face:" ; Gnus Face header
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1425 "Forwarded:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1426 "From " ; sendmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1427 "Importance:" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1428 "In-Reply-To:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1429 "Lines:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1430 "List-" ; Mailman mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1431 "List-" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1432 "List-Subscribe:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1433 "List-Unsubscribe:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1434 "Mail-from:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1435 "Mailing-List:" ; Egroups/yahoogroups mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1436 "Message-Id:" ; RFC 822
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1437 "Mime-Version" ; RFC 2045
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1438 "NNTP-" ; News
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1439 "Old-Return-Path:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1440 "Original-Encoded-Information-Types:" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1441 "Original-Lines:" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1442 "Original-NNTP-" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1443 "Original-Newsgroups:" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1444 "Original-Path:" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1445 "Original-Received:" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1446 "Original-To:" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1447 "Original-X-" ; mail to news
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1448 "Originator:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1449 "P1-Content-Type:" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1450 "P1-Message-Id:" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1451 "P1-Recipient:" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1452 "Path:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1453 "Precedence:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1454 "Prev-Resent" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1455 "Priority:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1456 "Received:" ; RFC 822
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
1457 "Received-SPF:" ; Gmail
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1458 "References:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1459 "Remailed-" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1460 "Replied:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1461 "Resent" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1462 "Return-Path:" ; RFC 822
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1463 "Sensitivity:" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1464 "Status:" ; sendmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1465 "Thread-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1466 "Ua-Content-Id:" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1467 ;; "User-Agent:" ; Similar to X-Mailer, so display it.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1468 "Via:" ; MH
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1469 "X-Abuse-Info:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1470 "X-Abuse-and-DMCA-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1471 "X-Accept-Language:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1472 "X-Accept-Language:" ; Netscape/Mozilla
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1473 "X-Ack:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1474 "X-Administrivia-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1475 "X-AntiAbuse:" ; cPanel
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1476 "X-Apparently-From:" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1477 "X-Apparently-To:" ; Egroups/yahoogroups mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1478 "X-Authentication-Warning:" ; sendmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1479 "X-Beenthere:" ; Mailman mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1480 "X-Bogosity:" ; bogofilter
67315
e980863f26b8 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
Bill Wohler <wohler@newt.com>
parents: 67314
diff changeset
1481 "X-Bugzilla-*" ; Bugzilla
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1482 "X-Complaints-To:"
67449
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
1483 "X-ContentStamp:" ; NetZero
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1484 "X-Cron-Env:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1485 "X-DMCA"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1486 "X-Delivered"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1487 "X-ELNK-Trace:" ; Earthlink mailer
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1488 "X-Envelope-Date:" ; GNU mailutils
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1489 "X-Envelope-From:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1490 "X-Envelope-Sender:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1491 "X-Envelope-To:"
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
1492 "X-Evolution:" ; Evolution mail client
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1493 "X-Face:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1494 "X-Folder:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1495 "X-From-Line"
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
1496 "X-Gmail-" ; Gmail
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1497 "X-Gnus-Mail-Source:" ; gnus
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1498 "X-Greylist:" ; milter-greylist-1.2.1
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1499 "X-Habeas-SWE-1:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1500 "X-Habeas-SWE-2:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1501 "X-Habeas-SWE-3:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1502 "X-Habeas-SWE-4:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1503 "X-Habeas-SWE-5:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1504 "X-Habeas-SWE-6:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1505 "X-Habeas-SWE-7:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1506 "X-Habeas-SWE-8:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1507 "X-Habeas-SWE-9:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1508 "X-Info:" ; NTMail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1509 "X-Juno-" ; Juno
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1510 "X-List-Host:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1511 "X-List-Subscribe:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1512 "X-List-Unsubscribe:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1513 "X-Listprocessor-" ; ListProc(tm) by CREN
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1514 "X-Listserver:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1515 "X-Loop:" ; Unknown mailing list managers
67449
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
1516 "X-MAIL-INFO:" ; NetZero
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1517 "X-MHE-Checksum" ; Checksum added during index search
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1518 "X-MIME-Autoconverted:" ; sendmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1519 "X-MIMETrack:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1520 "X-Mms-" ; T-Mobile pictures
65980
4520ae2624f2 * mh-init.el (mh-image-load-path): New function that adds the path to
Bill Wohler <wohler@newt.com>
parents: 65755
diff changeset
1521 "X-MS-" ; MS Outlook
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1522 "X-MailScanner" ; ListProc(tm) by CREN
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1523 "X-Mailing-List:" ; Unknown mailing list managers
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1524 "X-Mailman-Version:" ; Mailman mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1525 "X-Majordomo:" ; Majordomo mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1526 "X-Message-Id"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1527 "X-MessageWall-Score:" ; Unknown mailing list manager, AUC TeX
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1528 "X-MimeOLE:" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1529 "X-Mozilla-Status:" ; Netscape/Mozilla
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1530 "X-Msmail-" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1531 "X-NAI-Spam-" ; Network Associates Inc. SpamKiller
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1532 "X-News:" ; News
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1533 "X-No-Archive:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1534 "X-Notes-Item:" ; Lotus Notes Domino structured header
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1535 "X-OperatingSystem:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1536 ;;"X-Operator:" ; Similar to X-Mailer, so display it
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1537 "X-Orcl-Content-Type:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1538 "X-Original-Complaints-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1539 "X-Original-Date:" ; SourceForge mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1540 "X-Original-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1541 "X-Original-Trace:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1542 "X-OriginalArrivalTime:" ; Hotmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1543 "X-Originating-IP:" ; Hotmail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1544 "X-Postfilter:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1545 "X-Priority:" ; MS Outlook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1546 "X-Qotd-" ; User added
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1547 "X-RM"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1548 "X-Received-Date:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1549 "X-Received:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1550 "X-Request-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1551 "X-SBClass:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1552 "X-SBNote:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1553 "X-SBPass:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1554 "X-SBRule:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1555 "X-SMTP-"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1556 "X-Scanned-By"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1557 "X-Sender:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1558 "X-Server-Date:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1559 "X-Server-Uuid:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1560 "X-Sieve:" ; Sieve filtering
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1561 "X-Source"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1562 "X-Spam-" ; Spamassassin
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1563 "X-SpamBouncer:" ; Spam
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1564 "X-Status"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1565 "X-Submissions-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1566 "X-Telecom-Digest"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1567 "X-Trace:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1568 "X-UID"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1569 "X-UIDL:"
67449
315e71e95246 * mh-customize.el (mh-path): Move here from mh-init.el.
Bill Wohler <wohler@newt.com>
parents: 67319
diff changeset
1570 "X-UNTD-" ; NetZero
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1571 "X-USANET-" ; usa.net
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1572 "X-UserInfo1:"
67315
e980863f26b8 (mh-invisible-header-fields-internal): Add X-Bugzilla-* and
Bill Wohler <wohler@newt.com>
parents: 67314
diff changeset
1573 "X-Virus-Scanned" ; amavisd-new
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1574 "X-VSMLoop:" ; NTMail
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1575 "X-Vms-To:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1576 "X-WebTV-Signature:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1577 "X-Wss-Id:" ; Worldtalk gateways
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1578 "X-Yahoo"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1579 "X-eGroups-" ; Egroups/yahoogroups mailing list manager
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1580 "X-pgp:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1581 "X-submission-address:"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1582 "X400-" ; X400
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1583 "Xref:")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1584 "List of default header fields that are not to be shown.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1585
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1586 Do not alter this variable directly. Instead, add entries from
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1587 here that you would like to be displayed in
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1588 `mh-invisible-header-fields-default' and add entries to hide in
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1589 `mh-invisible-header-fields'.")
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1590
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1591 (defvar mh-invisible-header-fields-compiled nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1592 "*Regexp matching lines in a message header that are not to be shown.
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1593 Do not alter this variable directly. Instead, customize
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1594 `mh-invisible-header-fields-default' checking for fields normally
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1595 hidden that you wish to display, and add extra entries to hide in
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1596 `mh-invisible-header-fields'.")
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1597
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1598 (defun mh-invisible-headers ()
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1599 "Make or remake the variable `mh-invisible-header-fields-compiled'.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1600 Done using `mh-invisible-header-fields-internal' as input, from
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1601 which entries from `mh-invisible-header-fields-default' are
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1602 removed and entries from `mh-invisible-header-fields' are added."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1603 (let ((fields mh-invisible-header-fields-internal))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1604 (when mh-invisible-header-fields-default
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1605 ;; Remove entries from `mh-invisible-header-fields-default'
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1606 (setq fields
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1607 (loop for x in fields
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1608 unless (member x mh-invisible-header-fields-default)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1609 collect x)))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1610 (when (and (boundp 'mh-invisible-header-fields)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1611 mh-invisible-header-fields)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1612 (dolist (x mh-invisible-header-fields)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1613 (unless (member x fields) (setq fields (cons x fields)))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1614 (if fields
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1615 (setq mh-invisible-header-fields-compiled
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1616 (concat
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1617 "^"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1618 ;; workaround for insufficient default
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1619 (let ((max-specpdl-size 1000))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1620 (regexp-opt fields t))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1621 (setq mh-invisible-header-fields-compiled nil))))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1622
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1623 (defcustom mh-invisible-header-fields-default nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1624 "*List of hidden header fields.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1625
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1626 The header fields listed in this option are hidden, although you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1627 can check off any field that you would like to see.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1628
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1629 Header fields that you would like to hide that aren't listed can
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1630 be added to the option `mh-invisible-header-fields'.
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1631
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1632 See also `mh-clean-message-header-flag'."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1633 :type `(set ,@(mapcar (lambda (x) `(const ,x))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1634 mh-invisible-header-fields-internal))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1635 :set (lambda (symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1636 (set-default symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1637 (mh-invisible-headers))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1638 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1639
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1640 (defcustom mh-invisible-header-fields nil
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1641 "*Additional header fields to hide.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1642
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1643 Header fields that you would like to hide that aren't listed in
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1644 `mh-invisible-header-fields-default' can be added to this option
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1645 with a couple of caveats. Regular expressions are not allowed.
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1646 Unique fields should have a \":\" suffix; otherwise, the element
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1647 can be used to render invisible an entire class of fields that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1648 start with the same prefix. If you think a header field should be
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1649 generally ignored, report a bug (see URL
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1650 `https://sourceforge.net/tracker/?group_id=13357&atid=113357').
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1651
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1652 See also `mh-clean-message-header-flag'."
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1653
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1654 :type '(repeat (string :tag "Header field"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1655 :set (lambda (symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1656 (set-default symbol value)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1657 (mh-invisible-headers))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1658 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1659
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1660 (defcustom mh-lpr-command-format "lpr -J '%s'"
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1661 "*Command used to print\\<mh-folder-mode-map>.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1662
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1663 This option contains the Unix command line which performs the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1664 actual printing for the \\[mh-print-msg] command. The string can
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1665 contain one escape, \"%s\", which is replaced by the name of the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1666 folder and the message number and is useful for print job names.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1667 I use \"mpage -h'%s' -b Letter -H1of -mlrtb -P\" which produces a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1668 nice header and adds a bit of margin so the text fits within my
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1669 printer's margins.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1670
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1671 This options is not used by the commands \\[mh-ps-print-msg] or
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1672 \\[mh-ps-print-msg-file]."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1673 :type 'string
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1674 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1675
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1676 (defcustom mh-max-inline-image-height nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1677 "*Maximum inline image height if \"Content-Disposition:\" is not present.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1678
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1679 Some older mail programs do not insert this needed plumbing to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1680 tell MH-E whether to display the attachments inline or not. If
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1681 this is the case, MH-E will display these images inline if they
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1682 are smaller than the window. However, you might want to allow
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1683 larger images to be displayed inline. To do this, you can change
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1684 the options `mh-max-inline-image-width' and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1685 `mh-max-inline-image-height' from their default value of zero to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1686 a large number. The size of your screen is a good choice for
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1687 these numbers."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1688 :type '(choice (const nil) integer)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1689 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1690
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1691 (defcustom mh-max-inline-image-width nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1692 "*Maximum inline image width if \"Content-Disposition:\" is not present.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1693
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1694 Some older mail programs do not insert this needed plumbing to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1695 tell MH-E whether to display the attachments inline or not. If
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1696 this is the case, MH-E will display these images inline if they
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1697 are smaller than the window. However, you might want to allow
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1698 larger images to be displayed inline. To do this, you can change
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1699 the options `mh-max-inline-image-width' and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1700 `mh-max-inline-image-height' from their default value of zero to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1701 a large number. The size of your screen is a good choice for
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1702 these numbers."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1703 :type '(choice (const nil) integer)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1704 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1705
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1706 (defcustom mh-mhl-format-file nil
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1707 "*Specifies the format file to pass to the \"mhl\" program.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1708
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1709 Normally MH-E takes care of displaying messages itself (rather than
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1710 calling an MH program to do the work). If you'd rather have \"mhl\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1711 display the message (within MH-E), change this option from its default
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1712 value of \"Use Default mhl Format (Printing Only)\".
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1713
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1714 You can set this option to \"Use Default mhl Format\" to get the same
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1715 output as you would get if you ran \"mhl\" from the shell.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1716
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1717 If you have a format file that you want MH-E to use, you can set this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1718 option to \"Specify an mhl Format File\" and enter the name of your
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1719 format file. Your format file should specify a non-zero value for
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1720 \"overflowoffset\" to allow MH-E to parse the header. Note that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1721 \"mhl\" is always used for printing and forwarding; in this case, the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1722 value of this option is consulted if you have specified a format
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1723 file."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1724 :type '(choice (const :tag "Use Default mhl Format (Printing Only)" nil)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1725 (const :tag "Use Default mhl Format" t)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1726 (file :tag "Specify an mhl Format File"))
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1727 :group 'mh-show)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1728
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1729 (defcustom mh-mime-save-parts-default-directory t
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1730 "Default directory to use for \\<mh-folder-mode-map>\\[mh-mime-save-parts].
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1731
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1732 The default value for this option is \"Prompt Always\" so that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1733 you are always prompted for the directory in which to save the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1734 attachments. However, if you usually use the same directory
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1735 within a session, then you can set this option to \"Prompt the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1736 First Time\" to avoid the prompt each time. you can make this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1737 directory permanent by choosing \"Directory\" and entering the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1738 directory's name."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1739 :type '(choice (const :tag "Prompt the First Time" nil)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1740 (const :tag "Prompt Always" t)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1741 directory)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1742 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1743
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1744 (defcustom mh-print-background-flag nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1745 "*Non-nil means messages should be printed in the background\\<mh-folder-mode-map>.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1746
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1747 Normally messages are printed in the foreground. If this is slow on
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1748 your system, you may elect to turn off this option to print in the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1749 background.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1750
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1751 WARNING: If you do this, do not delete the message until it is printed
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1752 or else the output may be truncated.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1753
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1754 This option is not used by the commands \\[mh-ps-print-msg] or
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1755 \\[mh-ps-print-msg-file]."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1756 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1757 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1758
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1759 (defcustom mh-show-maximum-size 0
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1760 "*Maximum size of message (in bytes) to display automatically.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1761
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1762 This option provides an opportunity to skip over large messages
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1763 which may be slow to load. The default value of 0 means that all
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1764 message are shown regardless of size."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1765 :type 'integer
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1766 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1767
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1768 (defcustom mh-show-use-goto-addr-flag (and (boundp 'goto-address-highlight-p)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1769 goto-address-highlight-p)
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1770 "*Non-nil means highlight URLs and email addresses\\<goto-address-highlight-keymap>.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1771
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1772 To send a message using the highlighted email address or to view
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1773 the web page for the highlighted URL, use the middle mouse button
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1774 or \\[goto-address-at-point].
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1775
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1776 See Info node `(mh-e)Sending Mail' to see how to configure Emacs
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1777 to send the message using MH-E.
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1778
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1779 The default value of this option comes from the value of
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1780 `goto-address-highlight-p'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1781 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1782 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1783
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1784 (defcustom mh-show-use-xface-flag (>= emacs-major-version 21)
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1785 "*Non-nil means display face images in MH-show buffers.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1786
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1787 MH-E can display the content of \"Face:\", \"X-Face:\", and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1788 \"X-Image-URL:\" header fields. If any of these fields occur in the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1789 header of your message, the sender's face will appear in the \"From:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1790 header field. If more than one of these fields appear, then the first
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1791 field found in the order \"Face:\", \"X-Face:\", and \"X-Image-URL:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1792 will be used.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1793
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1794 The option `mh-show-use-xface-flag' is used to turn this feature on
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1795 and off. This feature will be turned on by default if your system
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1796 supports it.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1797
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1798 The first header field used, if present, is the Gnus-specific
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1799 \"Face:\" field. The \"Face:\" field appeared in GNU Emacs 21 and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1800 XEmacs. For more information, see URL
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1801 `http://quimby.gnus.org/circus/face/'. Next is the traditional
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1802 \"X-Face:\" header field. The display of this field requires the
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1803 \"uncompface\" program (see URL
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1804 `ftp://ftp.cs.indiana.edu/pub/faces/compface/compface.tar.z'). Recent
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1805 versions of XEmacs have internal support for \"X-Face:\" images. If
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1806 your version of XEmacs does not, then you'll need both \"uncompface\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1807 and the x-face package (see URL `ftp://ftp.jpl.org/pub/elisp/').
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1808
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1809 Finally, MH-E will display images referenced by the \"X-Image-URL:\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1810 header field if neither the \"Face:\" nor the \"X-Face:\" fields are
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1811 present. The display of the images requires \"wget\" (see URL
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1812 `http://www.gnu.org/software/wget/wget.html'), \"fetch\", or \"curl\"
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1813 to fetch the image and the \"convert\" program from the ImageMagick
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1814 suite (see URL `http://www.imagemagick.org/'). Of the three header
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1815 fields this is the most efficient in terms of network usage since the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1816 image doesn't need to be transmitted with every single mail.
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1817
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1818 The option `mh-fetch-x-image-url' controls the fetching of the
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1819 \"X-Image-URL:\" header field image."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1820 :type 'boolean
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1821 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1822
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1823 (defcustom mh-store-default-directory nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1824 "*Default directory for \\<mh-folder-mode-map>\\[mh-store-msg].
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1825
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1826 If you would like to change the initial default directory,
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1827 customize this option, change the value from \"Current\" to
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1828 \"Directory\", and then enter the name of the directory for storing
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1829 the content of these messages."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1830 :type '(choice (const :tag "Current" nil)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1831 directory)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1832 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1833
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1834 (defcustom mh-summary-height nil
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1835 "*Number of lines in MH-Folder buffer (including the mode line).
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1836
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1837 The default value of this option is \"Automatic\" which means
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1838 that the MH-Folder buffer will maintain the same proportional
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1839 size if the frame is resized. If you'd prefer a fixed height,
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1840 then choose the \"Fixed Size\" option and enter the number of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1841 lines you'd like to see."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1842 :type '(choice (const :tag "Automatic" nil)
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1843 (integer :tag "Fixed Size"))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1844 :group 'mh-show)
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1845
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1846
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1847
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
1848 ;;; The Speedbar (:group 'mh-speedbar)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1849
67577
125832ddcd6b * mh-customize.el (mh-speed-flists-interval): Rename to
Bill Wohler <wohler@newt.com>
parents: 67449
diff changeset
1850 (defcustom mh-speed-update-interval 60
125832ddcd6b * mh-customize.el (mh-speed-flists-interval): Rename to
Bill Wohler <wohler@newt.com>
parents: 67449
diff changeset
1851 "Time between speedbar updates in seconds.
125832ddcd6b * mh-customize.el (mh-speed-flists-interval): Rename to
Bill Wohler <wohler@newt.com>
parents: 67449
diff changeset
1852 Set to 0 to disable automatic update."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1853 :type 'integer
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
1854 :group 'mh-speedbar)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1855
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1856
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
1857
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1858 ;;; Threading (:group 'mh-thread)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1859
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1860 (defcustom mh-show-threads-flag nil
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1861 "*Non-nil means new folders start in threaded mode.
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1862
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1863 Threading large number of messages can be time consuming so this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1864 option is turned off by default. If you turn this option on, then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1865 threading will be done only if the number of messages being
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1866 threaded is less than `mh-large-folder'."
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1867 :type 'boolean
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1868 :group 'mh-thread)
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1869
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1870
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
1871
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1872 ;;; The Tool Bar (:group 'mh-tool-bar)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1873
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1874 (defcustom mh-tool-bar-search-function 'mh-search-folder
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1875 "*Function called by the tool bar search button.
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1876
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1877 Available functions include `mh-search-folder', the default, and
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1878 `mh-index-search'. You can also choose \"Other Function\" from
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1879 the \"Value Menu\" and enter a function of your own choosing."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1880 :type '(choice (const mh-search-folder)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1881 (const mh-index-search)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1882 (function :tag "Other Function"))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1883 :group 'mh-tool-bar)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
1884
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1885 ;; Functions called from the tool bar
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1886 (defun mh-tool-bar-search (&optional arg)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1887 "Interactively call `mh-tool-bar-search-function'.
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1888 Optional argument ARG is not used."
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1889 (interactive "P")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1890 (call-interactively mh-tool-bar-search-function))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1891
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1892 (defun mh-tool-bar-customize ()
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1893 "Call `mh-customize' from the tool bar."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1894 (interactive)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1895 (mh-customize t))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1896
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1897 (defun mh-tool-bar-folder-help ()
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1898 "Visit \"(mh-e)Top\"."
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1899 (interactive)
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
1900 (info "(mh-e)Top")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1901 (delete-other-windows))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1902
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1903 (defun mh-tool-bar-letter-help ()
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1904 "Visit \"(mh-e)Editing Drafts\"."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1905 (interactive)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1906 (info "(mh-e)Editing Drafts")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1907 (delete-other-windows))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1908
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1909 (defmacro mh-tool-bar-reply-generator (function recipient folder-buffer-flag)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1910 "Generate FUNCTION that replies to RECIPIENT.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1911 If FOLDER-BUFFER-FLAG is nil then the function generated...
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1912 When INCLUDE-FLAG is non-nil, include message body being replied to."
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1913 `(defun ,function (&optional arg)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1914 ,(format "Reply to \"%s\".\nWhen ARG is non-nil include message in reply."
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1915 recipient)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1916 (interactive "P")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1917 ,(if folder-buffer-flag nil '(set-buffer mh-show-folder-buffer))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1918 (mh-reply (mh-get-msg-num nil) ,recipient arg)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1919
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1920 (mh-tool-bar-reply-generator mh-tool-bar-reply-from "from" t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1921 (mh-tool-bar-reply-generator mh-show-tool-bar-reply-from "from" nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1922 (mh-tool-bar-reply-generator mh-tool-bar-reply-to "to" t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1923 (mh-tool-bar-reply-generator mh-show-tool-bar-reply-to "to" nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1924 (mh-tool-bar-reply-generator mh-tool-bar-reply-all "all" t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1925 (mh-tool-bar-reply-generator mh-show-tool-bar-reply-all "all" nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1926
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1927 ;; XEmacs has a couple of extra customizations...
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1928 (mh-do-in-xemacs
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1929 (defcustom mh-xemacs-use-tool-bar-flag mh-xemacs-has-tool-bar-flag
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1930 "*If non-nil, use tool bar.
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1931
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1932 This option controls whether to show the MH-E icons at all. By
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1933 default, this option is turned on if the window system supports
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1934 tool bars. If your system doesn't support tool bars, then you
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1935 won't be able to turn on this option."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1936 :type 'boolean
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1937 :group 'mh-tool-bar
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1938 :set (lambda (symbol value)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1939 (if (and (eq value t)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1940 (not mh-xemacs-has-tool-bar-flag))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1941 (error "Tool bar not supported"))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1942 (set-default symbol value)))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1943
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1944 (defcustom mh-xemacs-tool-bar-position nil
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1945 "*Tool bar location.
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1946
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1947 This option controls the placement of the tool bar along the four
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1948 edges of the frame. You can choose from one of \"Same As Default
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1949 Tool Bar\", \"Top\", \"Bottom\", \"Left\", or \"Right\". If this
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1950 variable is set to anything other than \"Same As Default Tool
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1951 Bar\" and the default tool bar is in a different location, then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1952 two tool bars will be displayed: the MH-E tool bar and the
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1953 default tool bar."
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1954 :type '(radio (const :tag "Same As Default Tool Bar" :value nil)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1955 (const :tag "Top" :value top)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1956 (const :tag "Bottom" :value bottom)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1957 (const :tag "Left" :value left)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1958 (const :tag "Right" :value right))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
1959 :group 'mh-tool-bar))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1960
66356
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1961 (defun mh-buffer-exists-p (mode)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1962 "Test whether a buffer with major mode MODE is present."
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1963 (loop for buf in (buffer-list)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1964 when (save-excursion
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1965 (set-buffer buf)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1966 (eq major-mode mode))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1967 return t))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
1968
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1969 (defmacro mh-tool-bar-define (defaults &rest buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1970 "Define a tool bar for MH-E.
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1971 DEFAULTS is the list of buttons that are present by default. It
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1972 is a list of lists where the sublists are of the following form:
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1973
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1974 (:KEYWORD FUNC1 FUNC2 FUNC3 ...)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1975
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1976 Here :KEYWORD is one of :folder or :letter. If it is :folder then
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1977 the default buttons in the folder and show mode buffers are being
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1978 specified. If it is :letter then the default buttons in the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1979 letter mode are listed. FUNC1, FUNC2, FUNC3, ... are the names of
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1980 the functions that the buttons would execute.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1981
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1982 Each element of BUTTONS is a list consisting of four mandatory
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1983 items and one optional item as follows:
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1984
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
1985 (FUNCTION MODES ICON DOC &optional ENABLE-EXPR)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1986
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1987 where,
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
1988
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1989 FUNCTION is the name of the function that will be executed when
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1990 the button is clicked.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1991
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1992 MODES is a list of symbols. List elements must be from \"folder\",
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1993 \"letter\" and \"sequence\". If \"folder\" is present then the button is
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1994 available in the folder and show buffer. If the name of FUNCTION is
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1995 of the form \"mh-foo\", where foo is some arbitrary string, then we
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1996 check if the function `mh-show-foo' exists. If it exists then that
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1997 function is used in the show buffer. Otherwise the original function
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
1998 `mh-foo' is used in the show buffer as well. Presence of \"sequence\"
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
1999 is handled similar to the above. The only difference is that the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2000 button is shown only when the folder is narrowed to a sequence. If
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
2001 \"letter\" is present in MODES, then the button is available during
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2002 draft editing and runs FUNCTION when clicked.
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2003
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2004 ICON is the icon that is drawn in the button.
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2005
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2006 DOC is the documentation for the button. It is used in tool-tips and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2007 in providing other help to the user. GNU Emacs uses only the first
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2008 line of the string. So the DOC should be formatted such that the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2009 first line is useful and complete without the rest of the string.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2010
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2011 Optional item ENABLE-EXPR is an arbitrary lisp expression. If it
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2012 evaluates to nil, then the button is deactivated, otherwise it is
67760
9c3504ae6060 Follow MH-E Developers Guide conventions. Use `' quotes for Help
Bill Wohler <wohler@newt.com>
parents: 67759
diff changeset
2013 active. If it isn't present then the button is always active."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2014 ;; The following variable names have been carefully chosen to make code
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2015 ;; generation easier. Modifying the names should be done carefully.
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2016 (let (folder-buttons folder-docs folder-button-setter sequence-button-setter
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2017 show-buttons show-button-setter show-seq-button-setter
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2018 letter-buttons letter-docs letter-button-setter
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2019 folder-defaults letter-defaults
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2020 folder-vectors show-vectors letter-vectors)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2021 (dolist (x defaults)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2022 (cond ((eq (car x) :folder) (setq folder-defaults (cdr x)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2023 ((eq (car x) :letter) (setq letter-defaults (cdr x)))))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2024 (dolist (button buttons)
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2025 (unless (and (listp button)
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2026 (or (equal (length button) 4) (equal (length button) 5)))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2027 (error "Incorrect MH-E tool-bar button specification: %s" button))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2028 (let* ((name (nth 0 button))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2029 (name-str (symbol-name name))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2030 (icon (nth 2 button))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2031 (xemacs-icon (mh-do-in-xemacs
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2032 (cdr (assoc (intern icon) mh-xemacs-icon-map))))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2033 (full-doc (nth 3 button))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2034 (doc (if (string-match "\\(.*\\)\n" full-doc)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2035 (match-string 1 full-doc)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2036 full-doc))
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2037 (enable-expr (or (nth 4 button) t))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2038 (modes (nth 1 button))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2039 functions show-sym)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2040 (when (memq 'letter modes) (setq functions `(:letter ,name)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2041 (when (or (memq 'folder modes) (memq 'sequence modes))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2042 (setq functions
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2043 (append `(,(if (memq 'folder modes) :folder :sequence) ,name)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2044 functions))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2045 (setq show-sym
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2046 (if (string-match "^mh-\\(.*\\)$" name-str)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2047 (intern (concat "mh-show-" (match-string 1 name-str)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2048 name))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2049 (setq functions
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2050 (append `(,(if (memq 'folder modes) :show :show-seq)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2051 ,(if (fboundp show-sym) show-sym name))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2052 functions)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2053 (do ((functions functions (cddr functions)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2054 ((null functions))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2055 (let* ((type (car functions))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2056 (function (cadr functions))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2057 (type1 (substring (symbol-name type) 1))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2058 (vector-list (cond ((eq type :show) 'show-vectors)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2059 ((eq type :show-seq) 'show-vectors)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2060 ((eq type :letter) 'letter-vectors)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2061 (t 'folder-vectors)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2062 (list (cond ((eq type :letter) 'mh-tool-bar-letter-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2063 (t 'mh-tool-bar-folder-buttons)))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2064 (key (intern (concat "mh-" type1 "tool-bar-" name-str)))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2065 (setter (intern (concat type1 "-button-setter")))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2066 (mbuttons (cond ((eq type :letter) 'letter-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2067 ((eq type :show) 'show-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2068 ((eq type :show-seq) 'show-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2069 (t 'folder-buttons)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2070 (docs (cond ((eq mbuttons 'letter-buttons) 'letter-docs)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2071 ((eq mbuttons 'folder-buttons) 'folder-docs))))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2072 (add-to-list vector-list `[,xemacs-icon ,function t ,full-doc])
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2073 (add-to-list
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2074 setter `(when (member ',name ,list)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2075 (mh-funcall-if-exists
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2076 tool-bar-add-item ,icon ',function ',key
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2077 :help ,doc :enable ',enable-expr)))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2078 (add-to-list mbuttons name)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2079 (if docs (add-to-list docs doc))))))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2080 (setq folder-buttons (nreverse folder-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2081 letter-buttons (nreverse letter-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2082 show-buttons (nreverse show-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2083 letter-docs (nreverse letter-docs)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2084 folder-docs (nreverse folder-docs)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2085 folder-vectors (nreverse folder-vectors)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2086 show-vectors (nreverse show-vectors)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2087 letter-vectors (nreverse letter-vectors))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2088 (dolist (x folder-defaults)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2089 (unless (memq x folder-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2090 (error "Folder defaults contains unknown button '%s'" x)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2091 (dolist (x letter-defaults)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2092 (unless (memq x letter-buttons)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2093 (error "Letter defaults contains unknown button '%s'" x)))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2094 `(eval-when (compile load eval)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2095 (defvar mh-folder-tool-bar-map nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2096 (defvar mh-folder-seq-tool-bar-map nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2097 (defvar mh-show-tool-bar-map nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2098 (defvar mh-show-seq-tool-bar-map nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2099 (defvar mh-letter-tool-bar-map nil)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2100 ;; GNU Emacs tool bar specific code
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2101 (mh-do-in-gnu-emacs
66356
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2102 ;; Tool bar initialization functions
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2103 (defun mh-tool-bar-folder-buttons-init ()
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2104 (when (mh-buffer-exists-p 'mh-folder-mode)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2105 (mh-image-load-path)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2106 (setq mh-folder-tool-bar-map
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2107 (let ((tool-bar-map (make-sparse-keymap)))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2108 ,@(nreverse folder-button-setter)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2109 tool-bar-map))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2110 (setq mh-show-tool-bar-map
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2111 (let ((tool-bar-map (make-sparse-keymap)))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2112 ,@(nreverse show-button-setter)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2113 tool-bar-map))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2114 (setq mh-show-seq-tool-bar-map
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2115 (let ((tool-bar-map (copy-keymap mh-show-tool-bar-map)))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2116 ,@(nreverse show-seq-button-setter)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2117 tool-bar-map))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2118 (setq mh-folder-seq-tool-bar-map
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2119 (let ((tool-bar-map (copy-keymap mh-folder-tool-bar-map)))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2120 ,@(nreverse sequence-button-setter)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2121 tool-bar-map))))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2122 (defun mh-tool-bar-letter-buttons-init ()
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2123 (when (mh-buffer-exists-p 'mh-letter-mode)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2124 (mh-image-load-path)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2125 (setq mh-letter-tool-bar-map
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2126 (let ((tool-bar-map (make-sparse-keymap)))
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2127 ,@(nreverse letter-button-setter)
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2128 tool-bar-map))))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2129 ;; Custom setter functions
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2130 (defun mh-tool-bar-folder-buttons-set (symbol value)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2131 "Construct tool bar for `mh-folder-mode' and `mh-show-mode'."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2132 (set-default symbol value)
66356
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2133 (mh-tool-bar-folder-buttons-init))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2134 (defun mh-tool-bar-letter-buttons-set (symbol value)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2135 "Construct tool bar for `mh-letter-mode'."
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2136 (set-default symbol value)
66356
131366a2e19b * mh-identity.el (mh-assoc-ignore-case): New macro that uses
Satyaki Das <satyaki@theforce.stanford.edu>
parents: 66354
diff changeset
2137 (mh-tool-bar-letter-buttons-init)))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2138 ;; XEmacs specific code
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2139 (mh-do-in-xemacs
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2140 (defvar mh-tool-bar-folder-vector-map
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2141 ',(loop for button in folder-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2142 for vector in folder-vectors
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2143 collect (cons button vector)))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2144 (defvar mh-tool-bar-show-vector-map
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2145 ',(loop for button in show-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2146 for vector in show-vectors
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2147 collect (cons button vector)))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2148 (defvar mh-tool-bar-letter-vector-map
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2149 ',(loop for button in letter-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2150 for vector in letter-vectors
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2151 collect (cons button vector)))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2152 (defvar mh-tool-bar-folder-buttons nil)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2153 (defvar mh-tool-bar-show-buttons nil)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2154 (defvar mh-tool-bar-letter-buttons nil)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2155 ;; Custom setter functions
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2156 (defun mh-tool-bar-letter-buttons-set (symbol value)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2157 (set-default symbol value)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2158 (when mh-xemacs-has-tool-bar-flag
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2159 (setq mh-tool-bar-letter-buttons
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2160 (loop for b in value
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2161 collect (cdr (assoc b mh-tool-bar-letter-vector-map))))))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2162 (defun mh-tool-bar-folder-buttons-set (symbol value)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2163 (set-default symbol value)
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2164 (when mh-xemacs-has-tool-bar-flag
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2165 (setq mh-tool-bar-folder-buttons
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2166 (loop for b in value
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2167 collect (cdr (assoc b mh-tool-bar-folder-vector-map))))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2168 (setq mh-tool-bar-show-buttons
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2169 (loop for b in value
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2170 collect (cdr (assoc b mh-tool-bar-show-vector-map))))))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2171 (defun mh-tool-bar-init (mode)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2172 "Install tool bar in MODE."
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2173 (let ((tool-bar (cond ((eq mode :folder) mh-tool-bar-folder-buttons)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2174 ((eq mode :letter) mh-tool-bar-letter-buttons)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2175 ((eq mode :show) mh-tool-bar-show-buttons)))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2176 (height 37)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2177 (width 40)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2178 (buffer (current-buffer)))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2179 (when mh-xemacs-use-tool-bar-flag
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2180 (cond
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2181 ((eq mh-xemacs-tool-bar-position 'top)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2182 (set-specifier top-toolbar tool-bar buffer)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2183 (set-specifier top-toolbar-visible-p t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2184 (set-specifier top-toolbar-height height))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2185 ((eq mh-xemacs-tool-bar-position 'bottom)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2186 (set-specifier bottom-toolbar tool-bar buffer)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2187 (set-specifier bottom-toolbar-visible-p t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2188 (set-specifier bottom-toolbar-height height))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2189 ((eq mh-xemacs-tool-bar-position 'left)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2190 (set-specifier left-toolbar tool-bar buffer)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2191 (set-specifier left-toolbar-visible-p t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2192 (set-specifier left-toolbar-width width))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2193 ((eq mh-xemacs-tool-bar-position 'right)
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2194 (set-specifier right-toolbar tool-bar buffer)
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2195 (set-specifier right-toolbar-visible-p t)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2196 (set-specifier right-toolbar-width width))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2197 (t (set-specifier default-toolbar tool-bar buffer)))))))
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2198 ;; Declare customizable tool bars
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2199 (custom-declare-variable
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2200 'mh-tool-bar-folder-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2201 '(list ,@(mapcar (lambda (x) `(quote ,x)) folder-defaults))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2202 "List of buttons to include in MH-Folder tool bar."
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2203 :group 'mh-tool-bar :set 'mh-tool-bar-folder-buttons-set
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2204 :type '(set ,@(loop for x in folder-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2205 for y in folder-docs
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2206 collect `(const :tag ,y ,x))))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2207 (custom-declare-variable
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2208 'mh-tool-bar-letter-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2209 '(list ,@(mapcar (lambda (x) `(quote ,x)) letter-defaults))
67656
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2210 "List of buttons to include in MH-Letter tool bar."
76690fbcd56a * mh-customize.el (mh-toolbar): Rename to mh-tool-bar.
Bill Wohler <wohler@newt.com>
parents: 67577
diff changeset
2211 :group 'mh-tool-bar :set 'mh-tool-bar-letter-buttons-set
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2212 :type '(set ,@(loop for x in letter-buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2213 for y in letter-docs
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2214 collect `(const :tag ,y ,x)))))))
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 49578
diff changeset
2215
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2216 (mh-tool-bar-define
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2217 ((:folder mh-inc-folder mh-mime-save-parts mh-previous-undeleted-msg
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2218 mh-page-msg mh-next-undeleted-msg mh-delete-msg mh-refile-msg
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2219 mh-undo mh-execute-commands mh-toggle-tick mh-reply
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2220 mh-alias-grab-from-field mh-send mh-rescan-folder
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2221 mh-tool-bar-search mh-visit-folder
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2222 mh-tool-bar-customize mh-tool-bar-folder-help mh-widen)
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2223 (:letter mh-send-letter mh-compose-insertion ispell-message save-buffer
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2224 undo kill-region menu-bar-kill-ring-save yank mh-fully-kill-draft
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2225 mh-tool-bar-customize mh-tool-bar-letter-help))
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2226 ;; Folder/Show buffer buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2227 (mh-inc-folder (folder) "mail"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2228 "Incorporate new mail in Inbox
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2229 This button runs `mh-inc-folder' which drags any
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2230 new mail into your Inbox folder.")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2231 (mh-mime-save-parts (folder) "attach"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2232 "Save MIME parts from this message
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2233 This button runs `mh-mime-save-parts' which saves a message's
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2234 different parts into separate files.")
66168
28718fa5d988 Moved all remaining images from lisp/toolbar to etc/images, moved
Bill Wohler <wohler@newt.com>
parents: 66113
diff changeset
2235 (mh-previous-undeleted-msg (folder) "left-arrow"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2236 "Go to the previous undeleted message
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2237 This button runs `mh-previous-undeleted-msg'")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2238 (mh-page-msg (folder) "page-down"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2239 "Page the current message forwards\nThis button runs `mh-page-msg'")
66168
28718fa5d988 Moved all remaining images from lisp/toolbar to etc/images, moved
Bill Wohler <wohler@newt.com>
parents: 66113
diff changeset
2240 (mh-next-undeleted-msg (folder) "right-arrow"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2241 "Go to the next undeleted message\nThe button runs `mh-next-undeleted-msg'")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2242 (mh-delete-msg (folder) "close"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2243 "Mark this message for deletion\nThis button runs `mh-delete-msg'")
65755
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2244 (mh-refile-msg (folder) "mail/refile"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2245 "Refile this message\nThis button runs `mh-refile-msg'")
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2246 (mh-undo (folder) "undo" "Undo last operation\nThis button runs `undo'"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2247 (mh-outstanding-commands-p))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2248 (mh-execute-commands (folder) "execute"
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2249 "Perform moves and deletes\nThis button runs `mh-execute-commands'"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2250 (mh-outstanding-commands-p))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2251 (mh-toggle-tick (folder) "highlight"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2252 "Toggle tick mark\nThis button runs `mh-toggle-tick'")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2253 (mh-toggle-showing (folder) "show"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2254 "Toggle showing message\nThis button runs `mh-toggle-showing'")
65755
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2255 (mh-tool-bar-reply-from (folder) "mail/reply-from" "Reply to \"from\"")
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2256 (mh-tool-bar-reply-to (folder) "mail/reply-to" "Reply to \"to\"")
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2257 (mh-tool-bar-reply-all (folder) "mail/reply-all" "Reply to \"all\"")
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2258 (mh-reply (folder) "mail/reply"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2259 "Reply to this message\nThis button runs `mh-reply'")
65755
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2260 (mh-alias-grab-from-field (folder) "mail/alias"
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2261 "Grab From alias\nThis button runs `mh-alias-grab-from-field'"
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2262 (and (mh-extract-from-header-value) (not (mh-alias-for-from-p))))
66168
28718fa5d988 Moved all remaining images from lisp/toolbar to etc/images, moved
Bill Wohler <wohler@newt.com>
parents: 66113
diff changeset
2263 (mh-send (folder) "mail/compose"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2264 "Compose new message\nThis button runs `mh-send'")
65755
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2265 (mh-rescan-folder (folder) "refresh"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2266 "Rescan this folder\nThis button runs `mh-rescan-folder'")
65755
7b615e6c0ea5 2005-09-30 Bill Wohler <wohler@newt.com>
Bill Wohler <wohler@newt.com>
parents: 64993
diff changeset
2267 (mh-pack-folder (folder) "mail/repack"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2268 "Repack this folder\nThis button runs `mh-pack-folder'")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2269 (mh-tool-bar-search (folder) "search"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2270 "Search\nThis button runs `mh-tool-bar-search-function'")
66168
28718fa5d988 Moved all remaining images from lisp/toolbar to etc/images, moved
Bill Wohler <wohler@newt.com>
parents: 66113
diff changeset
2271 (mh-visit-folder (folder) "fld-open"
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2272 "Visit other folder\nThis button runs `mh-visit-folder'")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2273 ;; Letter buffer buttons
66168
28718fa5d988 Moved all remaining images from lisp/toolbar to etc/images, moved
Bill Wohler <wohler@newt.com>
parents: 66113
diff changeset
2274 (mh-send-letter (letter) "mail/send" "Send this letter")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2275 (mh-compose-insertion (letter) "attach" "Insert attachment")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2276 (ispell-message (letter) "spell" "Check spelling")
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2277 (save-buffer (letter) "save" "Save current buffer to its file"
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2278 (buffer-modified-p))
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2279 (undo (letter) "undo" "Undo last operation")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2280 (kill-region (letter) "cut"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2281 "Cut (kill) text in region between mark and current position")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2282 (menu-bar-kill-ring-save (letter) "copy"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2283 "Copy text in region between mark and current position")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2284 (yank (letter) "paste" "Paste (yank) text cut or copied earlier")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2285 (mh-fully-kill-draft (letter) "close" "Kill this draft")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2286 ;; Common buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2287 (mh-tool-bar-customize (folder letter) "preferences" "MH-E Preferences")
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2288 (mh-tool-bar-folder-help (folder) "help"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
2289 "Help! (general help)\nThis button runs `info'")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2290 (mh-tool-bar-letter-help (letter) "help"
62847
aa8c2e12ee24 Upgraded to MH-E version 7.84.
Bill Wohler <wohler@newt.com>
parents: 62465
diff changeset
2291 "Help! (general help)\nThis button runs `info'")
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2292 ;; Folder narrowed to sequence buttons
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2293 (mh-widen (sequence) "widen"
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2294 "Widen from the sequence\nThis button runs `mh-widen'"))
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2295
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2296
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2297
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2298 ;;; Hooks (:group 'mh-hooks + group where hook described)
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2299
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2300 (defcustom mh-after-commands-processed-hook nil
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2301 "Hook run by \\<mh-folder-mode-map>\\[mh-execute-commands] after performing outstanding requests.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2302
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2303 Variables that are useful in this hook include
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2304 `mh-folders-changed', which lists which folders were affected by
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2305 deletes and refiles. This list will always include the current
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2306 folder, which is also available in `mh-current-folder'."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2307 :type 'hook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2308 :group 'mh-hooks
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2309 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2310
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2311 (defcustom mh-alias-reloaded-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2312 "Hook run by `mh-alias-reload' after loading aliases."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2313 :type 'hook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2314 :group 'mh-hooks
50702
7dd3d5eae9c7 Upgraded to MH-E version 7.3.
Bill Wohler <wohler@newt.com>
parents: 49598
diff changeset
2315 :group 'mh-alias)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2316
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2317 (defcustom mh-before-commands-processed-hook nil
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2318 "Hook run by \\<mh-folder-mode-map>\\[mh-execute-commands] before performing outstanding requests.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2319
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2320 Variables that are useful in this hook include `mh-delete-list'
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2321 and `mh-refile-list' which can be used to see which changes will
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2322 be made to the current folder, `mh-current-folder'."
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2323 :type 'hook
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2324 :group 'mh-hooks
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2325 :group 'mh-folder)
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2326
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2327 (defcustom mh-before-quit-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2328 "Hook run by \\<mh-folder-mode-map>\\[mh-quit] before quitting MH-E.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2329
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2330 This hook is called before the quit occurs, so you might use it
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2331 to perform any MH-E operations; you could perform some query and
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2332 abort the quit or call `mh-execute-commands', for example.
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2333
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2334 See also `mh-quit-hook'."
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2335 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2336 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2337 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2338
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2339 (defcustom mh-before-send-letter-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2340 "Hook run at the beginning of the \\<mh-letter-mode-map>\\[mh-send-letter] command.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2341
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2342 For example, if you want to check your spelling in your message
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2343 before sending, add the `ispell-message' function."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2344 :type 'hook
66354
cf99ce27df54 * mh-comp.el (mh-letter-menu): Rename
Bill Wohler <wohler@newt.com>
parents: 66168
diff changeset
2345 :options '(ispell-message)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2346 :group 'mh-hooks
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2347 :group 'mh-letter)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2348
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2349 (defcustom mh-delete-msg-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2350 "Hook run by \\<mh-letter-mode-map>\\[mh-delete-msg] after marking each message for deletion.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2351
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2352 For example, a past maintainer of MH-E used this once when he
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2353 kept statistics on his mail usage."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2354 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2355 :group 'mh-hooks
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2356 :group 'mh-show)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2357
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2358 (defcustom mh-find-path-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2359 "Hook run by `mh-find-path' after reading the user's MH profile.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2360
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2361 This hook can be used the change the value of the variables that
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2362 `mh-find-path' sets if you need to run with different values
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2363 between MH and MH-E."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2364 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2365 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2366 :group 'mh-e)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2367
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2368 (defcustom mh-folder-mode-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2369 "Hook run by `mh-folder-mode' when visiting a new folder."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2370 :type 'hook
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2371 :group 'mh-hooks
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2372 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2373
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2374 (defcustom mh-forward-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2375 "Hook run by `mh-forward' on a forwarded letter."
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2376 :type 'hook
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2377 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2378 :group 'mh-sending-mail)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2379
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2380 (defcustom mh-inc-folder-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2381 "Hook run by \\<mh-folder-mode-map>\\[mh-inc-folder] after incorporating mail into a folder."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2382 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2383 :group 'mh-hooks
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2384 :group 'mh-inc)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2385
67319
c9307100bfd0 * mh-customize.el (mh-insert-signature-hook): Rename
Bill Wohler <wohler@newt.com>
parents: 67317
diff changeset
2386 (defcustom mh-insert-signature-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2387 "Hook run by \\<mh-letter-mode-map>\\[mh-insert-signature] after signature has been inserted.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2388
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2389 Hook functions may access the actual name of the file or the
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2390 function used to insert the signature with
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2391 `mh-signature-file-name'."
67319
c9307100bfd0 * mh-customize.el (mh-insert-signature-hook): Rename
Bill Wohler <wohler@newt.com>
parents: 67317
diff changeset
2392 :type 'hook
c9307100bfd0 * mh-customize.el (mh-insert-signature-hook): Rename
Bill Wohler <wohler@newt.com>
parents: 67317
diff changeset
2393 :group 'mh-hooks
c9307100bfd0 * mh-customize.el (mh-insert-signature-hook): Rename
Bill Wohler <wohler@newt.com>
parents: 67317
diff changeset
2394 :group 'mh-letter)
c9307100bfd0 * mh-customize.el (mh-insert-signature-hook): Rename
Bill Wohler <wohler@newt.com>
parents: 67317
diff changeset
2395
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2396 (defcustom mh-kill-folder-suppress-prompt-hooks '(mh-index-p)
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2397 "Abnormal hook run at the beginning of \\<mh-folder-mode-map>\\[mh-kill-folder].
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2398
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2399 The hook functions are called with no arguments and should return
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2400 a non-nil value to suppress the normal prompt when you remove a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2401 folder. This is useful for folders that are easily regenerated.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2402
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2403 The default value of `mh-index-p' suppresses the prompt on
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2404 folders generated by an index search.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2405
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2406 WARNING: Use this hook with care. If there is a bug in your hook
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2407 which returns t on \"+inbox\" and you hit \\[mh-kill-folder] by
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2408 accident in the \"+inbox\" folder, you will not be happy."
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2409 :type 'hook
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2410 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2411 :group 'mh-folder)
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2412
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2413 (defcustom mh-letter-mode-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2414 "Hook run by `mh-letter-mode' on a new letter.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2415
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2416 This hook allows you to do some processing before editing a
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2417 letter. For example, you may wish to modify the header after
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2418 \"repl\" has done its work, or you may have a complicated
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2419 \"components\" file and need to tell MH-E where the cursor should
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2420 go."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2421 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2422 :group 'mh-hooks
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2423 :group 'mh-sending-mail)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2424
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2425 (defcustom mh-mh-to-mime-hook nil
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2426 "Hook run on the formatted letter by \\<mh-letter-mode-map>\\[mh-mh-to-mime]."
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2427 :type 'hook
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2428 :group 'mh-hooks
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2429 :group 'mh-letter)
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2430
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2431 (defcustom mh-pick-mode-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2432 "Hook run upon entry to `mh-pick-mode'\\<mh-folder-mode-map>.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2433
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2434 If you find that you do the same thing over and over when editing
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2435 the search template, you may wish to bind some shortcuts to keys.
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2436 This can be done with this hook which is called when
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2437 \\[mh-search-folder] is run on a new pattern."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2438 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2439 :group 'mh-hooks
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2440 :group 'mh-index)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2441
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2442 (defcustom mh-quit-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2443 "Hook run by \\<mh-folder-mode-map>\\[mh-quit] after quitting MH-E.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2444
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2445 This hook is not run in an MH-E context, so you might use it to
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2446 modify the window setup.
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2447
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2448 See also `mh-before-quit-hook'."
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2449 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2450 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2451 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2452
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2453 (defcustom mh-refile-msg-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2454 "Hook run by \\<mh-folder-mode-map>\\[mh-refile-msg] after marking each message for refiling."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2455 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2456 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2457 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2458
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2459 (defcustom mh-show-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2460 "Hook run after \\<mh-folder-mode-map>\\[mh-show] shows a message.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2461
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2462 It is the last thing called after messages are displayed. It's
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2463 used to affect the behavior of MH-E in general or when
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
2464 `mh-show-mode-hook' is too early. See `mh-show-mode-hook'."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2465 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2466 :group 'mh-hooks
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2467 :group 'mh-show)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2468
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2469 (defcustom mh-show-mode-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2470 "Hook run upon entry to `mh-show-mode'.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2471
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2472 This hook is called early on in the process of the message
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2473 display. It is usually used to perform some action on the
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
2474 message's content. See `mh-show-hook'."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2475 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2476 :group 'mh-hooks
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2477 :group 'mh-show)
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2478
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2479 (defcustom mh-unseen-updated-hook nil
67756
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2480 "Hook run after the unseen sequence has been updated.
7ff92ad99326 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
Bill Wohler <wohler@newt.com>
parents: 67689
diff changeset
2481
67758
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2482 The variable `mh-seen-list' can be used by this hook to obtain
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2483 the list of messages which were removed from the unseen
6b063593fdad Follow Emacs coding conventions. Use default setting of
Bill Wohler <wohler@newt.com>
parents: 67756
diff changeset
2484 sequence."
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2485 :type 'hook
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2486 :group 'mh-hooks
67246
bce5c0d2041c * mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
Bill Wohler <wohler@newt.com>
parents: 66716
diff changeset
2487 :group 'mh-sequences)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2488
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2489
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2490
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2491 ;;; Faces (:group 'mh-faces + group where faces described)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2492
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2493 (if (boundp 'facemenu-unlisted-faces)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2494 (add-to-list 'facemenu-unlisted-faces "^mh-"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2495
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2496 (defface mh-folder-address '((t (:inherit mh-folder-subject)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2497 "Recipient face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2498 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2499 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2500
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2501 (defface mh-folder-body
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2502 '((((class color))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2503 (:inherit mh-folder-msg-number))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2504 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2505 (:inherit mh-folder-msg-number :italic t)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2506 "Body text face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2507 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2508 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2509
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2510 (defface mh-folder-cur-msg-number
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2511 '((t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2512 (:inherit mh-folder-msg-number :bold t)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2513 "Current message number face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2514 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2515 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2516
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2517 (defface mh-folder-date '((t (:inherit mh-folder-msg-number)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2518 "Date face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2519 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2520 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2521
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2522 (defface mh-folder-deleted '((t (:inherit mh-folder-msg-number)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2523 "Deleted message face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2524 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2525 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2526
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2527 (defface mh-folder-followup
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2528 '((((class color) (background light))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2529 (:foreground "blue3"))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2530 (((class color) (background dark))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2531 (:foreground "LightGoldenRod"))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2532 (t
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2533 (:bold t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2534 "\"Re:\" face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2535 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2536 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2537
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2538 (defface mh-folder-msg-number
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2539 '((((class color) (background light))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2540 (:foreground "snow4"))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2541 (((class color) (background dark))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2542 (:foreground "snow3")))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2543 "Message number face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2544 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2545 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2546
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2547 (defface mh-folder-refiled
66715
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2548 (mh-defface-compat
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2549 '((((class color) (min-colors 88) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2550 (:foreground "DarkGoldenrod"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2551 (((class color) (min-colors 88) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2552 (:foreground "LightGoldenrod"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2553 (((class color))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2554 (:foreground "yellow" :weight light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2555 (((class grayscale) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2556 (:foreground "Gray90" :bold t :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2557 (((class grayscale) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2558 (:foreground "DimGray" :bold t :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2559 (t
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2560 (:bold t :italic t))))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2561 "Refiled message face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2562 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2563 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2564
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2565 (defface mh-folder-sent-to-me-hint '((t (:inherit mh-folder-date)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2566 "Fontification hint face in messages sent directly to us.
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2567 The detection of messages sent to us is governed by the scan
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2568 format `mh-scan-format-nmh' and the regular expression
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2569 `mh-scan-sent-to-me-sender-regexp'."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2570 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2571 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2572
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2573 (defface mh-folder-sent-to-me-sender '((t (:inherit mh-folder-followup)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2574 "Sender face in messages sent directly to us.
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2575 The detection of messages sent to us is governed by the scan
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2576 format `mh-scan-format-nmh' and the regular expression
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2577 `mh-scan-sent-to-me-sender-regexp'."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2578 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2579 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2580
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2581 (defface mh-folder-subject
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2582 '((((class color) (background light))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2583 (:foreground "blue4"))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2584 (((class color) (background dark))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2585 (:foreground "yellow"))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2586 (t
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2587 (:bold t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2588 "Subject face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2589 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2590 :group 'mh-folder)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2591
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2592 (defface mh-folder-tick
66713
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2593 '((((class color) (background dark))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2594 (:background "#dddf7e"))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2595 (((class color) (background light))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2596 (:background "#dddf7e"))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2597 (t
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2598 (:underline t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2599 "Ticked message face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2600 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2601 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2602
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2603 (defface mh-folder-to
66715
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2604 (mh-defface-compat
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2605 '((((class color) (min-colors 88) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2606 (:foreground "RosyBrown"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2607 (((class color) (min-colors 88) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2608 (:foreground "LightSalmon"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2609 (((class color))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2610 (:foreground "green"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2611 (((class grayscale) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2612 (:foreground "DimGray" :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2613 (((class grayscale) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2614 (:foreground "LightGray" :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2615 (t
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2616 (:italic t))))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2617 "\"To:\" face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2618 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2619 :group 'mh-folder)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2620
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2621 (defface mh-index-folder
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2622 '((((class color) (background light))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2623 (:foreground "dark green" :bold t))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2624 (((class color) (background dark))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2625 (:foreground "indian red" :bold t))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2626 (t
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2627 (:bold t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2628 "Folder heading face in MH-Folder buffers created by searches."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2629 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2630 :group 'mh-index)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2631
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2632 (defface mh-letter-header-field
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2633 '((((class color) (background light))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2634 (:background "gray90"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2635 (((class color) (background dark))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2636 (:background "gray10"))
66713
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2637 (t
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2638 (:bold t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2639 "Editable header field value face in draft buffers."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2640 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2641 :group 'mh-letter)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2642
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2643 (defface mh-show-cc
66715
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2644 (mh-defface-compat
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2645 '((((class color) (min-colors 88) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2646 (:foreground "DarkGoldenrod"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2647 (((class color) (min-colors 88) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2648 (:foreground "LightGoldenrod"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2649 (((class color))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2650 (:foreground "yellow" :weight light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2651 (((class grayscale) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2652 (:foreground "Gray90" :bold t :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2653 (((class grayscale) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2654 (:foreground "DimGray" :bold t :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2655 (t
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2656 (:bold t :italic t))))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2657 "Face used to highlight \"cc:\" header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2658 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2659 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2660
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2661 (defface mh-show-date
66715
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2662 (mh-defface-compat
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2663 '((((class color) (min-colors 88) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2664 (:foreground "ForestGreen"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2665 (((class color) (min-colors 88) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2666 (:foreground "PaleGreen"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2667 (((class color))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2668 (:foreground "green"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2669 (((class grayscale) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2670 (:foreground "Gray90" :bold t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2671 (((class grayscale) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2672 (:foreground "DimGray" :bold t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2673 (t
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2674 (:bold t :underline t))))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2675 "Face used to highlight \"Date:\" header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2676 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2677 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2678
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2679 (defface mh-show-from
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2680 '((((class color) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2681 (:foreground "red3"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2682 (((class color) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2683 (:foreground "cyan"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2684 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2685 (:bold t)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2686 "Face used to highlight \"From:\" header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2687 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2688 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2689
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2690 (defface mh-show-header
66715
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2691 (mh-defface-compat
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2692 '((((class color) (min-colors 88) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2693 (:foreground "RosyBrown"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2694 (((class color) (min-colors 88) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2695 (:foreground "LightSalmon"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2696 (((class color))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2697 (:foreground "green"))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2698 (((class grayscale) (background light))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2699 (:foreground "DimGray" :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2700 (((class grayscale) (background dark))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2701 (:foreground "LightGray" :italic t))
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2702 (t
5cec34d0f4d7 (mh-min-colors-defined-flag): New variable.
Bill Wohler <wohler@newt.com>
parents: 66713
diff changeset
2703 (:italic t))))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2704 "Face used to deemphasize less interesting header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2705 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2706 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2707
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2708 (defface mh-show-pgg-bad '((t (:bold t :foreground "DeepPink1")))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2709 "Bad PGG signature face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2710 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2711 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2712
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2713 (defface mh-show-pgg-good '((t (:bold t :foreground "LimeGreen")))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2714 "Good PGG signature face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2715 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2716 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2717
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2718 (defface mh-show-pgg-unknown '((t (:bold t :foreground "DarkGoldenrod2")))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2719 "Unknown or untrusted PGG signature face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2720 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2721 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2722
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2723 (defface mh-show-signature '((t (:italic t)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2724 "Signature face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2725 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2726 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2727
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2728 (defface mh-show-subject '((t (:inherit mh-folder-subject)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2729 "Face used to highlight \"Subject:\" header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2730 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2731 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2732
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2733 (defface mh-show-to
66713
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2734 '((((class color) (background light))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2735 (:foreground "SaddleBrown"))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2736 (((class color) (background dark))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2737 (:foreground "burlywood"))
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2738 (((class grayscale) (background light))
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2739 (:foreground "DimGray" :underline t))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2740 (((class grayscale) (background dark))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2741 (:foreground "LightGray" :underline t))
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2742 (t (:underline t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2743 "Face used to highlight \"To:\" header fields."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2744 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2745 :group 'mh-show)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2746
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2747 (defface mh-show-xface '((t (:inherit (mh-show-from highlight))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2748 "X-Face image face.
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2749 The background and foreground are used in the image."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2750 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2751 :group 'mh-show)
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2752
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2753 (defface mh-speedbar-folder
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2754 '((((class color) (background light))
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2755 (:foreground "blue4"))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2756 (((class color) (background dark))
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2757 (:foreground "light blue")))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2758 "Basic folder face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2759 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2760 :group 'mh-speedbar)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2761
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2762 (defface mh-speedbar-folder-with-unseen-messages
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2763 '((t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2764 (:inherit mh-speedbar-folder :bold t)))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2765 "Folder face when folder contains unread messages."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2766 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2767 :group 'mh-speedbar)
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2768
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2769 (defface mh-speedbar-selected-folder
56673
e9a6cbc8ca5e Upgraded to MH-E version 7.4.80.
Bill Wohler <wohler@newt.com>
parents: 56406
diff changeset
2770 '((((class color) (background light))
61394
31aa9a390538 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
Dan Nicolaescu <dann@ics.uci.edu>
parents: 56787
diff changeset
2771 (:foreground "red1" :underline t))
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2772 (((class color) (background dark))
61394
31aa9a390538 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
Dan Nicolaescu <dann@ics.uci.edu>
parents: 56787
diff changeset
2773 (:foreground "red1" :underline t))
66713
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2774 (t
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2775 (:underline t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2776 "Selected folder face."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2777 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2778 :group 'mh-speedbar)
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2779
63531
60261c7a1b56 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-428
Miles Bader <miles@gnu.org>
parents: 62847
diff changeset
2780 (defface mh-speedbar-selected-folder-with-unseen-messages
66713
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2781 '((t
12f6ccc8b5e4 Refactor faces. Move grayscale requirements last before t. Use uniform
Bill Wohler <wohler@newt.com>
parents: 66677
diff changeset
2782 (:inherit mh-speedbar-selected-folder :bold t)))
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2783 "Selected folder face when folder contains unread messages."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2784 :group 'mh-faces
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2785 :group 'mh-speedbar)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2786
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2787 ;;; XXX Temporary function for comparing old and new faces. Delete
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2788 ;;; when everybody is happy.
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2789 (defvar bw-face-generation 'new)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2790
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2791 (defun bw-toggle-faces ()
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2792 "Toggle between old and new faces."
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2793 (interactive)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2794 (cond ((eq bw-face-generation 'new)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2795 (message "Going from new to old...")
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2796 (bw-new-face-to-old)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2797 (message "Going from new to old...done")
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2798 (setq bw-face-generation 'old))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2799 ((eq bw-face-generation 'old)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2800 (message "Going from old to new...")
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2801 (bw-old-face-to-new)
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2802 (message "Going from old to new...done")
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2803 (setq bw-face-generation 'new))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2804
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2805 (defun bw-new-face-to-old ()
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
2806 "Set old faces."
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2807 (face-spec-set 'mh-folder-body
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2808 (mh-defface-compat
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2809 '((((class color) (min-colors 88) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2810 (:foreground "RosyBrown"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2811 (((class color) (min-colors 88) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2812 (:foreground "LightSalmon"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2813 (((class color))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2814 (:foreground "green"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2815 (((class grayscale) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2816 (:foreground "DimGray" :italic t))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2817 (((class grayscale) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2818 (:foreground "LightGray" :italic t))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2819 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2820 (:italic t)))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2821
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2822 (face-spec-set 'mh-folder-msg-number
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2823 '((((class color) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2824 (:foreground "snow4"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2825 (((class color) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2826 (:foreground "snow3"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2827 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2828 (:bold t))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2829
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2830 (face-spec-set 'mh-folder-cur-msg-number
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2831 (mh-defface-compat
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2832 '((((class color) (min-colors 88) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2833 (:foreground "Purple"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2834 (((class color) (min-colors 88) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2835 (:foreground "Cyan"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2836 (((class color))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2837 (:foreground "cyan" :weight bold))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2838 (((class grayscale) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2839 (:foreground "LightGray" :bold t))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2840 (((class grayscale) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2841 (:foreground "DimGray" :bold t))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2842 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2843 (:bold t)))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2844
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2845 (face-spec-set 'mh-folder-date
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2846 '((((class color) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2847 (:foreground "snow4"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2848 (((class color) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2849 (:foreground "snow3"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2850 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2851 (:bold t))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2852
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2853 (face-spec-set 'mh-folder-msg-number
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2854 '((((class color) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2855 (:foreground "snow4"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2856 (((class color) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2857 (:foreground "snow3"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2858 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2859 (:bold t)))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2860
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2861 (defun bw-old-face-to-new ()
67988
7882fc7df359 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
Bill Wohler <wohler@newt.com>
parents: 67969
diff changeset
2862 "Set new faces."
67969
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2863 (face-spec-set 'mh-folder-body
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2864 '((((class color))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2865 (:inherit mh-folder-msg-number))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2866 (t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2867 (:inherit mh-folder-msg-number :italic t))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2868
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2869 (face-spec-set 'mh-folder-cur-msg-number
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2870 '((t
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2871 (:inherit mh-folder-msg-number :bold t))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2872
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2873 (face-spec-set 'mh-folder-date '((t (:inherit mh-folder-msg-number))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2874
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2875 (face-spec-set 'mh-folder-msg-number
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2876 '((((class color) (background light))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2877 (:foreground "snow4"))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2878 (((class color) (background dark))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2879 (:foreground "snow3")))))
3ca8b2234237 * mh-customize.el: Sync docstrings with manual for faces and sort them
Bill Wohler <wohler@newt.com>
parents: 67760
diff changeset
2880
56406
d36b00b98db0 Upgraded to MH-E version 7.4.4.
Bill Wohler <wohler@newt.com>
parents: 52401
diff changeset
2881
67681
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2882 ;; Local Variables:
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2883 ;; indent-tabs-mode: nil
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2884 ;; sentence-end-double-space: nil
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2885 ;; End:
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2886
3a8785724cca * mh-acros.el:
Bill Wohler <wohler@newt.com>
parents: 67656
diff changeset
2887 ;; arch-tag: 778d2a20-82e2-4276-be9d-309386776a68
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
diff changeset
2888 ;;; mh-customize.el ends here