annotate lisp/vm/vm-vars.el @ 108:360340f9fd5f r20-1b6

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