Make all 3 copies of x-select-enable-clipboard have the same doc.
[bpt/emacs.git] / lisp / w32-vars.el
CommitLineData
be932fda
JR
1;;; w32-vars.el --- MS-Windows specific user options
2
114f9c96 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
ae940284 4;; Free Software Foundation, Inc.
be932fda
JR
5
6;; Author: Jason Rumney <jasonr@gnu.org>
7;; Keywords: internal
bd78fa1d 8;; Package: emacs
be932fda 9
dcb90b5f
PJ
10;; This file is part of GNU Emacs.
11
eb3fa2cf 12;; GNU Emacs is free software: you can redistribute it and/or modify
be932fda 13;; it under the terms of the GNU General Public License as published by
eb3fa2cf
GM
14;; the Free Software Foundation, either version 3 of the License, or
15;; (at your option) any later version.
be932fda 16
7490a1e4 17;; GNU Emacs is distributed in the hope that it will be useful,
be932fda
JR
18;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;; GNU General Public License for more details.
21
22;; You should have received a copy of the GNU General Public License
eb3fa2cf 23;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
be932fda
JR
24
25;;; Commentary:
26
27;;; Code:
28
29;; Custom group for w32 specific settings
30(defgroup w32 nil
59f678fe 31 "MS-Windows specific features."
be932fda 32 :group 'environment
bf247b6e 33 :version "22.1"
be932fda
JR
34 :prefix "w32")
35
be932fda
JR
36;; Redefine the font selection to use the standard W32 dialog
37(defcustom w32-use-w32-font-dialog t
9201cc28 38 "Use the standard font dialog.
be932fda
JR
39If nil, pop up a menu of a fixed set of fonts including fontsets, like
40X does. See `w32-fixed-font-alist' for the font menu definition."
41 :type 'boolean
42 :group 'w32)
43
86dca3e8
JR
44(defvar w32-list-proportional-fonts nil
45 "Include proportional fonts in the default font dialog.")
7679cfc8 46(make-obsolete-variable 'w32-list-proportional-fonts "no longer used." "23.1")
be932fda
JR
47
48(defcustom w32-allow-system-shell nil
9201cc28 49 "Disable startup warning when using \"system\" shells."
be932fda
JR
50 :type 'boolean
51 :group 'w32)
52
53(defcustom w32-system-shells '("cmd" "cmd.exe" "command" "command.com"
54 "4nt" "4nt.exe" "4dos" "4dos.exe"
96e048a2 55 "tcc" "tcc.exe" "ndos" "ndos.exe")
f54e2d1c 56 "List of strings recognized as Windows system shells."
be932fda
JR
57 :type '(repeat string)
58 :group 'w32)
59
60;; Want "menu" custom type for this.
61(defcustom w32-fixed-font-alist
62 '("Font menu"
63 ("Misc"
64 ;; For these, we specify the pixel height and width.
65 ("fixed" "Fixedsys")
66 ("")
67 ("Terminal 5x4"
68 "-*-Terminal-normal-r-*-*-*-45-*-*-c-40-*-oem")
69 ("Terminal 6x8"
70 "-*-Terminal-normal-r-*-*-*-60-*-*-c-80-*-oem")
71 ("Terminal 9x5"
72 "-*-Terminal-normal-r-*-*-*-90-*-*-c-50-*-oem")
73 ("Terminal 9x7"
74 "-*-Terminal-normal-r-*-*-*-90-*-*-c-70-*-oem")
75 ("Terminal 9x8"
76 "-*-Terminal-normal-r-*-*-*-90-*-*-c-80-*-oem")
77 ("Terminal 12x12"
78 "-*-Terminal-normal-r-*-*-*-120-*-*-c-120-*-oem")
79 ("Terminal 14x10"
80 "-*-Terminal-normal-r-*-*-*-135-*-*-c-100-*-oem")
81 ("Terminal 6x6 Bold"
82 "-*-Terminal-bold-r-*-*-*-60-*-*-c-60-*-oem")
83 ("")
84 ("Lucida Sans Typewriter.8"
85 "-*-Lucida Sans Typewriter-normal-r-*-*-11-*-*-*-c-*-iso8859-1")
86 ("Lucida Sans Typewriter.9"
87 "-*-Lucida Sans Typewriter-normal-r-*-*-12-*-*-*-c-*-iso8859-1")
88 ("Lucida Sans Typewriter.10"
89 "-*-Lucida Sans Typewriter-normal-r-*-*-13-*-*-*-c-*-iso8859-1")
90 ("Lucida Sans Typewriter.11"
91 "-*-Lucida Sans Typewriter-normal-r-*-*-15-*-*-*-c-*-iso8859-1")
92 ("Lucida Sans Typewriter.12"
93 "-*-Lucida Sans Typewriter-normal-r-*-*-16-*-*-*-c-*-iso8859-1")
94 ("Lucida Sans Typewriter.8 Bold"
95 "-*-Lucida Sans Typewriter-semibold-r-*-*-11-*-*-*-c-*-iso8859-1")
96 ("Lucida Sans Typewriter.9 Bold"
97 "-*-Lucida Sans Typewriter-semibold-r-*-*-12-*-*-*-c-*-iso8859-1")
98 ("Lucida Sans Typewriter.10 Bold"
99 "-*-Lucida Sans Typewriter-semibold-r-*-*-13-*-*-*-c-*-iso8859-1")
100 ("Lucida Sans Typewriter.11 Bold"
101 "-*-Lucida Sans Typewriter-semibold-r-*-*-15-*-*-*-c-*-iso8859-1")
102 ("Lucida Sans Typewriter.12 Bold"
103 "-*-Lucida Sans Typewriter-semibold-r-*-*-16-*-*-*-c-*-iso8859-1"))
104 ("Courier"
105 ("Courier 10x8"
106 "-*-Courier-*normal-r-*-*-*-97-*-*-c-80-iso8859-1")
107 ("Courier 12x9"
108 "-*-Courier-*normal-r-*-*-*-120-*-*-c-90-iso8859-1")
109 ("Courier 15x12"
110 "-*-Courier-*normal-r-*-*-*-150-*-*-c-120-iso8859-1")
111 ;; For these, we specify the point height.
112 ("")
113 ("8" "-*-Courier New-normal-r-*-*-11-*-*-*-c-*-iso8859-1")
114 ("9" "-*-Courier New-normal-r-*-*-12-*-*-*-c-*-iso8859-1")
115 ("10" "-*-Courier New-normal-r-*-*-13-*-*-*-c-*-iso8859-1")
116 ("11" "-*-Courier New-normal-r-*-*-15-*-*-*-c-*-iso8859-1")
117 ("12" "-*-Courier New-normal-r-*-*-16-*-*-*-c-*-iso8859-1")
118 ("8 bold" "-*-Courier New-bold-r-*-*-11-*-*-*-c-*-iso8859-1")
119 ("9 bold" "-*-Courier New-bold-r-*-*-12-*-*-*-c-*-iso8859-1")
120 ("10 bold" "-*-Courier New-bold-r-*-*-13-*-*-*-c-*-iso8859-1")
121 ("11 bold" "-*-Courier New-bold-r-*-*-15-*-*-*-c-*-iso8859-1")
122 ("12 bold" "-*-Courier New-bold-r-*-*-16-*-*-*-c-*-iso8859-1")
123 ("8 italic" "-*-Courier New-normal-i-*-*-11-*-*-*-c-*-iso8859-1")
124 ("9 italic" "-*-Courier New-normal-i-*-*-12-*-*-*-c-*-iso8859-1")
125 ("10 italic" "-*-Courier New-normal-i-*-*-13-*-*-*-c-*-iso8859-1")
126 ("11 italic" "-*-Courier New-normal-i-*-*-15-*-*-*-c-*-iso8859-1")
127 ("12 italic" "-*-Courier New-normal-i-*-*-16-*-*-*-c-*-iso8859-1")
128 ("8 bold italic" "-*-Courier New-bold-i-*-*-11-*-*-*-c-*-iso8859-1")
129 ("9 bold italic" "-*-Courier New-bold-i-*-*-12-*-*-*-c-*-iso8859-1")
130 ("10 bold italic" "-*-Courier New-bold-i-*-*-13-*-*-*-c-*-iso8859-1")
131 ("11 bold italic" "-*-Courier New-bold-i-*-*-15-*-*-*-c-*-iso8859-1")
132 ("12 bold italic" "-*-Courier New-bold-i-*-*-16-*-*-*-c-*-iso8859-1")
133 ))
9201cc28 134 "Fonts suitable for use in Emacs.
be932fda 135Initially this is a list of some fixed width fonts that most people
96e048a2 136will have like Terminal and Courier. These fonts are used in the font
be932fda
JR
137menu if the variable `w32-use-w32-font-dialog' is nil."
138 :type '(list
139 (string :tag "Menu Title")
140 (repeat :inline t
141 (list :tag "Submenu"
142 (string :tag "Title")
143 (repeat :inline t
144 (choice :tag ""
d25dfeed 145 (const :tag "Separator" (""))
be932fda
JR
146 (list :tag "Font Entry"
147 (string :tag "Menu text")
f5307782
JB
148 (string :tag "Font")))))))
149 :group 'w32)
be932fda
JR
150
151(defcustom x-select-enable-clipboard t
9201cc28 152 "Non-nil means cutting and pasting uses the clipboard.
3077d1f6
EZ
153This is in addition to, but in preference to, the primary selection.
154
6f748f70
GM
155Note that MS-Windows does not support selection types other than the
156clipboard. \(The primary selection that is set by Emacs is not
157accessible to other programs on MS-Windows.\)"
be932fda
JR
158 :type 'boolean
159 :group 'killing)
160
729f1525 161(provide 'w32-vars)
be932fda
JR
162
163;;; w32-vars.el ends here