unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "paul r" <paul.r.ml@gmail.com>,
	"Stefan Monnier" <monnier@iro.umontreal.ca>,
	"Andreas Schwab" <schwab@suse.de>,
	 "emacs developers" <emacs-devel@gnu.org>
Subject: Re: C-z and C-x C-z are bound to suspend-frame
Date: Fri, 28 Mar 2008 16:56:21 +0100	[thread overview]
Message-ID: <7dbe73ed0803280856l462ab45fj61bdf9975a1a20b7@mail.gmail.com> (raw)
In-Reply-To: <e30f0f320803280546n60591416rb8c030d0dc98cdb9@mail.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.

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




  reply	other threads:[~2008-03-28 15:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7dbe73ed0803280856l462ab45fj61bdf9975a1a20b7@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=paul.r.ml@gmail.com \
    --cc=schwab@suse.de \
    /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 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).