XEmacs iconifies when CTRL+Z is entered

Problem
XEmacs iconifies when CTRL+Z is entered. This happens by default unter the KDE window manager kwm, but does not seem to happen under other window managers, most notably fvwm95.
Needless to say that this is a nuisance because there are many key bindings in XEmacs, e.g.. in the HTML mode, which involve C-z.

Solution
To prevent this add in .emacs:
    (if window-system (global-set-key [?\C-z] nil))

Thanks to stromme@math.uib.no (Stein A. Stromme)

Background
When started under certain window managers XEmacs itself binds C-z to a function to iconify. The iconification is thus triggered by XEmacs, not the window manager! Inspect the C-z key binding with
    C-h k C-z
If you get "C-z runs `suspend-emacs-or-iconify-frame'" XEmacs will iconify on C-z.

Thanks to Stephen Chadfield <stephen_chadfield@mitel.com>

Back to FAQ Summary
Walter F.J. Müller
Last modified: Fri Aug 6 15:05:39 CEST 1999
Imprint ---- Data privacy protection ---- Haftungsausschluss