all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: paul.r.ml@gmail.com (paul r.)
Cc: Didier Verna <didier@xemacs.org>, ding@gnus.org, emacs-devel@gnu.org
Subject: User reserved keybindings in `gnus-diary.el' (was: Maintenance suggestion on an emacs mode)
Date: Sun, 30 Mar 2008 13:54:23 +0200	[thread overview]
Message-ID: <v97ifkh1g0.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <e30f0f320803291506i40a25852g95a0b7bffa8f92b7@mail.gmail.com> (paul r.'s message of "Sat, 29 Mar 2008 23:06:21 +0100")

On Sat, Mar 29 2008, paul r wrote:

> Those modifications concern some default key bindings on your mode
> map, bound on the C-c[a-zA-Z] pattern, which is supposed to be
> reserved for users, as explained in the last paragraph of the link
> [1].
> Each of you will receive an other email with the file to fix and the
> matching lines. If possible, please send back a patch on emacs-devel
> with those keybindings changed.

`gnus-diary.el' uses `C-c D' as a prefix key:

(define-key message-mode-map "\C-cDc" 'gnus-diary-check-message)
(define-key message-mode-map "\C-cDv" 'gnus-diary-version)
(define-key gnus-article-edit-mode-map "\C-cDc" 'gnus-diary-check-message)
(define-key gnus-article-edit-mode-map "\C-cDv" 'gnus-diary-version)

Do we really need a key binding for `gnus-diary-version'?

I'd suggest to discuss an alternative prefix on the Gnus list.
(Mail-Followup-To set accordingly.)

> [1] http://www.gnu.org/software/emacs/manual/html_node/emacs/Keymaps.html

,----[ (info "(emacs)Keymaps") ]
|    As a user, you can redefine any key; but it is usually best to stick
| to key sequences that consist of `C-c' followed by a letter (upper or
| lower case).  These keys are "reserved for users," so they won't
| conflict with any properly designed Emacs extension.  The function keys
| <F5> through <F9> are also reserved for users.  If you redefine some
| other key, your definition may be overridden by certain extensions or
| major modes which redefine the same key.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  parent reply	other threads:[~2008-03-30 11:54 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 22:06 Maintenance suggestion on an emacs mode paul r
2008-03-29 22:15 ` paul r
2008-03-30  5:50   ` Richard Stallman
2008-03-30 15:13     ` paul r
2008-03-30 19:55       ` Richard Stallman
2008-03-30 21:50       ` Mathias Dahl
2008-03-30 22:18         ` Stefan Monnier
2008-03-30 22:24           ` Mathias Dahl
2008-03-30 22:41             ` paul r
2008-03-31  1:57               ` Stefan Monnier
2008-03-31  8:02                 ` Mathias Dahl
2008-03-30 22:21       ` Stefan Monnier
2008-03-31 19:04         ` paul r
2008-04-03 22:20           ` Stefan Monnier
2008-04-03 22:31             ` paul r
2008-04-04  1:08           ` Stefan Monnier
2008-04-04 11:45             ` paul r
2008-04-04 11:54               ` Andreas Schwab
2008-04-04 12:04                 ` Paul Rivier
2008-04-04 13:54               ` Stefan Monnier
2008-04-09 21:29   ` Paul R
2008-04-21 17:29     ` Paul R
2008-04-22 20:28       ` Ralf Angeli
2008-04-22 20:53         ` Paul R
2008-04-23  5:28           ` Chong Yidong
2008-04-23 19:57             ` Stefan Monnier
2008-04-23 20:19               ` Ralf Angeli
2008-04-23 21:05                 ` Stefan Monnier
2008-04-23 21:20                   ` Lennart Borgman (gmail)
2008-04-24 20:23                   ` Ralf Angeli
2008-04-24 20:36                     ` Lennart Borgman (gmail)
2008-04-23 21:07                 ` Paul R
2008-04-24 20:12                   ` Ralf Angeli
2008-04-24 21:30       ` Reiner Steib
2008-03-30  5:50 ` Richard Stallman
2008-03-30 11:54 ` Reiner Steib [this message]
2008-03-30 13:17   ` User reserved keybindings in `gnus-diary.el' (was: Maintenance suggestion on an emacs mode) paul r
2008-03-30 13:23     ` paul r
2008-03-31  2:52     ` Stephen J. Turnbull
2008-04-01 10:46 ` Maintenance suggestion on an emacs mode Reto Zimmermann
2008-04-03 22:13   ` Stefan Monnier
2008-04-04  9:43     ` Reto Zimmermann
2008-04-05  3:43       ` Stefan Monnier

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=v97ifkh1g0.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=didier@xemacs.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=paul.r.ml@gmail.com \
    /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.