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

* Re: C-z and C-x C-z are bound to suspend-frame
  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-25 23:50 ` Johan Bockgård
  1 sibling, 2 replies; 12+ messages in thread
From: Andreas Schwab @ 2008-03-25 19:14 UTC (permalink / raw)
  To: paul r; +Cc: emacs developers

"paul r" <paul.r.ml@gmail.com> writes:

> 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,

C-c followed by a letter is reserved for the user and no mode should
bind anything there.  See (emacs)Keymaps.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-25 19:14 ` Andreas Schwab
@ 2008-03-25 19:30   ` paul r
  2008-03-26  1:16   ` Mathias Dahl
  1 sibling, 0 replies; 12+ messages in thread
From: paul r @ 2008-03-25 19:30 UTC (permalink / raw)
  To: emacs developers

2008/3/25, Andreas Schwab <schwab@suse.de>:

> C-c followed by a letter is reserved for the user and no mode should
>  bind anything there.  See (emacs)Keymaps.
>
thanks for the pointer




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

* Re: C-z and C-x C-z are bound to suspend-frame
  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 23:50 ` Johan Bockgård
  2008-03-26  8:38   ` paul r
  1 sibling, 1 reply; 12+ messages in thread
From: Johan Bockgård @ 2008-03-25 23:50 UTC (permalink / raw)
  To: emacs-devel

"paul r" <paul.r.ml@gmail.com> writes:

> I notice today that on emacs -Q, both C-z and C-x C-z are bound to
> suspend-frame.

There was a long thread about this a few years ago

http://news.gmane.org/find-root.php?message_id=<shismck5b7.fsf_-_@tux.gnu.franken.de>

-- 
Johan Bockgård





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

* Re: C-z and C-x C-z are bound to suspend-frame
  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
  1 sibling, 1 reply; 12+ messages in thread
From: Mathias Dahl @ 2008-03-26  1:16 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: paul r, emacs developers

>  C-c followed by a letter is reserved for the user and no mode should
>  bind anything there.  See (emacs)Keymaps.

I have heard this before but it seems a lot of modes do not obey this.
For example, `C-c C-c' is bound to `mail-send-and-exit' in Mail mode.
Or does "followed by a letter" mean exactly that, followed by a letter
but not followed by a control-character?




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-26  1:16   ` Mathias Dahl
@ 2008-03-26  3:48     ` Stefan Monnier
  2008-03-26  9:23       ` Mathias Dahl
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2008-03-26  3:48 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: Andreas Schwab, paul r, emacs developers

>> C-c followed by a letter is reserved for the user and no mode should
>> bind anything there.  See (emacs)Keymaps.

> I have heard this before but it seems a lot of modes do not obey this.
> For example, `C-c C-c' is bound to `mail-send-and-exit' in Mail mode.
> Or does "followed by a letter" mean exactly that, followed by a letter
> but not followed by a control-character?

The key part is "letter": not "key", not "characters", but "letter".
I agree it's far from clear, but it basically means a-z A-Z.


        Stefan




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-25 23:50 ` Johan Bockgård
@ 2008-03-26  8:38   ` paul r
  0 siblings, 0 replies; 12+ messages in thread
From: paul r @ 2008-03-26  8:38 UTC (permalink / raw)
  To: emacs-devel

2008/3/26, Johan Bockgård <bojohan+news@dd.chalmers.se>:

> There was a long thread about this a few years ago
>
>  http://news.gmane.org/find-root.php?message_id=<shismck5b7.fsf_-_@tux.gnu.franken.de>
>

I read with high interest, thank you for the pointer.
I think I can sum it up in 3 points :
  - most people think of C-z as a first-class keystroke, and of
suspend-emacs as a second-class command (please feel free to suggest
better vocabulary than first and second class )
  - a lot a people do unbind manually C-z to rebind it as to have a
totally dedicated "KeySpace" for their needs
  - concerns where rised on two points : CUA uses C-z for undo (but
well, it also uses C-v for paste) ; and C-z has the meaning of suspend
for some people in TTYs (but C-c should have the meaning of kill
process as well, as someone mentioned)

