Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How to redefine keys in Group buffer
@ 2008-01-18  8:52 Sebastian Kaps
  2008-01-18 10:59 ` Tassilo Horn
       [not found] ` <mailman.6258.1200654017.18990.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Kaps @ 2008-01-18  8:52 UTC (permalink / raw)
  To: info-gnus-english

Hi!

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?

-- 
Ciao, Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to redefine keys in Group buffer
  2008-01-18  8:52 How to redefine keys in Group buffer Sebastian Kaps
@ 2008-01-18 10:59 ` Tassilo Horn
       [not found] ` <mailman.6258.1200654017.18990.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2008-01-18 10:59 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to redefine keys in Group buffer
       [not found] ` <mailman.6258.1200654017.18990.info-gnus-english@gnu.org>
@ 2008-01-18 11:33   ` Sebastian Kaps
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Kaps @ 2008-01-18 11:33 UTC (permalink / raw)
  To: info-gnus-english

// Tassilo Horn writes:

> ,----[ C-h v gnus-group-mode-map RET ]
> | gnus-group-mode-map is a variable defined in `gnus.el'.
> | Its value is shown below.

Oh thanks! Somehow I must have missed that.

-- 
Ciao, Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-18 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18  8:52 How to redefine keys in Group buffer Sebastian Kaps
2008-01-18 10:59 ` Tassilo Horn
     [not found] ` <mailman.6258.1200654017.18990.info-gnus-english@gnu.org>
2008-01-18 11:33   ` Sebastian Kaps

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