Re: Binding keys for summary mode

2011-02-04 Thread Jim Burton
pmli...@free.fr (Peter Münster) writes: > Jim Burton writes: > >> That lists the bindings but not the keymaps in which they are made. So, [snip] > > From my .gnus.el: > Excellent, thankyou Peter. Jim > (defun my-alter-summary-map () > (local-set-key (kbd "RET") '(lambda () (interactive) >

Re: Binding keys for summary mode

2011-02-04 Thread Peter Münster
Jim Burton writes: > That lists the bindings but not the keymaps in which they are made. So, > presuming that modeX defines the keymap modeX-map, I tried the following > but it doesn't work: > > (add-hook 'gnus-agent-summary-mode '(lambda () > (define-key gnus-agent-summary-mode-m

Re: Binding keys for summary mode

2011-02-04 Thread Jim Burton
Jim Burton writes: > Sebastian Tennant writes: > >> Quoth Jim Burton : >>> (BTW, how do I see what keymaps are in effect for a given buffer?) >> >> C-h b >> > Thanks very much. >> OR >> >> M-x describe-bindings >> >> is your friend. That lists the bindings but not the keymaps in which they ar

Re: Binding keys for summary mode

2011-02-03 Thread Jim Burton
Sebastian Tennant writes: > Quoth Jim Burton : >> (BTW, how do I see what keymaps are in effect for a given buffer?) > > C-h b > Thanks very much. > OR > > M-x describe-bindings > > is your friend. > > Seb -- J Burton j...@sdf-eu.org ___ info-gnus-e

Re: Binding keys for summary mode

2011-02-03 Thread Sebastian Tennant
Quoth Jim Burton : > (BTW, how do I see what keymaps are in effect for a given buffer?) C-h b OR M-x describe-bindings is your friend. Seb -- Emacs' AlsaPlayer - Music Without Jolts Lightweight, full-featured and mindful of your idyllic happiness. http://home.gna.org/eap _

Binding keys for summary mode

2011-02-03 Thread Jim Burton
Hi, I want to bind a key to gnus-summary-delete, to be used in the Summary. I'm confused about which hook I should add this to and in which keymap it should be? I suppose the hook is gnus-Select-group-hook? What's the key map? (BTW, how do I see what keymaps are in effect for a given buffer?) Than