comparison man/xemacs/custom.texi @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 30d2cfa1092a
children 8626e4521993
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
1091 all major modes except those that have their own overriding local 1091 all major modes except those that have their own overriding local
1092 definitions for the same key. Or you can change the current buffer's 1092 definitions for the same key. Or you can change the current buffer's
1093 local map, which affects all buffers using the same major mode. 1093 local map, which affects all buffers using the same major mode.
1094 1094
1095 @menu 1095 @menu
1096 * Interactive Rebinding:: Changing Key Bindings Interactively 1096 * Interactive Rebinding:: Changing Key Bindings Interactively
1097 * Programmatic Rebinding:: Changing Key Bindings Programmatically 1097 * Programmatic Rebinding:: Changing Key Bindings Programmatically
1098 * Key Bindings Using Strings:: Using Strings for Changing Key Bindings 1098 * Key Bindings Using Strings::Using Strings for Changing Key Bindings
1099 @end menu 1099 @end menu
1100 1100
1101 @node Interactive Rebinding 1101 @node Interactive Rebinding
1102 @subsubsection Changing Key Bindings Interactively 1102 @subsubsection Changing Key Bindings Interactively
1103 @findex global-set-key 1103 @findex global-set-key
2204 2204
2205 Emacs frames accept the following resources: 2205 Emacs frames accept the following resources:
2206 2206
2207 @table @asis 2207 @table @asis
2208 @item @code{geometry} (class @code{Geometry}): string 2208 @item @code{geometry} (class @code{Geometry}): string
2209 Initial geometry for the frame. @xref{Geometry Resources}, for a 2209 Initial geometry for the frame. @xref{Geometry Resources} for a
2210 complete discussion of how this works. 2210 complete discussion of how this works.
2211 2211
2212 @item @code{iconic} (class @code{Iconic}): boolean 2212 @item @code{iconic} (class @code{Iconic}): boolean
2213 Whether this frame should appear in the iconified state. 2213 Whether this frame should appear in the iconified state.
2214 2214
2484 As the menubar is implemented as a widget which is not a part of XEacs 2484 As the menubar is implemented as a widget which is not a part of XEacs
2485 proper, it does not use the fac" mechanism for specifying fonts and 2485 proper, it does not use the fac" mechanism for specifying fonts and
2486 colors: It uses whatever resources are appropriate to the type of widget 2486 colors: It uses whatever resources are appropriate to the type of widget
2487 which is used to implement it. 2487 which is used to implement it.
2488 2488
2489 If Emacs was compiled to use only the Lucid Motif-lookalike menu widgets, 2489 If Emacs was compiled to use only the Motif-lookalike menu widgets, then one
2490 then one way to specify the font of the menubar would be 2490 way to specify the font of the menubar would be
2491 2491
2492 @example 2492 @example
2493 Emacs*menubar*font: *-courier-medium-r-*-*-*-120-*-*-*-*-*-* 2493 Emacs*menubar*font: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
2494 @end example 2494 @end example
2495
2496 If both the Lucid Motif-lookalike menu widgets and X Font Sets are
2497 configured to allow multilingual menubars, then one uses
2498
2499 @example
2500 *menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
2501 -*-*-*-*-*-*-*-120-*-jisx0208.1983-0
2502 @end example
2503
2504 That would specify fonts for a Japanese menubar. Specifying only one
2505 XLFD is acceptable; specifying more than one for a given registry
2506 (language) is also allowed. When X Font Sets are configured, some .font
2507 resources (eg, menubars) are ignored in favor of the corresponding
2508 .fontSet resources.
2509 2495
2510 If the Motif library is being used, then one would have to use 2496 If the Motif library is being used, then one would have to use
2511 2497
2512 @example 2498 @example
2513 Emacs*menubar*fontList: *-courier-medium-r-*-*-*-120-*-*-*-*-*-* 2499 Emacs*menubar*fontList: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*