From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: How to redefine keys in Group buffer
Date: Fri, 18 Jan 2008 11:59:55 +0100 [thread overview]
Message-ID: <87sl0vpff8.fsf@member.fsf.org> (raw)
In-Reply-To: <m2ejcfzf9x.fsf@macbook.sauerland.de>
Sebastian Kaps <seb@toyland.sauerland.de> writes:
Hi Sebastian,
> I want to reassign the 'q' key in Group buffer so that it doesn't quit
> gnus and use some other key combination instead. Unfortunately there
> doesn't seem to be something like a gnus-group-mode-map, so where do I
> define key bindings for the Group buffer?
Huh?
,----[ C-h v gnus-group-mode-map RET ]
| gnus-group-mode-map is a variable defined in `gnus.el'.
| Its value is shown below.
|
| Documentation:
| Not documented as a variable.
|
| Value:
| (keymap
| #^[t nil nil nil nil
[...]
| [back]
`----
Or use something like
(add-hook 'gnus-group-mode-hook
(lambda ()
(local-set-key (kbd "q") 'some-command)
(local-set-key (kbd "C-c q") 'gnus-group-exit)))
Bye,
Tassilo
next prev parent reply other threads:[~2008-01-18 10:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 8:52 Sebastian Kaps
2008-01-18 10:59 ` Tassilo Horn [this message]
[not found] ` <mailman.6258.1200654017.18990.info-gnus-english@gnu.org>
2008-01-18 11:33 ` Sebastian Kaps
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=87sl0vpff8.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=info-gnus-english@gnu.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).