annotate etc/sample.Xresources @ 2681:f15523a6da7a

[xemacs-hg @ 2005-03-24 12:17:51 by aidan] Move to XEmacs for X11 app class, frame name.
author aidan
date Thu, 24 Mar 2005 12:18:02 +0000
parents 427e5c57da6e
children 4ed2dedf36a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
1 ! This is a sample .Xresources file. The resources below are the
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
2 ! actual resources used as defaults for XEmacs, although the
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
3 ! form of these resources in the XEmacs app-defaults file is
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
4 ! slightly different.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
5 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
6 ! You can use the examples below as a basis for your own customizations:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
7 ! copy and modify any of the resources below into your own ~/.Xresources file.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
8 ! .Xresources specifies defaults for all applications, not just XEmacs; it is
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
9 ! normally used to customize fonts, colors, and the like, while ~/.emacs is
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
10 ! used to change other sorts of (XEmacs-specific) behavior.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
11 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
12 ! In general, changes to your .Xresources file will not take effect until the
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
13 ! next time you restart the window system. To reload your resources
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
14 ! explicitly, use the shell command
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
15 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
16 ! xrdb -load ~/.Xresources
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
17 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
18 ! The resources will take effect the next time you restart XEmacs. (Simply
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
19 ! creating a new xemacs frame is not enough - you must restart the editor
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
20 ! for the changes to take effect.)
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
21 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
22
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
23
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
24 ! Colors and backgrounds.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
25 ! ======================
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
26 ! The contrasts of these colors will cause them to map to the appropriate
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
27 ! one of "black" or "white" on monochrome systems.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
28 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
29 ! The valid color names on your system can be found by looking in the file
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
30 ! `rgb.txt', usually found in /usr/X11R6/lib/X11/ or /usr/openwin/lib/X11/.
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
31
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
32 ! Set the foreground and background colors of the `default' face.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
33 ! The default face colors are the base for most of the other faces'
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
34 ! colors. The default background is gray80, and the default foreground
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
35 ! is black.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
36 XEmacs.default.attributeBackground: gray80
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
37 XEmacs.default.attributeForeground: black
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
38
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
39 ! Set the modeline colors.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
40 XEmacs.modeline*attributeForeground: Black
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
41 XEmacs.modeline*attributeBackground: Gray75
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
42
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
43 ! Set the color of the text cursor.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
44 XEmacs.text-cursor*attributeBackground: Red3
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
45
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
46 ! If you want to set the color of the mouse pointer, do this:
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
47 ! XEmacs.pointer*attributeForeground: Black
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
48 ! If you want to set the background of the mouse pointer, do this:
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
49 ! XEmacs.pointer*attributeBackground: White
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
50 ! Note that by default, the pointer foreground and background are the same
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
51 ! as the default face.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
52
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
53 ! Set the menubar colors. This overrides the default foreground and
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
54 ! background colors specified above.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
55 XEmacs*menubar*Foreground: Gray30
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
56 XEmacs*menubar*Background: Gray75
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
57 ! This is for buttons in the menubar.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
58 ! Yellow would be better, but that would map to white on monochrome.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
59 XEmacs*menubar.buttonForeground: Blue
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
60 XEmacs*XlwMenu.selectColor: ForestGreen
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
61 XEmacs*XmToggleButton.selectColor: ForestGreen
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
62
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
63 ! Specify the colors of popup menus.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
64 XEmacs*popup*Foreground: Black
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
65 XEmacs*popup*Background: Gray75
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
66
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
67 ! Specify the colors of the various sub-widgets of the dialog boxes.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
68 XEmacs*dialog*Foreground: Black
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
69 ! #A5C0C1 is a shade of blue
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
70 XEmacs*dialog*Background: #A5C0C1
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
71 ! The following three are for Motif dialog boxes ...
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
72 XEmacs*dialog*XmTextField*Background: WhiteSmoke
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
73 XEmacs*dialog*XmText*Background: WhiteSmoke
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
74 XEmacs*dialog*XmList*Background: WhiteSmoke
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
75 ! While this one is for Athena dialog boxes.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
76 XEmacs*dialog*Command*Background: WhiteSmoke
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
77
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
78 ! Athena dialog boxes are sometimes built with the Xaw3d
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
79 ! variant of the Athena toolkit.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
80 ! XEmacs being nice to 8bit displays, it defaults to:
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
81 XEmacs*dialog*Command*beNiceToColormap: true
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
82 ! If you are shocked by the ugliness of the 3d rendition,
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
83 ! you may want to set (even on 8bit displays) the above to false.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
84
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
85 ! Xlw Scrollbar colors
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
86 XEmacs*XlwScrollBar.Foreground: Gray30
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
87 XEmacs*XlwScrollBar.Background: Gray75
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
88 XEmacs*XmScrollBar.Foreground: Gray30
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
89 XEmacs*XmScrollBar.Background: Gray75
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
90
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
91 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
92 ! The Lucid Scrollbar supports two added resources, SliderStyle is either
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
93 ! "plain" (default) or "dimple". Dimple puts a small dimple in the middle
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
94 ! of the slider that depresses when the slider is clicked on. ArrowPosition is
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
95 ! either "opposite" (default) or "same". Opposite puts the arrows at opposite
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
96 ! of the scrollbar, same puts both arrows at the same end, like the Amiga.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
97 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
98 ! XEmacs*XlwScrollBar.SliderStyle: dimple
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
99 ! XEmacs*XlwScrollBar.ArrowPosition: opposite
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
100
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
101
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
102 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
103 ! If you want to turn off a toolbar, set its height or width to 0.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
104 ! The correct size value is not really arbitrary. We only control it
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
105 ! this way in order to avoid excess frame resizing when turning the
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
106 ! toolbars on and off.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
107 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
108 ! To change the heights and widths of the toolbars:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
109 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
110 ! XEmacs.topToolBarHeight: 37
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
111 ! XEmacs.bottomToolBarHeight: 0
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
112 ! XEmacs.leftToolBarWidth: 0
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
113 ! XEmacs.rightToolBarWidth: 0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
114
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
115 XEmacs*topToolBarShadowColor: Gray90
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
116 XEmacs*bottomToolBarShadowColor: Gray40
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
117 XEmacs*backgroundToolBarColor: Gray75
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
118 XEmacs*toolBarShadowThickness: 2
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
119
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
120
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
121 ! If you want to turn off vertical scrollbars, or change the default
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
122 ! pixel width of the vertical scrollbars, do it like this (0 width
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
123 ! means no vertical scrollbars):
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
124 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
125 ! XEmacs.scrollBarWidth: 0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
126 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
127 ! To change it for a particular frame, do this:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
128 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
129 ! XEmacs*FRAME-NAME.scrollBarWidth: 0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
130
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
131
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
132 ! If you want to turn off horizontal scrollbars, or change the default
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
133 ! pixel height of the horizontal scrollbars, do it like this (0 height
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
134 ! means no horizontal scrollbars):
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
135 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
136 ! XEmacs.scrollBarHeight: 0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
137 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
138 ! To change it for a particular frame, do this:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
139 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
140 ! XEmacs*FRAME-NAME.scrollBarHeight: 0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
141
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
142
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
143 ! To dynamically change the labels used for menubar buttons...
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
144 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
145 ! XEmacs*XlwMenu.resourceLabels: True
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
146 ! XEmacs*XlwMenu.newFrame.labelString: Open Another Window
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
147
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
148 ! To have the Motif scrollbars on the left instead of the right, do this:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
149 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
150 ! XEmacs*scrollBarPlacement: BOTTOM_LEFT
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
151 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
152 ! To have the Athena scrollbars on the right, use `BOTTOM_RIGHT' instead
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
153
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
154 ! To have Motif scrollbars act more like Xt scrollbars...
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
155 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
156 ! XEmacs*XmScrollBar.translations: #override \n\
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
157 ! <Btn1Down>: PageDownOrRight(0) \n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
158 ! <Btn3Down>: PageUpOrLeft(0)
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
159
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
160 ! Fonts.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
161 ! ======
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
162 ! XEmacs requires the use of XLFD (X Logical Font Description) format font
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
163 ! names, which look like
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
164 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
165 ! *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
166 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
167 ! if you use any of the other, less strict font name formats, some of which
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
168 ! look like
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
169 ! lucidasanstypewriter-12
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
170 ! and fixed
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
171 ! and 9x13
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
172 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
173 ! then XEmacs won't be able to guess the names of the bold and italic versions.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
174 ! All X fonts can be referred to via XLFD-style names, so you should use those
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
175 ! forms. See the man pages for X(1), xlsfonts(1), and xfontsel(1).
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
176
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
177
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
178 ! The default font for the text area of XEmacs is chosen at run-time
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
179 ! by lisp code which tries a number of different possibilities in order
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
180 ! of preference. If you wish to override it, use this:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
181 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
182 ! XEmacs.default.attributeFont: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
183
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
184 ! If you choose a font which does not have an italic version, you can specify
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
185 ! some other font to use for it here:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
186 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
187 ! XEmacs.italic.attributeFont: -*-courier-medium-o-*-*-*-120-*-*-*-*-iso8859-*
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
188 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
189 ! If you choose a font which does not have a bold-italic version,
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
190 ! you can specify some other font to use for it here:
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
191 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
192 ! XEmacs.bold-italic.attributeFont: -*-courier-bold-o-*-*-*-120-*-*-*-*-iso8859-*
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
193 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
194 ! And here is how you would set the background color of the `highlight' face,
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
195 ! but only on the screen named `debugger':
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
196 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
197 ! XEmacs*debugger.highlight.attributeBackground: PaleTurquoise
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
198 !
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
199 ! See the NEWS file (C-h n) for a more complete description of the resource
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
200 ! syntax of faces.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
201
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
202
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
203 ! Font of the modeline, menubar and pop-up menus.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
204 ! Note that the menubar resources do not use the `face' syntax, since they
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
205 ! are X toolkit widgets and thus outside the domain of XEmacs proper.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
206 !
1547
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
207 ! When X Font Sets are enabled with ./configure --with-xfs (eg, for
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
208 ! multilingual menubars and XIM), some .font resources (those specific to
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
209 ! the Lucid widget set) are ignored in favor of .fontSet resources.
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
210 ! Note that you need to use fontSet (or FontSet) in that case even if you
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
211 ! want to specify one font:
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
212 !
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
213 ! *menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
214 !
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
215 ! There is no harm in having both resources set, except for the confusion
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
216 ! you suffer. Sorry; that's the price of backward compatibility.
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
217 !
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
218 *menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
219 *popup*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
220 *menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
221 -*-*-*-*-*-*-*-120-*-iso10646-1, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
222 -*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
223 -*-*-*-*-*-*-*-120-*-jisx0201.1976-0
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
224 *popup*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
225 -*-*-*-*-*-*-*-120-*-iso10646-1, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
226 -*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
427e5c57da6e [xemacs-hg @ 2003-06-30 09:12:28 by stephent]
stephent
parents: 1480
diff changeset
227 -*-*-*-*-*-*-*-120-*-jisx0201.1976-0
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
228
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
229 ! Font in the Motif dialog boxes.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
230 ! (Motif uses `fontList' while most other things use `font' - if you don't
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
231 ! know why you probably don't want to.)
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
232 !
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
233 XEmacs*XmDialogShell*FontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
234 XEmacs*XmTextField*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
235 XEmacs*XmText*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
236 XEmacs*XmList*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
237
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
238 ! Font in the Athena dialog boxes.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
239 ! I think 14-point looks nicer than 12-point.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
240 ! Some people use 12-point anyway because you get more text, but
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
241 ! there's no purpose at all in doing this for dialog boxes.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
242
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
243 XEmacs*Dialog*Font: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-*
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
244
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
245 ! Dialog box translations.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
246 ! =======================
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
247
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
248 ! This accelerator binds <return> in a dialog box to <activate> on button1
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
249 XEmacs*dialog*button1.accelerators:#override\
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
250 <KeyPress>Return: ArmAndActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
251 <KeyPress>KP_Enter: ArmAndActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
252 Ctrl<KeyPress>m: ArmAndActivate()\n
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
253
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
254 ! Translations to make the TextField widget behave more like XEmacs
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
255 XEmacs*XmTextField.translations: #override\n\
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
256 !<Key>osfBackSpace: delete-previous-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
257 !<Key>osfDelete: delete-previous-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
258 !Ctrl<Key>h: delete-previous-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
259 !Ctrl<Key>d: delete-next-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
260 !Meta<Key>osfDelete: delete-previous-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
261 !Meta<Key>osfBackSpace: delete-previous-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
262 !Meta<Key>d: delete-next-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
263 !Ctrl<Key>k: delete-to-end-of-line()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
264 !Ctrl<Key>g: process-cancel()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
265 !Ctrl<Key>b: backward-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
266 !<Key>osfLeft: backward-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
267 !Ctrl<Key>f: forward-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
268 !<Key>osfRight: forward-character()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
269 !Meta<Key>b: backward-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
270 !Meta<Key>osfLeft: backward-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
271 !Meta<Key>f: forward-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
272 !Meta<Key>osfRight: forward-word()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
273 !Ctrl<Key>e: end-of-line()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
274 !Ctrl<Key>a: beginning-of-line()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
275 !Ctrl<Key>w: cut-clipboard()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
276 !Meta<Key>w: copy-clipboard()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
277 <Btn2Up>: copy-primary()\n
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
278
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
279 ! With the XEmacs typeahead it's better to not have space be bound to
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
280 ! ArmAndActivate() for buttons that appear in dialog boxes. This is
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
281 ! not 100% Motif compliant but the benefits far outweight the
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
282 ! compliancy problem.
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
283 XEmacs*dialog*XmPushButton.translations:#override\n\
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
284 <Btn1Down>: Arm()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
285 <Btn1Down>,<Btn1Up>: Activate()\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
286 Disarm()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
287 <Btn1Down>(2+): MultiArm()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
288 <Btn1Up>(2+): MultiActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
289 <Btn1Up>: Activate()\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
290 Disarm()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
291 <Key>osfSelect: ArmAndActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
292 <Key>osfActivate: ArmAndActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
293 <Key>osfHelp: Help()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
294 ~Shift ~Meta ~Alt <Key>Return: ArmAndActivate()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
295 <EnterWindow>: Enter()\n\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
296 <LeaveWindow>: Leave()\n
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
297
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
298 ! XIM input method style
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
299 ! =======================
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
300
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
301 ! ximStyles is a (whitespace or comma-separated) list of XIMStyles in
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
302 ! order of user's preference.
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
303 ! Choose a subset of the following styles or reorder to taste
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
304 XEmacs*ximStyles: XIMPreeditPosition|XIMStatusArea\
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
305 XIMPreeditPosition|XIMStatusNothing\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
306 XIMPreeditPosition|XIMStatusNone\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
307 XIMPreeditNothing|XIMStatusArea\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
308 XIMPreeditNothing|XIMStatusNothing\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
309 XIMPreeditNothing|XIMStatusNone\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
310 XIMPreeditNone|XIMStatusArea\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
311 XIMPreeditNone|XIMStatusNothing\
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
312 XIMPreeditNone|XIMStatusNone
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
313
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
314 ! XIM Preedit and Status foreground and background
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
315 XEmacs*EmacsFrame.ximForeground: black
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
316 XEmacs*EmacsFrame.ximBackground: white
1480
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
317
318b9112aa48 [xemacs-hg @ 2003-05-14 10:34:46 by stephent]
stephent
parents:
diff changeset
318 ! XIM fontset (defaults to system fontset default)
2681
f15523a6da7a [xemacs-hg @ 2005-03-24 12:17:51 by aidan]
aidan
parents: 1547
diff changeset
319 ! XEmacs*EmacsFrame.FontSet: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*