info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to redefine keys in Group buffer


From: Tassilo Horn
Subject: Re: How to redefine keys in Group buffer
Date: Fri, 18 Jan 2008 11:59:55 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]