[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: |
Tue, 28 Aug 2007 12:08:28 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
peter hodgson <pclhodgson@comcast.net> writes:
> michael, are you suggesting i use:
> [...]
> michael, maybe you're suggesting i should use `message-mode-map' in
> these "(add-hook... stanzas?
Try both, but the first simpler one should work anyway, and is smaller.
The following lines could be required before:
(require 'gnus)
(require 'gnus-sum)
(require 'message)
> if so, where would it go?
The .gnus file is loaded with M-x gnus, so you don't have to put the
preceding `require' statements. But if you want to put your
configuration in one and only one file (e.g., ~/.emacs), you can do so.
Config files in Emacs are very simple and versatile. In your case, you
have two major entry points :
- the ~/.emacs (AKA ~/.emacs.d/init.el)
- the ~/.gnus.el.
The first one is loaded on Emacs start (hence, if you want to change a
variable defined in Gnus, you have to load 'gnus by hand).
--
| Michaël `Micha' Cadilhac | 21 seems like a good value: half of |
| http://michael.cadilhac.name | of 42 and just old enough to drink! |
| JID/MSN: | Why would you want to change it? |
`---- michael.cadilhac@gmail.com | -- Stefan Monnier - --'
pgpR_1uq2m_ue.pgp
Description: PGP signature