home *** CD-ROM | disk | FTP | other *** search
- > For some reason, the compose key doesn't work as the meta key when
- > running lemacs on our DEC stations. It does work as the meta key when
- > running emacs, however.
-
- Lucid Emacs treats the compose key as a compose key; emacs 18 was not ICCCM
- compliant and does something randomly wrong, which in your case happened to
- be what you wanted. If you want that key to be a meta key, you have to
- really make it be a meta key instead of a compose key.
-
- xkeycaps (from export.lcs.mit.edu in contrib) makes this sort of nonsense
- easier.
-
- The following description is from the InterClient Communica-
- tions Conventions Manual:
-
- X11 supports 8 modifier bits, of which 3 are pre-
- assigned to Shift, Lock and Control. Each modifier bit
- is controlled by the state of a set of keys, and these
- sets are specified in a table accessed by GetModifier-
- Mapping() and SetModifierMapping().
-
- A client needing to use one of the pre-assigned modif-
- iers should assume that the modifier table has been set
- up correctly to control these modifiers. The Lock
- modifier should be interpreted as Caps Lock or Shift
- Lock according as the keycodes in its controlling set
- include XK_Caps_Lock or XK_Shift_Lock.
-
- Clients should determine the meaning of a modifier bit
- from the keysyms being used to control it.
-
- A client needing to use an extra modifier, for example
- Meta, should:
-
- Scan the existing modifier mappings. If it finds a
- modifier that contains a keycode whose set of keysyms
- includes XK_Meta_L or XK_Meta_R, it should use that
- modifier bit.
-
- If there is no existing modifier controlled by
- XK_Meta_L or XK_Meta_R, it should select an unused
- modifier bit (one with an empty controlling set) and:
-
- If there is a keycode with XL_Meta_L in its set of
- keysyms, add that keycode to the set for the chosen
- modifier, then
-
- if there is a keycode with XL_Meta_R in its set of
- keysyms, add that keycode to the set for the chosen
- modifier, then
-
- if the controlling set is still empty, interact
- with the user to select one or more keys to be Meta.
-
- If there are no unused modifier bits, ask the user to
- take corrective action.
-
- This means that the Mod1 modifier does not necessarily mean
- Meta, although some applications (such as twm and emacs)
- assume that. Any of the five unassigned modifier bits could
- mean Meta; what matters is that a modifier bit is generated
- by a keycode which is bound to the keysym Meta_L or Meta-R.
-
- Therefore, if you want to make a ``meta'' key, the best way
- is to make the keycode in question generate both a Meta
- keysym, and a modifier bit.
-
-