My position now is :
  - The rule for C-c LETTER is very subtle, and I'd prefer to see this
space reserved for mode-specific personnal keystrokes
  - I like to think I am totally free for any binding from C-z, this
is my really own space and it is accessible from any mode
  - CUA should be able to adapt, it can probably find room for a
personal KeySpace like C-z in its keymap (I notice C-y and C-c are
both bound to the same cua-paste, for example)

Last thread is more than 4 years old now, has your position evolved
since, and how please ?

Regards

-- Paul




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-26  3:48     ` Stefan Monnier
@ 2008-03-26  9:23       ` Mathias Dahl
  2008-03-28 12:46         ` paul r
  0 siblings, 1 reply; 12+ messages in thread
From: Mathias Dahl @ 2008-03-26  9:23 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Andreas Schwab, paul r, emacs developers

>  The key part is "letter": not "key", not "characters", but "letter".
>  I agree it's far from clear, but it basically means a-z A-Z.

Then I think we have a couple of offending files in Emacs' source tree:

ada-mode.el
delphi.el
mixal-mode.el
modula2.el
vhdl-mode.el

Do a regexp isearch for `"\\C-c[a-zA-Z]' in those files to find them.

/Mathias




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-26  9:23       ` Mathias Dahl
@ 2008-03-28 12:46         ` paul r
  2008-03-28 15:56           ` Mathias Dahl
  2008-03-29  4:12           ` Stefan Monnier
  0 siblings, 2 replies; 12+ messages in thread
From: paul r @ 2008-03-28 12:46 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: Andreas Schwab, Stefan Monnier, emacs developers

