all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "paul r" <paul.r.ml@gmail.com>
To: "emacs developers" <emacs-devel@gnu.org>
Subject: C-z and C-x C-z are bound to suspend-frame
Date: Tue, 25 Mar 2008 19:43:20 +0100	[thread overview]
Message-ID: <e30f0f320803251143y114838c2nb33f38c7462494c@mail.gmail.com> (raw)

I notice today that on emacs -Q, both C-z and C-x C-z are bound to
suspend-frame.
Since a long time now, I have in my .emacs
   (global-set-key "\C-z" nil)
And when needed (not often to be honest) I use C-x C-z for suspend-frame

I use C-z as a prefix for emacs-wide personal bindings. I read
somewhere I should use C-c but many modes already use it for
mode-specific bindings, and I feel comfortable with this simple rule :
   C-x is for emacs default bindings
   C-z is my own space for global emacs bindings, like mpd-next-song
or whatever should be accessible from everywhere
   C-b is mode-specific, so any mode is totally free to use this space
for its needs

That way, I ensure my global bindings will never make collision with
emacs default global bindings, nor with mode-specific bindings. But
this is a bit hackish.

Two questions :
 - is there a reason why C-z is kept bound on suspend-frame along with C-x C-z ?
 - generally, how do you manage your personal bindings ?

-- Paul




             reply	other threads:[~2008-03-25 18:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 18:43 paul r [this message]
2008-03-25 19:14 ` C-z and C-x C-z are bound to suspend-frame Andreas Schwab
2008-03-25 19:30   ` paul r
2008-03-26  1:16   ` Mathias Dahl
2008-03-26  3:48     ` Stefan Monnier
2008-03-26  9:23       ` Mathias Dahl
2008-03-28 12:46         ` paul r
2008-03-28 15:56           ` Mathias Dahl
2008-03-28 16:08             ` paul r
2008-03-29  4:12           ` Stefan Monnier
2008-03-25 23:50 ` Johan Bockgård
2008-03-26  8:38   ` paul r

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=e30f0f320803251143y114838c2nb33f38c7462494c@mail.gmail.com \
    --to=paul.r.ml@gmail.com \
    --cc=emacs-devel@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.