all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: unassigning cntl-Z in cua mode
Date: Tue, 24 Mar 2015 00:00:20 +0100	[thread overview]
Message-ID: <87egof1fqz.fsf@debian.uxu> (raw)
In-Reply-To: 87k2y71tgt.fsf@debian.uxu

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	other threads:[~2015-03-23 23:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2569.1427085318.31049.help-gnu-emacs@gnu.org>
2015-03-23 18:04 ` unassigning cntl-Z in cua mode Emanuel Berg
2015-03-23 23:00   ` Emanuel Berg [this message]
2015-03-23  4:21 Stuart McGraw
2015-03-23  4:44 ` Alexis
2015-03-23  4:54   ` Stuart McGraw
2015-03-23  5:05     ` Alexis
2015-03-23  5:19       ` Stuart McGraw
2015-03-23  5:39         ` Alexis
2015-03-23  5:58           ` Stuart McGraw
2015-03-23  6:05             ` Alexis
2015-03-23  4:55   ` Drew Adams
2015-03-23  4:59     ` Stuart McGraw
2015-03-23 13:27       ` Drew Adams
2015-03-23 15:41 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egof1fqz.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.