[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding keys for summary mode
From: |
Jim Burton |
Subject: |
Re: Binding keys for summary mode |
Date: |
Fri, 04 Feb 2011 08:08:12 +0000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Jim Burton <jim@sdf-eu.org> writes:
> Sebastian Tennant <sebyte@smolny.plus.com> writes:
>
>> Quoth Jim Burton <jim@sdf-eu.org>:
>>> (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 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-map
(kbd "d") 'gnus-summary-delete-article)))
>>
>> Seb
--
J Burton
jim@sdf-eu.org