annotate lisp/vm/vm-vars.el @ 36:c53a95d3c46d r19-15b101

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