annotate lisp/vm/vm-vars.el @ 175:2d532a89d707 r20-3b14

Import from CVS: tag r20-3b14
author cvs
date Mon, 13 Aug 2007 09:50:14 +0200
parents 6b37e6ddd302
children
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
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2 ;;; Copyright (C) 1989-1997 Kyle E. Jones
0
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
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
24 (defvar vm-preferences-file "~/.vm.preferences"
0
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
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
27 users to edit directly.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 (defvar vm-primary-inbox "~/INBOX"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 "*Mail is moved from the system mailbox to this file for reading.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 (defvar vm-crash-box "~/INBOX.CRASH"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 "*File in which to store mail temporarily while it is transferred from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 the system mailbox to the primary inbox. If a crash occurs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 during this mail transfer, any missing mail will be found in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 file. VM will do crash recovery from this file automatically at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 startup, as necessary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (defvar vm-keep-crash-boxes nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 "*Non-nil value should be a string specifying a directory where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 your crash boxes should be moved after VM has copied new mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 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
43 pointer corruption bug inside Emacs has caused VM to believe that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 it had copied information out of the crash box when it in fact
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 had not. VM then deleted the crash box, losing the batch of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 incoming mail. This is an exceedingly rare problem, but if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 want to avoid losing mail if it happens, set vm-keep-crash-boxes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 to point to a directory in the same filesystem as all your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 crash boxes. Each saved crash box will have a unique name based
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 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
51 clean out this directory from time to time; VM does not do so.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 A nil value means VM should just delete crash boxes after it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 has copied out the mail.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 ;; use this function to access vm-spool-files on the fly. this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 ;; allows us to use environmental variables without setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 ;; 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
59 ;; Emacs containing a preloaded VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 (defun vm-spool-files ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 (or vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 (and (setq vm-spool-files (getenv "MAILPATH"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (setq vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (vm-parse vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 "\\([^:%?]+\\)\\([%?][^:]*\\)?\\(:\\|$\\)")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 (and (setq vm-spool-files (getenv "MAIL"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 (setq vm-spool-files (list vm-spool-files)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (defvar vm-spool-files nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 "*If non-nil this variable's value should be a list of strings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 or a list of lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 If the value is a list of strings, the strings should name files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 that VM will check for incoming mail instead of the default place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 VM thinks your system mailbox is. Mail will be moved from these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 mailboxes to your primary inbox as specified by vm-primary-inbox,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 using vm-crash-box as a waystation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 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
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (INBOX SPOOLNAME CRASHBOX)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 INBOX, SPOOLNAME and CRASHBOX are all strings.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 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
86 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
87 will read the mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 SPOOLNAME is where the mail system leaves your incoming mail,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 e.g. /var/spool/mail/kyle. It can also be a POP maildrop,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 provided it can be matched by the value of vm-recognize-pop-maildrops.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 A POP maildrop specification has the following format:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 \"HOST:PORT:AUTH:USER:PASSWORD\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 HOST is the host name of the POP server
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 PORT is the TCP port number to connect to (should normally be 110).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 USER is the user name sent to the server.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 PASSWORD is the secret shared by you and the server for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 authentication purposes. How is it used depends on the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 the AUTH parameter. If the PASSWORD is \"*\", VM will prompt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 you for the password the first time you try to retrieve mail from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 maildrop. If the password is valid, VM will not ask you for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 password again during this Emacs session.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 AUTH is the authentication method used to convince the server you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 should have access to the maildrop. Acceptable values are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 \"pass\", \"rpop\" and \"apop\". For \"pass\", the PASSWORD is sent to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 the server with the POP PASS command. For \"rpop\", the PASSWORD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 should be the string to be sent to the server via the RPOP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 command. In this case the string is not really a secret;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 authentication is done by other means. For \"apop\", an MD5 digest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 of the PASSWORD appended to the server timestamp will be sent to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 the server with the APOP command. In order to use \"apop\" you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 will have to set the value of vm-pop-md5-program appropriately to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 point at the program that will generate the MD5 digest that VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 needs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 CRASHBOX is the temporary file that VM uses to store mail in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 between the SPOOLNAME and the INBOX. If the system crashes or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 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
123 the SPOOLNAME or the INBOX, then it will be in the CRASHBOX.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 There can be multiple entries with the same INBOX value, but a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 particular SPOOLNAME should appear only once. CRASHBOXes should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 not be shared among different INBOXes, but you can use the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 CRASHBOX/INBOX pair with a different SPOOLNAME.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 NOTE: The values of vm-primary-inbox and vm-crash-box are ignored
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 when getting new mail if vm-spool-files is a list of lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 vm-spool-files will default to the value of the shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 environmental variables MAILPATH or MAIL if either of these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 variables are defined and no particular value for vm-spool-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 has been specified.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
138 (defvar vm-spool-file-suffixes nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
139 "*List of suffixes to be used to create possible spool file names
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
140 for folders. Example:
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
141
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
142 (setq vm-spool-file-suffixes '(\".spool\" \"-\"))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
143
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
144 If you visit a folder ~/mail/beekeeping, when VM attempts to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
145 retrieve new mail for that folder it will look for mail in
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
146 ~/mail/beekeeping.spool and ~/mail/beekeeping- in addition to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
147 scanning vm-spool-files for matches.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
148
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
149 The value of vm-spool-files-suffixes will not be used unless
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
150 vm-crash-box-suffix is also defined, since a crash box is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
151 required for all mail retrieval from spool files.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
152
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
153 (defvar vm-crash-box-suffix nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
154 "*String suffix used to create possible crash box file names for folders.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
155 When VM uses vm-spool-file-suffixes to create a spool file name,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
156 it will append the value of vm-crash-box-suffix to the folder's
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
157 file name to create a crash box name.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
158
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
159 (defvar vm-make-spool-file-name nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
160 "*Non-nil value should be a function that returns a spool file name
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
161 for a folder. The function will be called with one argument, the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
162 folder's file name. If the folder does not have a file name,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
163 the function will not be called.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
164
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
165 (defvar vm-make-crash-box-name nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
166 "*Non-nil value should be a function that returns a crash box file name
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
167 for a folder. The function will be called with one argument, the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
168 folder's file name. If the folder does not have a file name,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
169 the function will not be called.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
170
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (defvar vm-pop-md5-program "md5"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 "*Program that reads a message on its standard input and writes an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 MD5 digest on its output.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
175 (defvar vm-pop-max-message-size nil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
176 "*If VM is about to retrieve via POP a message larger than this size
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
177 (in bytes) it will ask the you whether it should retrieve the message.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
178
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
179 If VM is retrieving mail automatically because vm-auto-get-new-mail is
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
180 set to a numeric value then you will not be prompted about large messages.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
181 This is to avoid prompting you while you're typing in another buffer.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
182 In this case the large message will be skipped with a warning
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
183 message.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
184
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
185 A nil value for vm-pop-max-message-size means no size limit.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
186
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
187 (defvar vm-pop-messages-per-session nil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
188 "*Non-nil value should be a integer specifying how many messages to
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
189 retrieve per POP session. When you type 'g' to get new mail, VM
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
190 will only retrieve that many messages from any particular POP maildrop.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
191 To retrieve more messages, type 'g' again.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
192
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
193 A nil value means there's no limit.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
194
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
195 (defvar vm-pop-bytes-per-session nil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
196 "*Non-nil value should be a integer specifying how many bytes to
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
197 retrieve per POP session. When you type 'g' to get new mail, VM
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
198 will only retrieve messages until the byte limit is reached on
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
199 any particular POP maildrop. To retrieve more messages, type 'g'
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
200 again.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
201
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
202 A nil value means there's no limit.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
203
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 (defvar vm-recognize-pop-maildrops "^[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 "*Value if non-nil should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 spool names found in vm-spool-files that should be considered POP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 maildrops. A nil value tells VM that all the spool names are to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 be considered files.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 (defvar vm-auto-get-new-mail t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 "*Non-nil value causes VM to automatically move mail from spool files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 to a mail folder when the folder is first visited. Nil means
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 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
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 If the value is a number, then it specifies how often (in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 seconds) VM should check for new mail and try to retrieve it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 This is done asynchronously and may occur while you are editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 other files. It should not disturb your editing, except perhaps
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
219 for a pause while the check is being done.")
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 20
diff changeset
220
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
221 (defvar vm-mail-check-interval 300
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
222 "*Numeric value specifies the number of seconds between checks
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
223 for new mail. The maildrops for all visited folders are checked.
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
224
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
225 A nil value means don't check for new mail.
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
226
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
227 Note that mail if new mail is found, it is not retrieved. The
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
228 buffer local variable vm-spooled-mail-waiting is set non-nil in
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
229 the buffers of those folders that have mail waiting. VM uses
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
230 the displays \"Mail\" in the mode line of folders that have mail
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
231 waiting.")
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
232
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
233 (defvar vm-spooled-mail-waiting nil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
234 "Value is non-nil if there is mail waiting for the current folder.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
235 This variable's value is local in all buffers.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
236 VM maintains this variable, you should not set it.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
237 (make-variable-buffer-local 'vm-spooled-mail-waiting)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
238
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 (defvar vm-default-folder-type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 (cond ((not (boundp 'system-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 'From_)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ((or (string-match "-solaris" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 (string-match "usg-unix-v" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 (string-match "-ibm-aix" system-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 'From_-with-Content-Length)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ((string-match "-sco" system-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 'mmdf)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 (t 'From_))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 "*Default folder type for empty folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 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
251 empty folder, the folder will become this default type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 Allowed types are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 From_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 From_-with-Content-Length
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 mmdf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 babyl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 Value must be a symbol, not a string. i.e. write
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 (setq vm-default-folder-type 'From_)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 in your .emacs or .vm file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 If you set this variable's value to From_-with-Content-Length you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 must set vm-trust-From_-with-Content-Length non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 (defvar vm-check-folder-types t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 "*Non-nil value causes VM to check folder and message types for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 compatibility before it performs certain operations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 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
273 is of the same type as the message to be saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 Before incorporating message into a visited folder, VM will check that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 messages are of the same type as that folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 A nil value means don't do the checks.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
280 If non-nil, VM will either convert the messages to the appropriate
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
281 type before saving or incorporating them, or it will signal an
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
282 error. The value of vm-convert-folder-types determines which
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
283 action VM will take.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 (defvar vm-convert-folder-types t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 "*Non-nil value means that when VM checks folder types and finds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 a mismatch (see vm-check-folder-types), it will convert the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 source messages to the type of the destination folder, if it can.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 If vm-check-folder-types is nil, then this variable isn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 consulted.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 (defvar vm-trust-From_-with-Content-Length
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 (eq vm-default-folder-type 'From_-with-Content-Length)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 "*Non-nil value means that if the first message in a folder contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 a Content-Length header and begins with \"From \" VM can safely
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 assume that all messages in the folder have Content-Length headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 that specify the length of the text section of each message. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 will then use these headers to determine message boundaries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 instead of the usual way of searching for two newlines followed by a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 line that begins with \"From \".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 If you set vm-default-folder-type to From_-with-Content-Length you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 must set this variable non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 (defvar vm-visible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 "To:" "Apparently-To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 "Date:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 "*List of headers that should be visible when VM first displays a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 These should be listed in the order you wish them presented.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 Regular expressions are allowed. There's no need to anchor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 patterns with \"^\", as searches always start at the beginning of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 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
317 For example, \"Date\" matches \"Date\" and \"Date-Sent\". Header names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 are always matched case insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 If the value of vm-invisible-header-regexp is nil, only the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 headers matched by vm-visible-headers will be displayed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 Otherwise all headers are displayed except those matched by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 vm-invisible-header-regexp. In this case vm-visible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 specifies the order in which headers are displayed. Headers not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 matching vm-visible-headers are display last.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 (defvar vm-invisible-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 "*Non-nil value should be a regular expression that tells what headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 VM should NOT normally display when presenting a message. All other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 headers will be displayed. The variable vm-visible-headers specifies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 the presentation order of headers; headers not matched by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 vm-visible-headers are displayed last.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 Nil value causes VM to display ONLY those headers specified in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 vm-visible-headers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 (defvar vm-highlighted-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 "*Value specifies which headers to highlight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 This is a regular expression that matches the names of headers that should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 be highlighted when a message is first presented. For example setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 this variable to \"From:\\\\|Subject:\" causes the From and Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 headers to be highlighted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 This does not work under version 18 Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 If you're using XEmacs, you might want to use the builtin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 `highlight-headers' package instead. If so, then you should set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 the variable vm-use-lucid-highlighting non-nil. You'll need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 set the various variables used by the highlight-headers package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 to customize highlighting. vm-highlighted-header-regexp is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 ignored in this case.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 (defvar vm-use-lucid-highlighting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 ;; (not (not ...)) to avoid the confusing value of 6.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 (not (not (string-match "XEmacs" emacs-version)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 "*Non-nil means to use the `highlight-headers' package in XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 Nil means just use VM's builtin header highlighting code.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 FSF Emacs always uses VM's builtin highlighting code.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 (defvar vm-highlighted-header-face 'bold
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 "*Face to be used to highlight headers.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
363 The headers to highlight are specified by the vm-highlighted-header-regexp
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
364 variable.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
365
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
366 This variable is ignored under XEmacs if vm-use-lucid-highlighting is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
367 nil. XEmacs' highlight-headers package is used instead. See the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
368 documentation for the function `highlight-headers' to find out how to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
369 customize header highlighting using this package.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 (defvar vm-preview-lines 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 "*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
373 of a message when it is first presented. The message is not actually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 flagged as read until it is exposed in its entirety.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 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
377 fit in the window associated with the folder buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 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
380 messages are immediately flagged as read.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 (defvar vm-preview-read-messages nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 "*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
384 A nil value causes VM to preview messages only if new or unread.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
386 (defvar vm-display-using-mime t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
387 "*Non-nil value means VM should display messages using MIME.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
388 MIME (Multipurpose Internet Mail Extensions) is a set of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
389 extensions to the standard Internet message format that allows
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
390 reliable tranmission and reception of arbitrary data including
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
391 images, audio and video as well as ordinary text.
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
392
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
393 A non-nil value for this variable means that VM will recognize
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
394 MIME encoded messages and display them as specified by the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
395 various MIME standards specifications.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
396
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
397 A nil value means VM will not display MIME messages any
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
398 differently than any other message.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
399
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
400 ;; this is t because at this time (11 April 1997) Solaris is
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
401 ;; generated too many mangled MIME version headers. For the same
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
402 ;; reason vm-mime-avoid-folding-content-type is also set to t.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
403 (defvar vm-mime-ignore-mime-version t
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
404 "*Non-nil value means ignore the version number in the MIME-Version
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
405 header. VM only knows how to decode and display MIME version 1.0
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
406 messages. Some systems scramble the MIME-Version header, causing
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
407 VM to believe that it cannot display a message that it actually
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
408 can display. You can set vm-mime-ignore-mime-version non-nil if
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
409 you use such systems.")
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
410
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
411 ;; try to avoid bad interaction with TM
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
412 (defvar vm-send-using-mime (not (featurep 'mime-setup))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
413 "*Non-nil value means VM should support sending messages using MIME.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
414 MIME (Multipurpose Internet Mail Extensions) is a set of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
415 extensions to the standard Internet message format that allows
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
416 reliable tranmission and reception of arbitrary data including
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
417 images, audio and video as well as traditional text.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
418
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
419 A non-nil value for this variable means that VM will
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
420
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
421 - allow you to attach files and messages to your outbound message.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
422 - analyze the composition buffer when you send off a message and
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
423 encode it as needed.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
424
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
425 A nil value means VM will not offer any support for composing
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
426 MIME messages.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
427
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
428 (defvar vm-honor-mime-content-disposition nil
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
429 "*Non-nil value means use information from the Content-Disposition header
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
430 to display MIME messages. The Content-Disposition header
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
431 specifies whether a MIME object should be displayed inline or
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
432 treated as an attachment. For VM, ``inline'' display means
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
433 displaying the object in the Emacs buffer, if possible.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
434 Attachments will be displayed as a button that you can use
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
435 mouse-2 to activate or mouse-3 to pull up a menu of options.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
436
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
437 (defvar vm-auto-decode-mime-messages nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
438 "*Non-nil value causes MIME decoding to occur automatically
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
439 when a message containing MIME objects is exposed. A nil value
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
440 means that you will have to run the `vm-decode-mime-message'
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
441 command (normally bound to `D') manually to decode and display
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
442 MIME objects.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
443
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
444 (defvar vm-auto-displayed-mime-content-types '("text" "multipart")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
445 "*List of MIME content types that should be displayed immediately
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
446 after decoding. Other types will be displayed as a button that
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
447 the user must activate to display the object.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
448
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
449 A value of t means that all types should be displayed immediately.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
450 A nil value means never display MIME objects immediately; only use buttons.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
451
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
452 If the value is a list, it should be a list of strings, which
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
453 should all be types or type/subtype pairs. Example:
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
454
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
455 (setq vm-auto-displayed-mime-content-types '(\"text\" \"image/jpeg\"))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
456
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
457 If a top-level type is listed without a subtype, all subtypes of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
458 that type are assumed to be included.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
459
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
460 Note that some types are processed specially, and this variable does not
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
461 apply to them.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
462
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 136
diff changeset
463 multipart/digest messages are always displayed as a button to
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 136
diff changeset
464 avoid automatically visiting a new folder while you are moving
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 136
diff changeset
465 around in the current folder.
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
466
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
467 message/partial messages are always displayed as a button,
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
468 because there always needs to be a way to trigger the assembly
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
469 of the parts into a full message.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
470
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
471 Any type that cannot be displayed internally or externally will
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
472 be displayed as a button that allows you to save the body to a
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
473 file.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
474
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
475 (defvar vm-mime-internal-content-types t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
476 "*List of MIME content types that should be displayed internally
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
477 if Emacs is capable of doing so. A value of t means that VM
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
478 should always display an object internally if possible. A nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
479 value means never display MIME objects internally, which means VM
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
480 have to run an external viewer to display MIME objects.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
481
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
482 If the value is a list, it should be a list of strings. Example:
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
483
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
484 (setq vm-mime-internal-content-types '(\"text\" \"image/jpeg\"))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
485
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
486 If a top-level type is listed without a subtype, all subtypes of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
487 that type are assumed to be included.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
488
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
489 Note that all multipart types are always handled internally.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
490 There is no need to list them here.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
491
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
492 (defvar vm-mime-external-content-types-alist nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
493 "*Alist of MIME content types and the external programs used to display them.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
494 If VM cannot display a type internally or has been instructed not
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
495 to (see the documentation for the vm-mime-internal-content-types
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
496 variable) it will try to launch an external program to display that
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
497 type.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
498
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
499 The alist format is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
500
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
501 ( (TYPE PROGRAM ARG ARG ... ) ... )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
502
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
503 TYPE is a string specifying a MIME type or type/subtype pair.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
504 Example \"text\" or \"image/jpeg\". If a top-level type is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
505 listed without a subtype, all subtypes of that type are assumed
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
506 to be included.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
507
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
508 PROGRAM is a string naming a program to run to display an object.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
509 Any ARGS will be passed to the program as arguments. The octets
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
510 that compose the object will be written into a file and the name
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
511 of the file will be passed to the program as its last argument.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
512
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
513 Example:
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
514
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
515 (setq vm-mime-external-content-types-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
516 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
517 (\"text/html\" \"netscape\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
518 (\"image/gif\" \"xv\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
519 (\"image/jpeg\" \"xv\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
520 (\"video/mpeg\" \"mpeg_play\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
521 (\"video\" \"xanim\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
522 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
523 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
524
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
525 The first matching list element will be used.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
526
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
527 No multipart message will ever be sent to an external viewer.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
528
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
529 (defvar vm-mime-type-converter-alist nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
530 "*Alist of MIME types and programs that can convert between them.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
531 If VM cannot display a content type, it will scan this list to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
532 see if the type can be converted into a type that it can display.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
533
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
534 The alist format is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
535
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
536 ( (START-TYPE END-TYPE COMMAND-LINE ) ... )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
537
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
538 START-TYPE is a string specifying a MIME type or type/subtype pair.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
539 Example \"text\" or \"image/jpeg\". If a top-level type is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
540 listed without a subtype, all subtypes of that type are assumed
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
541 to be included.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
542
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
543 END-TYPE must be an exact type/subtype pair. This is the type
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
544 to which START-TYPE will be converted.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
545
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
546 COMMAND-LINE is a string giving a command line to be passed to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
547 the shell. The octets that compose the object will be written to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
548 the standard input of the shell command.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
549
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
550 Example:
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
551
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
552 (setq vm-mime-type-converter-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
553 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
554 (\"image/jpeg\" \"image/gif\" \"jpeg2gif\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
555 (\"text/html\" \"text/plain\" \"striptags\")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
556 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
557 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
558
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
559 The first matching list element will be used.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
560
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
561 (defvar vm-mime-alternative-select-method 'best-internal
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
562 "*Value tells how to choose which multipart/alternative part to display.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
563 A MIME message of type multipart/alternative has multiple message
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
564 parts containing the same information, but each part may be
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
565 formatted differently. VM will display only one of the parts.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
566 This variable tells VM how to choose which part to display.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
567
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
568 A value of 'best means choose the part that is the most faithful to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
569 the sender's original content that can be displayed.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
570
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
571 A value of 'best-internal means choose the best part that can be
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
572 displayed internally, i.e. with the built-in capabilities of Emacs.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
573 If none of the parts can be displayed internally, behavior reverts to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
574 that of 'best.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
575
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
576 (defvar vm-mime-default-face-charsets '("us-ascii" "iso-8859-1")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
577 "*List of character sets that can use the `default' face.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
578 For other characters sets VM will have to create a new face and assign
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
579 a font to it that can be used to display that character set.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
580
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
581 (defvar vm-mime-charset-font-alist nil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
582 "*Assoc list of character sets and fonts that can be used to display them.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
583 The format of the list is:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
584
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
585 ( (CHARSET . FONT) ...)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
586
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
587 CHARSET is a string naming a MIME registered character set such
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
588 as \"iso-8859-5\". Character set names should be specified in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
589 lower case.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
590
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
591 FONT is a string naming a font that can be used to display CHARSET.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
592
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
593 An example setup might be:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
594
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
595 (setq vm-mime-charset-font-alist
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
596 '(
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
597 (\"iso-8859-7\" . \"-*-*-medium-r-normal-*-16-160-72-72-c-80-iso8859-7\")
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
598 )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
599 )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
600
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
601 This variable is only useful for character sets whose characters
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
602 can all be encoded in single 8-bit bytes. Also multiple fonts
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
603 can only be displayed if you're running under a window system
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
604 e.g. X windows. So this variable will have no effect if you're
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
605 running Emacs on a tty.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
606
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
607 Note that under FSF Emacs any fonts you use must be the same height
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
608 as your default font. XEmacs does not have this limitation.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
609
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
610 (defvar vm-mime-button-face 'gui-button-face
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
611 "*Face used for text in buttons that trigger the display of MIME objects.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
612
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
613 (defvar vm-mime-8bit-composition-charset "iso-8859-1"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
614 "*Character set that VM should assume if it finds non-US-ASCII characters
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
615 in a composition buffer. Composition buffers are assumed to use
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
616 US-ASCII unless the buffer contains a byte with the high bit set.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
617 This variable specifies what character set VM should assume if
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
618 such a character is found.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
619
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
620 This variable is unused in XEmacs/MULE. Since multiple character
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
621 sets can be displayed in a single buffer under MULE, VM will map
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
622 the file coding system of the buffer to a single MIME character
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
623 set that can display all the buffer's characters.")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
624
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
625 (defvar vm-mime-8bit-text-transfer-encoding 'quoted-printable
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
626 "*Symbol specifying what kind of transfer encoding to use on 8bit
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
627 text. Characters with the high bit set cannot safely pass
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
628 through all mail gateways and mail transport software. MIME has
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
629 two transfer encodings that convert 8-bit data to 7-bit for safe
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
630 transport. Quoted-printable leaves the text mostly readable even
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
631 if the recipient does not have a MIME-capable mail reader. BASE64
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
632 is unreadable without a MIME-capable mail reader, unless your name
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
633 is U3BvY2s=.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
634
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
635 A value of 'quoted-printable, means to use quoted-printable encoding.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
636 A value of 'base64 means to use BASE64 encoding.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
637 A value of '8bit means to send the message as is.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
638
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
639 Note that this variable usually only applies to textual MIME
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
640 content types. Images, audio, video, etc. typically will have
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
641 some attribute that makes VM consider them to be \"binary\",
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
642 which moves them outside the scope of this variable. For
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
643 example, messages with line lengths of 1000 characters or more
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
644 are considered binary, as are messages that contain carriage
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
645 returns (ascii code 13) or NULs (ascii code 0).")
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
646
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
647 (defvar vm-mime-composition-armor-from-lines nil
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
648 "*Non-nil value means \"From \" lines should be armored before sending.
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
649 A line beginning with \"From \" is considered a message separator
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
650 by many mail delivery agents. These agents will often insert a >
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
651 before the word \"From\" to prevent mail readers from being
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
652 confused. This is proper behavior, but it breaks digitally signed
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
653 messages, which require bit-perfect transport in order for the
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
654 message contents to be considered genuine.
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
655
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
656 If vm-mime-composition-armor-from-lines is non-nil, a line
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
657 beginning with \"From \" will cause VM to encode the message
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
658 using either quoted-printable or BASE64 encoding so that the From
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
659 line can be protected.")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
660
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
661 (defvar vm-mime-attachment-auto-type-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
662 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
663 ("\\.jpe?g" . "image/jpeg")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
664 ("\\.gif" . "image/gif")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
665 ("\\.png" . "image/png")
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
666 ("\\.tiff?" . "image/tiff")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
667 ("\\.html?" . "text/html")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
668 ("\\.au" . "audio/basic")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
669 ("\\.mpe?g" . "video/mpeg")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
670 ("\\.ps" . "application/postscript")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
671 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
672 "*Alist used to guess a MIME content type based on a file name.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
673 The list format is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
674
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
675 ((REGEXP . TYPE) ...)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
676
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
677 REGEXP is a string that specifies a regular expression.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
678 TYPE is a string specifying a MIME content type.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
679
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
680 When a non-MIME file is attached to a MIME composition buffer,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
681 this list will be scanned until a REGEXP matches the file's name.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
682 The corresponding TYPE will be offered as a default when you are
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
683 prompted for the file's type.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
684
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
685 (defvar vm-mime-max-message-size nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
686 "*Largest MIME message that VM should send without fragmentation.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
687 The value should be a integer which specifies the size in bytes.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
688 A message larger than this value will be split into multiple parts
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
689 for transmission using the MIME message/partial type.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
690
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
691 (defvar vm-mime-attachment-save-directory nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
692 "*Non-nil value is a default directory for saving MIME attachments.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
693 When VM prompts you for a target file name when saving a MIME body,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
694 any relative pathnames will be relative to this directory.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
695
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
696 (defvar vm-mime-avoid-folding-content-type t
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
697 "*Non-nil means don't send folded Content- headers in MIME messages.
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
698 `Folded' headers are headers broken into multiple lines as specified
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
699 in RFC822 for readability and to avoid excessive line lengths. At
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
700 least one major UNIX vendor ships a version of sendmail that believes
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
701 a folded Content-Type header is a syntax error, and returns any such
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
702 message to sender. A typical error message from such a sendmail
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
703 version is,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
704
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
705 553 header syntax error, line \" charset=us-ascii\"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
706
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
707 If you see one of these, setting vm-mime-avoid-folding-content-type
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
708 non-nil may let your mail get through.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
709
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
710 (defvar vm-mime-base64-decoder-program nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
711 "*Non-nil value should be a string that names a MIME base64 decoder.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
712 The program should expect to read base64 data on its standard
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
713 input and write the converted data to its standard output.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
714
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
715 (defvar vm-mime-base64-decoder-switches nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
716 "*List of command line flags passed to the command named by
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
717 vm-mime-base64-decoder-program.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
718
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
719 (defvar vm-mime-base64-encoder-program nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
720 "*Non-nil value should be a string that names a MIME base64 encoder.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
721 The program should expect arbitrary data on its standard
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
722 input and write base64 data to its standard output.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
723
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
724 (defvar vm-mime-base64-encoder-switches nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
725 "*List of command line flags passed to the command named by
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
726 vm-mime-base64-encoder-program.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
727
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 (defvar vm-auto-next-message t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 "*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
730 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
731 current messages. A nil value disables this behavior.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 (defvar vm-honor-page-delimiters nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 "*Non-nil value causes VM to honor page delimiters (as specified by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 Emacs page-delimiter variable) when scrolling through a message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 (defvar vm-default-window-configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 ;; startup = full screan summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 ;; quitting = full screen folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 ;; reading-message = folder on bottom, summary on top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 ;; composing-message = full screen composition
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 ;; editing-message = full screen edit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 ;; vm-summarize = folder on bottom, summary on top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 '(
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 (startup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 (quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 ((nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 (reading-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 (composing-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 ((nil composition))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 (editing-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 (((0 0 80 40)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 ((nil edit))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 ((nil nil nil t))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 (vm-summarize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 ((((top . 70) (left . 70)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 (((- (0 0 80 10) (0 10 80 40))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 ((nil summary) (nil message))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 ((nil nil nil t) (nil nil nil nil))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 "Default window configuration for VM if the user does not specify one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 If you want to completely turn off VM's window configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 feature, set this variable and vm-window-configuration-file to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 nil in your .vm file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 If you want to have a different window configuration setup than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 this, you should not set this variable directly. Rather you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 should set the variable vm-window-configuration-file to point at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 a file, and use the command vm-save-window-configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 (normally bound to `WS') to modify part of this configuration to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 your liking.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 WARNING: Don't point vm-window-configuration-file at your .vm or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 .emacs file. Your window configuration file should start out as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 an empty or nonexistent file. VM will repeatedly overwrite this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 file as you update your window configuration settings, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 anything else you put into this file will go away.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 (defvar vm-window-configuration-file "~/.vm.windows"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 "*Non-nil value should be a string that tells VM where to load
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 and save your window configuration settings. Your window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 configuration settings are loaded automatically the first time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 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
799 windows depending on what you are doing inside VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 The commands vm-save-window-configuration (normally bound to `WS') and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 vm-delete-window-configuration (bound to `WD') let you update this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 information; see their documentation for more information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 You cannot change your window configuration setup without giving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 vm-window-configuration-file a non-nil value. A nil value causes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 VM to use the default window setup specified by the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 vm-default-window-configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 WARNING: Don't point vm-window-configuration-file at your .vm or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 .emacs file. Your window configuration file should start out as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 an empty or nonexistent file. VM will repeatedly overwrite this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 file as you update your window configuration settings, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 anything else you put into this file will go away.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 (defvar vm-confirm-quit 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 "*Value of t causes VM to always ask for confirmation before quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 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
819 will be lost unwittingly by quitting, i.e. not removed by intentional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 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
821 only when there are unsaved changes to message attributes, or when messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 will be unwittingly lost.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 (defvar vm-folder-directory nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 "*Directory where folders of mail are kept.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 (defvar vm-confirm-new-folders nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 "*Non-nil value causes interactive calls to vm-save-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 to ask for confirmation before creating a new folder.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 (defvar vm-delete-empty-folders t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 "*Non-nil value means remove empty (zero length) folders after saving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 A value of t means always remove the folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 A value of nil means never remove empty folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 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
836
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
837 (defvar vm-flush-interval 90
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 "*Non-nil value specifies how often VM flushes its cached internal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 data. A numeric value gives the number of seconds between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 flushes. A value of t means flush every time there is a change.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 Nil means don't do flushing until a message or folder is saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 Normally when a message attribute is changed. VM keeps the record
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 of the change in its internal memory and doesn't insert the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 changed data into the folder buffer until a particular message or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 the whole folder is saved to disk. This makes normal Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 auto-saving useless for VM folder buffers because the information
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
848 you'd want to auto-save, i.e. the attribute changes are not in
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 the buffer when it is auto-saved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 Setting vm-flush-interval to a numeric value will cause the VM's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 internal memory caches to be periodically flushed to the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 buffer. This is done non-obtrusively, so that if you type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 something while flushing is occurring, the flush will abort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 cleanly and Emacs will respond to your keystrokes as usual.")
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-visit-when-saving 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 "*Value determines whether VM will visit folders when saving messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 `Visiting' means that VM will read the folder into Emacs and append the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 message to the buffer instead of appending to the folder file directly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 This behavior is ideal when folders are encrypted or compressed since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 appending plaintext directly to such folders is a ghastly mistake.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 A value of t means VM will always visit folders when saving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 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
867 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
868 that is being visited. The latter restriction is necessary to insure
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 that the buffer and disk copies of the folder being visited remain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 consistent.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 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
873 buffer if that folder is being visited, otherwise VM saves to the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 file itself.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 (defvar vm-auto-folder-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 "*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
878 folder name when messages are saved. The alist should be of the form
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 \((HEADER-NAME-REGEXP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 (REGEXP . FOLDER-NAME) ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 ...))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 where HEADER-NAME-REGEXP and REGEXP are strings, and FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 is a string or an s-expression that evaluates to a string.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 If any part of the contents of the message header whose name is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 matched by HEADER-NAME-REGEXP is matched by the regular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 expression REGEXP, VM will evaluate the corresponding FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 and use the result as the default when prompting for a folder to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 save the message in. If the resulting folder name is a relative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 pathname, then it will be rooted in the directory named by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 vm-folder-directory, or the default-directory of the currently
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 visited folder if vm-folder-directory is nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 When FOLDER-NAME is evaluated, the current buffer will contain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 only the contents of the header matched by HEADER-NAME-REGEXP.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 It is safe to modify this buffer. You can use the match data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 from any \\( ... \\) grouping constructs in REGEXP along with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 function buffer-substring to build a folder name based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 header information. If the result of evaluating FOLDER-NAME is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 list, then the list will be treated as another auto-folder-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 and will be descended recursively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 Whether REGEXP is matched case sensitively depends on the value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 of the variable vm-auto-folder-case-fold-search. Header names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 are always matched case insensitively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 (defvar vm-auto-folder-case-fold-search nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 "*Non-nil value means VM will ignore case when matching header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 contents while doing automatic folder selection via the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 vm-auto-folder-alist.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 (defvar vm-virtual-folder-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 "*Non-nil value should be a list of virtual folder definitions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 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
916 into what appears to be a single folder. A virtual folder definition
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 specifies which real folders should be searched for prospective messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 and what the inclusion criteria are.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 Each virtual folder definition should have the following form:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 (VIRTUAL-FOLDER-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 ( (FOLDER-NAME ...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 (SELECTOR [ARG ...]) ... )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 ... )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 VIRTUAL-FOLDER-NAME is the name of the virtual folder being defined.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 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
929
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 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
931 one FOLDER-NAME listed, the SELECTORs within that sublist will apply to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 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
933 all the folders in that directory should be searched.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 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
936 from one of the folders specified by the FOLDER-NAMEs should be included
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 in the virtual folder. Some SELECTORs require an argument ARG; unless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938 otherwise noted ARG may be omitted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 The recognized SELECTORs are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942 author - matches message if ARG matches the author; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 and - matches the message if all its argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 selectors match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 (and (author \"Derek McGinty\") (new))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 matches all new messages from Derek McGinty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 `and' takes any number of arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 any - matches any message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 deleted - matches message if it is flagged for deletion.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 edited - matches message if it has been edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 filed - matched message if it has been saved with its headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 forwarded - matches message if it has been forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 header - matches message if ARG matches any part of the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 portion of the message; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 label - matches message if message has a label named ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 less-chars-than - matches message if message has less than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959 characters. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 less-lines-than - matches message if message has less than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961 lines. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 more-chars-than - matches message if message has more than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 characters. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 more-lines-than - matches message if message has more than ARG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 lines. ARG should be a number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 marked - matches message if it is marked, as with vm-mark-message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 new - matches message if it is new.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 not - matches message only if its selector argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 does NOT match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970 (not (deleted))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 matches messages that are not deleted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 or - matches the message if any of its argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973 selectors match the message. Example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 (or (author \"Dave Weckl\") (subject \"drum\"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 matches messages from Dave Weckl or messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 with the word \"drum\" in their Subject header.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977 `or' takes any number of arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978 read - matches message if it is neither new nor unread.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 recipient - matches message if ARG matches any part of the recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980 list of the message. ARG should be a regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981 replied - matches message if it has been replied to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
982 sent-after - matches message if it was sent after the date ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 A fully specified date looks like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984 \"31 Dec 1999 23:59:59 GMT\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 although the parts can appear in any order.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 You can leave out any part and it will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 default to the current date's value for that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 part, with the exception of the hh:mm:ss
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989 part which defaults to midnight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990 sent-before - matches message if it was sent before the date ARG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 A fully specified date looks like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 \"31 Dec 1999 23:59:59 GMT\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 although the parts can appear in any order.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 You can leave out any part and it will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 default to the current date's value for that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 part, with the exception of the hh:mm:ss
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 part which defaults to midnight.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 subject - matches message if ARG matches any part of the message's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 subject; ARG should be a regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000 text - matches message if ARG matches any part of the text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 portion of the message; ARG should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002 regular expression.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003 unread - matches message if it is old but unread.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004 written - matches message if it has been saved without its headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 (defvar vm-virtual-mirror t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 "*Non-nil value causes the attributes of messages in virtual folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 to mirror the changes in the attributes of the underlying real messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 Similarly, changes in the attributes of virtual messages will change the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 attributes of the underlying real messages. A nil value causes virtual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 messages to have their own distinct set of attributes, apart from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 underlying real message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 vm-toggle-virtual-mirror, normally bound to `V M'.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020 (make-variable-buffer-local 'vm-virtual-mirror)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 (defvar vm-folder-read-only nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 "*Non-nil value causes a folder to be considered unmodifiable by VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 Commands that modify message attributes or messages themselves are disallowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 Commands that add or delete messages from the folder are disallowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 Commands that scan or allow the reading of messages are allowed but the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 `new' and `unread' message flags are not changed by them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033 vm-toggle-read-only, normally bound to C-x C-q.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1034 (make-variable-buffer-local 'vm-folder-read-only)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036 (defvar vm-included-text-prefix " > "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 "*String used to prefix included text in replies.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039 (defvar vm-keep-sent-messages 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 "*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
1041 `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
1042 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
1043 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
1044
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045 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
1046 record of your outgoing mail, use the mail-archive-file-name variable.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 (defvar vm-confirm-mail-send nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049 "*Non-nil means ask before sending a mail message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 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
1051
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 (defvar vm-mail-header-from nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053 "*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
1054 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
1055 insert a From header. This variable also controls the inclusion and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 format of the Resent-From header, when resending a message with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 vm-resend-message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1058
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1059 (defvar vm-reply-subject-prefix nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1060 "*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
1061 of the Subject header in replies, if the string is not already present.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1062 Nil means don't prefix the Subject header.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1063
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1064 (defvar vm-reply-ignored-addresses nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065 "*Non-nil value should be a list of regular expressions that match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 addresses that VM should automatically remove from the recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 headers of replies. These addresses are removed from the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 before you are placed in the message composition buffer. So if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 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
1070 it yourself.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1071
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1072 Case is ignored when matching the addresses.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 (defvar vm-reply-ignored-reply-tos nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 "*Non-nil value should be a list of regular expressions that match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 addresses that, if VM finds in a message's Reply-To header, VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077 should ignore the Reply-To header and not use it for replies. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 will use the From header instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1079
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1080 Case is ignored when matching the addresses.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1081
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1082 This variable exists solely to provide a escape chute from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083 mailing lists that add a Reply-To: mailing list header, thereby
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084 leaving no way to reply to just the author of a message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1085
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086 (defvar vm-in-reply-to-format "%i"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 "*String which specifies the format of the contents of the In-Reply-To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088 header that is generated for replies. See the documentation for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089 variable vm-summary-format for information on what this string may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 contain. The format should *not* end with a newline.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 Nil means don't put an In-Reply-To header in replies.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1093 (defvar vm-included-text-attribution-format "%F writes:\n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1094 "*String which specifies the format of the attribution that precedes the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1095 included text from a message in a reply. See the documentation for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 variable vm-summary-format for information on what this string may contain.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 Nil means don't attribute included text in replies.")
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-included-text-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 "*List of headers that should be retained in a message included in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 a reply. These should be listed in the order you wish them to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 appear in the included text. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104 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
1105 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109 If the value of vm-included-text-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 the headers matched by vm-included-text-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 headers that will be retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 If vm-included-text-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 headers matched by that variable will be omitted; all others will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115 be included. vm-included-text-headers determines the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 order in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 vm-included-text-headers list appearing last in the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 section of the included text.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 (defvar vm-included-text-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 what headers should not be retained in a message included in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 reply. This variable along with vm-included-text-headers determines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 which headers are retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 If the value of vm-included-text-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 the headers matched by vm-included-text-headers are the only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128 that will be retained.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 If vm-included-text-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 headers matched by this variable will not be retained; all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 others will be included. vm-included-text-headers determines the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133 header order in that case, with headers not matching any in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 the vm-included-text-headers list appearing last in the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 section of the included text.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 (defvar vm-forwarding-subject-format "forwarded message from %F"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 "*String which specifies the format of the contents of the Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 header that is generated for a forwarded message. See the documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140 for the variable vm-summary-format for information on what this string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141 may contain. The format should *not* end with nor contain a newline.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 Nil means leave the Subject header empty when forwarding.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 (defvar vm-forwarded-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145 "*List of headers that should be forwarded by vm-forward-message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 These should be listed in the order you wish them to appear in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147 the forwarded message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1148 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 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
1150 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1151 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1152 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 If the value of vm-unforwarded-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1155 matched by vm-forwarded-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1156 forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 If vm-unforwarded-header-regexp is non-nil, then only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 matched by that variable will be omitted; all others will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160 forwarded. vm-forwarded-headers determines the forwarding order
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162 vm-forwarded-headers list appearing last in the header section of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165 (defvar vm-unforwarded-header-regexp "only-drop-this-header"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 what headers should not be forwarded by vm-forward-message. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1168 variable along with vm-forwarded-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 are forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 If the value of vm-unforwarded-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172 matched by vm-forwarded-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1173 forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1175 If vm-unforwarded-header-regexp is non-nil, then only headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176 matched by this variable will not be forwarded; all others will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177 be forwarded. vm-forwarded-headers determines the forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 order in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179 vm-forwarded-headers list appearing last in the header section of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180 the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1182 (defvar vm-forwarding-digest-type "mime"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 "*Non-nil value should be a string that specifies the type of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1184 message encapsulation format to use when forwarding a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185 Legal values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1188 \"rfc1153\"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1189 \"mime\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1190 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1192 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
1193 end of the forwarded message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1195 (defvar vm-burst-digest-messages-inherit-labels t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1196 "*Non-nil values means messages from a digest inherit the digest's labels.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1197 Labels are added to messages with vm-add-message-labels, normally
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1198 bound to `l a'.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1199
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200 (defvar vm-digest-preamble-format "\"%s\" (%F)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201 "*String which specifies the format of the preamble lines generated by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202 vm-send-digest when it is invoked with a prefix argument. One
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203 line will be generated for each message put into the digest. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204 documentation for the variable vm-summary-format for information
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205 on what this string may contain. The format should *not* end
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1206 with nor contain a newline.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 (defvar vm-digest-center-preamble t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209 "*Non-nil value means VM will center the preamble lines that precede
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210 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
1211 ambient value of fill-column. A nil value suppresses centering.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 (defvar vm-digest-identifier-header-format "X-Digest: %s\n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 "*Header to insert into messages burst from a digest.
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
1215 Value should be a format string of the same type as vm-summary-format
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
1216 that describes a header to be inserted into each message burst from a
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
1217 digest. The format string must end with a newline.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1218
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1219 (defvar vm-digest-burst-type "guess"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1220 "*Value specifies the default digest type offered by vm-burst-digest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1221 when it asks you what type of digest you want to unpack. Allowed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1222 values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1224 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1225 \"rfc1153\"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1226 \"mime\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227 \"guess\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1229 rfc1153 digests have a preamble, followed by a line of exactly 70
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1230 dashes, with digested messages separated by lines of exactly 30 dashes.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1231
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1232 rfc934 digests separate messages on any line that begins with a few
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1233 dashes, but doesn't require lines with only dashes or lines with a
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1234 specific number of dashes. In the text of the message, any line
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
1235 beginning with dashes is textually modified to be preceded by a dash
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1236 and a space to prevent confusion with message separators.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1237
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1238 MIME digests use whatever boundary that is specified by the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1239 boundary parameter in the Content-Type header of the digest.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1240
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1241 If the value is \"guess\", and you take the default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1242 response when vm-burst-digest queries you, VM will try to guess
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1243 the digest type.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1244
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1245 (defvar vm-digest-send-type "mime"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1246 "*String that specifies the type of digest vm-send-digest will use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1247 Legal values of this variable are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1249 \"rfc934\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250 \"rfc1153\"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1251 \"mime\"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1253 ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1254
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1255 (defvar vm-rfc934-digest-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1256 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1257 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1259 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1260 "Date:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1261 "Message-ID:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1262 "Keywords:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263 "*List of headers that should be appear in RFC 934 digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1264 created by VM. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1265 to appear in the digest. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 There's no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 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
1268 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1269 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1270 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1272 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
1273 matched by vm-rfc934-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1274 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1275
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1276 If vm-rfc934-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1277 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1278 will be kept. vm-rfc934-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1279 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1280 vm-rfc934-digest-headers list appearing last in the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1281 of the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1283 (defvar vm-rfc934-digest-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1284 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1285 what headers should not appear in RFC 934 digests created by VM. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1286 variable along with vm-rfc934-digest-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1287 are kept and which are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1289 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
1290 matched by vm-rfc934-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1291 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1293 If vm-rfc934-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1294 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1295 will be kept. vm-rfc934-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1296 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1297 vm-rfc934-digest-headers list appearing last in the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1298 of the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1299
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1300 (defvar vm-rfc1153-digest-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1301 '("Resent-"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1302 "Date:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1303 "From:" "Sender:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1304 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1305 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1306 "Message-ID:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1307 "Keywords:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1308 "*List of headers that should be appear in RFC 1153 digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1309 created by VM. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1310 to appear in the digest. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1311 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1312 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
1313 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1314 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1315 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1316
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1317 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
1318 matched by vm-rfc1153-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1319 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1320
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1321 If vm-rfc1153-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1322 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1323 will be kept. vm-rfc1153-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1324 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1325 vm-rfc1153-digest-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1326 the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1328 (defvar vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1329 "*Non-nil value should be a regular expression header that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1330 what headers should not appear in RFC 1153 digests created by VM. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1331 variable along with vm-rfc1153-digest-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1332 are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1333
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1334 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
1335 matched by vm-rfc1153-digest-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1336 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1337
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1338 If vm-rfc1153-digest-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1339 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1340 will be kept. vm-rfc1153-digest-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1341 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1342 vm-rfc1153-digest-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1343 the digestified messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1344
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1345 (defvar vm-mime-digest-headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1346 '("Resent-"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1347 "From:" "Sender:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1348 "To:" "Cc:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1349 "Subject:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1350 "Date:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1351 "Message-ID:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1352 "Keywords:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1353 "MIME-Version:"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1354 "Content-")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1355 "*List of headers that should be appear in MIME digests
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1356 created by VM. These should be listed in the order you wish them
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1357 to appear in the messages in the digest. Regular expressions are
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1358 allowed. There's no need to anchor patterns with \"^\", as
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1359 searches always start at the beginning of a line. Put a colon at
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1360 the end of patterns to get exact matches. (E.g. \"Date\" matches
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1361 \"Date\" and \"Date-Sent\".) Header names are always matched
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1362 case insensitively.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1363
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1364 If the value of vm-mime-digest-discard-header-regexp is nil, the headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1365 matched by vm-mime-digest-headers are the only headers that will be
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1366 kept.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1367
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1368 If vm-mime-digest-discard-header-regexp is non-nil, then only
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1369 headers matched by that variable will be discarded; all others
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1370 will be kept. vm-mime-digest-headers determines the order of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1371 appearance in that case, with headers not matching any in the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1372 vm-mime-digest-headers list appearing last in the headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1373 of the digestified messages.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1374
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1375 (defvar vm-mime-digest-discard-header-regexp nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1376 "*Non-nil value should be a regular expression header that tells
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1377 which headers should not appear in MIME digests created
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1378 by VM. This variable along with vm-mime-digest-headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1379 determines which headers are kept and which are discarded.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1380
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1381 If the value of vm-mime-digest-discard-header-regexp is nil, the headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1382 matched by vm-mime-digest-headers are the only headers that will be
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1383 kept.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1384
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1385 If vm-mime-digest-discard-header-regexp is non-nil, then only
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1386 headers matched by this variable will be discarded; all others
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1387 will be kept. vm-mime-digest-headers determines the order of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1388 appearance in that case, with headers not matching any in the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1389 vm-mime-digest-headers list appearing last in the headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1390 of the digestified messages.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1391
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1392 (defvar vm-resend-bounced-headers
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1393 '("MIME-Version:" "Content-"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1394 "From:" "Sender:" "Reply-To:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1395 "To:" "Cc:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1396 "Subject:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1397 "Newsgroups:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1398 "In-Reply-To:" "References:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1399 "Keywords:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1400 "X-")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1401 "*List of headers that should be appear in messages resent with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1402 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
1403 to appear in the message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1404 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1405 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
1406 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1407 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1408 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1409
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1410 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
1411 matched by vm-resend-bounced-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1412 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1414 If vm-resend-bounced-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1415 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1416 will be kept. vm-resend-bounced-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1417 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1418 vm-resend-bounced-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1419 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1420
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1421 (defvar vm-resend-bounced-discard-header-regexp nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1422 "*Non-nil value should be a regular expression that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1423 what headers should not appear in a resent bounced message. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1424 variable along with vm-resend-bounced-headers determines which headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1425 are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1426
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1427 If the value of vm-resend-bounced-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1428 the headers matched by vm-resend-bounced-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1429 headers that will be kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1431 If vm-resend-bounced-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1432 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1433 will be kept. vm-resend-bounced-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1434 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1435 vm-resend-bounced-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1436 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1437
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1438 (defvar vm-resend-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1439 "*List of headers that should be appear in messages resent with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1440 vm-resend-message. These should be listed in the order you wish them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1441 to appear in the message. Regular expressions are allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1442 There is no need to anchor patterns with \"^\", as searches always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1443 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
1444 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1445 and \"Date-Sent\".) Header names are always matched case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1446 insensitively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1447
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1448 If the value of vm-resend-discard-header-regexp is nil, the headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1449 matched by vm-resend-headers are the only headers that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1450 kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1452 If vm-resend-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1453 headers matched by that variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1454 will be kept. vm-resend-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1455 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1456 vm-resend-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1457 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1458
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1459 (defvar vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1460 "*Non-nil value should be a regular expression that tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1461 what headers should not appear in a resent message. This
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1462 variable along with vm-resend-headers determines which
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1463 headers are kept and which headers are discarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1465 If the value of vm-resend-discard-header-regexp is nil,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1466 the headers matched by vm-resend-headers are the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1467 headers that will be kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1469 If vm-resend-discard-header-regexp is non-nil, then only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1470 headers matched by this variable will be discarded; all others
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1471 will be kept. vm-resend-headers determines the order of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1472 appearance in that case, with headers not matching any in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1473 vm-resend-headers list appearing last in the headers of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1474 the message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1475
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1476 (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
1477 "*String which specifies the message summary line format.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1478 The string may contain the printf-like `%' conversion specifiers which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1479 substitute information about the message into the final summary line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1480
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1481 Recognized specifiers are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1482 a - attribute indicators (always four characters wide)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1483 The first char is `D', `N', `U' or ` ' for deleted, new, unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1484 and read messages respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1485 The second char is `F', `W' or ` ' for filed (saved) or written
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1486 messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1487 The third char is `R', `Z' or ` ' for messages replied to,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1488 and forwarded messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1489 The fourth char is `E' if the message has been edited, ` ' otherwise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1490 A - longer version of attributes indicators (seven characters wide)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1491 The first char is `D', `N', `U' or ` ' for deleted, new, unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1492 and read messages respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1493 The second is `r' or ` ', for message replied to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1494 The third is `z' or ` ', for messages forwarded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1495 The fourth is `b' or ` ', for messages redistributed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1496 The fifth is `f' or ` ', for messages filed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1497 The sixth is `w' or ` ', for messages written.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1498 The seventh is `e' or ` ', for messages that have been edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1499 c - number of characters in message (ignoring headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1500 d - numeric day of month message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1501 f - author's address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1502 F - author's full name (same as f if full name not found)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1503 h - hour:min:sec message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1504 H - hour:min message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1505 i - message ID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1506 I - thread indentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1507 l - number of lines in message (ignoring headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1508 L - labels (as a comma list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1509 m - month message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1510 M - numeric month message sent (January = 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1511 n - message number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1512 s - message subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1513 t - addresses of the recipients of the message, in a comma-separated list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1514 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
1515 If a full name cannot be found, the corresponding address is used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1516 instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1517 U - user defined specifier. The next character in the format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1518 string should be a letter. VM will call the function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1519 vm-summary-function-<letter> (e.g. vm-summary-function-A for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1520 \"%UA\") in the folder buffer with the message being summarized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1521 bracketed by (point-min) and (point-max). The function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1522 will be passed a message struct as an argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1523 The function should return a string, which VM will insert into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1524 the summary as it would for information from any other summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1525 specifier.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1526 w - day of the week message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1527 y - year message sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1528 z - timezone of date when the message was sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1529 * - `*' if the message is marked, ` ' otherwise
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1530
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1531 Use %% to get a single %.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1532
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1533 A numeric field width may be given between the `%' and the specifier;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1534 this causes right justification of the substituted string. A negative field
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1535 width causes left justification.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1536
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1537 The field width may be followed by a `.' and a number specifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1538 the maximum allowed length of the substituted string. If the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1539 string is longer than this value the right end of the string is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1540 truncated. If the value is negative, the string is truncated on
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1541 the left instead of the right.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1542
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1543 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
1544 a newline, otherwise the message pointer will not be displayed correctly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1545 in the summary window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1546
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1547 (defvar vm-summary-arrow "->"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1548 "*String that is displayed to the left of the summary of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1549 message VM consider to be the current message. The value takes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1550 effect when the summary buffer is created. Changing this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1551 variable's value has no effect on existing summary buffers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1552
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1553 (defvar vm-summary-highlight-face 'bold
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1554 "*Face to use to highlight the summary entry for the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1555 Nil means don't highlight the current message's summary entry.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1556
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1557 (defvar vm-mouse-track-summary t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1558 "*Non-nil value means highlight summary lines as the mouse passes
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1559 over them.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1560
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1561 (defvar vm-summary-show-threads nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1562 "*Non-nil value means VM should display and maintain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1563 message thread trees in the summary buffer. This means that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1564 messages with a common ancestor will be displayed contiguously in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1565 the summary. (If you have vm-move-messages-physically set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1566 non-nil the folder itself will be reordered to match the thread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1567 ordering.) If you use the `%I' summary format specifier in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1568 vm-summary-format, indentation will be provided as described in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1569 documentation for vm-summary-thread-indent-level (which see).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1570
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1571 A nil value means don't display thread information. The `%I'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1572 specifier does nothing in the summary format.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1574 This variable automatically becomes buffer-local when set in any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1575 fashion. You should set this variable only in your .vm or .emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1576 file. Use setq-default. Once VM has been started, you should not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1577 set this variable directly, rather you should use the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1578 vm-toggle-threads-display, normally bound to C-t.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1579 (make-variable-buffer-local 'vm-summary-show-threads)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1580
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1581 (defvar vm-summary-thread-indent-level 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1582 "*Value should be a number that specifies how much
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1583 indentation the '%I' summary format specifier should provide per
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1584 thread level. A message's `thread level' refers to the number of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1585 direct ancestors from the message to the oldest ancestor the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1586 message has that is in the current folder. For example, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1587 first message of a thread is generally a message about a new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1588 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
1589 Therefore it has no ancestor and would cause %I to generate no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1590 indentation. A reply to this message will be indented by the value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1591 of vm-summary-thread-indent-level. A reply to that reply will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1592 indented twice the value of vm-summary-thread-indent-level.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1594 (defvar vm-thread-using-subject t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1595 "*Non-nil value causes VM to use the Subject header to thread messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1596 Messages with the same subject will be grouped together.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1598 A nil value means VM will disregard the Subject header when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1599 threading messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1601 (defvar vm-summary-uninteresting-senders nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1602 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1603 addresses that you don't consider interesting enough to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1604 appear in the summary. When such senders would be displayed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1605 the %F or %f summary format specifiers VM will substitute the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1606 value of vm-summary-uninteresting-senders-arrow (default \"To:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1607 \") followed by what would be shown by the %T and %t specifiers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1608 respectively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1609
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1610 (defvar vm-summary-uninteresting-senders-arrow "To: "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1611 "*String to display before the string that is displayed instead of an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1612 \"uninteresting\" sender. See vm-summary-uninteresting-senders.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1614 (defvar vm-auto-center-summary nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1615 "*Value controls whether VM will keep the summary arrow vertically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1616 centered within the summary window. A value of t causes VM to always
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1617 keep arrow centered. A value of nil means VM will never bother centering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1618 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
1619 arrow only if the summary window is not the only existing window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1620
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1621 (defvar vm-subject-ignored-prefix "^\\(re: *\\)+"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1622 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1623 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
1624 when threading, sorting, marking, and killing messages by subject.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1626 Matches are done case-insensitively.")
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-subject-ignored-suffix "\\( (fwd)\\| \\)+$"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1629 "*Non-nil value should be a regular expression that matches
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1630 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
1631 when threading, sorting, marking and killing messages by subject.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1632
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1633 Matches are done case-insensitively.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1634
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1635 (defvar vm-mutable-windows pop-up-windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1636 "*This variable's value controls VM's window usage.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1637
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1638 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
1639 the entire screen for its purposes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1640
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1641 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
1642 it was invoked. VM will not create, delete, or use any other windows,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1643 nor will it resize its own window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1644
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1645 (defvar vm-mutable-frames t
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1646 "*Non-nil value means VM is allowed to create and destroy frames
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1647 to display and undisplay buffers. Whether VM actually does
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1648 so depends on the value of the variables with names prefixed by
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1649 `vm-frame-per-'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1651 VM can create a frame to display a buffer, and delete frame to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1652 undisplay a buffer. A nil value means VM should not create or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1653 delete frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1654
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1655 This variable used to have a different meaning but it was changed
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1656 to better reflect what users expected. This variable is now a
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1657 frame analogue of vm-mutable-windows.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1658
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1659 This variable does not apply to the VM commands whose
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1660 names end in -other-frame, which always create a new frame.")
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 10
diff changeset
1661
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1662 (defvar vm-raise-frame-at-startup t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1663 "*Specifies whether VM should raise its frame at startup.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1664 A value of nil means never raise the frame.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1665 A value of t means always raise the frame.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1666 Other values are reserved for future use.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1667
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1668 (defvar vm-frame-per-folder t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1669 "*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
1670 Nil means the commands will use the current frame. This variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1671 does not apply to the VM commands whose names end in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1672 -other-frame, which always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1673
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1674 This variable has no meaning if you're not running under an Emacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1675 capable of displaying multiple real or virtual frames. Note that
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1676 Emacs supports multiple virtual frames on dumb terminals, and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1677 VM will use them.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1678
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1679 (defvar vm-frame-per-summary nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1680 "*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
1681 Nil means the vm-summarize command will use the current frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1682 This variable does not apply to vm-summarize-other-frame, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1683 always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1684
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1685 This variable has no meaning if you're not running under an Emacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1686 capable of displaying multiple real or virtual frames. Note that
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1687 Emacs supports multiple virtual frames on dumb terminals, and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1688 VM will use them.")
0
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-frame-per-composition t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1691 "*Non-nil value causes the mail composition commands to open a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1692 Nil means the commands will use the current frame. This variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1693 does not apply to the VM commands whose names end in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1694 -other-frame, which always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1695
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1696 This variable has no meaning if you're not running under an Emacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1697 capable of displaying multiple real or virtual frames. Note that
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1698 Emacs supports multiple virtual frames on dumb terminals, and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1699 VM will use them.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1701 (defvar vm-frame-per-edit t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1702 "*Non-nil value causes vm-edit-message to open a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1703 Nil means the vm-edit-message will use the current frame. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1704 variable does not apply to vm-edit-message-other-frame, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1705 always create a new frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1706
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1707 This variable has no meaning if you're not running under an Emacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1708 capable of displaying multiple real or virtual frames. Note that
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1709 Emacs support multiple virtual frames on dumb terminals, and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1710 VM will use them.")
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1711
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1712 (defvar vm-frame-per-help nil
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1713 "*Non-nil value causes VM to open a new frame to display help buffers.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1714 Nil means the VM will use the current frame.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1715
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1716 This variable has no meaning if you're not running under an Emacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1717 capable of displaying multiple real or virtual frames. Note that
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1718 Emacs supports multiple virtual frames on dumb terminals, and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1719 VM will use them.")
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 10
diff changeset
1720
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1721 (defvar vm-frame-per-completion t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1722 "*Non-nil value causes VM to open a new frame on mouse
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1723 initiated completing reads. A mouse initiated completing read
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1724 occurs when you invoke a VM command using the mouse, either with a
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1725 menu or a toolbar button. That command must then prompt you for
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1726 information, and there must be a limited set of proper responses.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1727
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1728 If these conditions are met and vm-frame-per-completion's value
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1729 is non-nil, VM will create a new frame containing a list of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1730 responses that you can select with the mouse.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1731
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1732 A nil value means the current frame will be used to display the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1733 list of choices.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1734
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1735 This variable has no meaning if you're not running Emacs native
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1736 under X Windows or some other window system that allows multiple
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1737 real Emacs frames. Note that Emacs supports virtual frames under
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1738 ttys but VM will not use these to display completion information.")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1739
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1740 (defvar vm-frame-parameter-alist nil
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1741 "*Non-nil value is an alist of types and lists of frame parameters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1742 This list tells VM what frame parameters to associate with each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1743 new frame it creates of a specific type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1744
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1745 The alist should be of this form
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1746
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1747 ((SYMBOL PARAMLIST) (SYMBOL2 PARAMLIST2) ...)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1748
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1749 SYMBOL must be one of `completion', `composition', `edit',
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1750 `folder', `primary-folder' or `summary'. It specifies the type
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1751 of frame that the following PARAMLIST applies to.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1752
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1753 `completion' specifies parameters for frames that display list of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1754 choices generated by a mouse-initiated completing read.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1755 (See vm-frame-per-completion.)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1756 `composition' specifies parameters for mail composition frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1757 `edit' specifies parameters for message edit frames
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1758 (e.g. created by vm-edit-message-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1759 `folder' specifies parameters for frames created by `vm' and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1760 `vm-visit-' commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1761 `primary-folder' specifies parameters for the frame created by running
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1762 `vm' without any arguments.
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1763 `summary' specifies parameters for frames that display a summary buffer
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1764 (e.g. created by vm-summarize-other-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1765
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1766 PARAMLIST is a list of pairs as described in the documentation for
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
1767 the function `make-frame'.")
0
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 vm-search-other-frames t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1770 "*Non-nil means VM should search frames other than the selected frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1771 when looking for a window that is already displaying a buffer that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1772 VM wants to display or undisplay.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1773
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1774 (defvar vm-image-directory
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1775 (expand-file-name (concat data-directory "vm/"))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1776 "*Value specifies the directory VM should find its artwork.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1777
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1778 (defvar vm-use-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1779 '(next previous delete/undelete autofile file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1780 reply compose print visit quit nil help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1781 "*Non-nil value causes VM to provide a toolbar interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1782 Value should be a list of symbols that will determine which
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1783 toolbar buttons will appear and in what order. Valid symbol
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1784 value within the list are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1785
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1786 autofile
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1787 compose
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1788 delete/undelete
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1789 file
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1790 getmail
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1791 help
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1792 mime
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1793 next
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1794 previous
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1795 print
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1796 quit
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1797 reply
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1798 visit
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1799 nil
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1800
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1801 If nil appears in the list, it should appear exactly once. All
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1802 buttons after nil in the list will be displayed flushright in
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1803 top/bottom toolbars and flushbottom in left/right toolbars.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1804
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1805 This variable only has meaning under XEmacs 19.12 and beyond.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1806 See also vm-toolbar-orientation to control where the toolbar is placed.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1807
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1808 (defvar vm-toolbar-orientation 'left
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1809 "*Value is a symbol that specifies where the VM toolbar is located.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1810 Legal values are `left', `right' `top' and `bottom'. Any other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1811 value will be interpreted as `top'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1812
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1813 This variable only has meaning under XEmacs 19.12 and beyond.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1814
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
1815 (defvar vm-toolbar-pixmap-directory vm-image-directory
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1816 "*Value specifies the directory VM should find its toolbar pixmaps.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1817
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1818 (defvar vm-toolbar nil
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1819 "*Non-nil value should be a list of toolbar button descriptors.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1820 See the documentation for the variable default-toolbar for a
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1821 definition of what a toolbar button descriptor is.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1822
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1823 If vm-toolbar is set non-nil VM will use its value as a toolbar
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1824 instantiator instead of the usual beavior of building a button
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1825 list based on the value of vm-use-toolbar. vm-use-toolbar still
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1826 must be set non-nil for a toolbar to appear, however.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1827
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1828 Consider this variable experimental; it may not be supported forever.")
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
1829
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1830 (defvar vm-use-menus
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1831 (nconc (list 'folder 'motion 'send 'mark 'label 'sort 'virtual)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1832 (cond ((string-match ".*-.*-\\(win95\\|nt\\)" system-configuration)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1833 nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1834 (t (list 'undo)))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1835 (list 'dispose)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1836 (cond ((string-match ".*-.*-\\(win95\\|nt\\)" system-configuration)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1837 nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1838 (t (list 'emacs)))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1839 (list nil 'help))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1840 "*Non-nil value causes VM to provide a menu interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1841 A value that is a list causes VM to install its own menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1842 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
1843
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1844 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
1845 symbols. The symbols and the order that they are listed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1846 determine what menus will be in the menubar and how they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1847 ordered. Valid symbols values are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1848
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1849 dispose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1850 emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1851 folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1852 help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1853 label
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1854 mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1855 motion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1856 send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1857 sort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1858 undo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1859 virtual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1860 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1861
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1862 If nil appears in the list, it should appear exactly once. All
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1863 menus after nil in the list will be displayed flushright in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1864 menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1866 This variable only has meaning in Emacs environments where menus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1867 are provided, which usually means Emacs has to be running under a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1868 window system.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1869
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1870 (defvar vm-popup-menu-on-mouse-3 t
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1871 "*Non-nil value means VM should provide context-sensitive menus on mouse-3.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1872 A nil value means VM should not change the binding of mouse-3.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1873
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1874 (defvar vm-warp-mouse-to-new-frame nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1875 "*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
1876 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
1877 that randomly place newly created frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1879 Nil means don't move the mouse cursor.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1880
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1881 (defvar vm-url-browser
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1882 (cond ((fboundp 'w3-fetch-other-frame)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1883 'w3-fetch-other-frame)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1884 ((fboundp 'w3-fetch)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1885 'w3-fetch)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1886 (t 'vm-mouse-send-url-to-netscape))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1887 "*Non-nil value means VM should enable URL passing.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1888 This means that VM will search for URLs (Uniform Resource
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1889 Locators) in messages and make it possible for you to pass them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1890 to a World Wide Web browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1891
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1892 Clicking mouse-2 on the URL will send it to the browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1893
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1894 By default clicking mouse-3 on the URL will pop up a menu of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1895 browsers and you can pick which one you want to use. If
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1896 vm-popup-menu-on-mouse-3 is set to nil, you will not see the menu.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1897
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1898 Moving point to a character within the URL and pressing RETURN
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1899 will send the URL to the browser.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1900
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1901 If the value of vm-url-browser is a string, it should specify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1902 name of an external browser to run. The URL will be passed to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1903 the program as its first argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1904
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1905 If the value of vm-url-browser is a symbol, it should specify a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1906 Lisp function to call. The URL will be passed to the program as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1907 its first and only argument. Use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1908
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1909 (setq vm-url-browser 'vm-mouse-send-url-to-netscape)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1910
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1911 for Netscape, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1912
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1913 (setq vm-url-browser 'vm-mouse-send-url-to-mosaic)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1915 for Mosaic. The advantage of using them is that they will display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1916 an URL using on existing Mosaic or Netscape process, if possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1917
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
1918 A nil value means VM should not enable URL passing to browsers.")
0
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-highlight-url-face 'bold-italic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1921 "*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
1922 Nil means don't highlight URLs.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1923
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1924 (defvar vm-url-search-limit 12000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1925 "*Non-nil numeric value tells VM how hard to search for URLs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1926 The number specifies the maximum message size in characters that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1927 VM will search for URLs. For message larger than this value, VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1928 will search from the beginning of the mssage to a point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1929 vm-url-search-limit / 2 characters into the message. Then VM will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1930 search from a point vm-url-search-limit / 2 characters from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1931 end of the message to the end of message.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1932
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1933 (defvar vm-display-xfaces nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1934 "*Non-nil means display images as specifies in X-Face headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1935 This requires at least XEmacs 19.12 with native xface support compiled in.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1936
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1937 (defvar vm-startup-with-summary t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1938 "*Value tells VM whether to generate a summary when a folder is visited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1939 Nil means don't automatically generate a summary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1940
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1941 A value of t means always generate a summary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1942
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1943 A positive numeric value N means only generate a summary if there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1944 are N or more messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1945
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1946 A negative numeric value -N means only generate a summary if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1947 there are N or less messages.")
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-follow-summary-cursor t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1950 "*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
1951 summary window before executing commands that operate on the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1952 This occurs only when the summary buffer window is the selected window.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1953
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1954 (defvar vm-jump-to-new-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1955 "*Non-nil value causes VM to jump to the first new message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1956 whenever such messages arrive in a folder or the first time a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1957 folder is visited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1958
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1959 See also vm-jump-to-unread-messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1960
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1961 (defvar vm-jump-to-unread-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1962 "*Non-nil value causes VM to jump to the first unread message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1963 whenever such messages arrive in a folder or the first time a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1964 folder is visited. New messages are considered unread in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1965 context so new messages will be jumped to as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1966
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1967 The value of vm-jump-to-new-messages takes precedence over the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1968 setting of this variable. So if there are unread messages and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1969 new messages VM will jump to the first new message, even if an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1970 unread message appears before it in the folder, provided
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1971 vm-jump-to-new-messages is non-nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1972
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1973 (defvar vm-skip-deleted-messages t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1974 "*Non-nil value causes VM's `n' and 'p' commands to skip over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1975 deleted messages. A value of t causes deleted messages to always be skipped.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1976 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
1977 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
1978 direction of motion.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1979
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1980 (defvar vm-skip-read-messages nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1981 "*Non-nil value causes VM's `n' and `p' commands to skip over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1982 messages that have already been read, in favor of new or unread messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1983 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
1984 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
1985 unread messages in the desired direction of motion.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1986
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1987 (defvar vm-move-after-deleting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1988 "*Non-nil value causes VM's `d' command to automatically invoke
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1989 vm-next-message or vm-previous-message after deleting, to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1990 past the deleted messages. A value of t means motion should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1991 honor the value of vm-circular-folders. A value that is not t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1992 and not nil means that motion should be done as if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1993 vm-circular-folders is set to nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1995 (defvar vm-move-after-undeleting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1996 "*Non-nil value causes VM's `u' command to automatically invoke
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1997 vm-next-message or vm-previous-message after undeleting, to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1998 past the undeleted messages. A value of t means motion should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1999 honor the value of vm-circular-folders. A value that is not t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2000 and not nil means that motion should be done as if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2001 vm-circular-folders is set to nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2002
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2003 (defvar vm-move-after-killing nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2004 "*Non-nil value causes VM's `k' command to automatically invoke
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2005 vm-next-message or vm-previous-message after killing messages, to try
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2006 to move past the deleted messages. A value of t means motion
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2007 should honor the value of vm-circular-folders. A value that is
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2008 not t and not nil means that motion should be done as if
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2009 vm-circular-folders is set to nil.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2010
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2011 (defvar vm-delete-after-saving nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2012 "*Non-nil value causes VM automatically to mark messages for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2013 after successfully saving them to a folder.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2014
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2015 (defvar vm-delete-after-archiving nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2016 "*Non-nil value causes VM automatically to mark messages for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2017 after successfully auto-archiving them with the vm-auto-archive-messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2018 command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2019
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2020 (defvar vm-delete-after-bursting nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2021 "*Non-nil value causes VM automatically to mark a message for deletion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2022 after it has been successfully burst by the vm-burst-digest command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2023
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2024 (defvar vm-circular-folders 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2025 "*Value determines whether VM folders will be considered circular by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2026 various commands. `Circular' means VM will wrap from the end of the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2027 to the start and vice versa when moving the message pointer, or deleting,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2028 undeleting or saving messages before or after the current message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2029
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2030 A value of t causes all VM commands to consider folders circular.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2031
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2032 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
2033 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
2034 For movement commands, this occurs after the message pointer has been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2035 moved as far as possible in the specified direction. For other commands,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2036 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
2037 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
2038 entirety.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2039
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2040 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
2041 consider folders circular. Saves, deletes and undelete commands will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2042 behave the same as if the value is nil.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2043
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2044 (defvar vm-search-using-regexps nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2045 "*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
2046 regular expression instead of as a literal string.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2047
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2048 (defvar vm-move-messages-physically nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2049 "*Non-nil value causes VM's commands that change the message order
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2050 of a folder to always move the physical messages involved and not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2051 just change the presentation order. Nil means that commands just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2052 change the order in which VM displays messages and leave the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2053 folder itself undisturbed.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2054
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2055 (defvar vm-edit-message-mode 'text-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2056 "*Major mode to use when editing messages in VM.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2057
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2058 (defvar vm-print-command lpr-command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2059 "*Command VM uses to print messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2060
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2061 (defvar vm-print-command-switches lpr-switches
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2062 "*List of command line flags passed to the command named by vm-print-command.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2063 VM uses vm-print-command to print messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2064
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2065 (defvar vm-berkeley-mail-compatibility
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2066 (memq system-type '(berkeley-unix netbsd))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2067 "*Non-nil means to read and write BSD Mail(1) style Status: headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2068 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
2069 Mail.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2070
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2071 (defvar vm-strip-reply-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2072 "*Non-nil value causes VM to strip away all comments and extraneous text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2073 from the headers generated in reply messages. If you use the \"fakemail\"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2074 program as distributed with Emacs, you probably want to set this variable
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2075 to t, because as of Emacs v18.52 \"fakemail\" could not handle unstripped
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2076 headers.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2077
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2078 (defvar vm-select-new-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2079 "*List of hook functions called every time a message with the 'new'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2080 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
2081 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2082 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2083 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2084
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2085 (defvar vm-select-unread-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2086 "*List of hook functions called every time a message with the 'unread'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2087 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
2088 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2089 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2090 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2091
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2092 (defvar vm-select-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2093 "*List of hook functions called every time a message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2094 is made to be the current message. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2095 current buffer will be the folder containing the message and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2096 start and end of the message will be bracketed by (point-min) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2097 (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2098
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2099 (defvar vm-arrived-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2100 "*List of hook functions called once for each message gathered from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2101 the system mail spool, or from another folder with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2102 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
2103 hooks are run the current buffer will be the folder containing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2104 the message and the start and end of the message will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2105 bracketed by (point-min) and (point-max).")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2107 (defvar vm-arrived-messages-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2108 "*List of hook functions called after VM has gathered a group of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2109 messages from the system mail spool, or from another folder with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2110 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
2111 hooks are run, the new messages will have already been added to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2112 the message list but may not yet appear in the summary. When the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2113 hooks are run the current buffer will be the folder containing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2114 the messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2116 (defvar vm-reply-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2117 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2118 composition buffer has been created for a reply. VM runs this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2119 hook and then runs vm-mail-mode-hook before leaving the user in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2120 the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2122 (defvar vm-forward-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2123 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2124 composition buffer has been created to forward a message. VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2125 runs this hook and then runs vm-mail-mode-hook before leaving the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2126 user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2128 (defvar vm-resend-bounced-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2129 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2130 composition buffer has been created to resend a bounced message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2131 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2132 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2134 (defvar vm-resend-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2135 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2136 composition buffer has been created to resend a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2137 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2138 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2140 (defvar vm-send-digest-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2141 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2142 composition buffer has been created to send a digest.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2143 VM runs this hook and then runs vm-mail-mode-hook before leaving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2144 the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2146 (defvar vm-mail-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2147 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2148 composition buffer has been created to send a non specialized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2149 message, i.e. a message that is not a reply, forward, digest,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2150 etc. VM runs this hook and then runs vm-mail-mode-hook before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2151 leaving the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2153 (defvar vm-summary-update-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2154 "*List of hook functions called just after VM updates an existing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2155 entry a folder summary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2156
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2157 (defvar vm-summary-redo-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2158 "*List of hook functions called just after VM adds or deletes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2159 entries from a folder summary.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2160
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2161 (defvar vm-visit-folder-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2162 "*List of hook functions called just after VM visits a folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2163 It doesn't matter if the folder buffer already exists, this hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2164 is run each time vm or vm-visit-folder is called interactively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2165 It is NOT run after vm-mode is called.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2167 (defvar vm-retrieved-spooled-mail-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2168 "*List of hook functions called just after VM has retrieved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2169 a group of messages from your system mailbox(es). When these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2170 hooks are run, the messages have been added to the folder buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2171 but not the message list or summary. When the hooks are run, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2172 current buffer will be the folder where the messages were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2173 incorporated.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2175 (defvar vm-edit-message-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2176 "*List of hook functions to be run just before a message is edited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2177 This is the last thing vm-edit-message does before leaving the user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2178 in the edit buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2180 (defvar vm-mail-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2181 "*List of hook functions to be run after a Mail mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2182 composition buffer has been created. This is the last thing VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2183 does before leaving the user in the Mail mode buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2185 (defvar vm-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2186 "*List of hook functions to run when a buffer enters vm-mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2187 These hook functions should generally be used to set key bindings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2188 and local variables.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2190 (defvar vm-mode-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2191 "*Old name for vm-mode-hook.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2192 Supported for backward compatibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2193 You should use the new name.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2195 (defvar vm-summary-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2196 "*List of hook functions to run when a VM summary buffer is created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2197 The current buffer will be that buffer when the hooks are run.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2198
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2199 (defvar vm-summary-mode-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2200 "*Old name for vm-summary-mode-hook.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2201 Supported for backward compatibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2202 You should use the new name.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2204 (defvar vm-virtual-mode-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2205 "*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
2206 The current buffer will be that buffer when the hooks are run.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2207
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2208 (defvar vm-presentation-mode-hook nil
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2209 "*List of hook functions to run when a VM presentation buffer is created.
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2210 The current buffer will be that buffer when the hooks are run.
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2211 Presentation buffers are used to display messages when some type of decoding
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2212 must be done to the message to make it presentable. E.g. MIME decoding.")
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2213
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2214 (defvar vm-quit-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2215 "*List of hook functions to run when you quit VM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2216 This applies to any VM quit command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2217
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2218 (defvar vm-summary-pointer-update-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2219 "*List of hook functions to run when VM summary pointer is updated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2220 When the hooks are run, the current buffer will be the summary buffer.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2221
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2222 (defvar vm-display-buffer-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2223 "*List of hook functions that are run every time VM wants to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2224 display a buffer. When the hooks are run the current buffer will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2225 be the buffer that VM wants to display. The hooks are expected
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2226 to select a window and VM will display the buffer in that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2227 window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2229 If you use display hooks, you should not use VM's builtin window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2230 configuration system as the result is likely to be confusing.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2231
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2232 (defvar vm-undisplay-buffer-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2233 "*List of hook functions that are run every time VM wants to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2234 remove a buffer from the display. When the hooks are run the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2235 current buffer will be the buffer that VM wants to disappear.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2236 The hooks are expected to do the work of removing the buffer from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2237 the display. The hook functions should not kill the buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2238
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2239 If you use undisplay hooks, you should not use VM's builtin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2240 window configuration system as the result is likely to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2241 confusing.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2242
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2243 (defvar vm-iconify-frame-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2244 "*List of hook functions that are run whenever VM iconifies a frame.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2245
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2246 (defvar vm-menu-setup-hook nil
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
2247 "*List of hook functions that are run just after all menus are initialized.")
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 10
diff changeset
2248
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2249 (defvar vm-mime-display-function nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2250 "*If non-nil, this should name a function to be called inside
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2251 vm-decode-mime-message to do the MIME display the current
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2252 message. The function is called with no arguments, and at the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2253 time of the call the current buffer will be the `presentation'
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2254 buffer for the folder, which is a temporary buffer that VM uses
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2255 for the display of MIME messages. A copy of the current message
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2256 will be in the presentation buffer at that time. The normal work
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2257 that vm-decode-mime-message would do is not done, because this
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2258 function is expected to subsume all of it.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2259
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2260 (defvar mail-yank-hooks nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2261 "Hooks called after a message is yanked into a mail composition.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2263 (This hook is deprecated, you should use mail-citation-hook instead.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2264
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2265 Value is a list of functions to be run.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2266 Each hook function can find the newly yanked message between point and mark.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2267 Each hook function should return with point and mark around the yanked message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2269 See the documentation for vm-yank-message to see when VM will run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2270 these hooks.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2272 (defvar mail-citation-hook nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2273 "*Hook for modifying a citation just inserted in the mail buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2274 Each hook function can find the citation between (point) and (mark t).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2275 And each hook function should leave point and mark around the citation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2276 text as modified.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2278 If this hook is entirely empty (nil), a default action is taken
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2279 instead of no action.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2281 (defvar mail-default-headers nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2282 "*A string containing header lines, to be inserted in outgoing messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2283 It is inserted before you edit the message,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2284 so you can edit or delete these lines.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2286 (defvar mail-signature nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2287 "*Text inserted at end of mail buffer when a message is initialized.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2288 If t, it means to insert the contents of the file `~/.signature'.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2289
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2290 (defvar vm-rename-current-buffer-function nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2291 "*Non-nil value should be a function to call to rename a buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2292 Value should be something that can be passed to `funcall'. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2293 this variable is non-nil, VM will use this function instead of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2294 its own buffer renaming code. The buffer to be renamed will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2295 the current buffer when the function is called.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2297 (defvar mode-popup-menu nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2298 "The mode-specific popup menu. Automatically buffer local.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2299 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
2300 (make-variable-buffer-local 'mode-popup-menu)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2301
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2302 (defvar vm-movemail-program "movemail"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2303 "*Name of program to use to move mail from the system spool
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2304 to another location. Normally this should be the movemail program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2305 distributed with Emacs.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2306
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2307 (defvar vm-netscape-program "netscape"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2308 "*Name of program to use to run Netscape.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2309 vm-mouse-send-url-to-netscape uses this.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2310
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2311 (defvar vm-netscape-program-switches nil
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2312 "*List of command line switches to pass to Netscape.")
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2313
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2314 (defvar vm-mosaic-program "Mosaic"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2315 "*Name of program to use to run Mosaic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2316 vm-mouse-send-url-to-mosaic uses this.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2317
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2318 (defvar vm-mosaic-program-switches nil
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2319 "*List of command line switches to pass to Mosaic.")
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2320
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2321 (defvar vm-temp-file-directory
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2322 (or (and (file-directory-p "/tmp") "/tmp")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2323 (and (file-directory-p "C:\\") "C:\\")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2324 "/tmp")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2325 "*Name of a directory where VM can put temporary files.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2326 This name must not end with a slash.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2327
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2328 (defvar vm-tale-is-an-idiot nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2329 "*Non-nil value causes vm-mail-send to check multi-line recipient
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2330 headers of outbound mail for lines that don't end with a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2331 comma. If such a line is found, an error is signaled and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2332 mail is not sent.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2333
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2334 (defvar vm-maintainer-address "bug-vm@uunet.uu.net"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2335 "Where to send VM bug reports.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2337 (defvar vm-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2338 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2339 ;; unneeded now that VM buffers all have buffer-read-only == t.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2340 ;; (suppress-keymap map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2341 (define-key map "h" 'vm-summarize)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2342 (define-key map "\M-n" 'vm-next-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2343 (define-key map "\M-p" 'vm-previous-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2344 (define-key map "n" 'vm-next-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2345 (define-key map "p" 'vm-previous-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2346 (define-key map "N" 'vm-next-message-no-skip)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2347 (define-key map "P" 'vm-previous-message-no-skip)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2348 (define-key map "\C-\M-n" 'vm-move-message-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2349 (define-key map "\C-\M-p" 'vm-move-message-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2350 (define-key map "\t" 'vm-goto-message-last-seen)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2351 (define-key map "\r" 'vm-goto-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2352 (define-key map "^" 'vm-goto-parent-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2353 (define-key map "t" 'vm-expose-hidden-headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2354 (define-key map " " 'vm-scroll-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2355 (define-key map "b" 'vm-scroll-backward)
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
2356 (define-key map 'delete 'vm-scroll-backward)
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 140
diff changeset
2357 (define-key map 'backspace 'vm-scroll-backward)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2358 (define-key map "D" 'vm-decode-mime-message)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2359 (define-key map "d" 'vm-delete-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2360 (define-key map "\C-d" 'vm-delete-message-backward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2361 (define-key map "u" 'vm-undelete-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2362 (define-key map "U" 'vm-unread-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2363 (define-key map "e" 'vm-edit-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2364 (define-key map "a" 'vm-set-message-attributes)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2365 (define-key map "j" 'vm-discard-cached-data)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2366 (define-key map "k" 'vm-kill-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2367 (define-key map "f" 'vm-followup)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2368 (define-key map "F" 'vm-followup-include-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2369 (define-key map "r" 'vm-reply)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2370 (define-key map "R" 'vm-reply-include-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2371 (define-key map "\M-r" 'vm-resend-bounced-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2372 (define-key map "B" 'vm-resend-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2373 (define-key map "z" 'vm-forward-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2374 (define-key map "c" 'vm-continue-composing-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2375 (define-key map "@" 'vm-send-digest)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2376 (define-key map "*" 'vm-burst-digest)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2377 (define-key map "m" 'vm-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2378 (define-key map "g" 'vm-get-new-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2379 (define-key map "G" 'vm-sort-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2380 (define-key map "v" 'vm-visit-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2381 (define-key map "s" 'vm-save-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2382 (define-key map "w" 'vm-save-message-sans-headers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2383 (define-key map "A" 'vm-auto-archive-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2384 (define-key map "S" 'vm-save-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2385 (define-key map "|" 'vm-pipe-message-to-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2386 (define-key map "#" 'vm-expunge-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2387 (define-key map "q" 'vm-quit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2388 (define-key map "x" 'vm-quit-no-change)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2389 (define-key map "i" 'vm-iconify-frame)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2390 (define-key map "?" 'vm-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2391 (define-key map "\C-_" 'vm-undo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2392 (define-key map "\C-xu" 'vm-undo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2393 (define-key map "!" 'shell-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2394 (define-key map "<" 'vm-beginning-of-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2395 (define-key map ">" 'vm-end-of-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2396 (define-key map "\M-s" 'vm-isearch-forward)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2397 (define-key map "=" 'vm-summarize)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2398 (define-key map "L" 'vm-load-init-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2399 (define-key map "l" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2400 (define-key map "la" 'vm-add-message-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2401 (define-key map "ld" 'vm-delete-message-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2402 (define-key map "V" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2403 (define-key map "VV" 'vm-visit-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2404 (define-key map "VC" 'vm-create-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2405 (define-key map "VA" 'vm-apply-virtual-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2406 (define-key map "VM" 'vm-toggle-virtual-mirror)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2407 (define-key map "V?" 'vm-virtual-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2408 (define-key map "M" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2409 (define-key map "MN" 'vm-next-command-uses-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2410 (define-key map "Mn" 'vm-next-command-uses-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2411 (define-key map "MM" 'vm-mark-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2412 (define-key map "MU" 'vm-unmark-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2413 (define-key map "Mm" 'vm-mark-all-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2414 (define-key map "Mu" 'vm-clear-all-marks)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2415 (define-key map "MC" 'vm-mark-matching-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2416 (define-key map "Mc" 'vm-unmark-matching-messages)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2417 (define-key map "MT" 'vm-mark-thread-subtree)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2418 (define-key map "Mt" 'vm-unmark-thread-subtree)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2419 (define-key map "MS" 'vm-mark-messages-same-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2420 (define-key map "Ms" 'vm-unmark-messages-same-subject)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2421 (define-key map "MA" 'vm-mark-messages-same-author)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2422 (define-key map "Ma" 'vm-unmark-messages-same-author)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2423 (define-key map "MR" 'vm-mark-summary-region)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2424 (define-key map "Mr" 'vm-unmark-summary-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2425 (define-key map "M?" 'vm-mark-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2426 (define-key map "W" (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2427 (define-key map "WW" 'vm-apply-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2428 (define-key map "WS" 'vm-save-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2429 (define-key map "WD" 'vm-delete-window-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2430 (define-key map "W?" 'vm-window-help)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2431 (define-key map "\C-t" 'vm-toggle-threads-display)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2432 (define-key map "\C-x\C-s" 'vm-save-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2433 (define-key map "\C-x\C-w" 'vm-write-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2434 (define-key map "\C-x\C-q" 'vm-toggle-read-only)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2435 (define-key map "%" 'vm-change-folder-type)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2436 (define-key map "\M-C" 'vm-show-copying-restrictions)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2437 (define-key map "\M-W" 'vm-show-no-warranty)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2438 ;; suppress-keymap provides these, but now that we don't use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2439 ;; suppress-keymap anymore...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2440 (define-key map "0" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2441 (define-key map "1" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2442 (define-key map "2" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2443 (define-key map "3" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2444 (define-key map "4" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2445 (define-key map "5" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2446 (define-key map "6" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2447 (define-key map "7" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2448 (define-key map "8" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2449 (define-key map "9" 'digit-argument)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2450 (define-key map "-" 'negative-argument)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2451 (cond ((fboundp 'set-keymap-name)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2452 (set-keymap-name map 'vm-mode-map)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2453 (set-keymap-name (lookup-key map "l")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2454 "VM mode message labels map")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2455 (set-keymap-name (lookup-key map "V")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2456 "VM mode virtual folders map")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2457 (set-keymap-name (lookup-key map "M")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2458 "VM mode message marks map")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2459 (set-keymap-name (lookup-key map "W")
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2460 "VM mode window configuration map")))
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2461
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2462 map )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2463 "Keymap for VM mode.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2465 (defvar vm-summary-mode-map vm-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2466 "Keymap for VM Summary mode")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2467
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2468 (defvar vm-mail-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2469 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2470 (define-key map "\C-c\C-v" vm-mode-map)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2471 (define-key map "\C-c\C-p" 'vm-mime-preview-composition)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2472 (define-key map "\C-c\C-e" 'vm-mime-encode-composition)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2473 (define-key map "\C-c\C-a" 'vm-mime-attach-file)
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
2474 ;; (define-key map "\C-c\C-m" 'vm-mime-attach-mime-file)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2475 (define-key map "\C-c\C-y" 'vm-yank-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2476 (define-key map "\C-c\C-s" 'vm-mail-send)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2477 (define-key map "\C-c\C-c" 'vm-mail-send-and-exit)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2478 (cond ((fboundp 'set-keymap-name)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2479 (set-keymap-name map 'vm-mail-mode-map)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2480 map )
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2481 "Keymap for VM Mail mode buffers.
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2482 Its parent keymap is mail-mode-map.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2483
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2484 (defvar vm-edit-message-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2485 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2486 (define-key map "\C-c\C-v" vm-mode-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2487 (define-key map "\C-c\e" 'vm-edit-message-end)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2488 (define-key map "\C-c\C-c" 'vm-edit-message-end)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2489 (define-key map "\C-c\C-]" 'vm-edit-message-abort)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2490 (cond ((fboundp 'set-keymap-name)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2491 (set-keymap-name map 'vm-edit-message-map)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2492 map )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2493 "Keymap for the buffers created by VM's vm-edit-message command.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2495 (defvar vm-folder-history nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2496 "List of folders visited this Emacs session.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2497
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2498 ;; internal vars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2499 (defvar vm-folder-type nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2500 (make-variable-buffer-local 'vm-folder-type)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2501 (defvar vm-message-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2502 (make-variable-buffer-local 'vm-message-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2503 (defvar vm-virtual-folder-definition nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2504 (make-variable-buffer-local 'vm-virtual-folder-definition)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2505 (defvar vm-virtual-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2506 (make-variable-buffer-local 'vm-virtual-buffers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2507 (defvar vm-real-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2508 (make-variable-buffer-local 'vm-real-buffers)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2509 (defvar vm-message-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2510 (make-variable-buffer-local 'vm-message-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2511 (defvar vm-message-order-changed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2512 (make-variable-buffer-local 'vm-message-order-changed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2513 (defvar vm-message-order-header-present nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2514 (make-variable-buffer-local 'vm-message-order-header-present)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2515 (defvar vm-last-message-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2516 (make-variable-buffer-local 'vm-last-message-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2517 (defvar vm-mail-buffer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2518 (make-variable-buffer-local 'vm-mail-buffer)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2519 (defvar vm-presentation-buffer nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2520 (make-variable-buffer-local 'vm-presentation-buffer)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2521 (defvar vm-presentation-buffer-handle nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2522 (make-variable-buffer-local 'vm-presentation-buffer-handle)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2523 (defvar vm-mime-decoded nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2524 (make-variable-buffer-local 'vm-mime-decoded)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2525 (defvar vm-summary-buffer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2526 (make-variable-buffer-local 'vm-summary-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2527 (defvar vm-summary-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2528 (make-variable-buffer-local 'vm-summary-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2529 (defvar vm-system-state nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2530 (make-variable-buffer-local 'vm-system-state)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2531 (defvar vm-undo-record-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2532 (make-variable-buffer-local 'vm-undo-record-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2533 (defvar vm-saved-undo-record-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2534 (make-variable-buffer-local 'vm-saved-undo-record-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2535 (defvar vm-undo-record-pointer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2536 (make-variable-buffer-local 'vm-undo-record-pointer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2537 (defvar vm-last-save-folder nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2538 (make-variable-buffer-local 'vm-last-save-folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2539 (defvar vm-last-written-file nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2540 (make-variable-buffer-local 'vm-last-written-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2541 (defvar vm-last-visit-folder nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2542 (defvar vm-last-pipe-command nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2543 (make-variable-buffer-local 'vm-last-pipe-command)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2544 (defvar vm-messages-not-on-disk 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2545 (make-variable-buffer-local 'vm-messages-not-on-disk)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2546 (defvar vm-totals nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2547 (make-variable-buffer-local 'vm-totals)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2548 (defvar vm-modification-counter 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2549 (make-variable-buffer-local 'vm-modification-counter)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2550 (defvar vm-flushed-modification-counter nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2551 (make-variable-buffer-local 'vm-flushed-modification-counter)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2552 (defvar vm-tempfile-counter 0)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2553 (defvar vm-messages-needing-summary-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2554 (defvar vm-buffers-needing-display-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2555 (defvar vm-numbering-redo-start-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2556 (make-variable-buffer-local 'vm-numbering-redo-start-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2557 (defvar vm-numbering-redo-end-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2558 (make-variable-buffer-local 'vm-numbering-redo-end-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2559 (defvar vm-summary-redo-start-point nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2560 (make-variable-buffer-local 'vm-summary-redo-start-point)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2561 (defvar vm-need-summary-pointer-update nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2562 (make-variable-buffer-local 'vm-need-summary-pointer-update)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2563 (defvar vm-thread-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2564 (make-variable-buffer-local 'vm-thread-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2565 (defvar vm-thread-subject-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2566 (make-variable-buffer-local 'vm-thread-subject-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2567 (defvar vm-label-obarray nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2568 (make-variable-buffer-local 'vm-label-obarray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2569 (defvar vm-block-new-mail nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2570 (make-variable-buffer-local 'vm-block-new-mail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2571 (defvar vm-saved-buffer-modified-p nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2572 (make-variable-buffer-local 'vm-saved-buffer-modified-p)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2573 (defvar vm-kept-mail-buffers nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2574 (defvar vm-inhibit-write-file-hook nil)
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2575 ;; used to choose between the default and
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2576 ;; mail-extract-address-components but I don't see the utility of
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2577 ;; it anymore. It tries to be too smart.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2578 ;;(defvar vm-chop-full-name-function 'vm-choose-chop-full-name-function)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2579 (defvar vm-chop-full-name-function 'vm-default-chop-full-name)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2580 (defvar vm-session-beginning t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2581 (defvar vm-init-file-loaded nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2582 (defvar vm-window-configurations nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2583 (defvar vm-window-configuration nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2584 (defvar vm-message-id-number 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2585 (defconst vm-spool-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2586 (or (and (boundp 'rmail-spool-directory) rmail-spool-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2587 "/usr/spool/mail/"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2588 (defconst vm-content-length-search-regexp "^Content-Length:.*\n\\|\\(\n\n\\)")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2589 (defconst vm-content-length-header "Content-Length:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2590 (defconst vm-attributes-header-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2591 "^X-VM-\\(Attributes\\|v5-Data\\):\\(.*\n\\([ \t].*\n\\)*\\)")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2592 (defconst vm-attributes-header "X-VM-v5-Data:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2593 (defconst vm-message-order-header-regexp "^X-VM-Message-Order:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2594 (defconst vm-message-order-header "X-VM-Message-Order:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2595 (defconst vm-bookmark-header-regexp "^X-VM-Bookmark:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2596 (defconst vm-bookmark-header "X-VM-Bookmark:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2597 (defconst vm-summary-header-regexp "^X-VM-Summary-Format:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2598 (defconst vm-summary-header "X-VM-Summary-Format:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2599 (defconst vm-vheader-header-regexp "^X-VM-VHeader:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2600 (defconst vm-vheader-header "X-VM-VHeader:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2601 (defconst vm-labels-header-regexp "^X-VM-Labels:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2602 (defconst vm-labels-header "X-VM-Labels:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2603 (defconst vm-berkeley-mail-status-header "Status: ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2604 (defconst vm-berkeley-mail-status-header-regexp "^Status: \\(..?\\)\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2605 (defvar vm-matched-header-vector (make-vector 6 nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2606 (defconst vm-supported-folder-types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2607 '("From_" "From_-with-Content-Length" "mmdf" "babyl"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2608 (defconst vm-supported-window-configurations
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2609 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2610 ("default")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2611 ("startup")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2612 ("quitting")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2613 ("composing-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2614 ("editing-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2615 ("marking-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2616 ("reading-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2617 ("searching-message")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2618 ("vm")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2619 ("vm-add-message-labels")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2620 ("vm-apply-virtual-folder")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2621 ("vm-auto-archive-messages")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2622 ("vm-beginning-of-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2623 ("vm-burst-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2624 ("vm-burst-mime-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2625 ("vm-burst-rfc1153-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2626 ("vm-burst-rfc934-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2627 ("vm-change-folder-type")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2628 ("vm-clear-all-marks")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2629 ("vm-continue-composing-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2630 ("vm-create-virtual-folder")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2631 ("vm-decode-mime-message")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2632 ("vm-delete-message")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2633 ("vm-delete-message-backward")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2634 ("vm-delete-message-labels")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2635 ("vm-discard-cached-data")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 54
diff changeset
2636 ("vm-edit-message")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2637 ("vm-edit-message-abort")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 54
diff changeset
2638 ("vm-edit-message-end")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2639 ("vm-edit-message-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2640 ("vm-end-of-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2641 ("vm-expose-hidden-headers")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2642 ("vm-expunge-folder")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2643 ("vm-followup")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2644 ("vm-followup-include-text")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2645 ("vm-followup-include-text-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2646 ("vm-followup-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2647 ("vm-forward-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2648 ("vm-forward-message-all-headers")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2649 ("vm-forward-message-all-headers-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2650 ("vm-forward-message-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2651 ("vm-get-new-mail")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2652 ("vm-goto-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2653 ("vm-goto-message-last-seen")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2654 ("vm-goto-parent-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2655 ("vm-help")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2656 ("vm-isearch-forward")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2657 ("vm-kill-subject")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2658 ("vm-load-init-file")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2659 ("vm-mail")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2660 ("vm-mail-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2661 ("vm-mail-other-window")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2662 ("vm-mail-send")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2663 ("vm-mail-send-and-exit")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2664 ("vm-mark-all-messages")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2665 ("vm-mark-help")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2666 ("vm-mark-matching-messages")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2667 ("vm-mark-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2668 ("vm-mark-messages-same-author")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2669 ("vm-mark-messages-same-subject")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2670 ("vm-mark-summary-region")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2671 ("vm-mark-thread-subtree")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2672 ("vm-mode")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2673 ("vm-move-message-backward")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2674 ("vm-move-message-backward-physically")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2675 ("vm-move-message-forward")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2676 ("vm-move-message-forward-physically")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2677 ("vm-next-command-uses-marks")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2678 ("vm-next-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2679 ("vm-next-message-no-skip")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2680 ("vm-next-message-no-skip")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2681 ("vm-next-message-same-subject")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2682 ("vm-next-unread-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2683 ("vm-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2684 ("vm-other-window")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2685 ("vm-pipe-message-to-command")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2686 ("vm-previous-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2687 ("vm-previous-message-no-skip")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2688 ("vm-previous-message-no-skip")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2689 ("vm-previous-message-same-subject")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2690 ("vm-previous-unread-message")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 54
diff changeset
2691 ("vm-quit")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2692 ("vm-quit-just-bury")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2693 ("vm-quit-just-iconify")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2694 ("vm-quit-no-change")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2695 ("vm-reply")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2696 ("vm-reply-include-text")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2697 ("vm-reply-include-text-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2698 ("vm-reply-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2699 ("vm-resend-bounced-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2700 ("vm-resend-bounced-message-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2701 ("vm-resend-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2702 ("vm-resend-message-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2703 ("vm-save-and-expunge-folder")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2704 ("vm-save-buffer")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2705 ("vm-save-folder")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2706 ("vm-save-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2707 ("vm-save-message-sans-headers")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2708 ("vm-scroll-backward")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2709 ("vm-scroll-forward")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2710 ("vm-send-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2711 ("vm-send-digest-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2712 ("vm-send-mime-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2713 ("vm-send-mime-digest-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2714 ("vm-send-rfc1153-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2715 ("vm-send-rfc1153-digest-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2716 ("vm-send-rfc934-digest")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2717 ("vm-send-rfc934-digest-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2718 ("vm-set-message-attributes")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2719 ("vm-show-copying-restrictions")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2720 ("vm-show-no-warranty")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2721 ("vm-sort-messages")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2722 ("vm-submit-bug-report")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2723 ("vm-summarize")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2724 ("vm-summarize-other-frame")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2725 ("vm-toggle-read-only")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2726 ("vm-toggle-threads-display")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2727 ("vm-undelete-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2728 ("vm-undo")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2729 ("vm-unmark-matching-messages")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2730 ("vm-unmark-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2731 ("vm-unmark-messages-same-author")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2732 ("vm-unmark-messages-same-subject")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2733 ("vm-unmark-summary-region")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2734 ("vm-unmark-thread-subtree")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2735 ("vm-unread-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2736 ("vm-virtual-help")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2737 ("vm-visit-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2738 ("vm-visit-folder-other-frame")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2739 ("vm-visit-folder-other-window")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2740 ("vm-visit-virtual-folder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2741 ("vm-visit-virtual-folder-other-frame")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2742 ("vm-visit-virtual-folder-other-window")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2743 ("vm-write-file")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2744 ("vm-yank-message")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2745 ("vm-yank-message-other-folder")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2746 ))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2747 (defconst vm-supported-sort-keys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2748 '("date" "reversed-date"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2749 "author" "reversed-author"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2750 "subject" "reversed-subject"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2751 "recipients" "reversed-recipients"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2752 "line-count" "reversed-line-count"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2753 "byte-count" "reversed-byte-count"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2754 "physical-order" "reversed-physical-order"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2755 (defconst vm-supported-interactive-virtual-selectors
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2756 '(("any")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2757 ("header")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2758 ("label")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2759 ("text")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2760 ("recipient")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2761 ("author")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2762 ("subject")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2763 ("sent-before")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2764 ("sent-after")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2765 ("more-chars-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2766 ("less-chars-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2767 ("more-lines-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2768 ("less-lines-than")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2769 ("new")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2770 ("unread")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2771 ("read")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2772 ("deleted")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2773 ("replied")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2774 ("forwarded")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2775 ("filed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2776 ("written")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2777 ("edited")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2778 ("marked")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2779 (defconst vm-supported-attribute-names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2780 '("new"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2781 "unread"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2782 "read"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2783 "deleted"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2784 "replied"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2785 "forwarded"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2786 "redistributed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2787 "filed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2788 "written"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2789 "edited"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2790 "undeleted"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2791 "unreplied"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2792 "unforwarded"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2793 "unredistributed"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2794 "unfiled"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2795 "unwritten"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2796 "unedited"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2797 ;; for babyl cogniscenti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2798 "recent"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2799 "unseen"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2800 "answered"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2801 "unanswered"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2802
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2803 (defvar vm-key-functions nil)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2804 (defconst vm-digest-type-alist '(("rfc934") ("rfc1153") ("mime")))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2805 (defvar vm-completion-auto-correct t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2806 "Non-nil means that minibuffer-complete-file should aggressively erase
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2807 the trailing part of a word that caused completion to fail, and retry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2808 the completion with the resulting word.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2809 (defvar vm-minibuffer-completion-table nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2810 "Completion table used by vm-minibuffer-complete-word.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2811 Should be just a list of strings, not an alist or an obarray.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2812 (defvar vm-completion-auto-space t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2813 "Non-nil value means that vm-minibuffer-complete-word should automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2814 append a space to words that complete unambiguously.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2815 (defconst vm-attributes-vector-length 9)
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 110
diff changeset
2816 (defconst vm-cache-vector-length 21)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2817 (defconst vm-softdata-vector-length 18)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2818 (defconst vm-location-data-vector-length 6)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2819 (defconst vm-mirror-data-vector-length 5)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2820 (defconst vm-startup-message-lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2821 '("Please use \\[vm-submit-bug-report] to report bugs."
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2822 "For discussion about the VM mail reader, see the gnu.emacs.vm.info newsgroup"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2823 "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
2824 "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
2825 "In Stereo (where available)"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2826 (defconst vm-startup-message-displayed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2827 ;; for the mode line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2828 (defvar vm-mode-line-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2829 '("" " %&%& "
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2830 ("VM " vm-version ": "
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2831 (vm-folder-read-only "read-only ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2832 (vm-virtual-folder-definition (vm-virtual-mirror "mirrored "))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2833 "%b"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2834 (vm-mail-buffer (vm-ml-sort-keys ("" " by " vm-ml-sort-keys)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2835 (vm-message-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2836 (" " vm-ml-message-number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2837 " (of " vm-ml-highest-message-number ")")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2838 (vm-folder-type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2839 " (unrecognized folder type)"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2840 " (no messages)")))
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2841 (vm-spooled-mail-waiting " Mail")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2842 (vm-message-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2843 (" %[ " vm-ml-message-attributes-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2844 (vm-ml-labels ("; " vm-ml-labels)) " %] ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2845 (" %[%] "))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2846 "%p" " " global-mode-string))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2847
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2848 (defvar vm-ml-message-attributes-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2849 '((vm-ml-message-new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2850 "new"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2851 (vm-ml-message-unread
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2852 "unread"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2853 (vm-ml-message-read "read")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2854 (vm-ml-message-edited " edited")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2855 (vm-ml-message-filed " filed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2856 (vm-ml-message-written " written")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2857 (vm-ml-message-replied " replied")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2858 (vm-ml-message-forwarded " forwarded")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2859 (vm-ml-message-redistributed " redistributed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2860 (vm-ml-message-deleted " deleted")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2861 (vm-ml-message-marked " MARKED")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2862 (defvar vm-ml-message-number nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2863 (make-variable-buffer-local 'vm-ml-message-number)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2864 (defvar vm-ml-highest-message-number nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2865 (make-variable-buffer-local 'vm-ml-highest-message-number)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2866 (defvar vm-ml-sort-keys nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2867 (make-variable-buffer-local 'vm-ml-sort-keys)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2868 (defvar vm-ml-labels nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2869 (make-variable-buffer-local 'vm-ml-labels)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2870 ; unused now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2871 ;(defvar vm-ml-attributes-string nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2872 ;(make-variable-buffer-local 'vm-ml-attributes-string)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2873 (defvar vm-ml-message-new nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2874 (make-variable-buffer-local 'vm-ml-message-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2875 (defvar vm-ml-message-unread nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2876 (make-variable-buffer-local 'vm-ml-message-unread)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2877 (defvar vm-ml-message-read nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2878 (make-variable-buffer-local 'vm-ml-message-read)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2879 (defvar vm-ml-message-edited nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2880 (make-variable-buffer-local 'vm-ml-message-edited)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2881 (defvar vm-ml-message-replied nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2882 (make-variable-buffer-local 'vm-ml-message-replied)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2883 (defvar vm-ml-message-forwarded nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2884 (make-variable-buffer-local 'vm-ml-message-forwarded)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2885 (defvar vm-ml-message-redistributed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2886 (make-variable-buffer-local 'vm-ml-message-redistributed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2887 (defvar vm-ml-message-deleted nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2888 (make-variable-buffer-local 'vm-ml-message-deleted)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2889 (defvar vm-ml-message-filed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2890 (make-variable-buffer-local 'vm-ml-message-filed)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2891 (defvar vm-ml-message-written nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2892 (make-variable-buffer-local 'vm-ml-message-written)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2893 (defvar vm-ml-message-marked nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2894 (make-variable-buffer-local 'vm-ml-message-marked)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2895 ;; to make the tanjed compiler shut up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2896 (defvar vm-pop-read-point nil)
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
2897 (defvar vm-pop-ok-to-ask nil)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2898 (defvar vm-reply-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2899 (defvar vm-forward-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2900 (defvar vm-redistribute-list nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2901 (defvar current-itimer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2902 (defvar current-menubar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2903 (defvar scrollbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2904 (defvar top-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2905 (defvar top-toolbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2906 (defvar bottom-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2907 (defvar bottom-toolbar-height nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2908 (defvar right-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2909 (defvar right-toolbar-width nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2910 (defvar left-toolbar nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2911 (defvar left-toolbar-width nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2912 ;; this defvar matches the XEmacs one so it doesn't matter if VM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2913 ;; is loaded before highlight-headers.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2914 (defvar highlight-headers-regexp "Subject[ \t]*:")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2915 (defvar vm-url-regexp
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 157
diff changeset
2916 "<URL:\\([^>\n]+\\)>\\|\\(\\(file\\|ftp\\|gopher\\|http\\|https\\|news\\|wais\\|www\\)://[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]\\)\\|\\(mailto:[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]\\)"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2917 "Regular expression that matches an absolute URL.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2918 The URL itself must be matched by a \\(..\\) grouping.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2919 VM will extract the URL by copying the lowest number grouping
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2920 that has a match.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2921 (defconst vm-month-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2922 '(("jan" "January" "1")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2923 ("feb" "February" "2")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2924 ("mar" "March" "3")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2925 ("apr" "April" "4")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2926 ("may" "May" "5")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2927 ("jun" "June" "6")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2928 ("jul" "July" "7")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2929 ("aug" "August" "8")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2930 ("sep" "September" "9")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2931 ("oct" "October" "10")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2932 ("nov" "November" "11")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2933 ("dec" "December" "12")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2934 (defvar vm-pop-passwords nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2935 (defvar pop-up-frames nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2936 (defvar vm-parse-date-workspace (make-vector 6 nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2937 ;; cache so we don't call timezone-make-date-sortable so much.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2938 ;; messages have their own cache; this is for the virtual folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2939 ;; alist selectors.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2940 (defvar vm-sortable-date-alist nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2941 (defvar vm-summary-=> nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2942 (defvar vm-summary-no-=> nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2943 (defvar vm-summary-overlay nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2944 (make-variable-buffer-local 'vm-summary-overlay)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2945 (defvar vm-thread-loop-obarray (make-vector 29 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2946 (defvar vm-delete-duplicates-obarray (make-vector 29 0))
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
2947 (defvar vm-image-obarray (make-vector 29 0))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2948 (defvar vm-mail-mode-map-parented nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2949 (defvar vm-xface-cache (make-vector 29 0))
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2950 (defconst vm-mime-base64-alphabet
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2951 (concat
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2952 [
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2953 65 66 67 68 69 70 71 72 73 74 75 76 77
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2954 78 79 80 81 82 83 84 85 86 87 88 89 90
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2955 97 98 99 100 101 102 103 104 105 106 107 108 109
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2956 110 111 112 113 114 115 116 117 118 119 120 121 122
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2957 48 49 50 51 52 53 54 55 56 57 43 47
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2958 ]
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2959 ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2960 (defconst vm-mime-base64-alphabet-decoding-vector
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2961 [
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2962 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2963 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2964 0 0 0 0 0 0 0 0 0 0 0 62 0 0 0 63
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2965 52 53 54 55 56 57 58 59 60 61 0 0 0 0 0 0
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2966 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2967 15 16 17 18 19 20 21 22 23 24 25 0 0 0 0 0
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2968 0 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2969 41 42 43 44 45 46 47 48 49 50 51 0 0 0 0 0
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2970 ])
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2971
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2972 ;;(defconst vm-mime-base64-alphabet-decoding-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2973 ;; '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2974 ;; ( 65 . 00) ( 66 . 01) ( 67 . 02) ( 68 . 03) ( 69 . 04) ( 70 . 05)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2975 ;; ( 71 . 06) ( 72 . 07) ( 73 . 08) ( 74 . 09) ( 75 . 10) ( 76 . 11)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2976 ;; ( 77 . 12) ( 78 . 13) ( 79 . 14) ( 80 . 15) ( 81 . 16) ( 82 . 17)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2977 ;; ( 83 . 18) ( 84 . 19) ( 85 . 20) ( 86 . 21) ( 87 . 22) ( 88 . 23)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2978 ;; ( 89 . 24) ( 90 . 25) ( 97 . 26) ( 98 . 27) ( 99 . 28) (100 . 29)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2979 ;; (101 . 30) (102 . 31) (103 . 32) (104 . 33) (105 . 34) (106 . 35)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2980 ;; (107 . 36) (108 . 37) (109 . 38) (110 . 39) (111 . 40) (112 . 41)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2981 ;; (113 . 42) (114 . 43) (115 . 44) (116 . 45) (117 . 46) (118 . 47)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2982 ;; (119 . 48) (120 . 49) (121 . 50) (122 . 51) ( 48 . 52) ( 49 . 53)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2983 ;; ( 50 . 54) ( 51 . 55) ( 52 . 56) ( 53 . 57) ( 54 . 58) ( 55 . 59)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2984 ;; ( 56 . 60) ( 57 . 61) ( 43 . 62) ( 47 . 63)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2985 ;; ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2986 ;;
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2987 ;;(defvar vm-mime-base64-alphabet-decoding-vector
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2988 ;; (let ((v (make-vector 123 nil))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2989 ;; (p vm-mime-base64-alphabet-decoding-alist))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2990 ;; (while p
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2991 ;; (aset v (car (car p)) (cdr (car p)))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2992 ;; (setq p (cdr p)))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2993 ;; v ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2994
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2995 (defvar vm-message-garbage-alist nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2996 (make-variable-buffer-local 'vm-message-garbage-alist)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2997 (defvar vm-folder-garbage-alist nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2998 (make-variable-buffer-local 'vm-folder-garbage-alist)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
2999 (defconst vm-mime-header-list '("MIME-Version:" "Content-"))
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3000 (defconst vm-mime-mule-charset-to-coding-alist
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3001 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3002 ("us-ascii" no-conversion)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3003 ("iso-8859-1" no-conversion)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3004 ("iso-8859-2" iso-8859-2)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3005 ("iso-8859-3" iso-8859-3)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3006 ("iso-8859-4" iso-8859-4)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3007 ("iso-8859-5" iso-8859-5)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3008 ("iso-8859-6" iso-8859-6)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3009 ("iso-8859-7" iso-8859-7)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3010 ("iso-8859-8" iso-8859-8)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3011 ("iso-8859-9" iso-8859-9)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3012 ("iso-2022-jp" iso-2022-jp)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3013 ;; probably not correct, but probably better than nothing.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3014 ("iso-2022-jp-2" iso-2022-jp)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3015 ("iso-2022-int-1" iso-2022-int-1)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3016 ("iso-2022-kr" iso-2022-kr)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3017 ("euc-kr" iso-2022-kr)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3018 ))
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3019 (defvar vm-mime-mule-charset-to-charset-alist
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3020 '(
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3021 (latin-iso8859-1 "iso-8859-1")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3022 (latin-iso8859-2 "iso-8859-2")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3023 (latin-iso8859-3 "iso-8859-3")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3024 (latin-iso8859-4 "iso-8859-4")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3025 (cyrillic-iso8859-5 "iso-8859-5")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3026 (arabic-iso8859-6 "iso-8859-6")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3027 (greek-iso8859-7 "iso-8859-7")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3028 (hebrew-iso8859-8 "iso-8859-8")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3029 (latin-iso8859-9 "iso-8859-9")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3030 (japanese-jisx0208 "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3031 (korean-ksc5601 "iso-2022-kr")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3032 (chinese-gb2312 "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3033 (sisheng "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3034 (thai-tis620 "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3035 ))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3036 (defvar vm-mime-mule-coding-to-charset-alist
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3037 '(
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3038 (iso-2022-8 "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3039 (iso-2022-7-unix "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3040 (iso-2022-7-dos "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3041 (iso-2022-7-mac "iso-2022-jp")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
3042 ))
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3043 (defconst vm-mime-charset-completion-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3044 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3045 ("us-ascii")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3046 ("iso-8859-1")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3047 ("iso-8859-2")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3048 ("iso-8859-3")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3049 ("iso-8859-4")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3050 ("iso-8859-5")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3051 ("iso-8859-6")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3052 ("iso-8859-7")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3053 ("iso-8859-8")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3054 ("iso-8859-9")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3055 ("iso-2022-jp")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3056 ("iso-2022-jp-2")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3057 ("iso-2022-int-1")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3058 ("iso-2022-kr")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3059 ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3060 (defconst vm-mime-type-completion-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3061 '(
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3062 ("text/plain")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3063 ("text/enriched")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3064 ("text/html")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3065 ("audio/basic")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3066 ("image/jpeg")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3067 ("image/png")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3068 ("image/gif")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3069 ("image/tiff")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3070 ("video/mpeg")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3071 ("application/postscript")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3072 ("application/octet-stream")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3073 ("message/rfc822")
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
3074 ("message/news")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3075 ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3076 (defconst vm-mime-encoded-word-regexp
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3077 "=\\?\\([^?]+\\)\\?\\([BQ]\\)\\?\\([^?]+\\)\\?=")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3078 ;; for MS-DOS and Windows NT
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3079 ;; nil value means text file
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3080 ;; t value means binary file
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3081 ;; presumably it controls whether LF -> CRLF mapping is done
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3082 ;; when writing to files.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3083 (defvar buffer-file-type)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3084 (defvar vm-frame-list nil)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3085 (if (not (boundp 'shell-command-switch))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 76
diff changeset
3086 (defvar shell-command-switch "-c"))
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3087
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3088 (defconst vm-xemacs-p nil)
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3089 (defconst vm-xemacs-mule-p nil)
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3090 (defconst vm-fsfemacs-19-p nil)
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
3091 (defun vm-xemacs-p () vm-xemacs-p)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
3092 (defun vm-xemacs-mule-p () vm-xemacs-mule-p)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
3093 (defun vm-fsfemacs-19-p () vm-fsfemacs-19-p)
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3094 (defun vm-note-emacs-version ()
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3095 (setq vm-xemacs-p (string-match "XEmacs" emacs-version)
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3096 vm-xemacs-mule-p (and vm-xemacs-p (featurep 'mule)
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3097 ;; paranoia
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3098 (fboundp 'set-file-coding-system))
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3099 vm-fsfemacs-19-p (not vm-xemacs-p)))
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
3100 (vm-note-emacs-version)