briefly, the answer is to omit the word gnus- from the code placed
in .gnus.el

in my .gnus.el file, i changed a line
from:
(add-hook 'gnus-message-mode-hook line
to:
(add-hook 'message-mode-hook

so now the section of my .gnus.el file which forces gnus to accept key
bindings from my .emacs file is:

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

;; instead of 'gnus-message-mode-
hook                                                    \
(add-hook 'message-mode-hook
          (lambda ()
            (local-set-key (kbd "\en") 'next-line)))
(add-hook 'message-mode-hook
          (lambda ()
            (local-set-key (kbd "\e;") 'end-of-line)))

i left the summary-mode lines as is, since they work, and as they say,
"if it works..."

similarly;
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
;;instead of 'gnus-message-mode-
hook
(add-hook 'message-mode-hook 'paragraph-indent-minor-mode)

the lesson to be taken from all this is that the "'gnus" should be
omitted when one is configuring the .gnus.el file;

now how about getting customized key bindings to work in X, and X
apps, like browsers?


_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to