[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hooks and mail
From: |
François Fleuret |
Subject: |
Re: hooks and mail |
Date: |
30 Nov 2003 19:59:53 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hi,
> I'm sorry, but I can't understand how do hooks work.
> I'd like to set reply-to to a certain value;
There are two issues here ... How to set mail-default-reply-to's value
and how to make hooks.
To set mail-default-reply-to, I guess a simple
(setq-default mail-default-reply-to "my.other.name@my.other.address")
somewhere in your .emacs should do it.
For the hook
> (add-hook 'vm-mail-hook
> '(lambda()
> (setq mail-default-reply-to "me@host.xyz")
> )
> )
I guess you should remove the ' before the function definition (at
least I dont have it in my own hook definitions).
Regards,
--
François Fleuret
- hooks and mail, Guldo K, 2003/11/30
- Re: hooks and mail,
François Fleuret <=