comparison lisp/vm/vm-vars.el @ 54:05472e90ae02 r19-16-pre2

Import from CVS: tag r19-16-pre2
author cvs
date Mon, 13 Aug 2007 08:57:55 +0200
parents c53a95d3c46d
children 131b0175ea99
comparison
equal deleted inserted replaced
53:875393c1a535 54:05472e90ae02
219 for a pause while the check is being done.") 219 for a pause while the check is being done.")
220 220
221 (defvar vm-mail-check-interval 300 221 (defvar vm-mail-check-interval 300
222 "*Numeric value specifies the number of seconds between checks 222 "*Numeric value specifies the number of seconds between checks
223 for new mail. The maildrops for all visited folders are checked. 223 for new mail. The maildrops for all visited folders are checked.
224 The buffer local variable vm-spooled-mail-waiting is set non-nil 224
225 in the buffers of those folders that have mail waiting.") 225 A nil value means don't check for new mail.
226
227 Note that mail if new mail is found, it is not retrieved. The
228 buffer local variable vm-spooled-mail-waiting is set non-nil in
229 the buffers of those folders that have mail waiting. VM uses
230 the displays \"Mail\" in the mode line of folders that have mail
231 waiting.")
226 232
227 (defvar vm-spooled-mail-waiting nil 233 (defvar vm-spooled-mail-waiting nil
228 "Value is non-nil if there is mail waiting for the current folder. 234 "Value is non-nil if there is mail waiting for the current folder.
229 This variable's value is local in all buffers. 235 This variable's value is local in all buffers.
230 VM maintains this variable, you should not set it.") 236 VM maintains this variable, you should not set it.")
269 Before incorporating message into a visited folder, VM will check that the 275 Before incorporating message into a visited folder, VM will check that the
270 messages are of the same type as that folder. 276 messages are of the same type as that folder.
271 277
272 A nil value means don't do the checks. 278 A nil value means don't do the checks.
273 279
274 Depending on the value of vm-convert-folder-types VM will either 280 If non-nil, VM will either convert the messages to the appropriate
275 convert the messages to the appropriate type before saving or 281 type before saving or incorporating them, or it will signal an
276 incorporating them, or it will signal an error.") 282 error. The value of vm-convert-folder-types determines which
283 action VM will take.")
277 284
278 (defvar vm-convert-folder-types t 285 (defvar vm-convert-folder-types t
279 "*Non-nil value means that when VM checks folder types and finds 286 "*Non-nil value means that when VM checks folder types and finds
280 a mismatch (see vm-check-folder-types), it will convert the 287 a mismatch (see vm-check-folder-types), it will convert the
281 source messages to the type of the destination folder, if it can. 288 source messages to the type of the destination folder, if it can.
351 358
352 FSF Emacs always uses VM's builtin highlighting code.") 359 FSF Emacs always uses VM's builtin highlighting code.")
353 360
354 (defvar vm-highlighted-header-face 'bold 361 (defvar vm-highlighted-header-face 'bold
355 "*Face to be used to highlight headers. 362 "*Face to be used to highlight headers.
356 The header to highlight are sepcified by the vm-highlighted-header-regexp 363 The headers to highlight are specified by the vm-highlighted-header-regexp
357 variable. 364 variable.
358 365
359 This variable is ignored under XEmacs if vm-use-lucid-highlighting is 366 This variable is ignored under XEmacs if vm-use-lucid-highlighting is
360 nil. XEmacs' highlight-headers package is used instead. See the 367 nil. XEmacs' highlight-headers package is used instead. See the
361 documentation for the function `highlight-headers' to find out how to 368 documentation for the function `highlight-headers' to find out how to
388 various MIME standards specifications. 395 various MIME standards specifications.
389 396
390 A nil value means VM will not display MIME messages any 397 A nil value means VM will not display MIME messages any
391 differently than any other message.") 398 differently than any other message.")
392 399
393 (defvar vm-mime-ignore-mime-version nil 400 ;; this is t because at this time (11 April 1997) Solaris is
401 ;; generated too many mangled MIME version headers. For the same
402 ;; reason vm-mime-avoid-folding-content-type is also set to t.
403 (defvar vm-mime-ignore-mime-version t
394 "*Non-nil value means ignore the version number in the MIME-Version 404 "*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 405 header. VM only knows how to decode and display MIME version 1.0
396 messages. Some systems scramble the MIME-Version header, causing 406 messages. Some systems scramble the MIME-Version header, causing
397 VM to believe that it cannot display a message that it actually 407 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 408 can display. You can set vm-mime-ignore-mime-version non-nil if
448 that type are assumed to be included. 458 that type are assumed to be included.
449 459
450 Note that some types are processed specially, and this variable does not 460 Note that some types are processed specially, and this variable does not
451 apply to them. 461 apply to them.
452 462
453 Multipart/Digest and Message/RFC822 messages are always 463 multipart/digest messages are always displayed as a button to
454 displayed as a button to avoid visiting a new folder while the 464 avoid automatically visiting a new folder while you are moving
455 user is moving around in the current folder. 465 around in the current folder.
456 466
457 Message/Partial messages are always displayed as a button, 467 message/partial messages are always displayed as a button,
458 because there always needs to be a way to trigger the assembly 468 because there always needs to be a way to trigger the assembly
459 of the parts into a full message. 469 of the parts into a full message.
460 470
461 Any type that cannot be displayed internally or externally will 471 Any type that cannot be displayed internally or externally will
462 be displayed as a button that allows you to save the body to a 472 be displayed as a button that allows you to save the body to a
592 can all be encoded in single 8-bit bytes. Also multiple fonts 602 can all be encoded in single 8-bit bytes. Also multiple fonts
593 can only be displayed if you're running under a window system 603 can only be displayed if you're running under a window system
594 e.g. X windows. So this variable will have no effect if you're 604 e.g. X windows. So this variable will have no effect if you're
595 running Emacs on a tty. 605 running Emacs on a tty.
596 606
597 Note that under FSF Emacs any fonts you use must be the same size 607 Note that under FSF Emacs any fonts you use must be the same height
598 as your default font. XEmacs does not have this limitation.") 608 as your default font. XEmacs does not have this limitation.")
599 609
600 (defvar vm-mime-button-face 'gui-button-face 610 (defvar vm-mime-button-face 'gui-button-face
601 "*Face used for text in buttons that trigger the display of MIME objects.") 611 "*Face used for text in buttons that trigger the display of MIME objects.")
602 612
608 such a character is found. 618 such a character is found.
609 619
610 This variable is unused in XEmacs/MULE. Since multiple character 620 This variable is unused in XEmacs/MULE. Since multiple character
611 sets can be displayed in a single buffer under MULE, VM will map 621 sets can be displayed in a single buffer under MULE, VM will map
612 the file coding system of the buffer to a single MIME character 622 the file coding system of the buffer to a single MIME character
613 that can display all the buffer's characters.") 623 set that can display all the buffer's characters.")
614 624
615 (defvar vm-mime-8bit-text-transfer-encoding 'quoted-printable 625 (defvar vm-mime-8bit-text-transfer-encoding 'quoted-printable
616 "*Symbol specifying what kind of transfer encoding to use on 8bit 626 "*Symbol specifying what kind of transfer encoding to use on 8bit
617 text. Characters with the high bit set cannot safely pass 627 text. Characters with the high bit set cannot safely pass
618 through all mail gateways and mail transport software. MIME has 628 through all mail gateways and mail transport software. MIME has
681 (defvar vm-mime-attachment-save-directory nil 691 (defvar vm-mime-attachment-save-directory nil
682 "*Non-nil value is a default directory for saving MIME attachments. 692 "*Non-nil value is a default directory for saving MIME attachments.
683 When VM prompts you for a target file name when saving a MIME body, 693 When VM prompts you for a target file name when saving a MIME body,
684 any relative pathnames will be relative to this directory.") 694 any relative pathnames will be relative to this directory.")
685 695
686 (defvar vm-mime-avoid-folding-content-type nil 696 (defvar vm-mime-avoid-folding-content-type t
687 "*Non-nil means don't send folded Content-Type headers in MIME messages. 697 "*Non-nil means don't send folded Content- headers in MIME messages.
688 `Folded' headers are headers broken into multiple lines as specified 698 `Folded' headers are headers broken into multiple lines as specified
689 in RFC822 for readability and to avoid excessive line lengths. At 699 in RFC822 for readability and to avoid excessive line lengths. At
690 least one major UNIX vendor ships a version of sendmail that believes 700 least one major UNIX vendor ships a version of sendmail that believes
691 a folded Content-Type header is a syntax error, and returns any such 701 a folded Content-Type header is a syntax error, and returns any such
692 message to sender. A typical error message from such a sendmail 702 message to sender. A typical error message from such a sendmail
1630 1640
1631 A value of nil restricts VM's window usage to the window from which 1641 A value of nil restricts VM's window usage to the window from which
1632 it was invoked. VM will not create, delete, or use any other windows, 1642 it was invoked. VM will not create, delete, or use any other windows,
1633 nor will it resize its own window.") 1643 nor will it resize its own window.")
1634 1644
1635 (defvar vm-mutable-frames nil 1645 (defvar vm-mutable-frames t
1636 "*Non-nil value means VM is allowed to create and destroy frames 1646 "*Non-nil value means VM is allowed to create and destroy frames
1637 to display and undisplay buffers. 1647 to display and undisplay buffers. Whether VM actually does
1648 so depends on the value of the variables with names prefixed by
1649 `vm-frame-per-'.
1638 1650
1639 VM can create a frame to display a buffer, and delete frame to 1651 VM can create a frame to display a buffer, and delete frame to
1640 undisplay a buffer. A nil value means VM should not create or 1652 undisplay a buffer. A nil value means VM should not create or
1641 delete frames. 1653 delete frames.
1642 1654
1643 This variable is _not_ an analogue of vm-mutable-windows. VM 1655 This variable used to have a different meaning but it was changed
1644 still might create frames if this variable is nil. If you set 1656 to better reflect what users expected. This variable is now a
1645 the vm-frame-per-* variables VM will still create frames. Using 1657 frame analogue of vm-mutable-windows.
1646 the vm-frame-per-* variables you have more control over when it
1647 happens.
1648
1649 Users should consider setting vm-frame-per-folder and
1650 vm-frame-per-composition and/or using the -other-frame commands
1651 instead of setting this variable. If vm-mutable-frames is set to t,
1652 then vm-mutable-windows should probably be set to nil so that you
1653 avoid splitting frames.
1654 1658
1655 This variable does not apply to the VM commands whose 1659 This variable does not apply to the VM commands whose
1656 names end in -other-frame, which always create a new frame. 1660 names end in -other-frame, which always create a new frame.")
1657
1658 This variable has no meaning if you're not running Emacs native
1659 under X Windows or some other window system that allows multiple
1660 Emacs frames.")
1661 1661
1662 (defvar vm-raise-frame-at-startup t 1662 (defvar vm-raise-frame-at-startup t
1663 "*Specifies whether VM should raise its frame at startup. 1663 "*Specifies whether VM should raise its frame at startup.
1664 A value of nil means never raise the frame. 1664 A value of nil means never raise the frame.
1665 A value of t means always raise the frame. 1665 A value of t means always raise the frame.
1669 "*Non-nil value causes the folder visiting commands to visit in a new frame. 1669 "*Non-nil value causes the folder visiting commands to visit in a new frame.
1670 Nil means the commands will use the current frame. This variable 1670 Nil means the commands will use the current frame. This variable
1671 does not apply to the VM commands whose names end in 1671 does not apply to the VM commands whose names end in
1672 -other-frame, which always create a new frame. 1672 -other-frame, which always create a new frame.
1673 1673
1674 This variable has no meaning if you're not running Emacs native 1674 This variable has no meaning if you're not running under an Emacs
1675 under X Windows or some other window system that allows multiple 1675 capable of displaying multiple real or virtual frames. Note that
1676 Emacs frames.") 1676 Emacs supports multiple virtual frames on dumb terminals, and
1677 VM will use them.")
1677 1678
1678 (defvar vm-frame-per-summary nil 1679 (defvar vm-frame-per-summary nil
1679 "*Non-nil value causes VM to display the folder summary in its own frame. 1680 "*Non-nil value causes VM to display the folder summary in its own frame.
1680 Nil means the vm-summarize command will use the current frame. 1681 Nil means the vm-summarize command will use the current frame.
1681 This variable does not apply to vm-summarize-other-frame, which 1682 This variable does not apply to vm-summarize-other-frame, which
1682 always create a new frame. 1683 always create a new frame.
1683 1684
1684 This variable has no meaning if you're not running Emacs native 1685 This variable has no meaning if you're not running under an Emacs
1685 under X Windows or some other window system that allows multiple 1686 capable of displaying multiple real or virtual frames. Note that
1686 Emacs frames.") 1687 Emacs supports multiple virtual frames on dumb terminals, and
1688 VM will use them.")
1687 1689
1688 (defvar vm-frame-per-composition t 1690 (defvar vm-frame-per-composition t
1689 "*Non-nil value causes the mail composition commands to open a new frame. 1691 "*Non-nil value causes the mail composition commands to open a new frame.
1690 Nil means the commands will use the current frame. This variable 1692 Nil means the commands will use the current frame. This variable
1691 does not apply to the VM commands whose names end in 1693 does not apply to the VM commands whose names end in
1692 -other-frame, which always create a new frame. 1694 -other-frame, which always create a new frame.
1693 1695
1694 This variable has no meaning if you're not running Emacs native 1696 This variable has no meaning if you're not running under an Emacs
1695 under X Windows or some other window system that allows multiple 1697 capable of displaying multiple real or virtual frames. Note that
1696 Emacs frames.") 1698 Emacs supports multiple virtual frames on dumb terminals, and
1699 VM will use them.")
1697 1700
1698 (defvar vm-frame-per-edit t 1701 (defvar vm-frame-per-edit t
1699 "*Non-nil value causes vm-edit-message to open a new frame. 1702 "*Non-nil value causes vm-edit-message to open a new frame.
1700 Nil means the vm-edit-message will use the current frame. This 1703 Nil means the vm-edit-message will use the current frame. This
1701 variable does not apply to vm-edit-message-other-frame, which 1704 variable does not apply to vm-edit-message-other-frame, which
1702 always create a new frame. 1705 always create a new frame.
1703 1706
1704 This variable has no meaning if you're not running Emacs native 1707 This variable has no meaning if you're not running under an Emacs
1705 under X Windows or some other window system that allows multiple 1708 capable of displaying multiple real or virtual frames. Note that
1706 Emacs frames.") 1709 Emacs support multiple virtual frames on dumb terminals, and
1710 VM will use them.")
1711
1712 (defvar vm-frame-per-help nil
1713 "*Non-nil value causes VM to open a new frame to display help buffers.
1714 Nil means the VM will use the current frame.
1715
1716 This variable has no meaning if you're not running under an Emacs
1717 capable of displaying multiple real or virtual frames. Note that
1718 Emacs supports multiple virtual frames on dumb terminals, and
1719 VM will use them.")
1707 1720
1708 (defvar vm-frame-per-completion t 1721 (defvar vm-frame-per-completion t
1709 "*Non-nil value causes VM to open a new frame on mouse 1722 "*Non-nil value causes VM to open a new frame on mouse
1710 initiated completing reads. A mouse initiated completing read 1723 initiated completing reads. A mouse initiated completing read
1711 occurs when you invoke a VM command using the mouse, either with a 1724 occurs when you invoke a VM command using the mouse, either with a
1719 A nil value means the current frame will be used to display the 1732 A nil value means the current frame will be used to display the
1720 list of choices. 1733 list of choices.
1721 1734
1722 This variable has no meaning if you're not running Emacs native 1735 This variable has no meaning if you're not running Emacs native
1723 under X Windows or some other window system that allows multiple 1736 under X Windows or some other window system that allows multiple
1724 Emacs frames.") 1737 real Emacs frames. Note that Emacs supports virtual frames under
1738 ttys but VM will not use these to display completion information.")
1725 1739
1726 (defvar vm-frame-parameter-alist nil 1740 (defvar vm-frame-parameter-alist nil
1727 "*Non-nil value is an alist of types and lists of frame parameters. 1741 "*Non-nil value is an alist of types and lists of frame parameters.
1728 This list tells VM what frame parameters to associate with each 1742 This list tells VM what frame parameters to associate with each
1729 new frame it creates of a specific type. 1743 new frame it creates of a specific type.
1748 `vm' without any arguments. 1762 `vm' without any arguments.
1749 `summary' specifies parameters for frames that display a summary buffer 1763 `summary' specifies parameters for frames that display a summary buffer
1750 (e.g. created by vm-summarize-other-frame) 1764 (e.g. created by vm-summarize-other-frame)
1751 1765
1752 PARAMLIST is a list of pairs as described in the documentation for 1766 PARAMLIST is a list of pairs as described in the documentation for
1753 the function `make-frame'. 1767 the function `make-frame'.")
1754
1755 This variable has no effect on frames created as a result of
1756 having vm-mutable-frames set to non-nil.")
1757 1768
1758 (defvar vm-search-other-frames t 1769 (defvar vm-search-other-frames t
1759 "*Non-nil means VM should search frames other than the selected frame 1770 "*Non-nil means VM should search frames other than the selected frame
1760 when looking for a window that is already displaying a buffer that 1771 when looking for a window that is already displaying a buffer that
1761 VM wants to display or undisplay.") 1772 VM wants to display or undisplay.")
2305 vm-mouse-send-url-to-mosaic uses this.") 2316 vm-mouse-send-url-to-mosaic uses this.")
2306 2317
2307 (defvar vm-mosaic-program-switches nil 2318 (defvar vm-mosaic-program-switches nil
2308 "*List of command line switches to pass to Mosaic.") 2319 "*List of command line switches to pass to Mosaic.")
2309 2320
2310 (defvar vm-temp-file-directory "/tmp" 2321 (defvar vm-temp-file-directory
2322 (or (and (file-directory-p "/tmp") "/tmp")
2323 (and (file-directory-p "C:\\") "C:\\")
2324 "/tmp")
2311 "*Name of a directory where VM can put temporary files. 2325 "*Name of a directory where VM can put temporary files.
2312 This name must not end with a slash.") 2326 This name must not end with a slash.")
2313 2327
2314 (defvar vm-tale-is-an-idiot nil 2328 (defvar vm-tale-is-an-idiot nil
2315 "*Non-nil value causes vm-mail-send to check multi-line recipient 2329 "*Non-nil value causes vm-mail-send to check multi-line recipient
2337 (define-key map "\r" 'vm-goto-message) 2351 (define-key map "\r" 'vm-goto-message)
2338 (define-key map "^" 'vm-goto-parent-message) 2352 (define-key map "^" 'vm-goto-parent-message)
2339 (define-key map "t" 'vm-expose-hidden-headers) 2353 (define-key map "t" 'vm-expose-hidden-headers)
2340 (define-key map " " 'vm-scroll-forward) 2354 (define-key map " " 'vm-scroll-forward)
2341 (define-key map "b" 'vm-scroll-backward) 2355 (define-key map "b" 'vm-scroll-backward)
2342 (define-key map "\C-?" 'vm-scroll-backward) 2356 (define-key map 'delete 'vm-scroll-backward)
2357 (define-key map 'backspace 'vm-scroll-backward)
2343 (define-key map "D" 'vm-decode-mime-message) 2358 (define-key map "D" 'vm-decode-mime-message)
2344 (define-key map "d" 'vm-delete-message) 2359 (define-key map "d" 'vm-delete-message)
2345 (define-key map "\C-d" 'vm-delete-message-backward) 2360 (define-key map "\C-d" 'vm-delete-message-backward)
2346 (define-key map "u" 'vm-undelete-message) 2361 (define-key map "u" 'vm-undelete-message)
2347 (define-key map "U" 'vm-unread-message) 2362 (define-key map "U" 'vm-unread-message)
2431 (define-key map "6" 'digit-argument) 2446 (define-key map "6" 'digit-argument)
2432 (define-key map "7" 'digit-argument) 2447 (define-key map "7" 'digit-argument)
2433 (define-key map "8" 'digit-argument) 2448 (define-key map "8" 'digit-argument)
2434 (define-key map "9" 'digit-argument) 2449 (define-key map "9" 'digit-argument)
2435 (define-key map "-" 'negative-argument) 2450 (define-key map "-" 'negative-argument)
2451 (cond ((fboundp 'set-keymap-name)
2452 (set-keymap-name map 'vm-mode-map)
2453 (set-keymap-name (lookup-key map "l")
2454 "VM mode message labels map")
2455 (set-keymap-name (lookup-key map "V")
2456 "VM mode virtual folders map")
2457 (set-keymap-name (lookup-key map "M")
2458 "VM mode message marks map")
2459 (set-keymap-name (lookup-key map "W")
2460 "VM mode window configuration map")))
2461
2436 map ) 2462 map )
2437 "Keymap for VM mode.") 2463 "Keymap for VM mode.")
2438 2464
2439 (defvar vm-summary-mode-map vm-mode-map 2465 (defvar vm-summary-mode-map vm-mode-map
2440 "Keymap for VM Summary mode") 2466 "Keymap for VM Summary mode")
2443 (let ((map (make-sparse-keymap))) 2469 (let ((map (make-sparse-keymap)))
2444 (define-key map "\C-c\C-v" vm-mode-map) 2470 (define-key map "\C-c\C-v" vm-mode-map)
2445 (define-key map "\C-c\C-p" 'vm-mime-preview-composition) 2471 (define-key map "\C-c\C-p" 'vm-mime-preview-composition)
2446 (define-key map "\C-c\C-e" 'vm-mime-encode-composition) 2472 (define-key map "\C-c\C-e" 'vm-mime-encode-composition)
2447 (define-key map "\C-c\C-a" 'vm-mime-attach-file) 2473 (define-key map "\C-c\C-a" 'vm-mime-attach-file)
2448 (define-key map "\C-c\C-m" 'vm-mime-attach-mime-file) 2474 ;; (define-key map "\C-c\C-m" 'vm-mime-attach-mime-file)
2449 (define-key map "\C-c\C-y" 'vm-yank-message) 2475 (define-key map "\C-c\C-y" 'vm-yank-message)
2450 (define-key map "\C-c\C-s" 'vm-mail-send) 2476 (define-key map "\C-c\C-s" 'vm-mail-send)
2451 (define-key map "\C-c\C-c" 'vm-mail-send-and-exit) 2477 (define-key map "\C-c\C-c" 'vm-mail-send-and-exit)
2478 (cond ((fboundp 'set-keymap-name)
2479 (set-keymap-name map 'vm-mail-mode-map)))
2452 map ) 2480 map )
2453 "Keymap for VM Mail mode buffers.") 2481 "Keymap for VM Mail mode buffers.
2482 Its parent keymap is mail-mode-map.")
2454 2483
2455 (defvar vm-edit-message-map 2484 (defvar vm-edit-message-map
2456 (let ((map (make-sparse-keymap))) 2485 (let ((map (make-sparse-keymap)))
2457 (define-key map "\C-c\C-v" vm-mode-map) 2486 (define-key map "\C-c\C-v" vm-mode-map)
2458 (define-key map "\C-c\e" 'vm-edit-message-end) 2487 (define-key map "\C-c\e" 'vm-edit-message-end)
2459 (define-key map "\C-c\C-c" 'vm-edit-message-end) 2488 (define-key map "\C-c\C-c" 'vm-edit-message-end)
2460 (define-key map "\C-c\C-]" 'vm-edit-message-abort) 2489 (define-key map "\C-c\C-]" 'vm-edit-message-abort)
2490 (cond ((fboundp 'set-keymap-name)
2491 (set-keymap-name map 'vm-edit-message-map)))
2461 map ) 2492 map )
2462 "Keymap for the buffers created by VM's vm-edit-message command.") 2493 "Keymap for the buffers created by VM's vm-edit-message command.")
2463 2494
2464 (defvar vm-folder-history nil 2495 (defvar vm-folder-history nil
2465 "List of folders visited this Emacs session.") 2496 "List of folders visited this Emacs session.")
2880 (defvar left-toolbar-width nil) 2911 (defvar left-toolbar-width nil)
2881 ;; this defvar matches the XEmacs one so it doesn't matter if VM 2912 ;; this defvar matches the XEmacs one so it doesn't matter if VM
2882 ;; is loaded before highlight-headers.el 2913 ;; is loaded before highlight-headers.el
2883 (defvar highlight-headers-regexp "Subject[ \t]*:") 2914 (defvar highlight-headers-regexp "Subject[ \t]*:")
2884 (defvar vm-url-regexp 2915 (defvar vm-url-regexp
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\"<>|.!?(){}]\\)" 2916 "<URL:\\([^>\n]+\\)>\\|\\(\\(file\\|ftp\\|gopher\\|http\\|https\\|news\\|wais\\|www\\)://[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]\\)\\|\\(mailto:[^ \t\n\f\r\"<>|()]*[^ \t\n\f\r\"<>|.!?(){}]\\)"
2886 "Regular expression that matches an absolute URL. 2917 "Regular expression that matches an absolute URL.
2887 The URL itself must be matched by a \\(..\\) grouping. 2918 The URL itself must be matched by a \\(..\\) grouping.
2888 VM will extract the URL by copying the lowest number grouping 2919 VM will extract the URL by copying the lowest number grouping
2889 that has a match.") 2920 that has a match.")
2890 (defconst vm-month-alist 2921 (defconst vm-month-alist
2911 (defvar vm-summary-no-=> nil) 2942 (defvar vm-summary-no-=> nil)
2912 (defvar vm-summary-overlay nil) 2943 (defvar vm-summary-overlay nil)
2913 (make-variable-buffer-local 'vm-summary-overlay) 2944 (make-variable-buffer-local 'vm-summary-overlay)
2914 (defvar vm-thread-loop-obarray (make-vector 29 0)) 2945 (defvar vm-thread-loop-obarray (make-vector 29 0))
2915 (defvar vm-delete-duplicates-obarray (make-vector 29 0)) 2946 (defvar vm-delete-duplicates-obarray (make-vector 29 0))
2947 (defvar vm-image-obarray (make-vector 29 0))
2916 (defvar vm-mail-mode-map-parented nil) 2948 (defvar vm-mail-mode-map-parented nil)
2917 (defvar vm-xface-cache (make-vector 29 0)) 2949 (defvar vm-xface-cache (make-vector 29 0))
2918 (defconst vm-mime-base64-alphabet 2950 (defconst vm-mime-base64-alphabet
2919 (concat 2951 (concat
2920 [ 2952 [
3050 ;; when writing to files. 3082 ;; when writing to files.
3051 (defvar buffer-file-type) 3083 (defvar buffer-file-type)
3052 (defvar vm-frame-list nil) 3084 (defvar vm-frame-list nil)
3053 (if (not (boundp 'shell-command-switch)) 3085 (if (not (boundp 'shell-command-switch))
3054 (defvar shell-command-switch "-c")) 3086 (defvar shell-command-switch "-c"))
3087
3088 (defconst vm-xemacs-p nil)
3089 (defconst vm-xemacs-mule-p nil)
3090 (defconst vm-fsfemacs-19-p nil)
3091 (defun vm-xemacs-p () vm-xemacs-p)
3092 (defun vm-xemacs-mule-p () vm-xemacs-mule-p)
3093 (defun vm-fsfemacs-19-p () vm-fsfemacs-19-p)
3094 (defun vm-note-emacs-version ()
3095 (setq vm-xemacs-p (string-match "XEmacs" emacs-version)
3096 vm-xemacs-mule-p (and vm-xemacs-p (featurep 'mule)
3097 ;; paranoia
3098 (fboundp 'set-file-coding-system))
3099 vm-fsfemacs-19-p (not vm-xemacs-p)))
3100 (vm-note-emacs-version)