unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-z and C-x C-z are bound to suspend-frame
@ 2008-03-25 18:43 paul r
  2008-03-25 19:14 ` Andreas Schwab
  2008-03-25 23:50 ` Johan Bockgård
  0 siblings, 2 replies; 12+ messages in thread
From: paul r @ 2008-03-25 18:43 UTC (permalink / raw)
  To: emacs developers

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-03-29  4:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 18:43 C-z and C-x C-z are bound to suspend-frame paul r
2008-03-25 19:14 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).