Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <didier@xemacs.org>
To: ding@gnus.org
Subject: Re: User reserved keybindings in `gnus-diary.el'
Date: Mon, 14 Apr 2008 10:28:57 +0200	[thread overview]
Message-ID: <mux7if0c01i.fsf@uzeb.lrde.epita.fr> (raw)
In-Reply-To: <v97ifkh1g0.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 30 Mar 2008 13:54:23 +0200")

Reiner Steib <reinersteib+gmane@imap.cc> wrote:

> 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

   FWIW, when I designed the nndiary backend, I split functionality
between core features and convenience stuff, in respectively nndiary.el
and gnus-diary.el. Technically, gnus-diary is not needed to use nndiary,
so I though of it as a user-level layer, hence the choice of a C-c
prefix. I'm not strongly opposed to changing that though.

> `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'?

  We does this binding bother you (I mean, apart from the C-c part) ? If
that's because there are only two key bindings right now, so you would
like to remove the prefix altogether and just bind g-d-c-m somewhere
else, then I'm opposed to this change. I want to keep a whole prefix for
gnus-diary, so that I don't interfere or risk a conflict with another
library in the future.

-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (0)1 53 14 59 22  didier@xemacs.org



      parent reply	other threads:[~2008-04-14  8:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e30f0f320803291506i40a25852g95a0b7bffa8f92b7@mail.gmail.com>
2008-03-30 11:54 ` User reserved keybindings in `gnus-diary.el' (was: Maintenance suggestion on an emacs mode) Reiner Steib
2008-03-30 13:17   ` paul r
2008-03-31  2:52     ` Stephen J. Turnbull
2008-04-12 21:10   ` User reserved keybindings in `gnus-diary.el' Reiner Steib
2008-04-14  8:37     ` Didier Verna
2008-04-14 20:20       ` Reiner Steib
2008-04-15  8:45         ` Didier Verna
2008-04-14  8:28   ` Didier Verna [this message]

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=mux7if0c01i.fsf@uzeb.lrde.epita.fr \
    --to=didier@xemacs.org \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).