Previous: Frame Components, Up: Customization [Contents][Index]
Historically, XEmacs has used the X resource application class ‘Emacs’ for its resources. Unfortunately, GNU Emacs uses the same application class, and resources are not compatible between the two Emacsen. This sharing of the application class often leads to trouble if you want to run both variants.
SXEmacs uses the class ‘SXEmacs’ if it finds any SXEmacs resources in
the resource database when the X connection is initialized. Otherwise,
it will use the class ‘Emacs’ for backwards compatibility. The
variable x-emacs-application-class
may be consulted to determine
the application class being used.
The examples in this section assume the application class is ‘Emacs’.
The Emacs resources are generally set per-frame. Each Emacs frame can have
its own name or the same name as another, depending on the name passed to the
make-frame
function.
You can specify resources for all frames with the syntax:
Emacs*parameter: value
or
Emacs*EmacsFrame.parameter:value
You can specify resources for a particular frame with the syntax:
Emacs*FRAME-NAME.parameter: value
• Geometry Resources: | Controlling the size and position of frames. | |
• Iconic Resources: | Controlling whether frames come up iconic. | |
• Resource List: | List of resources settable on a frame or device. | |
• Face Resources: | Controlling faces using resources. | |
• Widgets: | The widget hierarchy for SXEmacs. | |
• Menubar Resources: | Specifying resources for the menubar. |
Previous: Frame Components, Up: Customization [Contents][Index]