comparison lisp/vm/vm-vars.el @ 10:49a24b4fd526 r19-15b6

Import from CVS: tag r19-15b6
author cvs
date Mon, 13 Aug 2007 08:47:52 +0200
parents ac2d302a0011
children 859a2309aef8
comparison
equal deleted inserted replaced
9:6f2bbbbbe05a 10:49a24b4fd526
760 message encapsulation format to use when forwarding a message. 760 message encapsulation format to use when forwarding a message.
761 Legal values of this variable are: 761 Legal values of this variable are:
762 762
763 \"rfc934\" 763 \"rfc934\"
764 \"rfc1153\" 764 \"rfc1153\"
765 \"rfc1521\"
766 nil 765 nil
767 766
768 A nil value means don't use a digest, just mark the beginning and 767 A nil value means don't use a digest, just mark the beginning and
769 end of the forwarded message.") 768 end of the forwarded message.")
770 769
790 when it asks you what type of digest you want to unpack. Allowed 789 when it asks you what type of digest you want to unpack. Allowed
791 values of this variable are: 790 values of this variable are:
792 791
793 \"rfc934\" 792 \"rfc934\"
794 \"rfc1153\" 793 \"rfc1153\"
795 \"rfc1521\"
796 \"guess\" 794 \"guess\"
797 795
798 If the value is \"guess\", and you take the default 796 If the value is \"guess\", and you take the default
799 response when vm-burst-digest queries you, VM will try to guess 797 response when vm-burst-digest queries you, VM will try to guess
800 the digest type.") 798 the digest type.")
801 799
802 (defvar vm-digest-send-type "rfc1521" 800 (defvar vm-digest-send-type "rfc934"
803 "*String that specifies the type of digest vm-send-digest will use. 801 "*String that specifies the type of digest vm-send-digest will use.
804 Legal values of this variable are: 802 Legal values of this variable are:
805 803
806 \"rfc934\" 804 \"rfc934\"
807 \"rfc1153\" 805 \"rfc1153\"
808 \"rfc1521\"
809 806
810 ") 807 ")
811 808
812 (defvar vm-rfc934-digest-headers 809 (defvar vm-rfc934-digest-headers
813 '("Resent-" 810 '("Resent-"
896 headers matched by this variable will be discarded; all others 893 headers matched by this variable will be discarded; all others
897 will be kept. vm-rfc1153-digest-headers determines the order of 894 will be kept. vm-rfc1153-digest-headers determines the order of
898 appearance in that case, with headers not matching any in the 895 appearance in that case, with headers not matching any in the
899 vm-rfc1153-digest-headers list appearing last in the headers of 896 vm-rfc1153-digest-headers list appearing last in the headers of
900 the digestified messages.") 897 the digestified messages.")
901
902 (defvar vm-rfc1521-digest-headers
903 '()
904 "*List of headers that should be appear in RFC 1521 digests
905 created by VM. These should be listed in the order you wish them
906 to appear in the digest. Regular expressions are allowed.
907 There is no need to anchor patterns with \"^\", as searches always
908 start at the beginning of a line. Put a colon at the end of
909 patterns to get exact matches. (E.g. \"Date\" matches \"Date\"
910 and \"Date-Sent\".) Header names are always matched case
911 insensitively.
912
913 If the value of vm-rfc1521-digest-discard-header-regexp is nil, the headers
914 matched by vm-rfc1521-digest-headers are the only headers that will be
915 kept.
916
917 If vm-rfc1521-digest-discard-header-regexp is non-nil, then only
918 headers matched by that variable will be discarded; all others
919 will be kept. vm-rfc1521-digest-headers determines the order of
920 appearance in that case, with headers not matching any in the
921 vm-rfc1521-digest-headers list appearing last in the headers of
922 the digestified messages.")
923
924
925 (defvar vm-rfc1521-digest-discard-header-regexp "\\(X400-\\)?Received:"
926 "*Non-nil value should be a regular expression header that tells
927 what headers should not appear in RFC 1521 digests created by VM. This
928 variable along with vm-rfc1521-digest-headers determines which headers
929 are kept and which headers are discarded.
930
931 If the value of vm-rfc1521-digest-discard-header-regexp is nil, the headers
932 matched by vm-rfc1521-digest-headers are the only headers that will be
933 kept.
934
935 If vm-rfc1521-digest-discard-header-regexp is non-nil, then only
936 headers matched by this variable will be discarded; all others
937 will be kept. vm-rfc1521-digest-headers determines the order of
938 appearance in that case, with headers not matching any in the
939 vm-1521-digest-headers list appearing last in the headers of
940 the digestified messages.")
941
942
943 898
944 (defvar vm-resend-bounced-headers 899 (defvar vm-resend-bounced-headers
945 '("Resent-" 900 '("Resent-"
946 "From:" "Sender:" "Reply-To:" 901 "From:" "Sender:" "Reply-To:"
947 "To:" "Cc:" 902 "To:" "Cc:"
1088 1043
1089 The field width may be followed by a `.' and a number specifying 1044 The field width may be followed by a `.' and a number specifying
1090 the maximum allowed length of the substituted string. If the 1045 the maximum allowed length of the substituted string. If the
1091 string is longer than this value the right end of the string is 1046 string is longer than this value the right end of the string is
1092 truncated. If the value is negative, the string is truncated on 1047 truncated. If the value is negative, the string is truncated on
1093 the left instead of the right. 1048 on the left instead of the right.
1094 1049
1095 The summary format need not be one line per message but it must end with 1050 The summary format need not be one line per message but it must end with
1096 a newline, otherwise the message pointer will not be displayed correctly 1051 a newline, otherwise the message pointer will not be displayed correctly
1097 in the summary window.") 1052 in the summary window.")
1098 1053
1259 1214
1260 This variable has no meaning if you're not running Emacs native 1215 This variable has no meaning if you're not running Emacs native
1261 under X Windows or some other window system that allows multiple 1216 under X Windows or some other window system that allows multiple
1262 Emacs frames.") 1217 Emacs frames.")
1263 1218
1264 ;; #### Chuck, I know you don't like external package mods but 1219 (defvar vm-frame-parameter-alist nil
1265 ;; this one is an absolute travesty, and VM has a simply
1266 ;; abominable time between releases. If you don't at least give
1267 ;; the VM frames a special name, it makes it impossible for lots
1268 ;; of other things to work sensibly.
1269 (defvar vm-frame-parameter-alist
1270 (if (string-match "XEmacs" emacs-version)
1271 '((folder ((name . "VM")))))
1272 "*Non-nil value is an alist of types and lists of frame parameters. 1220 "*Non-nil value is an alist of types and lists of frame parameters.
1273 This list tells VM what frame parameters to associate with each 1221 This list tells VM what frame parameters to associate with each
1274 new frame it creates of a specific type. 1222 new frame it creates of a specific type.
1275 1223
1276 The alist should be of this form 1224 The alist should be of this form
1277 1225
1278 ((SYMBOL PARAMLIST) (SYMBOL2 PARAMLIST2) ...) 1226 ((SYMBOL PARAMLIST) (SYMBOL2 PARAMLIST2) ...)
1279 1227
1280 SYMBOL must be one of `composition', `edit', `folder' or `summary'. 1228 SYMBOL must be one of `composition', `edit', `folder',
1281 It specifies the type of frame that the following PARAMLIST applies to. 1229 `primary-folder' or `summary'. It specifies the type of frame
1230 that the following PARAMLIST applies to.
1282 1231
1283 `composition' specifies parameters for mail composition frames. 1232 `composition' specifies parameters for mail composition frames.
1284 `edit' specifies parameters for message edit frames 1233 `edit' specifies parameters for message edit frames
1285 (e.g. created by vm-edit-message-other-frame) 1234 (e.g. created by vm-edit-message-other-frame)
1286 `folder' specifies parameters for frames created by `vm' and the 1235 `folder' specifies parameters for frames created by `vm' and the
1338 1287
1339 (defvar vm-toolbar-pixmap-directory 1288 (defvar vm-toolbar-pixmap-directory
1340 (expand-file-name (concat data-directory "vm/")) 1289 (expand-file-name (concat data-directory "vm/"))
1341 "*Value specifies the directory VM should find its toolbar pixmaps.") 1290 "*Value specifies the directory VM should find its toolbar pixmaps.")
1342 1291
1292 (defvar vm-toolbar nil
1293 "*Non-nil value should be a list of toolbar button descriptors.
1294 See the documentation for the variable default-toolbar for a
1295 definition of what a toolbar button descriptor is.
1296
1297 If vm-toolbar is set non-nil VM will use its value as a toolbar
1298 instantiator instead of the usual beavior of building a button
1299 list based on the value of vm-use-toolbar. vm-use-toolbar still
1300 must be set non-nil for a toolbar to appear, however.
1301
1302 Consider this variable experimental; it may not be supported forever.")
1303
1343 (defvar vm-use-menus '(folder motion send mark label sort 1304 (defvar vm-use-menus '(folder motion send mark label sort
1344 virtual undo dispose emacs nil help) 1305 virtual undo dispose emacs nil help)
1345 "*Non-nil value causes VM to provide a menu interface. 1306 "*Non-nil value causes VM to provide a menu interface.
1346 A value that is a list causes VM to install its own menubar. 1307 A value that is a list causes VM to install its own menubar.
1347 A value of 1 causes VM to install a \"VM\" item in the Emacs menubar. 1308 A value of 1 causes VM to install a \"VM\" item in the Emacs menubar.
1377 This is useful to give the new frame the focus under some window managers 1338 This is useful to give the new frame the focus under some window managers
1378 that randomly place newly created frames. 1339 that randomly place newly created frames.
1379 1340
1380 Nil means don't move the mouse cursor.") 1341 Nil means don't move the mouse cursor.")
1381 1342
1382 ;; if browse-url is around (always will be in XEmacs 19.14) use it; 1343 ;; if browse-url is around (always will be in XEmacs 19.14 or later) use it;
1383 ;; otherwise do our own support. 1344 ;; otherwise do our own support.
1384 (if (boundp 'browse-url-browser-function) 1345 (if (boundp 'browse-url-browser-function)
1385 (defvaralias 'vm-url-browser 'browse-url-browser-function) 1346 (defvaralias 'vm-url-browser 'browse-url-browser-function)
1386 (defvar vm-url-browser 1347 (defvar vm-url-browser
1387 (cond ((fboundp 'w3-fetch-other-frame) 1348 (cond ((fboundp 'w3-fetch-other-frame)
1388 'w3-fetch-other-frame) 1349 'w3-fetch-other-frame)
1389 ((fboundp 'w3-fetch) 1350 ((fboundp 'w3-fetch)
1390 'w3-fetch) 1351 'w3-fetch)
1391 (t 'vm-mouse-send-url-to-netscape)) 1352 (t 'vm-mouse-send-url-to-netscape))
1392 "*Non-nil value means VM should enable URL passing. 1353 "*Non-nil value means VM should enable URL passing.
1393 This means that VM will search for URLs (Universal Resource 1354 This means that VM will search for URLs (Universal Resource
1394 Locators) in messages and make it possible for you to pass them 1355 Locators) in messages and make it possible for you to pass them
1395 to a World Wide Web browser. 1356 to a World Wide Web browser.
1396 1357
1397 Clicking mouse-2 on the URL will send it to the browser. 1358 Clicking mouse-2 on the URL will send it to the browser.
1565 Mail.") 1526 Mail.")
1566 1527
1567 (defvar vm-strip-reply-headers nil 1528 (defvar vm-strip-reply-headers nil
1568 "*Non-nil value causes VM to strip away all comments and extraneous text 1529 "*Non-nil value causes VM to strip away all comments and extraneous text
1569 from the headers generated in reply messages. If you use the \"fakemail\" 1530 from the headers generated in reply messages. If you use the \"fakemail\"
1570 program as distributed with Emacs, you probably want to set this variable 1531 program as distributed with Emacs, you probably want to set this variable to
1571 to t, because as of Emacs v18.52 \"fakemail\" could not handle unstripped 1532 to t, because as of Emacs v18.52 \"fakemail\" could not handle unstripped
1572 headers.") 1533 headers.")
1573 1534
1574 (defvar vm-inhibit-startup-message nil 1535 (defvar vm-inhibit-startup-message nil
1575 "*Non-nil causes VM not to display its copyright notice, disclaimers 1536 "*Non-nil causes VM not to display its copyright notice, disclaimers
1736 1697
1737 (defvar vm-iconify-frame-hook nil 1698 (defvar vm-iconify-frame-hook nil
1738 "*List of hook functions that are run whenever VM iconifies a frame.") 1699 "*List of hook functions that are run whenever VM iconifies a frame.")
1739 1700
1740 (defvar vm-menu-setup-hook nil 1701 (defvar vm-menu-setup-hook nil
1741 "*List of hook function that are run just after all menus are initialized.") 1702 "*List of hook functions that are run just after all menus are initialized.")
1742 1703
1743 (defvar mail-yank-hooks nil 1704 (defvar mail-yank-hooks nil
1744 "Hooks called after a message is yanked into a mail composition. 1705 "Hooks called after a message is yanked into a mail composition.
1745 1706
1746 (This hook is deprecated, you should use mail-citation-hook instead.) 1707 (This hook is deprecated, you should use mail-citation-hook instead.)
2063 ("vm-kill-subject") 2024 ("vm-kill-subject")
2064 ("vm-expunge-folder") 2025 ("vm-expunge-folder")
2065 ("vm-burst-digest") 2026 ("vm-burst-digest")
2066 ("vm-burst-rfc934-digest") 2027 ("vm-burst-rfc934-digest")
2067 ("vm-burst-rfc1153-digest") 2028 ("vm-burst-rfc1153-digest")
2068 ("vm-burst-rfc1521-digest")
2069 ("vm-edit-message") 2029 ("vm-edit-message")
2070 ("vm-discard-cached-data") 2030 ("vm-discard-cached-data")
2071 ("vm-edit-message-end") 2031 ("vm-edit-message-end")
2072 ("vm-edit-message-abort") 2032 ("vm-edit-message-abort")
2073 ("vm-unread-message") 2033 ("vm-unread-message")
2132 ("vm-resend-bounced-message") 2092 ("vm-resend-bounced-message")
2133 ("vm-resend-message") 2093 ("vm-resend-message")
2134 ("vm-send-digest") 2094 ("vm-send-digest")
2135 ("vm-send-rfc934-digest") 2095 ("vm-send-rfc934-digest")
2136 ("vm-send-rfc1153-digest") 2096 ("vm-send-rfc1153-digest")
2137 ("vm-send-rfc1521-digest")
2138 ("vm-reply-other-frame") 2097 ("vm-reply-other-frame")
2139 ("vm-reply-include-text-other-frame") 2098 ("vm-reply-include-text-other-frame")
2140 ("vm-followup-other-frame") 2099 ("vm-followup-other-frame")
2141 ("vm-followup-include-text-other-frame") 2100 ("vm-followup-include-text-other-frame")
2142 ("vm-forward-message-other-frame") 2101 ("vm-forward-message-other-frame")
2146 ("vm-resend-bounced-message-other-frame") 2105 ("vm-resend-bounced-message-other-frame")
2147 ("vm-resend-message-other-frame") 2106 ("vm-resend-message-other-frame")
2148 ("vm-send-digest-other-frame") 2107 ("vm-send-digest-other-frame")
2149 ("vm-send-rfc934-digest-other-frame") 2108 ("vm-send-rfc934-digest-other-frame")
2150 ("vm-send-rfc1153-digest-other-frame") 2109 ("vm-send-rfc1153-digest-other-frame")
2151 ("vm-send-rfc1521-digest-other-frame")
2152 ("vm-continue-composing-message") 2110 ("vm-continue-composing-message")
2153 ("vm-auto-archive-messages") 2111 ("vm-auto-archive-messages")
2154 ("vm-save-message") 2112 ("vm-save-message")
2155 ("vm-save-message-sans-headers") 2113 ("vm-save-message-sans-headers")
2156 ("vm-pipe-message-to-command") 2114 ("vm-pipe-message-to-command")
2222 "unseen" 2180 "unseen"
2223 "answered" 2181 "answered"
2224 "unanswered")) 2182 "unanswered"))
2225 2183
2226 (defvar vm-key-functions nil) 2184 (defvar vm-key-functions nil)
2227 (defconst vm-digest-type-alist '(("rfc934") ("rfc1153") ("rfc1521"))) 2185 (defconst vm-digest-type-alist '(("rfc934") ("rfc1153")))
2228 (defvar vm-completion-auto-correct t 2186 (defvar vm-completion-auto-correct t
2229 "Non-nil means that minibuffer-complete-file should aggressively erase 2187 "Non-nil means that minibuffer-complete-file should aggressively erase
2230 the trailing part of a word that caused completion to fail, and retry 2188 the trailing part of a word that caused completion to fail, and retry
2231 the completion with the resulting word.") 2189 the completion with the resulting word.")
2232 (defvar vm-minibuffer-completion-table nil 2190 (defvar vm-minibuffer-completion-table nil