help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unassigning cntl-Z in cua mode


From: Emanuel Berg
Subject: Re: unassigning cntl-Z in cua mode
Date: Tue, 24 Mar 2015 00:00:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> ... For example, C-z doesn't do what you describe
> for me, neither in the Linux VTs nor in X with
> xterm. I don't remember configuring that, but there
> have been so many configurations. `suspend-frame' is
> related for the dreamer and digger.

It seems it is not the terminal emulator that does
this - or, at some level it must do IO, yes, but this
particular issue seems to be nevertheless configurable
on the shell and editor (Emacs) levels.

If you don't want Emacs to be suspended:

    (put 'suspend-frame    'disabled     t)

and/or disable the key:

    (global-unset-key "\C-z")

I was about to say, *rebind* it to something else that
is useful, but one has to be Houdini to actually use
it with any enjoyment - one's left little finger *and*
ring finger?

If one on the other hand suspend Emacs and tries to
resume it with 'fg' and the shell says

    fg: no job control in this shell

or the equivalent, that means job control is disabled
in the shell, so examine the rc files - e.g., in zsh
this

    setopt nomonitor

disables job control.

-- 
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]