help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: .emacs keybindings in gnus


From: Michaël Cadilhac
Subject: Re: .emacs keybindings in gnus
Date: Mon, 27 Aug 2007 15:59:26 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

peter hodgson <pclhodgson@comcast.net> writes:

> (add-hook 'gnus-summary-mode-hook                                             
>           
>           (lambda ()                                                          
>           
>             (local-set-key (kbd "\ei") 'previous-line)))                      
>     
> (add-hook 'gnus-summary-mode-hook                                             
>           
>           (lambda ()                                                          
>           
>             (local-set-key (kbd "\en") 'next-line)))                          
> (add-hook 'gnus-message-mode-hook                                             
>           
>           (lambda ()                                                          
>           
>             (local-set-key (kbd "\en") 'next-line)))                          
> (add-hook 'gnus-message-mode-hook                                             
>           
>           (lambda ()                                                          
>           
>             (local-set-key (kbd "\e;") 'end-of-line)))                        
>   
>
>    [also 'gnus-article-mode-hook' instead of 'gnus-message-mode-hook]
>    [also 'global-set-key' instead of 'local-set-key]
>
> This time the changes WERE effected in the summary mode, but NOT in the
> message/article mode.

Have you tried with `message-mode-map' ?

-- 
 |   Michaël `Micha' Cadilhac       |  Boobs will come and go, and then,     |
 |   http://michael.cadilhac.name   |  someday, you'll meet a pair of boobs  |
 |   JID/MSN:                       |           that you want to marry.      |
 `----  michael.cadilhac@gmail.com  |          -- Randy                 -  --'

Attachment: pgped7hmQWbg9.pgp
Description: PGP signature


reply via email to

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