2008/3/26, Mathias Dahl <mathias.dahl@gmail.com>:
> Then I think we have a couple of offending files in Emacs' source tree:
>
>  ada-mode.el
>  delphi.el
>  mixal-mode.el
>  modula2.el
>  vhdl-mode.el
>
>  Do a regexp isearch for `"\\C-c[a-zA-Z]' in those files to find them.
>
>

Good catch Mathias.
Something should be done about that. As a start, we can make a full
list and contact maintainers to ask them if they can fix that, I'm ok
to do this part, should I CC emacs-devel ?
Below is the raw list matches of the command :
  grep --color -R -e "\"\\\\C-c[a-zA-Z]" lisp
in fresh cvs tree.
Please let me know if some of them are "acceptables" and should be let.

-- Paul

lisp/follow.el:;;    (define-key follow-mode-map "\C-ca"
'your-favorite-function)
lisp/follow.el:;;    (define-key follow-mode-map "\C-cb" 'another-function))
lisp/printing.el:;;    (global-set-key "\C-ci"  'pr-interface)
lisp/printing.el:;;    (global-set-key "\C-cbp" 'pr-ps-buffer-print)
lisp/printing.el:;;    (global-set-key "\C-cbx" 'pr-ps-buffer-preview)
lisp/printing.el:;;    (global-set-key "\C-cbb" 'pr-ps-buffer-using-ghostscript)
lisp/printing.el:;;    (global-set-key "\C-crp" 'pr-ps-region-print)
lisp/printing.el:;;    (global-set-key "\C-crx" 'pr-ps-region-preview)
lisp/printing.el:;;    (global-set-key "\C-crr" 'pr-ps-region-using-ghostscript)
lisp/printing.el:;;;(global-set-key "\C-ci"  'pr-interface)
lisp/printing.el:;;;(global-set-key "\C-cbp" 'pr-ps-buffer-print)
lisp/printing.el:;;;(global-set-key "\C-cbx" 'pr-ps-buffer-preview)
lisp/printing.el:;;;(global-set-key "\C-cbb" 'pr-ps-buffer-using-ghostscript)
lisp/printing.el:;;;(global-set-key "\C-crp" 'pr-ps-region-print)
lisp/printing.el:;;;(global-set-key "\C-crx" 'pr-ps-region-preview)
lisp/printing.el:;;;(global-set-key "\C-crr" 'pr-ps-region-using-ghostscript)
lisp/woman.el:;;  (global-set-key "\C-cw"
lisp/calendar/todo-mode.el:;;          (global-set-key "\C-ct"
'todo-show)  ; switch to TODO buffer
lisp/calendar/todo-mode.el:;;       (global-set-key "\C-ci"
'todo-insert-item) ; insert new item
lisp/gnus/gnus-bookmark.el:;; (define-key gnus-summary-mode-map
"\C-crm" 'gnus-bookmark-set)
lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crb"
'gnus-bookmark-jump)
lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crj"
'gnus-bookmark-jump)
lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crl"
'gnus-bookmark-bmenu-list)
lisp/gnus/gnus-diary.el:(define-key message-mode-map "\C-cDc"
'gnus-diary-check-message)
lisp/gnus/gnus-diary.el:(define-key gnus-article-edit-mode-map
"\C-cDc" 'gnus-diary-check-message)
lisp/gnus/gnus-diary.el:(define-key message-mode-map "\C-cDv"
'gnus-diary-version)
lisp/gnus/gnus-diary.el:(define-key gnus-article-edit-mode-map
"\C-cDv" 'gnus-diary-version)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSg" 'rsf-customize-group)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSg"
'rsf-customize-group)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSd" 'rsf-customize-spam-definitions)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSd"
'rsf-customize-spam-definitions)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSa" 'rsf-custom-save-all)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSa"
'rsf-custom-save-all)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSn" 'rsf-add-region-to-spam-list)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSn"
'rsf-add-region-to-spam-list)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSr" 'rsf-add-sender-to-spam-list)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSr"
'rsf-add-sender-to-spam-list)
lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
"\C-cSt" 'rsf-add-subject-to-spam-list)
lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSt"
'rsf-add-subject-to-spam-list)
lisp/mh-e/mh-e.el:;;   (global-set-key "\C-cr" 'mh-rmail)
lisp/net/webjump.el:;;   (global-set-key "\C-cj" 'webjump)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-co"
'ff-find-other-file)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cc"
'ada-change-prj)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cd"
'ada-set-default-project-file)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cg"
'ada-gdb-application)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cr"
'ada-run-application)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cl"
'ada-find-local-references)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cf"
'ada-find-file)
lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cu"  'ada-prj-edit)
lisp/progmodes/ada-mode.el:    (define-key ada-mode-map "\C-ct" map))
lisp/progmodes/delphi.el:;;              '("\C-cd" delphi-find-current-def)
lisp/progmodes/delphi.el:;;              '("\C-cx" delphi-find-current-xdef)
lisp/progmodes/delphi.el:;;              '("\C-cb" delphi-find-current-body)
lisp/progmodes/delphi.el:               '("\C-cu" delphi-find-unit)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ce"
'lisp-eval-defun-and-go)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cr"
'lisp-eval-region-and-go)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cc"
'lisp-compile-defun-and-go)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cz" 'switch-to-lisp)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cl" 'lisp-load-file)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ck"
'lisp-compile-file)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ca"
'lisp-show-arglist)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cd"
'lisp-describe-sym)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cf"
'lisp-show-function-documentation)
lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cv"
'lisp-show-variable-documentation)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
"\C-cl" 'lisp-load-file)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
"\C-ck" 'lisp-compile-file)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
"\C-ca" 'lisp-show-arglist)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
"\C-cd" 'lisp-describe-sym)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
"\C-cf" 'lisp-show-function-documentation)
lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map "\C-cv"
lisp/progmodes/mixal-mode.el:    (define-key map "\C-cc" 'compile)
lisp/progmodes/mixal-mode.el:    (define-key map "\C-cr" 'mixal-run)
lisp/progmodes/mixal-mode.el:    (define-key map "\C-cd" 'mixal-debug)
lisp/progmodes/modula2.el:    (define-key map "\C-cb" 'm2-begin)
lisp/progmodes/modula2.el:    (define-key map "\C-cc" 'm2-case)
lisp/progmodes/modula2.el:    (define-key map "\C-cd" 'm2-definition)
lisp/progmodes/modula2.el:    (define-key map "\C-ce" 'm2-else)
lisp/progmodes/modula2.el:    (define-key map "\C-cf" 'm2-for)
lisp/progmodes/modula2.el:    (define-key map "\C-ch" 'm2-header)
lisp/progmodes/modula2.el:    (define-key map "\C-ci" 'm2-if)
lisp/progmodes/modula2.el:    (define-key map "\C-cm" 'm2-module)
lisp/progmodes/modula2.el:    (define-key map "\C-cl" 'm2-loop)
lisp/progmodes/modula2.el:    (define-key map "\C-co" 'm2-or)
lisp/progmodes/modula2.el:    (define-key map "\C-cp" 'm2-procedure)
lisp/progmodes/modula2.el:    (define-key map "\C-cr" 'm2-record)
lisp/progmodes/modula2.el:    (define-key map "\C-cs" 'm2-stdio)
lisp/progmodes/modula2.el:    (define-key map "\C-ct" 'm2-type)
lisp/progmodes/modula2.el:    (define-key map "\C-cu" 'm2-until)
lisp/progmodes/modula2.el:    (define-key map "\C-cv" 'm2-var)
lisp/progmodes/modula2.el:    (define-key map "\C-cw" 'm2-while)
lisp/progmodes/modula2.el:    (define-key map "\C-cx" 'm2-export)
lisp/progmodes/modula2.el:    (define-key map "\C-cy" 'm2-import)
lisp/progmodes/pascal.el:    ;; (define-key map "\C-cd"
'pascal-downcase-keywords)
lisp/progmodes/pascal.el:    ;; (define-key map "\C-cu"
'pascal-upcase-keywords)
lisp/progmodes/pascal.el:    ;; (define-key map "\C-cc"
'pascal-capitalize-keywords)
lisp/progmodes/verilog-mode.el:;(define-key verilog-mode-map "\C-ct"
verilog-template-map)
lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cc"
'vhdl-comment-uncomment-region)
lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cf"
'vhdl-fontify-buffer)
lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cs"
'vhdl-statistics-buffer)
lisp/textmodes/reftex.el:        '(("\C-ct" . reftex-toc)
lisp/textmodes/reftex.el:          ("\C-cl" . reftex-label)
lisp/textmodes/reftex.el:          ("\C-cr" . reftex-reference)
lisp/textmodes/reftex.el:          ("\C-cc" . reftex-citation)
lisp/textmodes/reftex.el:          ("\C-cv" . reftex-view-crossref)
lisp/textmodes/reftex.el:          ("\C-cg" . reftex-grep-document)
lisp/textmodes/reftex.el:          ("\C-cs" . reftex-search-document))
lisp/textmodes/sgml-mode.el:      (define-key map "\C-co" 'html-ordered-list)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-cu" 'html-unordered-list)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-cr" 'html-radio-buttons)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-cc" 'html-checkboxes)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-cl" 'html-list-item)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-ch" 'html-href-anchor)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-cn" 'html-name-anchor)
lisp/textmodes/sgml-mode.el:      (define-key map "\C-ci" 'html-image))




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

* Re: C-z and C-x C-z are bound to suspend-frame
  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
  1 sibling, 1 reply; 12+ messages in thread
From: Mathias Dahl @ 2008-03-28 15:56 UTC (permalink / raw)
  To: paul r, Stefan Monnier, Andreas Schwab, emacs developers

You can't just do a grep like that, you get false hits from comments
and also from code that sits behind a user-controlled condition. But
many are real hits, of course.

2008/3/28, paul r <paul.r.ml@gmail.com>:
> 2008/3/26, Mathias Dahl <mathias.dahl@gmail.com>:
> > Then I think we have a couple of offending files in Emacs' source tree:
> >
> >  ada-mode.el
> >  delphi.el
> >  mixal-mode.el
> >  modula2.el
> >  vhdl-mode.el
> >
> >  Do a regexp isearch for `"\\C-c[a-zA-Z]' in those files to find them.
> >
> >
>
> Good catch Mathias.
> Something should be done about that. As a start, we can make a full
> list and contact maintainers to ask them if they can fix that, I'm ok
> to do this part, should I CC emacs-devel ?
> Below is the raw list matches of the command :
>   grep --color -R -e "\"\\\\C-c[a-zA-Z]" lisp
> in fresh cvs tree.
> Please let me know if some of them are "acceptables" and should be let.
>
> -- Paul
>
> lisp/follow.el:;;    (define-key follow-mode-map "\C-ca"
> 'your-favorite-function)
> lisp/follow.el:;;    (define-key follow-mode-map "\C-cb" 'another-function))
> lisp/printing.el:;;    (global-set-key "\C-ci"  'pr-interface)
> lisp/printing.el:;;    (global-set-key "\C-cbp" 'pr-ps-buffer-print)
> lisp/printing.el:;;    (global-set-key "\C-cbx" 'pr-ps-buffer-preview)
> lisp/printing.el:;;    (global-set-key "\C-cbb"
> 'pr-ps-buffer-using-ghostscript)
> lisp/printing.el:;;    (global-set-key "\C-crp" 'pr-ps-region-print)
> lisp/printing.el:;;    (global-set-key "\C-crx" 'pr-ps-region-preview)
> lisp/printing.el:;;    (global-set-key "\C-crr"
> 'pr-ps-region-using-ghostscript)
> lisp/printing.el:;;;(global-set-key "\C-ci"  'pr-interface)
> lisp/printing.el:;;;(global-set-key "\C-cbp" 'pr-ps-buffer-print)
> lisp/printing.el:;;;(global-set-key "\C-cbx" 'pr-ps-buffer-preview)
> lisp/printing.el:;;;(global-set-key "\C-cbb"
> 'pr-ps-buffer-using-ghostscript)
> lisp/printing.el:;;;(global-set-key "\C-crp" 'pr-ps-region-print)
> lisp/printing.el:;;;(global-set-key "\C-crx" 'pr-ps-region-preview)
> lisp/printing.el:;;;(global-set-key "\C-crr"
> 'pr-ps-region-using-ghostscript)
> lisp/woman.el:;;  (global-set-key "\C-cw"
> lisp/calendar/todo-mode.el:;;          (global-set-key "\C-ct"
> 'todo-show)  ; switch to TODO buffer
> lisp/calendar/todo-mode.el:;;       (global-set-key "\C-ci"
> 'todo-insert-item) ; insert new item
> lisp/gnus/gnus-bookmark.el:;; (define-key gnus-summary-mode-map
> "\C-crm" 'gnus-bookmark-set)
> lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crb"
> 'gnus-bookmark-jump)
> lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crj"
> 'gnus-bookmark-jump)
> lisp/gnus/gnus-bookmark.el:;; (define-key global-map "\C-crl"
> 'gnus-bookmark-bmenu-list)
> lisp/gnus/gnus-diary.el:(define-key message-mode-map "\C-cDc"
> 'gnus-diary-check-message)
> lisp/gnus/gnus-diary.el:(define-key gnus-article-edit-mode-map
> "\C-cDc" 'gnus-diary-check-message)
> lisp/gnus/gnus-diary.el:(define-key message-mode-map "\C-cDv"
> 'gnus-diary-version)
> lisp/gnus/gnus-diary.el:(define-key gnus-article-edit-mode-map
> "\C-cDv" 'gnus-diary-version)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSg" 'rsf-customize-group)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSg"
> 'rsf-customize-group)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSd" 'rsf-customize-spam-definitions)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSd"
> 'rsf-customize-spam-definitions)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSa" 'rsf-custom-save-all)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSa"
> 'rsf-custom-save-all)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSn" 'rsf-add-region-to-spam-list)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSn"
> 'rsf-add-region-to-spam-list)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSr" 'rsf-add-sender-to-spam-list)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSr"
> 'rsf-add-sender-to-spam-list)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-summary-mode-map
> "\C-cSt" 'rsf-add-subject-to-spam-list)
> lisp/mail/rmail-spam-filter.el:(define-key rmail-mode-map "\C-cSt"
> 'rsf-add-subject-to-spam-list)
> lisp/mh-e/mh-e.el:;;   (global-set-key "\C-cr" 'mh-rmail)
> lisp/net/webjump.el:;;   (global-set-key "\C-cj" 'webjump)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-co"
> 'ff-find-other-file)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cc"
> 'ada-change-prj)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cd"
> 'ada-set-default-project-file)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cg"
> 'ada-gdb-application)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cr"
> 'ada-run-application)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cl"
> 'ada-find-local-references)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cf"
> 'ada-find-file)
> lisp/progmodes/ada-mode.el:  (define-key ada-mode-map "\C-cu"
> 'ada-prj-edit)
> lisp/progmodes/ada-mode.el:    (define-key ada-mode-map "\C-ct" map))
> lisp/progmodes/delphi.el:;;              '("\C-cd" delphi-find-current-def)
> lisp/progmodes/delphi.el:;;              '("\C-cx" delphi-find-current-xdef)
> lisp/progmodes/delphi.el:;;              '("\C-cb" delphi-find-current-body)
> lisp/progmodes/delphi.el:               '("\C-cu" delphi-find-unit)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ce"
> 'lisp-eval-defun-and-go)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cr"
> 'lisp-eval-region-and-go)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cc"
> 'lisp-compile-defun-and-go)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cz"
> 'switch-to-lisp)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cl"
> 'lisp-load-file)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ck"
> 'lisp-compile-file)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-ca"
> 'lisp-show-arglist)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cd"
> 'lisp-describe-sym)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cf"
> 'lisp-show-function-documentation)
> lisp/progmodes/inf-lisp.el:  (define-key lisp-mode-map "\C-cv"
> 'lisp-show-variable-documentation)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
> "\C-cl" 'lisp-load-file)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
> "\C-ck" 'lisp-compile-file)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
> "\C-ca" 'lisp-show-arglist)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
> "\C-cd" 'lisp-describe-sym)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map
> "\C-cf" 'lisp-show-function-documentation)
> lisp/progmodes/inf-lisp.el:  (define-key inferior-lisp-mode-map "\C-cv"
> lisp/progmodes/mixal-mode.el:    (define-key map "\C-cc" 'compile)
> lisp/progmodes/mixal-mode.el:    (define-key map "\C-cr" 'mixal-run)
> lisp/progmodes/mixal-mode.el:    (define-key map "\C-cd" 'mixal-debug)
> lisp/progmodes/modula2.el:    (define-key map "\C-cb" 'm2-begin)
> lisp/progmodes/modula2.el:    (define-key map "\C-cc" 'm2-case)
> lisp/progmodes/modula2.el:    (define-key map "\C-cd" 'm2-definition)
> lisp/progmodes/modula2.el:    (define-key map "\C-ce" 'm2-else)
> lisp/progmodes/modula2.el:    (define-key map "\C-cf" 'm2-for)
> lisp/progmodes/modula2.el:    (define-key map "\C-ch" 'm2-header)
> lisp/progmodes/modula2.el:    (define-key map "\C-ci" 'm2-if)
> lisp/progmodes/modula2.el:    (define-key map "\C-cm" 'm2-module)
> lisp/progmodes/modula2.el:    (define-key map "\C-cl" 'm2-loop)
> lisp/progmodes/modula2.el:    (define-key map "\C-co" 'm2-or)
> lisp/progmodes/modula2.el:    (define-key map "\C-cp" 'm2-procedure)
> lisp/progmodes/modula2.el:    (define-key map "\C-cr" 'm2-record)
> lisp/progmodes/modula2.el:    (define-key map "\C-cs" 'm2-stdio)
> lisp/progmodes/modula2.el:    (define-key map "\C-ct" 'm2-type)
> lisp/progmodes/modula2.el:    (define-key map "\C-cu" 'm2-until)
> lisp/progmodes/modula2.el:    (define-key map "\C-cv" 'm2-var)
> lisp/progmodes/modula2.el:    (define-key map "\C-cw" 'm2-while)
> lisp/progmodes/modula2.el:    (define-key map "\C-cx" 'm2-export)
> lisp/progmodes/modula2.el:    (define-key map "\C-cy" 'm2-import)
> lisp/progmodes/pascal.el:    ;; (define-key map "\C-cd"
> 'pascal-downcase-keywords)
> lisp/progmodes/pascal.el:    ;; (define-key map "\C-cu"
> 'pascal-upcase-keywords)
> lisp/progmodes/pascal.el:    ;; (define-key map "\C-cc"
> 'pascal-capitalize-keywords)
> lisp/progmodes/verilog-mode.el:;(define-key verilog-mode-map "\C-ct"
> verilog-template-map)
> lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cc"
> 'vhdl-comment-uncomment-region)
> lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cf"
> 'vhdl-fontify-buffer)
> lisp/progmodes/vhdl-mode.el:  (define-key vhdl-mode-map "\C-cs"
> 'vhdl-statistics-buffer)
> lisp/textmodes/reftex.el:        '(("\C-ct" . reftex-toc)
> lisp/textmodes/reftex.el:          ("\C-cl" . reftex-label)
> lisp/textmodes/reftex.el:          ("\C-cr" . reftex-reference)
> lisp/textmodes/reftex.el:          ("\C-cc" . reftex-citation)
> lisp/textmodes/reftex.el:          ("\C-cv" . reftex-view-crossref)
> lisp/textmodes/reftex.el:          ("\C-cg" . reftex-grep-document)
> lisp/textmodes/reftex.el:          ("\C-cs" . reftex-search-document))
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-co"
> 'html-ordered-list)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-cu"
> 'html-unordered-list)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-cr"
> 'html-radio-buttons)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-cc" 'html-checkboxes)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-cl" 'html-list-item)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-ch" 'html-href-anchor)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-cn" 'html-name-anchor)
> lisp/textmodes/sgml-mode.el:      (define-key map "\C-ci" 'html-image))
>




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-28 15:56           ` Mathias Dahl
@ 2008-03-28 16:08             ` paul r
  0 siblings, 0 replies; 12+ messages in thread
From: paul r @ 2008-03-28 16:08 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: Andreas Schwab, Stefan Monnier, emacs developers

2008/3/28, Mathias Dahl <mathias.dahl@gmail.com>:
> You can't just do a grep like that, you get false hits from comments
>  and also from code that sits behind a user-controlled condition. But
>  many are real hits, of course.

Ooops, that's true, sorry for the noise.




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

* Re: C-z and C-x C-z are bound to suspend-frame
  2008-03-28 12:46         ` paul r
  2008-03-28 15:56           ` Mathias Dahl
@ 2008-03-29  4:12           ` Stefan Monnier
  1 sibling, 0 replies; 12+ messages in thread
From: Stefan Monnier @ 2008-03-29  4:12 UTC (permalink / raw)
  To: paul r; +Cc: Andreas Schwab, emacs developers, Mathias Dahl

> Something should be done about that. As a start, we can make a full
> list and contact maintainers to ask them if they can fix that, I'm ok
> to do this part,

That would be very helpful, thank you.

> should I CC emacs-devel ?

If you want.

> Below is the raw list matches of the command :
>   grep --color -R -e "\"\\\\C-c[a-zA-Z]" lisp
> in fresh cvs tree.
> Please let me know if some of them are "acceptables" and should be let.

The ones in comments are fine ;-)


        Stefan




^ 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).