annotate lisp/vm/vm-vars.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 49a24b4fd526
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; VM user and internal variable initialization
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 ;;; Copyright (C) 1989, 1990, 1991, 1993, 1994, 1995 Kyle E. Jones
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;;; This program is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;;; it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;;; the Free Software Foundation; either version 1, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;; along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 (provide 'vm-vars)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 (defvar vm-init-file "~/.vm"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 "*Startup file for VM that is loaded the first time you run VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 in an Emacs session.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 (defvar vm-options-file "~/.vm.options"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 "*Secondary startup file for VM, loaded after vm-init-file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 This file is written and overwritten by VM and is not meant for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 users to edit directly. Use the Options menu to change what
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 appears in this file.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 (defvar vm-primary-inbox "~/INBOX"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 "*Mail is moved from the system mailbox to this file for reading.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 (defvar vm-crash-box "~/INBOX.CRASH"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 "*File in which to store mail temporarily while it is transferred from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 the system mailbox to the primary inbox. If a crash occurs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 during this mail transfer, any missing mail will be found in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 file. VM will do crash recovery from this file automatically at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 startup, as necessary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (defvar vm-keep-crash-boxes nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 "*Non-nil value should be a string specifying a directory where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 your crash boxes should be moved after VM has copied new mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 out of them. This is a safety measure. In at least one case a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 pointer corruption bug inside Emacs has caused VM to believe that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 it had copied information out of the crash box when it in fact
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 had not. VM then deleted the crash box, losing the batch of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 incoming mail. This is an exceedingly rare problem, but if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 want to avoid losing mail if it happens, set vm-keep-crash-boxes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 to point to a directory in the same filesystem as all your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 crash boxes. Each saved crash box will have a unique name based
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 on the current date and time the box was saved. You will need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 clean out this directory from time to time; VM does not do so.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 A nil value means VM should just delete crash boxes after it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 has copied out the mail.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 ;; use this function to access vm-spool-files on the fly. this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 ;; allows us to use environmental variables without setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 ;; vm-spool-files at load time and thereby making it hard to dump an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 ;; Emacs containing a preloaded VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 (defun vm-spool-files ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 (or vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (and (setq vm-spool-files (getenv "MAILPATH"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (setq vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 (vm-parse vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 "\\([^:%?]+\\)\\([%?][^:]*\\)?\\(:\\|$\\)")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 (and (setq vm-spool-files (getenv "MAIL"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 (setq vm-spool-files (list vm-spool-files)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 (defvar vm-spool-files nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 "*If non-nil this variable's value should be a list of strings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 or a list of lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 If the value is a list of strings, the strings should name files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 that VM will check for incoming mail instead of the default place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 VM thinks your system mailbox is. Mail will be moved from these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 mailboxes to your primary inbox as specified by vm-primary-inbox,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 using vm-crash-box as a waystation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 If the value is a list of lists, each sublist should be of the form
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 (INBOX SPOOLNAME CRASHBOX)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 INBOX, SPOOLNAME and CRASHBOX are all strings.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 INBOX is the folder where you want your new mail to be moved when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 you type 'g' (running vm-get-new-mail) in VM. It is where you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 will read the mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 SPOOLNAME is where the mail system leaves your incoming mail,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 e.g. /var/spool/mail/kyle. It can also be a POP maildrop,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 provided it can be matched by the value of vm-recognize-pop-maildrops.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 A POP maildrop specification has the following format:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 \"HOST:PORT:AUTH:USER:PASSWORD\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 HOST is the host name of the POP server
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 PORT is the TCP port number to connect to (should normally be 110).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 USER is the user name sent to the server.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 PASSWORD is the secret shared by you and the server for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 authentication purposes. How is it used depends on the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 the AUTH parameter. If the PASSWORD is \"*\", VM will prompt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 you for the password the first time you try to retrieve mail from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 maildrop. If the password is valid, VM will not ask you for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 password again during this Emacs session.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 AUTH is the authentication method used to convince the server you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 should have access to the maildrop. Acceptable values are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 \"pass\", \"rpop\" and \"apop\". For \"pass\", the PASSWORD is sent to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 the server with the POP PASS command. For \"rpop\", the PASSWORD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 should be the string to be sent to the server via the RPOP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 command. In this case the string is not really a secret;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 authentication is done by other means. For \"apop\", an MD5 digest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 of the PASSWORD appended to the server timestamp will be sent to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 the server with the APOP command. In order to use \"apop\" you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 will have to set the value of vm-pop-md5-program appropriately to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 point at the program that will generate the MD5 digest that VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 needs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 CRASHBOX is the temporary file that VM uses to store mail in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 between the SPOOLNAME and the INBOX. If the system crashes or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 Emacs dies while mail is being moved, and the new mail is not in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 the SPOOLNAME or the INBOX, then it will be in the CRASHBOX.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 There can be multiple entries with the same INBOX value, but a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 particular SPOOLNAME should appear only once. CRASHBOXes should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 not be shared among different INBOXes, but you can use the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 CRASHBOX/INBOX pair with a different SPOOLNAME.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 NOTE: The values of vm-primary-inbox and vm-crash-box are ignored
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 when getting new mail if vm-spool-files is a list of lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 vm-spool-files will default to the value of the shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 environmental variables MAILPATH or MAIL if either of these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 variables are defined and no particular value for vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 has been specified.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 (defvar vm-pop-md5-program "md5"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 "*Program that reads a message on its standard input and writes an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 MD5 digest on its output.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 (defvar vm-recognize-pop-maildrops "^[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 "*Value if non-nil should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 spool names found in vm-spool-files that should be considered POP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 maildrops. A nil value tells VM that all the spool names are to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 be considered files.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 (defvar vm-auto-get-new-mail t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 "*Non-nil value causes VM to automatically move mail from spool files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 to a mail folder when the folder is first visited. Nil means
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 you must always use vm-get-new-mail to pull in newly arrived messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 If the value is a number, then it specifies how often (in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 seconds) VM should check for new mail and try to retrieve it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 This is done asynchronously and may occur while you are editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 other files. It should not disturb your editing, except perhaps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 for a pause while the work is being done. The `itimer' package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 must be installed for this to work. Otherwise a numeric value is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 the same as a value of t.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 (defvar vm-default-folder-type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (cond ((not (boundp 'system-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 'From_)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 ((or (string-match "-solaris" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 (string-match "usg-unix-v" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 (string-match "-ibm-aix" system-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 'From_-with-Content-Length)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 ((string-match "-sco" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 'mmdf)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (t 'From_))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 "*Default folder type for empty folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 If VM has to add messages that have no specific folder type to an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 empty folder, the folder will become this default type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 Allowed types are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 From_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 From_-with-Content-Length
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 mmdf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 babyl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 Value must be a symbol, not a string. i.e. write
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 (setq vm-default-folder-type 'From_)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 in your .emacs or .vm file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 If you set this variable's value to From_-with-Content-Length you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 must set vm-trust-From_-with-Content-Length non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 (defvar vm-check-folder-types t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 "*Non-nil value causes VM to check folder and message types for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 compatibility before it performs certain operations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 Before saving a message to a folder, VM will check that the destination folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 is of the same type as the message to be saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 Before incorporating message into a visited folder, VM will check that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 messages are of the same type as that folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 A nil value means don't do the checks.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 Depending on the value of vm-convert-folder-types VM will either
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 convert the messages to the appropriate type before saving or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 incorporating them, or it will signal an error.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 (defvar vm-convert-folder-types t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 "*Non-nil value means that when VM checks folder types and finds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 a mismatch (see vm-check-folder-types), it will convert the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 source messages to the type of the destination folder, if it can.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 If vm-check-folder-types is nil, then this variable isn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 consulted.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 (defvar vm-trust-From_-with-Content-Length
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 (eq vm-default-folder-type 'From_-with-Content-Length)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 "*Non-nil value means that if the first message in a folder contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 a Content-Length header and begins with \"From \" VM can safely
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 assume that all messages in the folder have Content-Length headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 that specify the length of the text section of each message. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 will then use these headers to determine message boundaries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 instead of the usual way of searching for two newlines followed by a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 line that begins with \"From \".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 If you set vm-default-folder-type to From_-with-Content-Length you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 must set this variable non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 (defvar vm-visible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 "To:" "Apparently-To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 "Date:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 "*List of headers that should be visible when VM first displays a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 These should be listed in the order you wish them presented.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 Regular expressions are allowed. There's no need to anchor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 patterns with \"^\", as searches always start at the beginning of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 a line. Put a colon at the end of patterns to get exact matches.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 For example, \"Date\" matches \"Date\" and \"Date-Sent\". Header names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 are always matched case insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 If the value of vm-invisible-header-regexp is nil, only the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 headers matched by vm-visible-headers will be displayed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Otherwise all headers are displayed except those matched by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 vm-invisible-header-regexp. In this case vm-visible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 specifies the order in which headers are displayed. Headers not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 matching vm-visible-headers are display last.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 (defvar vm-invisible-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 "*Non-nil value should be a regular expression that tells what headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 VM should NOT normally display when presenting a message. All other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 headers will be displayed. The variable vm-visible-headers specifies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 the presentation order of headers; headers not matched by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 vm-visible-headers are displayed last.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 Nil value causes VM to display ONLY those headers specified in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 vm-visible-headers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 (defvar vm-highlighted-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 "*Value specifies which headers to highlight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 This is a regular expression that matches the names of headers that should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 be highlighted when a message is first presented. For example setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 this variable to \"From:\\\\|Subject:\" causes the From and Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 headers to be highlighted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 This does not work under version 18 Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 If you're using XEmacs, you might want to use the builtin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 `highlight-headers' package instead. If so, then you should set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 the variable vm-use-lucid-highlighting non-nil. You'll need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 set the various variables used by the highlight-headers package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 to customize highlighting. vm-highlighted-header-regexp is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 ignored in this case.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 (defvar vm-use-lucid-highlighting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 ;; (not (not ...)) to avoid the confusing value of 6.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 (not (not (string-match "XEmacs" emacs-version)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 "*Non-nil means to use the `highlight-headers' package in XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 Nil means just use VM's builtin header highlighting code.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 FSF Emacs always uses VM's builtin highlighting code.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 (defvar vm-highlighted-header-face 'bold
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 "*Face to be used to highlight headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 This variable is ignored under Lucid Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 See the documentation for the function `highlight-headers'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 to find out how to customize header highlighting under Lucid Emacs.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 (defvar vm-preview-lines 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 "*Non-nil value N causes VM to display the visible headers + N lines of text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 of a message when it is first presented. The message is not actually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 flagged as read until it is exposed in its entirety.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 A value of t causes VM to display as much of the message as will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 fit in the window associated with the folder buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 A nil value causes VM not to preview messages; no text lines are hidden and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 messages are immediately flagged as read.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 (defvar vm-preview-read-messages nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 "*Non-nil value means to preview messages even if they've already been read.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 A nil value causes VM to preview messages only if new or unread.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 (defvar vm-auto-next-message t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 "*Non-nil value causes VM to use vm-next-message to advance to the next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 message in the folder if the user attempts to scroll past the end of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 current messages. A nil value disables this behavior.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 (defvar vm-honor-page-delimiters nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 "*Non-nil value causes VM to honor page delimiters (as specified by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 Emacs page-delimiter variable) when scrolling through a message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 (defvar vm-default-window-configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 ;; startup = full screan summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 ;; quitting = full screen folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 ;; reading-message = folder on bottom, summary on top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 ;; composing-message = full screen composition
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 ;; editing-message = full screen edit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 ;; vm-summarize = folder on bottom, summary on top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 '(
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 (startup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 (quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 ((nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 (reading-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 (composing-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 ((nil composition))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 (editing-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 ((nil edit))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 (vm-summarize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 "Default window configuration for VM if the user does not specify one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 If you want to completely turn off VM's window configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 feature, set this variable and vm-window-configuration-file to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 nil in your .vm file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 If you want to have a different window configuration setup than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 this, you should not set this variable directly. Rather you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 should set the variable vm-window-configuration-file to point at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 a file, and use the command vm-save-window-configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 (normally bound to `WS') to modify part of this configuration to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 your liking.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 WARNING: Don't point vm-window-configuration-file at your .vm or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 .emacs file. Your window configuration file should start out as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 an empty or nonexistent file. VM will repeatedly overwrite this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 file as you update your window configuration settings, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 anything else you put into this file will go away.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 (defvar vm-window-configuration-file "~/.vm.windows"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 "*Non-nil value should be a string that tells VM where to load
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 and save your window configuration settings. Your window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 configuration settings are loaded automatically the first time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 you run VM in an Emacs session, and tells VM how to set up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 windows depending on what you are doing inside VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 The commands vm-save-window-configuration (normally bound to `WS') and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 vm-delete-window-configuration (bound to `WD') let you update this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 information; see their documentation for more information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 You cannot change your window configuration setup without giving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 vm-window-configuration-file a non-nil value. A nil value causes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 VM to use the default window setup specified by the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 vm-default-window-configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 WARNING: Don't point vm-window-configuration-file at your .vm or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 .emacs file. Your window configuration file should start out as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 an empty or nonexistent file. VM will repeatedly overwrite this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 file as you update your window configuration settings, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 anything else you put into this file will go away.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 (defvar vm-confirm-quit 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 "*Value of t causes VM to always ask for confirmation before quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 a VM visit of a folder. A nil value means VM will ask only when messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 will be lost unwittingly by quitting, i.e. not removed by intentional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 delete and expunge. A value that is not nil and not t causes VM to ask
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 only when there are unsaved changes to message attributes, or when messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 will be unwittingly lost.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 (defvar vm-folder-directory nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 "*Directory where folders of mail are kept.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 (defvar vm-confirm-new-folders nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 "*Non-nil value causes interactive calls to vm-save-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 to ask for confirmation before creating a new folder.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 (defvar vm-delete-empty-folders t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 "*Non-nil value means remove empty (zero length) folders after saving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 A value of t means always remove the folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 A value of nil means never remove empty folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 A value that's not t or nil means ask before removing empty folders.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 (defvar vm-flush-interval t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 "*Non-nil value specifies how often VM flushes its cached internal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 data. A numeric value gives the number of seconds between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 flushes. A value of t means flush every time there is a change.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 Nil means don't do flushing until a message or folder is saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 Normally when a message attribute is changed. VM keeps the record
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 of the change in its internal memory and doesn't insert the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 changed data into the folder buffer until a particular message or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 the whole folder is saved to disk. This makes normal Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 auto-saving useless for VM folder buffers because the information
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 you'd want to auto-save, i.e. the attribute changes, isn't in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 the buffer when it is auto-saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 Setting vm-flush-interval to a numeric value will cause the VM's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 internal memory caches to be periodically flushed to the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 buffer. This is done non-obtrusively, so that if you type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 something while flushing is occurring, the flush will abort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 cleanly and Emacs will respond to your keystrokes as usual.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 (defvar vm-visit-when-saving 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 "*Value determines whether VM will visit folders when saving messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 `Visiting' means that VM will read the folder into Emacs and append the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 message to the buffer instead of appending to the folder file directly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 This behavior is ideal when folders are encrypted or compressed since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 appending plaintext directly to such folders is a ghastly mistake.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 A value of t means VM will always visit folders when saving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 A nil value means VM will never visit folders before saving to them, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 VM will generate an error if you attempt to save messages to a folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 that is being visited. The latter restriction is necessary to insure
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 that the buffer and disk copies of the folder being visited remain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 consistent.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 A value that is not nil and not t means VM will save to a folder's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 buffer if that folder is being visited, otherwise VM saves to the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 file itself.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 (defvar vm-auto-folder-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 "*Non-nil value should be an alist that VM will use to choose a default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 folder name when messages are saved. The alist should be of the form
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 \((HEADER-NAME-REGEXP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 (REGEXP . FOLDER-NAME) ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 ...))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 where HEADER-NAME-REGEXP and REGEXP are strings, and FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 is a string or an s-expression that evaluates to a string.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 If any part of the contents of the message header whose name is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 matched by HEADER-NAME-REGEXP is matched by the regular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 expression REGEXP, VM will evaluate the corresponding FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 and use the result as the default when prompting for a folder to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 save the message in. If the resulting folder name is a relative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 pathname, then it will be rooted in the directory named by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 vm-folder-directory, or the default-directory of the currently
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 visited folder if vm-folder-directory is nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 When FOLDER-NAME is evaluated, the current buffer will contain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 only the contents of the header matched by HEADER-NAME-REGEXP.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 It is safe to modify this buffer. You can use the match data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 from any \\( ... \\) grouping constructs in REGEXP along with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 function buffer-substring to build a folder name based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 header information. If the result of evaluating FOLDER-NAME is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 list, then the list will be treated as another auto-folder-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 and will be descended recursively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 Whether REGEXP is matched case sensitively depends on the value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 of the variable vm-auto-folder-case-fold-search. Header names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 are always matched case insensitively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 (defvar vm-auto-folder-case-fold-search nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 "*Non-nil value means VM will ignore case when matching header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 contents while doing automatic folder selection via the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 vm-auto-folder-alist.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 (defvar vm-virtual-folder-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 "*Non-nil value should be a list of virtual folder definitions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 A virtual folder is a mapping of messages from one or more real folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 into what appears to be a single folder. A virtual folder definition
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 specifies which real folders should be searched for prospective messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 and what the inclusion criteria are.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 Each virtual folder definition should have the following form:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 (VIRTUAL-FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 ( (FOLDER-NAME ...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 (SELECTOR [ARG ...]) ... )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 ... )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 VIRTUAL-FOLDER-NAME is the name of the virtual folder being defined.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 This is the name by which you and VM will refer to this folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 FOLDER-NAME should be the name of a real folder. There may be more than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 one FOLDER-NAME listed, the SELECTORs within that sublist will apply to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 them all. If FOLDER-NAME is a directory, VM will assume this to mean that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 all the folders in that directory should be searched.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 The SELECTOR is a Lisp symbol that tells VM how to decide whether a message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 from one of the folders specified by the FOLDER-NAMEs should be included
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 in the virtual folder. Some SELECTORs require an argument ARG; unless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 otherwise noted ARG may be omitted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 The recognized SELECTORs are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 author - matches message if ARG matches the author; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 and - matches the message if all its argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 selectors match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 (and (author \"Derek McGinty\") (new))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 matches all new messages from Derek McGinty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 `and' takes any number of arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 any - matches any message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 deleted - matches message if it is flagged for deletion.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 edited - matches message if it has been edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 filed - matched message if it has been saved with its headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 forwarded - matches message if it has been forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 header - matches message if ARG matches any part of the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 portion of the message; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 label - matches message if message has a label named ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 less-chars-than - matches message if message has less than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 characters. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 less-lines-than - matches message if message has less than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 lines. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 more-chars-than - matches message if message has more than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 characters. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 more-lines-than - matches message if message has more than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 lines. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 marked - matches message if it is marked, as with vm-mark-message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 new - matches message if it is new.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 not - matches message only if its selector argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 does NOT match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 (not (deleted))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 matches messages that are not deleted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 or - matches the message if any of its argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 selectors match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 (or (author \"Dave Weckl\") (subject \"drum\"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 matches messages from Dave Weckl or messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 with the word \"drum\" in their Subject header.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 `or' takes any number of arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 read - matches message if it is neither new nor unread.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 recipient - matches message if ARG matches any part of the recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 list of the message. ARG should be a regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 replied - matches message if it has been replied to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 sent-after - matches message if it was sent after the date ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 A fully specified date looks like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 \"31 Dec 1999 23:59:59 GMT\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 although the parts can appear in any order.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 You can leave out any part and it will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 default to the current date's value for that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 part, with the exception of the hh:mm:ss
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 part which defaults to midnight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 sent-before - matches message if it was sent before the date ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 A fully specified date looks like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 \"31 Dec 1999 23:59:59 GMT\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 although the parts can appear in any order.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 You can leave out any part and it will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 default to the current date's value for that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 part, with the exception of the hh:mm:ss
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 part which defaults to midnight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 subject - matches message if ARG matches any part of the message's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 subject; ARG should be a regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 text - matches message if ARG matches any part of the text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 portion of the message; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 unread - matches message if it is old but unread.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 written - matches message if it has been saved without its headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 (defvar vm-virtual-mirror t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 "*Non-nil value causes the attributes of messages in virtual folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 to mirror the changes in the attributes of the underlying real messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 Similarly, changes in the attributes of virtual messages will change the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 attributes of the underlying real messages. A nil value causes virtual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 messages to have their own distinct set of attributes, apart from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 underlying real message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 vm-toggle-virtual-mirror, normally bound to `V M'.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 (make-variable-buffer-local 'vm-virtual-mirror)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 (defvar vm-folder-read-only nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 "*Non-nil value causes a folder to be considered unmodifiable by VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 Commands that modify message attributes or messages themselves are disallowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 Commands that add or delete messages from the folder are disallowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 Commands that scan or allow the reading of messages are allowed but the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 `new' and `unread' message flags are not changed by them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 vm-toggle-read-only, normally bound to C-x C-q.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 (make-variable-buffer-local 'vm-folder-read-only)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 (defvar vm-included-text-prefix " > "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 "*String used to prefix included text in replies.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 (defvar vm-keep-sent-messages 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 "*Non-nil value N causes VM to keep the last N messages sent from within VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 `Keep' means that VM will not kill the VM mail buffer after you send a message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 with C-c C-c (vm-mail-send-and-exit). A value of 0 or nil causes VM never
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 to keep such buffers. A value of t causes VM never to kill such buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 Note that these buffers will vanish once you exit Emacs. To keep a permanent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 record of your outgoing mail, use the mail-archive-file-name variable.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 (defvar vm-confirm-mail-send nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 "*Non-nil means ask before sending a mail message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 This affects vm-mail-send and vm-mail-send-and-exit in Mail mode.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 (defvar vm-mail-header-from nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 "*Non-nil value should be a string that will be appear as the body
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 of the From header in outbound mail messages. A nil value means don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 insert a From header. This variable also controls the inclusion and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 format of the Resent-From header, when resending a message with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 vm-resend-message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 (defvar vm-reply-subject-prefix nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 "*Non-nil value should be a string that VM should add to the beginning
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 of the Subject header in replies, if the string is not already present.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 Nil means don't prefix the Subject header.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 (defvar vm-reply-ignored-addresses nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 "*Non-nil value should be a list of regular expressions that match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 addresses that VM should automatically remove from the recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 headers of replies. These addresses are removed from the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 before you are placed in the message composition buffer. So if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 you see an address in the header you don't want you should remove
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 it yourself.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 Case is ignored when matching the addresses.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 (defvar vm-reply-ignored-reply-tos nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 "*Non-nil value should be a list of regular expressions that match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 addresses that, if VM finds in a message's Reply-To header, VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 should ignore the Reply-To header and not use it for replies. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 will use the From header instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 Case is ignored when matching the addresses.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 This variable exists solely to provide a escape chute from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 mailing lists that add a Reply-To: mailing list header, thereby
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 leaving no way to reply to just the author of a message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 (defvar vm-in-reply-to-format "%i"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 "*String which specifies the format of the contents of the In-Reply-To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 header that is generated for replies. See the documentation for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 variable vm-summary-format for information on what this string may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 contain. The format should *not* end with a newline.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 Nil means don't put an In-Reply-To header in replies.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 (defvar vm-included-text-attribution-format "%F writes:\n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 "*String which specifies the format of the attribution that precedes the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 included text from a message in a reply. See the documentation for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 variable vm-summary-format for information on what this string may contain.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 Nil means don't attribute included text in replies.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 (defvar vm-included-text-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 "*List of headers that should be retained in a message included in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 a reply. These should be listed in the order you wish them to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 appear in the included text. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 If the value of vm-included-text-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 the headers matched by vm-included-text-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 headers that will be retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 If vm-included-text-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 headers matched by that variable will be omitted; all others will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 be included. vm-included-text-headers determines the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 order in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 vm-included-text-headers list appearing last in the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 section of the included text.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 (defvar vm-included-text-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 what headers should not be retained in a message included in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 reply. This variable along with vm-included-text-headers determines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 which headers are retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 If the value of vm-included-text-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 the headers matched by vm-included-text-headers are the only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 that will be retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 If vm-included-text-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 headers matched by this variable will not be retained; all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 others will be included. vm-included-text-headers determines the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 header order in that case, with headers not matching any in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 the vm-included-text-headers list appearing last in the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 section of the included text.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 (defvar vm-forwarding-subject-format "forwarded message from %F"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 "*String which specifies the format of the contents of the Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 header that is generated for a forwarded message. See the documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 for the variable vm-summary-format for information on what this string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 may contain. The format should *not* end with nor contain a newline.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 Nil means leave the Subject header empty when forwarding.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 (defvar vm-forwarded-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 "*List of headers that should be forwarded by vm-forward-message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 These should be listed in the order you wish them to appear in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 the forwarded message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 If the value of vm-unforwarded-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 matched by vm-forwarded-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 If vm-unforwarded-header-regexp is non-nil, then only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 matched by that variable will be omitted; all others will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 forwarded. vm-forwarded-headers determines the forwarding order
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 vm-forwarded-headers list appearing last in the header section of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 (defvar vm-unforwarded-header-regexp "only-drop-this-header"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 what headers should not be forwarded by vm-forward-message. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 variable along with vm-forwarded-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 are forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 If the value of vm-unforwarded-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 matched by vm-forwarded-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 If vm-unforwarded-header-regexp is non-nil, then only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 matched by this variable will not be forwarded; all others will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 be forwarded. vm-forwarded-headers determines the forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 order in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 vm-forwarded-headers list appearing last in the header section of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 (defvar vm-forwarding-digest-type "rfc934"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 "*Non-nil value should be a string that specifies the type of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 message encapsulation format to use when forwarding a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 Legal values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 \"rfc1153\"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
765 \"rfc1521\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 A nil value means don't use a digest, just mark the beginning and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 end of the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 (defvar vm-digest-preamble-format "\"%s\" (%F)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 "*String which specifies the format of the preamble lines generated by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 vm-send-digest when it is invoked with a prefix argument. One
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 line will be generated for each message put into the digest. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 documentation for the variable vm-summary-format for information
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 on what this string may contain. The format should *not* end
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 with nor contain a newline.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 (defvar vm-digest-center-preamble t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 "*Non-nil value means VM will center the preamble lines that precede
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 the start of a digest. How the lines will be centered depends on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 ambient value of fill-column. A nil value suppresses centering.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 (defvar vm-digest-identifier-header-format "X-Digest: %s\n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 "*Header to insert into messages burst from a digest.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 Value should be a format string of the same type as vm-summary-format that describes a header to be inserted into each message burst from a digest. The format string must end with a newline.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 (defvar vm-digest-burst-type "rfc934"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 "*Value specifies the default digest type offered by vm-burst-digest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 when it asks you what type of digest you want to unpack. Allowed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 \"rfc1153\"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
795 \"rfc1521\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 \"guess\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 If the value is \"guess\", and you take the default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 response when vm-burst-digest queries you, VM will try to guess
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 the digest type.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
802 (defvar vm-digest-send-type "rfc1521"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 "*String that specifies the type of digest vm-send-digest will use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 Legal values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 \"rfc1153\"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
808 \"rfc1521\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 (defvar vm-rfc934-digest-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 "Date:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 "Message-ID:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 "Keywords:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 "*List of headers that should be appear in RFC 934 digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 created by VM. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 to appear in the digest. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 If the value of vm-rfc934-digest-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 matched by vm-rfc934-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 If vm-rfc934-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 will be kept. vm-rfc934-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 vm-rfc934-digest-headers list appearing last in the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 of the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 (defvar vm-rfc934-digest-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 what headers should not appear in RFC 934 digests created by VM. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 variable along with vm-rfc934-digest-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 are kept and which are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 If the value of vm-rfc934-digest-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 matched by vm-rfc934-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 If vm-rfc934-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 will be kept. vm-rfc934-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 vm-rfc934-digest-headers list appearing last in the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 of the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 (defvar vm-rfc1153-digest-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 "Date:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 "Message-ID:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 "Keywords:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 "*List of headers that should be appear in RFC 1153 digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 created by VM. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 to appear in the digest. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 If the value of vm-rfc1153-digest-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875 matched by vm-rfc1153-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 If vm-rfc1153-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 will be kept. vm-rfc1153-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 vm-rfc1153-digest-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 (defvar vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 what headers should not appear in RFC 1153 digests created by VM. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 variable along with vm-rfc1153-digest-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 If the value of vm-rfc1153-digest-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 matched by vm-rfc1153-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 If vm-rfc1153-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 will be kept. vm-rfc1153-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 vm-rfc1153-digest-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
902 (defvar vm-rfc1521-digest-headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
903 '()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
904 "*List of headers that should be appear in RFC 1521 digests
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
905 created by VM. These should be listed in the order you wish them
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
906 to appear in the digest. Regular expressions are allowed.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
907 There is no need to anchor patterns with \"^\", as searches always
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
908 start at the beginning of a line. Put a colon at the end of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
909 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
910 and \"Date-Sent\".) Header names are always matched case
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
911 insensitively.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
912
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
913 If the value of vm-rfc1521-digest-discard-header-regexp is nil, the headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
914 matched by vm-rfc1521-digest-headers are the only headers that will be
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
915 kept.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
916
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
917 If vm-rfc1521-digest-discard-header-regexp is non-nil, then only
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
918 headers matched by that variable will be discarded; all others
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
919 will be kept. vm-rfc1521-digest-headers determines the order of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
920 appearance in that case, with headers not matching any in the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
921 vm-rfc1521-digest-headers list appearing last in the headers of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
922 the digestified messages.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
923
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
924
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
925 (defvar vm-rfc1521-digest-discard-header-regexp "\\(X400-\\)?Received:"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
926 "*Non-nil value should be a regular expression header that tells
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
927 what headers should not appear in RFC 1521 digests created by VM. This
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
928 variable along with vm-rfc1521-digest-headers determines which headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
929 are kept and which headers are discarded.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
930
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
931 If the value of vm-rfc1521-digest-discard-header-regexp is nil, the headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
932 matched by vm-rfc1521-digest-headers are the only headers that will be
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
933 kept.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
934
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
935 If vm-rfc1521-digest-discard-header-regexp is non-nil, then only
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
936 headers matched by this variable will be discarded; all others
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
937 will be kept. vm-rfc1521-digest-headers determines the order of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
938 appearance in that case, with headers not matching any in the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
939 vm-1521-digest-headers list appearing last in the headers of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
940 the digestified messages.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
941
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
942
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
943
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 (defvar vm-resend-bounced-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 "From:" "Sender:" "Reply-To:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 "Newsgroups:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 "In-Reply-To:" "References:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 "Keywords:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 "X-")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 "*List of headers that should be appear in messages resent with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 vm-resend-bounced-message. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 to appear in the message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 If the value of vm-resend-bounced-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 matched by vm-resend-bounced-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 If vm-resend-bounced-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 will be kept. vm-resend-bounced-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970 vm-resend-bounced-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973 (defvar vm-resend-bounced-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 "*Non-nil value should be a regular expression that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 what headers should not appear in a resent bounced message. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 variable along with vm-resend-bounced-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977 are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 If the value of vm-resend-bounced-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980 the headers matched by vm-resend-bounced-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981 headers that will be kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
982
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 If vm-resend-bounced-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 will be kept. vm-resend-bounced-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 vm-resend-bounced-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990 (defvar vm-resend-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 "*List of headers that should be appear in messages resent with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 vm-resend-message. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 to appear in the message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 start at the beginning of a line. Put a colon at the end of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000 If the value of vm-resend-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 matched by vm-resend-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004 If vm-resend-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006 will be kept. vm-resend-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 vm-resend-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 (defvar vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 "*Non-nil value should be a regular expression that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 what headers should not appear in a resent message. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014 variable along with vm-resend-bounced-headers determines which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 headers are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017 If the value of vm-resend-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 the headers matched by vm-resend-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 headers that will be kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 If vm-resend-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 will be kept. vm-resend-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 vm-resend-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028 (defvar vm-summary-format "%n %*%a %-17.17F %-3.3m %2d %4l/%-5c %I\"%s\"\n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 "*String which specifies the message summary line format.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 The string may contain the printf-like `%' conversion specifiers which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 substitute information about the message into the final summary line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033 Recognized specifiers are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1034 a - attribute indicators (always four characters wide)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035 The first char is `D', `N', `U' or ` ' for deleted, new, unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036 and read messages respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 The second char is `F', `W' or ` ' for filed (saved) or written
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038 messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039 The third char is `R', `Z' or ` ' for messages replied to,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 and forwarded messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1041 The fourth char is `E' if the message has been edited, ` ' otherwise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1042 A - longer version of attributes indicators (seven characters wide)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1043 The first char is `D', `N', `U' or ` ' for deleted, new, unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1044 and read messages respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045 The second is `r' or ` ', for message replied to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046 The third is `z' or ` ', for messages forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047 The fourth is `b' or ` ', for messages redistributed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 The fifth is `f' or ` ', for messages filed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049 The sixth is `w' or ` ', for messages written.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 The seventh is `e' or ` ', for messages that have been edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 c - number of characters in message (ignoring headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 d - numeric day of month message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053 f - author's address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 F - author's full name (same as f if full name not found)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055 h - hour:min:sec message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 H - hour:min message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 i - message ID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1058 I - thread indentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1059 l - number of lines in message (ignoring headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1060 L - labels (as a comma list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1061 m - month message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1062 M - numeric month message sent (January = 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1063 n - message number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1064 s - message subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065 t - addresses of the recipients of the message, in a comma-separated list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 T - full names of the recipients of the message, in a comma-separated list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 If a full name cannot be found, the corresponding address is used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 U - user defined specifier. The next character in the format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1070 string should be a letter. VM will call the function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1071 vm-summary-function-<letter> (e.g. vm-summary-function-A for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1072 \"%UA\") in the folder buffer with the message being summarized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073 bracketed by (point-min) and (point-max). The function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 will be passed a message struct as an argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 The function should return a string, which VM will insert into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 the summary as it would for information from any other summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077 specifier.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 w - day of the week message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1079 y - year message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1080 z - timezone of date when the message was sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1081 * - `*' if the message is marked, ` ' otherwise
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1082
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083 Use %% to get a single %.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1085 A numeric field width may be given between the `%' and the specifier;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086 this causes right justification of the substituted string. A negative field
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 width causes left justification.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089 The field width may be followed by a `.' and a number specifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 the maximum allowed length of the substituted string. If the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 string is longer than this value the right end of the string is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092 truncated. If the value is negative, the string is truncated on
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
1093 the left instead of the right.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1094
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1095 The summary format need not be one line per message but it must end with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 a newline, otherwise the message pointer will not be displayed correctly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 in the summary window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1098
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099 (defvar vm-summary-arrow "->"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 "*String that is displayed to the left of the summary of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 message VM consider to be the current message. The value takes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 effect when the summary buffer is created. Changing this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 variable's value has no effect on existing summary buffers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105 (defvar vm-summary-highlight-face 'bold
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 "*Face to use to highlight the summary entry for the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107 Nil means don't highlight the current message's summary entry.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109 (defvar vm-summary-show-threads nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 "*Non-nil value means VM should display and maintain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 message thread trees in the summary buffer. This means that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112 messages with a common ancestor will be displayed contiguously in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 the summary. (If you have vm-move-messages-physically set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 non-nil the folder itself will be reordered to match the thread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115 ordering.) If you use the `%I' summary format specifier in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 vm-summary-format, indentation will be provided as described in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 documentation for vm-summary-thread-indent-level (which see).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119 A nil value means don't display thread information. The `%I'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 specifier does nothing in the summary format.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 vm-toggle-threads-display, normally bound to C-t.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 (make-variable-buffer-local 'vm-summary-show-threads)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129 (defvar vm-summary-thread-indent-level 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 "*Value should be a number that specifies how much
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 indentation the '%I' summary format specifier should provide per
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 thread level. A message's `thread level' refers to the number of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133 direct ancestors from the message to the oldest ancestor the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 message has that is in the current folder. For example, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 first message of a thread is generally a message about a new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 topic, e.g. a message that is not a reply to some other message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 Therefore it has no ancestor and would cause %I to generate no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 indentation. A reply to this message will be indented by the value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 of vm-summary-thread-indent-level. A reply to that reply will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140 indented twice the value of vm-summary-thread-indent-level.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 (defvar vm-thread-using-subject t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 "*Non-nil value causes VM to use the Subject header to thread messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 Messages with the same subject will be grouped together.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 A nil value means VM will disregard the Subject header when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147 threading messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 (defvar vm-summary-uninteresting-senders nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1150 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1151 addresses that you don't consider interesting enough to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1152 appear in the summary. When such senders would be displayed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1153 the %F or %f summary format specifiers VM will substitute the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 value of vm-summary-uninteresting-senders-arrow (default \"To:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1155 \") followed by what would be shown by the %T and %t specifiers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1156 respectively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 (defvar vm-summary-uninteresting-senders-arrow "To: "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 "*String to display before the string that is displayed instead of an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160 \"uninteresting\" sender. See vm-summary-uninteresting-senders.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162 (defvar vm-auto-center-summary nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 "*Value controls whether VM will keep the summary arrow vertically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164 centered within the summary window. A value of t causes VM to always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165 keep arrow centered. A value of nil means VM will never bother centering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166 the arrow. A value that is not nil and not t causes VM to center the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 arrow only if the summary window is not the only existing window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 (defvar vm-summary-subject-no-newlines t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170 "*Non-nil value means VM should replace newlines with spaces in the subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 displayed in the summary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1173 (defvar vm-subject-ignored-prefix "^\\(re: *\\)+"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1174 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1175 strings at the beginning of the Subject header that you want VM to ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176 when threading, sorting, marking, and killing messages by subject.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 Matches are done case-insensitively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180 (defvar vm-subject-ignored-suffix "\\( (fwd)\\| \\)+$"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1182 strings at the end of the Subject header that you want VM to ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 when threading, sorting, marking and killing messages by subject.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185 Matches are done case-insensitively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187 (defvar vm-mutable-windows pop-up-windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1188 "*This variable's value controls VM's window usage.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1190 A non-nil value gives VM free run of the Emacs display; it will commandeer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191 the entire screen for its purposes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1193 A value of nil restricts VM's window usage to the window from which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194 it was invoked. VM will not create, delete, or use any other windows,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1195 nor will it resize its own window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1197 (defvar vm-mutable-frames nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1198 "*Non-nil value means VM is allowed to create and destroy frames
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1199 to display and undisplay buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201 VM can create a frame to display a buffer, and delete frame to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202 undisplay a buffer. A nil value means VM should not create or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203 delete frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205 This variable is _not_ an analogue of vm-mutable-windows. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1206 still might create frames if this variable is nil. If you set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207 the vm-frame-per-* variables VM will still create frames. Using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 the vm-frame-per-* variables you have more control over when it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209 happens.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211 Users should consider setting vm-frame-per-folder and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1212 vm-frame-per-composition and/or using the -other-frame commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 instead of setting this variable. If vm-mutable-frames is set to t,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 then vm-mutable-windows should probably be set to nil so that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215 avoid splitting frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1217 This variable does not apply to the VM commands whose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1218 names end in -other-frame, which always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1220 This variable has no meaning if you're not running Emacs native
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1221 under X Windows or some other window system that allows multiple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1222 Emacs frames.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1224 (defvar vm-frame-per-folder t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1225 "*Non-nil value causes the folder visiting commands to visit in a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1226 Nil means the commands will use the current frame. This variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227 does not apply to the VM commands whose names end in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228 -other-frame, which always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230 This variable has no meaning if you're not running Emacs native
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231 under X Windows or some other window system that allows multiple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 Emacs frames.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1234 (defvar vm-frame-per-summary nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1235 "*Non-nil value causes VM to display the folder summary in its own frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1236 Nil means the vm-summarize command will use the current frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1237 This variable does not apply to vm-summarize-other-frame, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1238 always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1240 This variable has no meaning if you're not running Emacs native
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1241 under X Windows or some other window system that allows multiple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1242 Emacs frames.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1244 (defvar vm-frame-per-composition t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1245 "*Non-nil value causes the mail composition commands to open a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1246 Nil means the commands will use the current frame. This variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1247 does not apply to the VM commands whose names end in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1248 -other-frame, which always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250 This variable has no meaning if you're not running Emacs native
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1251 under X Windows or some other window system that allows multiple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1252 Emacs frames.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1254 (defvar vm-frame-per-edit t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1255 "*Non-nil value causes vm-edit-message to open a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1256 Nil means the vm-edit-message will use the current frame. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1257 variable does not apply to vm-edit-message-other-frame, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258 always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1260 This variable has no meaning if you're not running Emacs native
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1261 under X Windows or some other window system that allows multiple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1262 Emacs frames.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1264 ;; #### Chuck, I know you don't like external package mods but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1265 ;; this one is an absolute travesty, and VM has a simply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 ;; abominable time between releases. If you don't at least give
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 ;; the VM frames a special name, it makes it impossible for lots
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1268 ;; of other things to work sensibly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1269 (defvar vm-frame-parameter-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1270 (if (string-match "XEmacs" emacs-version)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1271 '((folder ((name . "VM")))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1272 "*Non-nil value is an alist of types and lists of frame parameters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1273 This list tells VM what frame parameters to associate with each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1274 new frame it creates of a specific type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1275
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1276 The alist should be of this form
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1278 ((SYMBOL PARAMLIST) (SYMBOL2 PARAMLIST2) ...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1279
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1280 SYMBOL must be one of `composition', `edit', `folder' or `summary'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1281 It specifies the type of frame that the following PARAMLIST applies to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1283 `composition' specifies parameters for mail composition frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1284 `edit' specifies parameters for message edit frames
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1285 (e.g. created by vm-edit-message-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1286 `folder' specifies parameters for frames created by `vm' and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1287 `vm-visit-' commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1288 `primary-folder' specifies parameters for the frame created by running
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1289 `vm' without any arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1290 `summary' specifies parameters for frames to display a summary buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1291 (e.g. created by vm-summarize-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1293 PARAMLIST is a list of pairs as described in the documentation for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1294 the function `make-frame'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1295
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1296 This variable has no effect on frames created as a result of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1297 having vm-mutable-frames set to non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1298
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1299 (defvar vm-search-other-frames t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1300 "*Non-nil means VM should search frames other than the selected frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1301 when looking for a window that is already displaying a buffer that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1302 VM wants to display or undisplay.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1304 (defvar vm-use-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1305 '(next previous delete/undelete autofile file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1306 reply compose print visit quit nil help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1307 "*Non-nil value causes VM to provide a toolbar interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1308 Value should be a list of symbols that will determine which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1309 toolbar buttons will appears and in what order. Valid symbol
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1310 value within the list are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1311
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1312 autofile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1313 compose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1314 delete/undelete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1315 file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1316 help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1317 next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1318 previous
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1319 print
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1320 quit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1321 reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1322 visit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1323 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1325 If nil appears in the list, it should appear exactly once. All
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1326 buttons after nil in the list will be displayed flushright in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1327 top/bottom toolbars and flush bottom in left/right toolbars.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1328
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1329 This variable only has meaning under XEmacs 19.12 and beyond.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1330 See also vm-toolbar-orientation to control where the toolbar is placed.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1332 (defvar vm-toolbar-orientation 'left
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1333 "*Value is a symbol that specifies where the VM toolbar is located.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1334 Legal values are `left', `right' `top' and `bottom'. Any other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1335 value will be interpreted as `top'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1337 This variable only has meaning under XEmacs 19.12 and beyond.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1338
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1339 (defvar vm-toolbar-pixmap-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1340 (expand-file-name (concat data-directory "vm/"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1341 "*Value specifies the directory VM should find its toolbar pixmaps.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1343 (defvar vm-use-menus '(folder motion send mark label sort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1344 virtual undo dispose emacs nil help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1345 "*Non-nil value causes VM to provide a menu interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1346 A value that is a list causes VM to install its own menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1347 A value of 1 causes VM to install a \"VM\" item in the Emacs menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1348
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1349 If the value of vm-use-menus is a list, it should be a list of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1350 symbols. The symbols and the order that they are listed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1351 determine what menus will be in the menubar and how they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1352 ordered. Valid symbols values are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1353
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1354 dispose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1355 emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1356 folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1357 help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1358 label
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1359 mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1360 motion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1361 send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1362 sort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1363 undo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1364 virtual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1365 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1367 If nil appears in the list, it should appear exactly once. All
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1368 menus after nil in the list will be displayed flushright in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1369 menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1371 This variable only has meaning in Emacs environments where menus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1372 are provided, which usually means Emacs has to be running under a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1373 window system.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1375 (defvar vm-warp-mouse-to-new-frame nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1376 "*Non-nil value causes VM to move the mouse cursor into newly created frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1377 This is useful to give the new frame the focus under some window managers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1378 that randomly place newly created frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1380 Nil means don't move the mouse cursor.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1382 ;; if browse-url is around (always will be in XEmacs 19.14) use it;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1383 ;; otherwise do our own support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1384 (if (boundp 'browse-url-browser-function)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1385 (defvaralias 'vm-url-browser 'browse-url-browser-function)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1386 (defvar vm-url-browser
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1387 (cond ((fboundp 'w3-fetch-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1388 'w3-fetch-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1389 ((fboundp 'w3-fetch)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1390 'w3-fetch)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1391 (t 'vm-mouse-send-url-to-netscape))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1392 "*Non-nil value means VM should enable URL passing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1393 This means that VM will search for URLs (Universal Resource
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1394 Locators) in messages and make it possible for you to pass them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1395 to a World Wide Web browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1396
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1397 Clicking mouse-2 on the URL will send it to the browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1399 Clicking mouse-3 on the URL will pop up a menu of browsers and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1400 you can pick which one you want to use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1401
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1402 Moving point to a character within the URL and pressing RETURN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1403 will send the URL to the browser (Only in XEmacs).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1404
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1405 If the value of vm-url-browser is a string, it should specify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1406 name of an external browser to run. The URL will be passed to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1407 the program as its first argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1409 If the value of vm-url-browser is a symbol, if should specifiy a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1410 Lisp function to call. The URL will be passed to the program as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1411 its first and only argument. Use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1412
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1413 (setq vm-url-browser 'vm-mouse-send-url-to-netscape)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1414
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1415 for Netscape, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1416
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1417 (setq vm-url-browser 'vm-mouse-send-url-to-mosaic)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1419 for Mosaic. The advantage of using them is that they will display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1420 an URL using on existing Mosaic or Netscape process, if possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1421
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1422 A nil value means VM should not enable URL passing to browsers."))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1423
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1424 (defvar vm-highlight-url-face 'bold-italic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1425 "*Non-nil value should be a face to use display URLs found in messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1426 Nil means don't highlight URLs.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1427
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1428 (defvar vm-url-search-limit 12000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1429 "*Non-nil numeric value tells VM how hard to search for URLs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1430 The number specifies the maximum message size in characters that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1431 VM will search for URLs. For message larger than this value, VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1432 will search from the beginning of the mssage to a point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1433 vm-url-search-limit / 2 characters into the message. Then VM will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1434 search from a point vm-url-search-limit / 2 characters from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1435 end of the message to the end of message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1437 (defvar vm-display-xfaces nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1438 "*Non-nil means display images as specifies in X-Face headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1439 This requires at least XEmacs 19.12 with native xface support compiled in.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1440
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1441 (defvar vm-startup-with-summary t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1442 "*Value tells VM whether to generate a summary when a folder is visited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1443 Nil means don't automatically generate a summary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1444
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1445 A value of t means always generate a summary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1446
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1447 A positive numeric value N means only generate a summary if there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1448 are N or more messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1450 A negative numeric value -N means only generate a summary if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1451 there are N or less messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1452
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1453 (defvar vm-follow-summary-cursor t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1454 "*Non-nil value causes VM to select the message under the cursor in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1455 summary window before executing commands that operate on the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1456 This occurs only when the summary buffer window is the selected window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1458 (defvar vm-jump-to-new-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1459 "*Non-nil value causes VM to jump to the first new message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1460 whenever such messages arrive in a folder or the first time a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1461 folder is visited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1462
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1463 See also vm-jump-to-unread-messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1465 (defvar vm-jump-to-unread-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1466 "*Non-nil value causes VM to jump to the first unread message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1467 whenever such messages arrive in a folder or the first time a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1468 folder is visited. New messages are considered unread in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1469 context so new messages will be jumped to as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1471 The value of vm-jump-to-new-messages takes precedence over the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1472 setting of this variable. So if there are unread messages and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1473 new messages VM will jump to the first new message, even if an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1474 unread message appears before it in the folder, provided
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1475 vm-jump-to-new-messages is non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1477 (defvar vm-skip-deleted-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1478 "*Non-nil value causes VM's `n' and 'p' commands to skip over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1479 deleted messages. A value of t causes deleted messages to always be skipped.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1480 A value that is not nil and not t causes deleted messages to be skipped only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1481 if there are other messages that are not flagged for deletion in the desired
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1482 direction of motion.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1483
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1484 (defvar vm-skip-read-messages nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1485 "*Non-nil value causes VM's `n' and `p' commands to skip over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1486 messages that have already been read, in favor of new or unread messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1487 A value of t causes read messages to always be skipped. A value that is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1488 not nil and not t causes read messages to be skipped only if there are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1489 unread messages in the desired direction of motion.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1490
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1491 (defvar vm-move-after-deleting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1492 "*Non-nil value causes VM's `d' command to automatically invoke
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1493 vm-next-message or vm-previous-message after deleting, to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1494 past the deleted messages. A value of t means motion should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1495 honor the value of vm-circular-folders. A value that is not t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1496 and not nil means that motion should be done as if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1497 vm-circular-folders is set to nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1499 (defvar vm-move-after-undeleting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1500 "*Non-nil value causes VM's `u' command to automatically invoke
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1501 vm-next-message or vm-previous-message after undeleting, to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1502 past the undeleted messages. A value of t means motion should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1503 honor the value of vm-circular-folders. A value that is not t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1504 and not nil means that motion should be done as if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1505 vm-circular-folders is set to nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1506
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1507 (defvar vm-delete-after-saving nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1508 "*Non-nil value causes VM automatically to mark messages for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1509 after successfully saving them to a folder.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1510
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1511 (defvar vm-delete-after-archiving nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1512 "*Non-nil value causes VM automatically to mark messages for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1513 after successfully auto-archiving them with the vm-auto-archive-messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1514 command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1516 (defvar vm-delete-after-bursting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1517 "*Non-nil value causes VM automatically to mark a message for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1518 after it has been successfully burst by the vm-burst-digest command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1520 (defvar vm-circular-folders 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1521 "*Value determines whether VM folders will be considered circular by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1522 various commands. `Circular' means VM will wrap from the end of the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1523 to the start and vice versa when moving the message pointer, or deleting,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1524 undeleting or saving messages before or after the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1526 A value of t causes all VM commands to consider folders circular.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1527
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1528 A value of nil causes all of VM commands to signal an error if the start
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1529 or end of the folder would have to be passed to complete the command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1530 For movement commands, this occurs after the message pointer has been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1531 moved as far as possible in the specified direction. For other commands,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1532 the error occurs before any part of the command has been executed, i.e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1533 no deletions, saves, etc. will be done unless they can be done in their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1534 entirety.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1535
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1536 A value that is not nil and not t causes only VM's movement commands to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1537 consider folders circular. Saves, deletes and undelete commands will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1538 behave the same as if the value is nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1539
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1540 (defvar vm-search-using-regexps nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1541 "*Non-nil value causes VM's search command to interpret user input as a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1542 regular expression instead of as a literal string.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1543
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1544 (defvar vm-move-messages-physically nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1545 "*Non-nil value causes VM's commands that change the message order
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1546 of a folder to always move the physical messages involved and not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1547 just change the presentation order. Nil means that commands just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1548 change the order in which VM displays messages and leave the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1549 folder itself undisturbed.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1551 (defvar vm-edit-message-mode 'text-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1552 "*Major mode to use when editing messages in VM.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1553
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1554 (defvar vm-print-command lpr-command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1555 "*Command VM uses to print messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1556
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1557 (defvar vm-print-command-switches lpr-switches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1558 "*Command line flags passed to the command named by vm-print-command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1559 VM uses vm-print-command to print messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1561 (defvar vm-berkeley-mail-compatibility
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1562 (memq system-type '(berkeley-unix netbsd))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1563 "*Non-nil means to read and write BSD Mail(1) style Status: headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1564 This makes sense if you plan to use VM to read mail archives created by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1565 Mail.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1566
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1567 (defvar vm-strip-reply-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1568 "*Non-nil value causes VM to strip away all comments and extraneous text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1569 from the headers generated in reply messages. If you use the \"fakemail\"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
1570 program as distributed with Emacs, you probably want to set this variable
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1571 to t, because as of Emacs v18.52 \"fakemail\" could not handle unstripped
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1572 headers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1574 (defvar vm-inhibit-startup-message nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1575 "*Non-nil causes VM not to display its copyright notice, disclaimers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1576 etc. when started in the usual way.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1577
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1578 (defvar vm-select-new-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1579 "*List of hook functions called every time a message with the 'new'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1580 attribute is made to be the current message. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1581 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1582 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1583 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1584
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1585 (defvar vm-select-unread-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1586 "*List of hook functions called every time a message with the 'unread'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1587 attribute is made to be the current message. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1588 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1589 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1590 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1591
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1592 (defvar vm-select-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1593 "*List of hook functions called every time a message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1594 is made to be the current message. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1595 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1596 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1597 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1598
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1599 (defvar vm-arrived-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1600 "*List of hook functions called once for each message gathered from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1601 the system mail spool, or from another folder with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1602 vm-get-new-mail, or from a digest with vm-burst-digest. When the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1603 hooks are run the current buffer will be the folder containing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1604 the message and the start and end of the message will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1605 bracketed by (point-min) and (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1606
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1607 (defvar vm-arrived-messages-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1608 "*List of hook functions called after VM has gathered a group of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1609 messages from the system mail spool, or from another folder with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1610 vm-get-new-mail, or from a digest with vm-burst-digest. When the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1611 hooks are run, the new messages will have already been added to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1612 the message list but may not yet appear in the summary. When the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1613 hooks are run the current buffer will be the folder containing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1614 the messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1616 (defvar vm-reply-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1617 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1618 composition buffer has been created for a reply. VM runs this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1619 hook and then runs vm-mail-mode-hook before leaving the user in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1620 the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1621
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1622 (defvar vm-forward-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1623 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1624 composition buffer has been created to forward a message. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1625 runs this hook and then runs vm-mail-mode-hook before leaving the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1626 user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1627
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1628 (defvar vm-resend-bounced-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1629 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1630 composition buffer has been created to resend a bounced message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1631 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1632 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1633
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1634 (defvar vm-resend-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1635 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1636 composition buffer has been created to resend a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1637 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1638 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1639
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1640 (defvar vm-send-digest-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1641 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1642 composition buffer has been created to send a digest.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1643 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1644 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1645
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1646 (defvar vm-mail-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1647 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1648 composition buffer has been created to send a non specialized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1649 message, i.e. a message that is not a reply, forward, digest,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1650 etc. VM runs this hook and then runs vm-mail-mode-hook before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1651 leaving the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1652
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1653 (defvar vm-summary-update-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1654 "*List of hook functions called just after VM updates an existing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1655 entry a folder summary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1657 (defvar vm-summary-redo-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1658 "*List of hook functions called just after VM adds or deletes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1659 entries from a folder summary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1660
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1661 (defvar vm-visit-folder-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1662 "*List of hook functions called just after VM visits a folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1663 It doesn't matter if the folder buffer already exists, this hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1664 is run each time vm or vm-visit-folder is called interactively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1665 It is NOT run after vm-mode is called.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1666
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1667 (defvar vm-retrieved-spooled-mail-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1668 "*List of hook functions called just after VM has retrieved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1669 a group of messages from your system mailbox(es). When these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1670 hooks are run, the messages have been added to the folder buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1671 but not the message list or summary. When the hooks are run, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1672 current buffer will be the folder where the messages were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1673 incorporated.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1674
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1675 (defvar vm-edit-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1676 "*List of hook functions to be run just before a message is edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1677 This is the last thing vm-edit-message does before leaving the user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1678 in the edit buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1679
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1680 (defvar vm-mail-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1681 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1682 composition buffer has been created. This is the last thing VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1683 does before leaving the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1684
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1685 (defvar vm-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1686 "*List of hook functions to run when a buffer enters vm-mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1687 These hook functions should generally be used to set key bindings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1688 and local variables.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1690 (defvar vm-mode-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1691 "*Old name for vm-mode-hook.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1692 Supported for backward compatibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1693 You should use the new name.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1694
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1695 (defvar vm-summary-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1696 "*List of hook functions to run when a VM summary buffer is created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1697 The current buffer will be that buffer when the hooks are run.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1698
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1699 (defvar vm-summary-mode-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1700 "*Old name for vm-summary-mode-hook.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1701 Supported for backward compatibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1702 You should use the new name.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1703
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1704 (defvar vm-virtual-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1705 "*List of hook functions to run when a VM virtual folder buffer is created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1706 The current buffer will be that buffer when the hooks are run.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1707
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1708 (defvar vm-quit-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1709 "*List of hook functions to run when you quit VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1710 This applies to any VM quit command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1711
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1712 (defvar vm-summary-pointer-update-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1713 "*List of hook functions to run when VM summary pointer is updated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1714 When the hooks are run, the current buffer will be the summary buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1715
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1716 (defvar vm-display-buffer-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1717 "*List of hook functions that are run every time VM wants to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1718 display a buffer. When the hooks are run the current buffer will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1719 be the buffer that VM wants to display. The hooks are expected
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1720 to select a window and VM will display the buffer in that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1721 window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1722
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1723 If you use display hooks, you should not use VM's builtin window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1724 configuration system as the result is likely to be confusing.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1725
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1726 (defvar vm-undisplay-buffer-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1727 "*List of hook functions that are run every time VM wants to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1728 remove a buffer from the display. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1729 current buffer will be the buffer that VM wants to disappear.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1730 The hooks are expected to do the work of removing the buffer from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1731 the display. The hook functions should not kill the buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1732
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1733 If you use undisplay hooks, you should not use VM's builtin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1734 window configuration system as the result is likely to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1735 confusing.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1737 (defvar vm-iconify-frame-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1738 "*List of hook functions that are run whenever VM iconifies a frame.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1739
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1740 (defvar vm-menu-setup-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1741 "*List of hook function that are run just after all menus are initialized.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1742
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1743 (defvar mail-yank-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1744 "Hooks called after a message is yanked into a mail composition.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1745
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1746 (This hook is deprecated, you should use mail-citation-hook instead.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1747
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1748 Value is a list of functions to be run.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1749 Each hook function can find the newly yanked message between point and mark.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1750 Each hook function should return with point and mark around the yanked message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1751
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1752 See the documentation for vm-yank-message to see when VM will run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1753 these hooks.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1754
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1755 (defvar mail-citation-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1756 "*Hook for modifying a citation just inserted in the mail buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1757 Each hook function can find the citation between (point) and (mark t).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1758 And each hook function should leave point and mark around the citation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1759 text as modified.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1760
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1761 If this hook is entirely empty (nil), a default action is taken
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1762 instead of no action.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1763
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1764 (defvar mail-default-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1765 "*A string containing header lines, to be inserted in outgoing messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1766 It is inserted before you edit the message,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1767 so you can edit or delete these lines.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1768
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1769 (defvar mail-signature nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1770 "*Text inserted at end of mail buffer when a message is initialized.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1771 If t, it means to insert the contents of the file `~/.signature'.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1773 (defvar vm-rename-current-buffer-function nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1774 "*Non-nil value should be a function to call to rename a buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1775 Value should be something that can be passed to `funcall'. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1776 this variable is non-nil, VM will use this function instead of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1777 its own buffer renaming code. The buffer to be renamed will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1778 the current buffer when the function is called.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1779
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1780 (defvar mode-popup-menu nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1781 "The mode-specific popup menu. Automatically buffer local.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1782 By default, when you press mouse-3 in VM, this menu is popped up.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1783 (make-variable-buffer-local 'mode-popup-menu)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1784
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1785 (defvar vm-movemail-program "movemail"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1786 "*Name of program to use to move mail from the system spool
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1787 to another location. Normally this should be the movemail program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1788 distributed with Emacs.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1789
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1790 (defvar vm-netscape-program "netscape"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1791 "*Name of program to use to run Netscape.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1792 vm-mouse-send-url-to-netscape uses this.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1793
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1794 (defvar vm-mosaic-program "Mosaic"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1795 "*Name of program to use to run Mosaic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1796 vm-mouse-send-url-to-mosaic uses this.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1797
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1798 (defvar vm-tale-is-an-idiot nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1799 "*Non-nil value causes vm-mail-send to check multi-line recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1800 headers of outbound mail for lines that don't end with a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1801 comma. If such a line is found, an error is signaled and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1802 mail is not sent.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1803
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1804 (defvar vm-maintainer-address "bug-vm@uunet.uu.net"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1805 "Where to send VM bug reports.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1806
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1807 (defvar vm-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1808 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1809 ;; unneeded now that VM buffers all have buffer-read-only == t.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1810 ;; (suppress-keymap map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1811 (define-key map "h" 'vm-summarize)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1812 (define-key map "\M-n" 'vm-next-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1813 (define-key map "\M-p" 'vm-previous-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1814 (define-key map "n" 'vm-next-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1815 (define-key map "p" 'vm-previous-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1816 (define-key map "N" 'vm-next-message-no-skip)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1817 (define-key map "P" 'vm-previous-message-no-skip)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1818 (define-key map "\C-\M-n" 'vm-move-message-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1819 (define-key map "\C-\M-p" 'vm-move-message-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1820 (define-key map "\t" 'vm-goto-message-last-seen)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1821 (define-key map "\r" 'vm-goto-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1822 (define-key map "^" 'vm-goto-parent-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1823 (define-key map "t" 'vm-expose-hidden-headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1824 (define-key map " " 'vm-scroll-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1825 (define-key map "b" 'vm-scroll-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1826 (define-key map "\C-?" 'vm-scroll-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1827 (define-key map "d" 'vm-delete-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1828 (define-key map "\C-d" 'vm-delete-message-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1829 (define-key map "u" 'vm-undelete-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1830 (define-key map "U" 'vm-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1831 (define-key map "e" 'vm-edit-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1832 (define-key map "a" 'vm-set-message-attributes)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1833 (define-key map "j" 'vm-discard-cached-data)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1834 (define-key map "k" 'vm-kill-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1835 (define-key map "f" 'vm-followup)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1836 (define-key map "F" 'vm-followup-include-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1837 (define-key map "r" 'vm-reply)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1838 (define-key map "R" 'vm-reply-include-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1839 (define-key map "\M-r" 'vm-resend-bounced-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1840 (define-key map "B" 'vm-resend-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1841 (define-key map "z" 'vm-forward-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1842 (define-key map "c" 'vm-continue-composing-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1843 (define-key map "@" 'vm-send-digest)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1844 (define-key map "*" 'vm-burst-digest)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1845 (define-key map "m" 'vm-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1846 (define-key map "g" 'vm-get-new-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1847 (define-key map "G" 'vm-sort-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1848 (define-key map "v" 'vm-visit-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1849 (define-key map "s" 'vm-save-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1850 (define-key map "w" 'vm-save-message-sans-headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1851 (define-key map "A" 'vm-auto-archive-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1852 (define-key map "S" 'vm-save-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1853 (define-key map "|" 'vm-pipe-message-to-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1854 (define-key map "#" 'vm-expunge-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1855 (define-key map "q" 'vm-quit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1856 (define-key map "x" 'vm-quit-no-change)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1857 (define-key map "i" 'vm-iconify-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1858 (define-key map "?" 'vm-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1859 (define-key map "\C-_" 'vm-undo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1860 (define-key map "\C-xu" 'vm-undo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1861 (define-key map "!" 'shell-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1862 (define-key map "<" 'vm-beginning-of-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1863 (define-key map ">" 'vm-end-of-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1864 (define-key map "\M-s" 'vm-isearch-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1865 (define-key map "=" 'vm-summarize)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1866 (define-key map "L" 'vm-load-init-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1867 (define-key map "l" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1868 (define-key map "la" 'vm-add-message-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1869 (define-key map "ld" 'vm-delete-message-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1870 (define-key map "V" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1871 (define-key map "VV" 'vm-visit-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1872 (define-key map "VC" 'vm-create-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1873 (define-key map "VA" 'vm-apply-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1874 (define-key map "VM" 'vm-toggle-virtual-mirror)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1875 (define-key map "V?" 'vm-virtual-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1876 (define-key map "M" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1877 (define-key map "MN" 'vm-next-command-uses-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1878 (define-key map "Mn" 'vm-next-command-uses-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1879 (define-key map "MM" 'vm-mark-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1880 (define-key map "MU" 'vm-unmark-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1881 (define-key map "Mm" 'vm-mark-all-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1882 (define-key map "Mu" 'vm-clear-all-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1883 (define-key map "MC" 'vm-mark-matching-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1884 (define-key map "Mc" 'vm-unmark-matching-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1885 (define-key map "MT" 'vm-mark-thread-subtree)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1886 (define-key map "Mt" 'vm-unmark-thread-subtree)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1887 (define-key map "MS" 'vm-mark-messages-same-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1888 (define-key map "Ms" 'vm-unmark-messages-same-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1889 (define-key map "MA" 'vm-mark-messages-same-author)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1890 (define-key map "Ma" 'vm-unmark-messages-same-author)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1891 (define-key map "M?" 'vm-mark-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1892 (define-key map "W" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1893 (define-key map "WW" 'vm-apply-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1894 (define-key map "WS" 'vm-save-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1895 (define-key map "WD" 'vm-delete-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1896 (define-key map "W?" 'vm-window-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1897 (define-key map "\C-t" 'vm-toggle-threads-display)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1898 (define-key map "\C-x\C-s" 'vm-save-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1899 (define-key map "\C-x\C-w" 'vm-write-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1900 (define-key map "\C-x\C-q" 'vm-toggle-read-only)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1901 (define-key map "%" 'vm-change-folder-type)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1902 (define-key map "\M-C" 'vm-show-copying-restrictions)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1903 (define-key map "\M-W" 'vm-show-no-warranty)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1904 ;; suppress-keymap provides these, but now that we don't use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1905 ;; suppress-keymap anymore...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1906 (define-key map "0" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1907 (define-key map "1" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1908 (define-key map "2" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1909 (define-key map "3" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1910 (define-key map "4" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1911 (define-key map "5" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1912 (define-key map "6" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1913 (define-key map "7" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1914 (define-key map "8" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1915 (define-key map "9" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1916 (define-key map "-" 'negative-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1917 map )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1918 "Keymap for VM mode.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1920 (defvar vm-summary-mode-map vm-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1921 "Keymap for VM Summary mode")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1922
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1923 (defvar vm-mail-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1924 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1925 (define-key map "\C-c\C-v" vm-mode-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1926 (define-key map "\C-c\C-y" 'vm-yank-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1927 (define-key map "\C-c\C-s" 'vm-mail-send)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1928 (define-key map "\C-c\C-c" 'vm-mail-send-and-exit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1929 (define-key map "\C-c\C-w" 'mail-signature)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1930 (define-key map "\C-c\C-t" 'mail-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1931 (define-key map "\C-c\C-q" 'mail-fill-yanked-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1932 (define-key map "\C-c\C-f\C-t" 'mail-to)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1933 (define-key map "\C-c\C-f\C-b" 'mail-bcc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1934 (define-key map "\C-c\C-f\C-s" 'mail-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1935 (define-key map "\C-c\C-f\C-c" 'mail-cc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1936 (define-key map "\C-c\C-f\C-f" 'mail-fcc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1937 map )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1938 "Keymap for VM Mail mode buffers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1939
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1940 (defvar vm-edit-message-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1941 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1942 (define-key map "\C-c\C-v" vm-mode-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1943 (define-key map "\C-c\e" 'vm-edit-message-end)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1944 (define-key map "\C-c\C-c" 'vm-edit-message-end)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1945 (define-key map "\C-c\C-]" 'vm-edit-message-abort)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1946 map )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1947 "Keymap for the buffers created by VM's vm-edit-message command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1948
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1949 (defvar vm-folder-history nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1950 "List of folders visited this Emacs session.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1951
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1952 ;; internal vars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1953 (defvar vm-folder-type nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1954 (make-variable-buffer-local 'vm-folder-type)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1955 (defvar vm-message-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1956 (make-variable-buffer-local 'vm-message-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1957 (defvar vm-virtual-folder-definition nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1958 (make-variable-buffer-local 'vm-virtual-folder-definition)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1959 (defvar vm-virtual-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1960 (make-variable-buffer-local 'vm-virtual-buffers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1961 (defvar vm-real-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1962 (make-variable-buffer-local 'vm-real-buffers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1963 (defvar vm-message-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1964 (make-variable-buffer-local 'vm-message-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1965 (defvar vm-message-order-changed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1966 (make-variable-buffer-local 'vm-message-order-changed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1967 (defvar vm-message-order-header-present nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1968 (make-variable-buffer-local 'vm-message-order-header-present)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1969 (defvar vm-last-message-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1970 (make-variable-buffer-local 'vm-last-message-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1971 (defvar vm-mail-buffer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1972 (make-variable-buffer-local 'vm-mail-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1973 (defvar vm-summary-buffer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1974 (make-variable-buffer-local 'vm-summary-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1975 (defvar vm-summary-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1976 (make-variable-buffer-local 'vm-summary-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1977 (defvar vm-system-state nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1978 (make-variable-buffer-local 'vm-system-state)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1979 (defvar vm-undo-record-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1980 (make-variable-buffer-local 'vm-undo-record-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1981 (defvar vm-saved-undo-record-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1982 (make-variable-buffer-local 'vm-saved-undo-record-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1983 (defvar vm-undo-record-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1984 (make-variable-buffer-local 'vm-undo-record-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1985 (defvar vm-last-save-folder nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1986 (make-variable-buffer-local 'vm-last-save-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1987 (defvar vm-last-written-file nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1988 (make-variable-buffer-local 'vm-last-written-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1989 (defvar vm-last-visit-folder nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1990 (defvar vm-last-pipe-command nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1991 (make-variable-buffer-local 'vm-last-pipe-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1992 (defvar vm-messages-not-on-disk 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1993 (make-variable-buffer-local 'vm-messages-not-on-disk)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1994 (defvar vm-totals nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1995 (make-variable-buffer-local 'vm-totals)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1996 (defvar vm-modification-counter 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1997 (make-variable-buffer-local 'vm-modification-counter)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1998 (defvar vm-flushed-modification-counter nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1999 (make-variable-buffer-local 'vm-flushed-modification-counter)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2000 (defvar vm-messages-needing-summary-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2001 (defvar vm-buffers-needing-display-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2002 (defvar vm-numbering-redo-start-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2003 (make-variable-buffer-local 'vm-numbering-redo-start-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2004 (defvar vm-numbering-redo-end-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2005 (make-variable-buffer-local 'vm-numbering-redo-end-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2006 (defvar vm-summary-redo-start-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2007 (make-variable-buffer-local 'vm-summary-redo-start-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2008 (defvar vm-need-summary-pointer-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2009 (make-variable-buffer-local 'vm-need-summary-pointer-update)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2010 (defvar vm-thread-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2011 (make-variable-buffer-local 'vm-thread-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2012 (defvar vm-thread-subject-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2013 (make-variable-buffer-local 'vm-thread-subject-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2014 (defvar vm-label-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2015 (make-variable-buffer-local 'vm-label-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2016 (defvar vm-block-new-mail nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2017 (make-variable-buffer-local 'vm-block-new-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2018 (defvar vm-saved-buffer-modified-p nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2019 (make-variable-buffer-local 'vm-saved-buffer-modified-p)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2020 (defvar vm-kept-mail-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2021 (defvar vm-inhibit-write-file-hook nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2022 (defvar vm-chop-full-name-function 'vm-choose-chop-full-name-function)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2023 (defvar vm-session-beginning t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2024 (defvar vm-init-file-loaded nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2025 (defvar vm-window-configurations nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2026 (defvar vm-window-configuration nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2027 (defvar vm-message-id-number 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2028 (defconst vm-spool-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2029 (or (and (boundp 'rmail-spool-directory) rmail-spool-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2030 "/usr/spool/mail/"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2031 (defconst vm-content-length-search-regexp "^Content-Length:.*\n\\|\\(\n\n\\)")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2032 (defconst vm-content-length-header "Content-Length:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2033 (defconst vm-attributes-header-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2034 "^X-VM-\\(Attributes\\|v5-Data\\):\\(.*\n\\([ \t].*\n\\)*\\)")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2035 (defconst vm-attributes-header "X-VM-v5-Data:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2036 (defconst vm-message-order-header-regexp "^X-VM-Message-Order:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2037 (defconst vm-message-order-header "X-VM-Message-Order:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2038 (defconst vm-bookmark-header-regexp "^X-VM-Bookmark:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2039 (defconst vm-bookmark-header "X-VM-Bookmark:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2040 (defconst vm-summary-header-regexp "^X-VM-Summary-Format:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2041 (defconst vm-summary-header "X-VM-Summary-Format:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2042 (defconst vm-vheader-header-regexp "^X-VM-VHeader:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2043 (defconst vm-vheader-header "X-VM-VHeader:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2044 (defconst vm-labels-header-regexp "^X-VM-Labels:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2045 (defconst vm-labels-header "X-VM-Labels:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2046 (defconst vm-berkeley-mail-status-header "Status: ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2047 (defconst vm-berkeley-mail-status-header-regexp "^Status: \\(..?\\)\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2048 (defvar vm-matched-header-vector (make-vector 6 nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2049 (defconst vm-supported-folder-types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2050 '("From_" "From_-with-Content-Length" "mmdf" "babyl"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2051 (defconst vm-supported-window-configurations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2052 '(("default")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2053 ("startup")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2054 ("quitting")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2055 ("composing-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2056 ("editing-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2057 ("marking-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2058 ("reading-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2059 ("searching-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2060 ("vm-delete-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2061 ("vm-delete-message-backward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2062 ("vm-undelete-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2063 ("vm-kill-subject")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2064 ("vm-expunge-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2065 ("vm-burst-digest")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2066 ("vm-burst-rfc934-digest")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2067 ("vm-burst-rfc1153-digest")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2068 ("vm-burst-rfc1521-digest")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2069 ("vm-edit-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2070 ("vm-discard-cached-data")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2071 ("vm-edit-message-end")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2072 ("vm-edit-message-abort")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2073 ("vm-unread-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2074 ("vm-quit-no-change")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2075 ("vm-quit")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2076 ("vm-save-buffer")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2077 ("vm-write-file")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2078 ("vm-save-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2079 ("vm-save-and-expunge-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2080 ("vm-visit-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2081 ("vm-visit-folder-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2082 ("vm-visit-folder-other-window")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2083 ("vm-help")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2084 ("vm-get-new-mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2085 ("vm-load-init-file")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2086 ("vm")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2087 ("vm-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2088 ("vm-other-window")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2089 ("vm-toggle-read-only")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2090 ("vm-mode")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2091 ("vm-show-copying-restrictions")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2092 ("vm-show-no-warranty")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2093 ("vm-clear-all-marks")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2094 ("vm-mark-all-messages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2095 ("vm-mark-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2096 ("vm-unmark-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2097 ("vm-mark-messages-same-subject")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2098 ("vm-unmark-messages-same-subject")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2099 ("vm-mark-messages-same-author")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2100 ("vm-unmark-messages-same-author")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2101 ("vm-mark-matching-messages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2102 ("vm-unmark-matching-messages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2103 ("vm-mark-thread-subtree")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2104 ("vm-unmark-thread-subtree")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2105 ("vm-next-command-uses-marks")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2106 ("vm-mark-help")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2107 ("vm-submit-bug-report")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2108 ("vm-goto-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2109 ("vm-goto-message-last-seen")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2110 ("vm-next-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2111 ("vm-previous-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2112 ("vm-next-message-no-skip")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2113 ("vm-previous-message-no-skip")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2114 ("vm-next-unread-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2115 ("vm-previous-unread-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2116 ("vm-scroll-forward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2117 ("vm-scroll-backward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2118 ("vm-expose-hidden-headers")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2119 ("vm-beginning-of-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2120 ("vm-end-of-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2121 ("vm-yank-message-other-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2122 ("vm-yank-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2123 ("vm-mail-send-and-exit")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2124 ("vm-mail-send")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2125 ("vm-reply")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2126 ("vm-reply-include-text")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2127 ("vm-followup")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2128 ("vm-followup-include-text")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2129 ("vm-forward-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2130 ("vm-forward-message-all-headers")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2131 ("vm-mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2132 ("vm-resend-bounced-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2133 ("vm-resend-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2134 ("vm-send-digest")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2135 ("vm-send-rfc934-digest")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2136 ("vm-send-rfc1153-digest")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2137 ("vm-send-rfc1521-digest")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2138 ("vm-reply-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2139 ("vm-reply-include-text-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2140 ("vm-followup-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2141 ("vm-followup-include-text-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2142 ("vm-forward-message-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2143 ("vm-forward-message-all-headers-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2144 ("vm-mail-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2145 ("vm-mail-other-window")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2146 ("vm-resend-bounced-message-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2147 ("vm-resend-message-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2148 ("vm-send-digest-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2149 ("vm-send-rfc934-digest-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2150 ("vm-send-rfc1153-digest-other-frame")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2151 ("vm-send-rfc1521-digest-other-frame")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2152 ("vm-continue-composing-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2153 ("vm-auto-archive-messages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2154 ("vm-save-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2155 ("vm-save-message-sans-headers")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2156 ("vm-pipe-message-to-command")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2157 ("vm-isearch-forward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2158 ("vm-move-message-forward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2159 ("vm-move-message-backward")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2160 ("vm-move-message-forward-physically")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2161 ("vm-move-message-backward-physically")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2162 ("vm-sort-messages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2163 ("vm-toggle-threads-display")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2164 ("vm-summarize")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2165 ("vm-summarize-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2166 ("vm-undo")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2167 ("vm-visit-virtual-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2168 ("vm-visit-virtual-folder-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2169 ("vm-visit-virtual-folder-other-window")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2170 (defconst vm-supported-sort-keys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2171 '("date" "reversed-date"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2172 "author" "reversed-author"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2173 "subject" "reversed-subject"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2174 "recipients" "reversed-recipients"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2175 "line-count" "reversed-line-count"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2176 "byte-count" "reversed-byte-count"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2177 "physical-order" "reversed-physical-order"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2178 (defconst vm-supported-interactive-virtual-selectors
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2179 '(("any")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2180 ("header")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2181 ("label")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2182 ("text")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2183 ("recipient")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2184 ("author")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2185 ("subject")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2186 ("sent-before")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2187 ("sent-after")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2188 ("more-chars-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2189 ("less-chars-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2190 ("more-lines-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2191 ("less-lines-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2192 ("new")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2193 ("unread")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2194 ("read")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2195 ("deleted")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2196 ("replied")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2197 ("forwarded")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2198 ("filed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2199 ("written")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2200 ("edited")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2201 ("marked")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2202 (defconst vm-supported-attribute-names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2203 '("new"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2204 "unread"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2205 "read"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2206 "deleted"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2207 "replied"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2208 "forwarded"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2209 "redistributed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2210 "filed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2211 "written"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2212 "edited"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2213 "undeleted"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2214 "unreplied"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2215 "unforwarded"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2216 "unredistributed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2217 "unfiled"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2218 "unwritten"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2219 "unedited"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2220 ;; for babyl cogniscenti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2221 "recent"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2222 "unseen"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2223 "answered"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2224 "unanswered"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2226 (defvar vm-key-functions nil)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2227 (defconst vm-digest-type-alist '(("rfc934") ("rfc1153") ("rfc1521")))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2228 (defvar vm-completion-auto-correct t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2229 "Non-nil means that minibuffer-complete-file should aggressively erase
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2230 the trailing part of a word that caused completion to fail, and retry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2231 the completion with the resulting word.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2232 (defvar vm-minibuffer-completion-table nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2233 "Completion table used by vm-minibuffer-complete-word.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2234 Should be just a list of strings, not an alist or an obarray.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2235 (defvar vm-completion-auto-space t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2236 "Non-nil value means that vm-minibuffer-complete-word should automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2237 append a space to words that complete unambiguously.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2238 (defconst vm-attributes-vector-length 9)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2239 (defconst vm-cache-vector-length 20)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2240 (defconst vm-softdata-vector-length 16)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2241 (defconst vm-location-data-vector-length 6)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2242 (defconst vm-mirror-data-vector-length 5)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2243 (defconst vm-startup-message-lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2244 '("Please use \\[vm-submit-bug-report] to report bugs."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2245 "You may give out copies of VM. Type \\[vm-show-copying-restrictions] to see the conditions"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2246 "VM comes with ABSOLUTELY NO WARRANTY; type \\[vm-show-no-warranty] for full details"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2247 "In Stereo (where available)"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2248 (defconst vm-startup-message-displayed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2249 ;; for the mode line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2250 (defvar vm-mode-line-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2251 '("" " %&%& "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2252 ("VM: "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2253 (vm-folder-read-only "read-only ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2254 (vm-virtual-folder-definition (vm-virtual-mirror "mirrored "))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2255 "%b"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2256 (vm-mail-buffer (vm-ml-sort-keys ("" " by " vm-ml-sort-keys)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2257 (vm-message-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2258 (" " vm-ml-message-number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2259 " (of " vm-ml-highest-message-number ")")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2260 (vm-folder-type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2261 " (unrecognized folder type)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2262 " (no messages)")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2263 (vm-message-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2264 (" %[ " vm-ml-message-attributes-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2265 (vm-ml-labels ("; " vm-ml-labels)) " %] ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2266 (" %[%] "))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2267 "%p" " " global-mode-string))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2269 (defvar vm-ml-message-attributes-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2270 '((vm-ml-message-new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2271 "new"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2272 (vm-ml-message-unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2273 "unread"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2274 (vm-ml-message-read "read")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2275 (vm-ml-message-edited " edited")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2276 (vm-ml-message-filed " filed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2277 (vm-ml-message-written " written")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2278 (vm-ml-message-replied " replied")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2279 (vm-ml-message-forwarded " forwarded")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2280 (vm-ml-message-redistributed " redistributed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2281 (vm-ml-message-deleted " deleted")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2282 (vm-ml-message-marked " MARKED")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2283 (defvar vm-ml-message-number nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2284 (make-variable-buffer-local 'vm-ml-message-number)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2285 (defvar vm-ml-highest-message-number nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2286 (make-variable-buffer-local 'vm-ml-highest-message-number)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2287 (defvar vm-ml-sort-keys nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2288 (make-variable-buffer-local 'vm-ml-sort-keys)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2289 (defvar vm-ml-labels nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2290 (make-variable-buffer-local 'vm-ml-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2291 ; unused now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2292 ;(defvar vm-ml-attributes-string nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2293 ;(make-variable-buffer-local 'vm-ml-attributes-string)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2294 (defvar vm-ml-message-new nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2295 (make-variable-buffer-local 'vm-ml-message-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2296 (defvar vm-ml-message-unread nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2297 (make-variable-buffer-local 'vm-ml-message-unread)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2298 (defvar vm-ml-message-read nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2299 (make-variable-buffer-local 'vm-ml-message-read)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2300 (defvar vm-ml-message-edited nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2301 (make-variable-buffer-local 'vm-ml-message-edited)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2302 (defvar vm-ml-message-replied nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2303 (make-variable-buffer-local 'vm-ml-message-replied)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2304 (defvar vm-ml-message-forwarded nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2305 (make-variable-buffer-local 'vm-ml-message-forwarded)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2306 (defvar vm-ml-message-redistributed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2307 (make-variable-buffer-local 'vm-ml-message-redistributed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2308 (defvar vm-ml-message-deleted nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2309 (make-variable-buffer-local 'vm-ml-message-deleted)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2310 (defvar vm-ml-message-filed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2311 (make-variable-buffer-local 'vm-ml-message-filed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2312 (defvar vm-ml-message-written nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2313 (make-variable-buffer-local 'vm-ml-message-written)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2314 (defvar vm-ml-message-marked nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2315 (make-variable-buffer-local 'vm-ml-message-marked)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2316 ;; to make the tanjed compiler shut up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2317 (defvar vm-pop-read-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2318 (defvar vm-reply-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2319 (defvar vm-forward-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2320 (defvar vm-redistribute-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2321 (defvar current-itimer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2322 (defvar mode-popup-menu nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2323 (defvar current-menubar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2324 (defvar scrollbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2325 (defvar top-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2326 (defvar top-toolbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2327 (defvar bottom-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2328 (defvar bottom-toolbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2329 (defvar right-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2330 (defvar right-toolbar-width nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2331 (defvar left-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2332 (defvar left-toolbar-width nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2333 ;; this defvar matches the XEmacs one so it doesn't matter if VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2334 ;; is loaded before highlight-headers.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2335 (defvar highlight-headers-regexp "Subject[ \t]*:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2336 (defvar vm-url-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2337 "\\(file\\|ftp\\|gopher\\|http\\|https\\|news\\|wais\\|www\\)://[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2338 "Regular expression that matches an absolute URL.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2339 (defconst vm-month-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2340 '(("jan" "January" "1")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2341 ("feb" "February" "2")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2342 ("mar" "March" "3")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2343 ("apr" "April" "4")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2344 ("may" "May" "5")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2345 ("jun" "June" "6")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2346 ("jul" "July" "7")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2347 ("aug" "August" "8")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2348 ("sep" "September" "9")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2349 ("oct" "October" "10")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2350 ("nov" "November" "11")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2351 ("dec" "December" "12")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2352 (defvar vm-pop-passwords nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2353 (defvar pop-up-frames nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2354 (defvar vm-parse-date-workspace (make-vector 6 nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2355 ;; cache so we don't call timezone-make-date-sortable so much.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2356 ;; messages have their own cache; this is for the virtual folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2357 ;; alist selectors.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2358 (defvar vm-sortable-date-alist nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2359 (defvar vm-summary-=> nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2360 (defvar vm-summary-no-=> nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2361 (defvar vm-summary-overlay nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2362 (make-variable-buffer-local 'vm-summary-overlay)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2363 (defvar vm-thread-loop-obarray (make-vector 29 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2364 (defvar vm-delete-duplicates-obarray (make-vector 29 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2365 (defvar vm-mail-mode-map-parented nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2366 (defvar vm-xface-cache (make-vector 29 0))