comparison lisp/vm/vm-vars.el @ 114:8619ce7e4c50 r20-1b9

Import from CVS: tag r20-1b9
author cvs
date Mon, 13 Aug 2007 09:21:54 +0200
parents fe104dbd9147
children 7d55a9ba150c
comparison
equal deleted inserted replaced
113:2ec2fe4a4c89 114:8619ce7e4c50
379 (defvar vm-display-using-mime t 379 (defvar vm-display-using-mime t
380 "*Non-nil value means VM should display messages using MIME. 380 "*Non-nil value means VM should display messages using MIME.
381 MIME (Multipurpose Internet Mail Extensions) is a set of 381 MIME (Multipurpose Internet Mail Extensions) is a set of
382 extensions to the standard Internet message format that allows 382 extensions to the standard Internet message format that allows
383 reliable tranmission and reception of arbitrary data including 383 reliable tranmission and reception of arbitrary data including
384 images, audio and video as well as traditional text. 384 images, audio and video as well as ordinary text.
385 385
386 A non-nil value for this variable means that VM will recognize 386 A non-nil value for this variable means that VM will recognize
387 MIME encoded messages and display them as specified by the 387 MIME encoded messages and display them as specified by the
388 various MIME standards specifications. 388 various MIME standards specifications.
389 389
390 A nil value means VM will not display MIME messages any 390 A nil value means VM will not display MIME messages any
391 differently than any other message.") 391 differently than any other message.")
392
393 (defvar vm-mime-ignore-mime-version nil
394 "*Non-nil value means ignore the version number in the MIME-Version
395 header. VM only knows how to decode and display MIME version 1.0
396 messages. Some systems scramble the MIME-Version header, causing
397 VM to believe that it cannot display a message that it actually
398 can display. You can set vm-mime-ignore-mime-version non-nil if
399 you use such systems.")
392 400
393 ;; try to avoid bad interaction with TM 401 ;; try to avoid bad interaction with TM
394 (defvar vm-send-using-mime (not (featurep 'mime-setup)) 402 (defvar vm-send-using-mime (not (featurep 'mime-setup))
395 "*Non-nil value means VM should support sending messages using MIME. 403 "*Non-nil value means VM should support sending messages using MIME.
396 MIME (Multipurpose Internet Mail Extensions) is a set of 404 MIME (Multipurpose Internet Mail Extensions) is a set of
574 582
575 An example setup might be: 583 An example setup might be:
576 584
577 (setq vm-mime-charset-font-alist 585 (setq vm-mime-charset-font-alist
578 '( 586 '(
579 (\"iso-8859-7\" . \"-*-*-medium-r-normal--16-160-72-72-c-80-iso8859-7\") 587 (\"iso-8859-7\" . \"-*-*-medium-r-normal-*-16-160-72-72-c-80-iso8859-7\")
580 ) 588 )
581 ) 589 )
582 590
583 This variable is only useful for character sets whose characters 591 This variable is only useful for character sets whose characters
584 can all be encoded in single 8-bit bytes. Also multiple fonts 592 can all be encoded in single 8-bit bytes. Also multiple fonts
587 running Emacs on a tty. 595 running Emacs on a tty.
588 596
589 Note that under FSF Emacs any fonts you use must be the same size 597 Note that under FSF Emacs any fonts you use must be the same size
590 as your default font. XEmacs does not have this limitation.") 598 as your default font. XEmacs does not have this limitation.")
591 599
592 (defvar vm-mime-button-face 600 (defvar vm-mime-button-face 'gui-button-face
593 (cond ((and (fboundp 'find-face)
594 (fboundp 'device-type))
595 (or (and (not (eq (device-type) 'tty)) (find-face 'gui-button-face)
596 'gui-button-face)
597 (and (find-face 'bold-italic) 'bold-italic)))
598 ((fboundp 'facep)
599 (or (and (facep 'gui-button-face) 'gui-button-face)
600 (and (facep 'bold-italic) 'bold-italic))))
601 "*Face used for text in buttons that trigger the display of MIME objects.") 601 "*Face used for text in buttons that trigger the display of MIME objects.")
602 602
603 (defvar vm-mime-8bit-composition-charset "iso-8859-1" 603 (defvar vm-mime-8bit-composition-charset "iso-8859-1"
604 "*Character set that VM should assume if it finds non-US-ASCII characters 604 "*Character set that VM should assume if it finds non-US-ASCII characters
605 in a composition buffer. Composition buffers are assumed to use 605 in a composition buffer. Composition buffers are assumed to use
1200 the start of a digest. How the lines will be centered depends on the 1200 the start of a digest. How the lines will be centered depends on the
1201 ambient value of fill-column. A nil value suppresses centering.") 1201 ambient value of fill-column. A nil value suppresses centering.")
1202 1202
1203 (defvar vm-digest-identifier-header-format "X-Digest: %s\n" 1203 (defvar vm-digest-identifier-header-format "X-Digest: %s\n"
1204 "*Header to insert into messages burst from a digest. 1204 "*Header to insert into messages burst from a digest.
1205 Value should be a format string of the same type as vm-summary-format that describes a header to be inserted into each message burst from a digest. The format string must end with a newline.") 1205 Value should be a format string of the same type as vm-summary-format
1206 that describes a header to be inserted into each message burst from a
1207 digest. The format string must end with a newline.")
1206 1208
1207 (defvar vm-digest-burst-type "guess" 1209 (defvar vm-digest-burst-type "guess"
1208 "*Value specifies the default digest type offered by vm-burst-digest 1210 "*Value specifies the default digest type offered by vm-burst-digest
1209 when it asks you what type of digest you want to unpack. Allowed 1211 when it asks you what type of digest you want to unpack. Allowed
1210 values of this variable are: 1212 values of this variable are:
1218 dashes, with digested messages separated by lines of exactly 30 dashes. 1220 dashes, with digested messages separated by lines of exactly 30 dashes.
1219 1221
1220 rfc934 digests separate messages on any line that begins with a few 1222 rfc934 digests separate messages on any line that begins with a few
1221 dashes, but doesn't require lines with only dashes or lines with a 1223 dashes, but doesn't require lines with only dashes or lines with a
1222 specific number of dashes. In the text of the message, any line 1224 specific number of dashes. In the text of the message, any line
1223 beginning with dashes is textually modified to be preceeded by a dash 1225 beginning with dashes is textually modified to be preceded by a dash
1224 and a space to prevent confusion with message separators. 1226 and a space to prevent confusion with message separators.
1225 1227
1226 MIME digests use whatever boundary that is specified by the 1228 MIME digests use whatever boundary that is specified by the
1227 boundary parameter in the Content-Type header of the digest. 1229 boundary parameter in the Content-Type header of the digest.
1228 1230
2190 2192
2191 (defvar vm-virtual-mode-hook nil 2193 (defvar vm-virtual-mode-hook nil
2192 "*List of hook functions to run when a VM virtual folder buffer is created. 2194 "*List of hook functions to run when a VM virtual folder buffer is created.
2193 The current buffer will be that buffer when the hooks are run.") 2195 The current buffer will be that buffer when the hooks are run.")
2194 2196
2197 (defvar vm-presentation-mode-hook nil
2198 "*List of hook functions to run when a VM presentation buffer is created.
2199 The current buffer will be that buffer when the hooks are run.
2200 Presentation buffers are used to display messages when some type of decoding
2201 must be done to the message to make it presentable. E.g. MIME decoding.")
2202
2195 (defvar vm-quit-hook nil 2203 (defvar vm-quit-hook nil
2196 "*List of hook functions to run when you quit VM. 2204 "*List of hook functions to run when you quit VM.
2197 This applies to any VM quit command.") 2205 This applies to any VM quit command.")
2198 2206
2199 (defvar vm-summary-pointer-update-hook nil 2207 (defvar vm-summary-pointer-update-hook nil
2287 2295
2288 (defvar vm-netscape-program "netscape" 2296 (defvar vm-netscape-program "netscape"
2289 "*Name of program to use to run Netscape. 2297 "*Name of program to use to run Netscape.
2290 vm-mouse-send-url-to-netscape uses this.") 2298 vm-mouse-send-url-to-netscape uses this.")
2291 2299
2300 (defvar vm-netscape-program-switches nil
2301 "*List of command line switches to pass to Netscape.")
2302
2292 (defvar vm-mosaic-program "Mosaic" 2303 (defvar vm-mosaic-program "Mosaic"
2293 "*Name of program to use to run Mosaic. 2304 "*Name of program to use to run Mosaic.
2294 vm-mouse-send-url-to-mosaic uses this.") 2305 vm-mouse-send-url-to-mosaic uses this.")
2306
2307 (defvar vm-mosaic-program-switches nil
2308 "*List of command line switches to pass to Mosaic.")
2295 2309
2296 (defvar vm-temp-file-directory "/tmp" 2310 (defvar vm-temp-file-directory "/tmp"
2297 "*Name of a directory where VM can put temporary files. 2311 "*Name of a directory where VM can put temporary files.
2298 This name must not end with a slash.") 2312 This name must not end with a slash.")
2299 2313
2766 Should be just a list of strings, not an alist or an obarray.") 2780 Should be just a list of strings, not an alist or an obarray.")
2767 (defvar vm-completion-auto-space t 2781 (defvar vm-completion-auto-space t
2768 "Non-nil value means that vm-minibuffer-complete-word should automatically 2782 "Non-nil value means that vm-minibuffer-complete-word should automatically
2769 append a space to words that complete unambiguously.") 2783 append a space to words that complete unambiguously.")
2770 (defconst vm-attributes-vector-length 9) 2784 (defconst vm-attributes-vector-length 9)
2771 (defconst vm-cache-vector-length 20) 2785 (defconst vm-cache-vector-length 21)
2772 (defconst vm-softdata-vector-length 18) 2786 (defconst vm-softdata-vector-length 18)
2773 (defconst vm-location-data-vector-length 6) 2787 (defconst vm-location-data-vector-length 6)
2774 (defconst vm-mirror-data-vector-length 5) 2788 (defconst vm-mirror-data-vector-length 5)
2775 (defconst vm-startup-message-lines 2789 (defconst vm-startup-message-lines
2776 '("Please use \\[vm-submit-bug-report] to report bugs." 2790 '("Please use \\[vm-submit-bug-report] to report bugs."