diff options
| author | Jason Rumney | 2002-01-20 15:28:28 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-01-20 15:28:28 +0000 |
| commit | be932fda8dee25adecc8cbb930095ec6472d683a (patch) | |
| tree | 90c61975ba940870781ab92cb1051c997963a7b6 | |
| parent | d84b082dd4d272fc6f41c7b84ee0393fc20dbe7e (diff) | |
| download | emacs-be932fda8dee25adecc8cbb930095ec6472d683a.tar.gz emacs-be932fda8dee25adecc8cbb930095ec6472d683a.zip | |
New file: custom declarations for MS-Windows specific settings.
| -rw-r--r-- | lisp/w32-vars.el | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/lisp/w32-vars.el b/lisp/w32-vars.el new file mode 100644 index 00000000000..13fbb4a2810 --- /dev/null +++ b/lisp/w32-vars.el | |||
| @@ -0,0 +1,161 @@ | |||
| 1 | ;;; w32-vars.el --- MS-Windows specific user options | ||
| 2 | |||
| 3 | ;; Copyright (C) 2002 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; Author: Jason Rumney <jasonr@gnu.org> | ||
| 6 | ;; Keywords: internal | ||
| 7 | |||
| 8 | ;; This file is free software; you can redistribute it and/or modify | ||
| 9 | ;; it under the terms of the GNU General Public License as published by | ||
| 10 | ;; the Free Software Foundation; either version 2, or (at your option) | ||
| 11 | ;; any later version. | ||
| 12 | |||
| 13 | ;; This file is distributed in the hope that it will be useful, | ||
| 14 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | ;; GNU General Public License for more details. | ||
| 17 | |||
| 18 | ;; You should have received a copy of the GNU General Public License | ||
| 19 | ;; along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
| 21 | ;; Boston, MA 02111-1307, USA. | ||
| 22 | |||
| 23 | ;;; Commentary: | ||
| 24 | |||
| 25 | ;;; Code: | ||
| 26 | |||
| 27 | ;; Custom group for w32 specific settings | ||
| 28 | (defgroup w32 nil | ||
| 29 | "MS-Windows specific features" | ||
| 30 | :group 'environment | ||
| 31 | :version "21.3" | ||
| 32 | :prefix "w32") | ||
| 33 | |||
| 34 | (defcustom mouse-wheel-scroll-amount 4 | ||
| 35 | "*Number of lines to scroll per click of the mouse wheel." | ||
| 36 | :type 'integer | ||
| 37 | :group 'w32) | ||
| 38 | |||
| 39 | ;; Redefine the font selection to use the standard W32 dialog | ||
| 40 | (defcustom w32-use-w32-font-dialog t | ||
| 41 | "*Use the standard font dialog. | ||
| 42 | If nil, pop up a menu of a fixed set of fonts including fontsets, like | ||
| 43 | X does. See `w32-fixed-font-alist' for the font menu definition." | ||
| 44 | :type 'boolean | ||
| 45 | :group 'w32) | ||
| 46 | |||
| 47 | (defcustom w32-list-proportional-fonts nil | ||
| 48 | "*Include proportional fonts in the default font dialog." | ||
| 49 | :type 'boolean | ||
| 50 | :group 'w32) | ||
| 51 | |||
| 52 | (defcustom w32-allow-system-shell nil | ||
| 53 | "*Disable startup warning when using \"system\" shells." | ||
| 54 | :type 'boolean | ||
| 55 | :group 'w32) | ||
| 56 | |||
| 57 | (defcustom w32-system-shells '("cmd" "cmd.exe" "command" "command.com" | ||
| 58 | "4nt" "4nt.exe" "4dos" "4dos.exe" | ||
| 59 | "ndos" "ndos.exe") | ||
| 60 | "*List of strings recognized as Windows NT/9X system shells." | ||
| 61 | :type '(repeat string) | ||
| 62 | :group 'w32) | ||
| 63 | |||
| 64 | ;; Want "menu" custom type for this. | ||
| 65 | (defcustom w32-fixed-font-alist | ||
| 66 | '("Font menu" | ||
| 67 | ("Misc" | ||
| 68 | ;; For these, we specify the pixel height and width. | ||
| 69 | ("fixed" "Fixedsys") | ||
| 70 | ("") | ||
| 71 | ("Terminal 5x4" | ||
| 72 | "-*-Terminal-normal-r-*-*-*-45-*-*-c-40-*-oem") | ||
| 73 | ("Terminal 6x8" | ||
| 74 | "-*-Terminal-normal-r-*-*-*-60-*-*-c-80-*-oem") | ||
| 75 | ("Terminal 9x5" | ||
| 76 | "-*-Terminal-normal-r-*-*-*-90-*-*-c-50-*-oem") | ||
| 77 | ("Terminal 9x7" | ||
| 78 | "-*-Terminal-normal-r-*-*-*-90-*-*-c-70-*-oem") | ||
| 79 | ("Terminal 9x8" | ||
| 80 | "-*-Terminal-normal-r-*-*-*-90-*-*-c-80-*-oem") | ||
| 81 | ("Terminal 12x12" | ||
| 82 | "-*-Terminal-normal-r-*-*-*-120-*-*-c-120-*-oem") | ||
| 83 | ("Terminal 14x10" | ||
| 84 | "-*-Terminal-normal-r-*-*-*-135-*-*-c-100-*-oem") | ||
| 85 | ("Terminal 6x6 Bold" | ||
| 86 | "-*-Terminal-bold-r-*-*-*-60-*-*-c-60-*-oem") | ||
| 87 | ("") | ||
| 88 | ("Lucida Sans Typewriter.8" | ||
| 89 | "-*-Lucida Sans Typewriter-normal-r-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 90 | ("Lucida Sans Typewriter.9" | ||
| 91 | "-*-Lucida Sans Typewriter-normal-r-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 92 | ("Lucida Sans Typewriter.10" | ||
| 93 | "-*-Lucida Sans Typewriter-normal-r-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 94 | ("Lucida Sans Typewriter.11" | ||
| 95 | "-*-Lucida Sans Typewriter-normal-r-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 96 | ("Lucida Sans Typewriter.12" | ||
| 97 | "-*-Lucida Sans Typewriter-normal-r-*-*-16-*-*-*-c-*-iso8859-1") | ||
| 98 | ("Lucida Sans Typewriter.8 Bold" | ||
| 99 | "-*-Lucida Sans Typewriter-semibold-r-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 100 | ("Lucida Sans Typewriter.9 Bold" | ||
| 101 | "-*-Lucida Sans Typewriter-semibold-r-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 102 | ("Lucida Sans Typewriter.10 Bold" | ||
| 103 | "-*-Lucida Sans Typewriter-semibold-r-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 104 | ("Lucida Sans Typewriter.11 Bold" | ||
| 105 | "-*-Lucida Sans Typewriter-semibold-r-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 106 | ("Lucida Sans Typewriter.12 Bold" | ||
| 107 | "-*-Lucida Sans Typewriter-semibold-r-*-*-16-*-*-*-c-*-iso8859-1")) | ||
| 108 | ("Courier" | ||
| 109 | ("Courier 10x8" | ||
| 110 | "-*-Courier-*normal-r-*-*-*-97-*-*-c-80-iso8859-1") | ||
| 111 | ("Courier 12x9" | ||
| 112 | "-*-Courier-*normal-r-*-*-*-120-*-*-c-90-iso8859-1") | ||
| 113 | ("Courier 15x12" | ||
| 114 | "-*-Courier-*normal-r-*-*-*-150-*-*-c-120-iso8859-1") | ||
| 115 | ;; For these, we specify the point height. | ||
| 116 | ("") | ||
| 117 | ("8" "-*-Courier New-normal-r-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 118 | ("9" "-*-Courier New-normal-r-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 119 | ("10" "-*-Courier New-normal-r-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 120 | ("11" "-*-Courier New-normal-r-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 121 | ("12" "-*-Courier New-normal-r-*-*-16-*-*-*-c-*-iso8859-1") | ||
| 122 | ("8 bold" "-*-Courier New-bold-r-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 123 | ("9 bold" "-*-Courier New-bold-r-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 124 | ("10 bold" "-*-Courier New-bold-r-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 125 | ("11 bold" "-*-Courier New-bold-r-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 126 | ("12 bold" "-*-Courier New-bold-r-*-*-16-*-*-*-c-*-iso8859-1") | ||
| 127 | ("8 italic" "-*-Courier New-normal-i-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 128 | ("9 italic" "-*-Courier New-normal-i-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 129 | ("10 italic" "-*-Courier New-normal-i-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 130 | ("11 italic" "-*-Courier New-normal-i-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 131 | ("12 italic" "-*-Courier New-normal-i-*-*-16-*-*-*-c-*-iso8859-1") | ||
| 132 | ("8 bold italic" "-*-Courier New-bold-i-*-*-11-*-*-*-c-*-iso8859-1") | ||
| 133 | ("9 bold italic" "-*-Courier New-bold-i-*-*-12-*-*-*-c-*-iso8859-1") | ||
| 134 | ("10 bold italic" "-*-Courier New-bold-i-*-*-13-*-*-*-c-*-iso8859-1") | ||
| 135 | ("11 bold italic" "-*-Courier New-bold-i-*-*-15-*-*-*-c-*-iso8859-1") | ||
| 136 | ("12 bold italic" "-*-Courier New-bold-i-*-*-16-*-*-*-c-*-iso8859-1") | ||
| 137 | )) | ||
| 138 | "*Fonts suitable for use in Emacs. | ||
| 139 | Initially this is a list of some fixed width fonts that most people | ||
| 140 | will have like Terminal and Courier. These fonts are used in the font | ||
| 141 | menu if the variable `w32-use-w32-font-dialog' is nil." | ||
| 142 | :type '(list | ||
| 143 | (string :tag "Menu Title") | ||
| 144 | (repeat :inline t | ||
| 145 | (list :tag "Submenu" | ||
| 146 | (string :tag "Title") | ||
| 147 | (repeat :inline t | ||
| 148 | (choice :tag "" | ||
| 149 | (const :tag "Seperator" ("")) | ||
| 150 | (list :tag "Font Entry" | ||
| 151 | (string :tag "Menu text") | ||
| 152 | (string :tag "Font")))))))) | ||
| 153 | |||
| 154 | (defcustom x-select-enable-clipboard t | ||
| 155 | "*Non-nil means cutting and pasting uses the clipboard. | ||
| 156 | This is in addition to the primary selection." | ||
| 157 | :type 'boolean | ||
| 158 | :group 'killing) | ||
| 159 | |||
| 160 | |||
| 161 | ;;; w32-vars.el ends here | ||