all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stuart McGraw <smcg4191@frii.com>
To: help-gnu-emacs@gnu.org
Subject: Re: unassigning cntl-Z in cua mode
Date: Sun, 22 Mar 2015 23:58:47 -0600	[thread overview]
Message-ID: <meoa2o$7g3$1@ger.gmane.org> (raw)
In-Reply-To: <87iodsz2zf.fsf@gmail.com>

On 03/22/2015 11:39 PM, Alexis wrote:
> On 2015-03-23T16:19:34+1100, Stuart McGraw <smcg4191@frii.com> said:
> SM> On 03/22/2015 11:05 PM, Alexis wrote:
>  >> On 2015-03-23T15:54:01+1100, Stuart McGraw <smcg4191@frii.com> >> said:
>  >> SM> Ah, I was try to set it to nil.  I just tried your suggestion
> SM> >> instead but still no joy.  No errors or messages but no effect >>
> SM> either, ctrl-z still tries to do an undo.
>  >> >> Odd. What does Emacs say when you ask about the C-z >> keybinding:
>  >> >> C-h k C-z
>
> SM> Still seems to be bound to undo:
>
> SM> | C-z runs the command undo, which is an interactive compiled SM>
> Lisp | function in `simple.el'.  | | It is bound to C-z, C-_, SM>
> <undo>, C-/, C-x u, <menu-bar> <edit> <undo>.  |...
>
> SM> The "(global-unset-key (kbd "C-z"))" line is at the bottom of my SM>
> .emacs file, I didn't do something silly like putting it above SM> the
> cua-enabling stuff.
>
> *nod*
>
> Perhaps instead try:
>
> (setq cua-remap-control-z nil)

Bingo!  When put above the cua-enabling code it works excellently.
Thank you!!





  reply	other threads:[~2015-03-23  5:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23  4:21 unassigning cntl-Z in cua mode 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 [this message]
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
     [not found] <mailman.2569.1427085318.31049.help-gnu-emacs@gnu.org>
2015-03-23 18:04 ` Emanuel Berg
2015-03-23 23:00   ` Emanuel Berg

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='meoa2o$7g3$1@ger.gmane.org' \
    --to=smcg4191@frii.com \
    --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.