On Mon, 27 Sep 2010, Sergey Poznyakoff wrote: > [email protected] ha escrit: > > > I hope this message doesn't offend! > > Of course it does not. Your questions are welcome, even if they are > more Emacs- than Mailutils-related:)
Much obliged! [snip] > Add an \n symbol to the end of the above statement: > > (setq mail-default-headers "User-Agent: RMAIL; GNU Mailutils 2.1; GNU Emacs > 23.1\n") 6 mos ago, I had decided to learn some CL (Allegro flavor). I gave it up because my wife booted me off her MacOS X machine, where I had it installed. I think that _a way better idea_ would be to learn elisp! ;) > > When replying to a message, is it possible to have the > > In-reply-to-blah header appear in the message body instead of in the > > headers section? > > Then it will not be a header. Headers are `name: value' pairs appearing > *before* the very first empty line. Mail body is everything that goes > after it. So, your question actually is: "can one set up the body of > the message before entering compose mode". The answer is: yes, use > mail-setup-hook. This hook is executed when you hit `C-x m' (or > whatever key binding you have to turn on mail mode). It can be used to > insert any data both in the header and in the body parts of the message. That's what I want to do! See following... > > can this In-reply-to header be customized? > > Well, in Emacs everything can be customized:) However, I wonder why do > you need to modify that header. It does not seem a wise idea, because > the In-reply-to heaader is strictly formalized by RFC 2822, and adding > arbitrary data to it may misguide recipient mail software. I've been looking for a way to add an attribution line to the replies I send. Something like what the MUA that I'm using at the moment (Alpine) does. E.g. On Mon, 27 Sep 2010, Sergey Poznyakoff wrote: I thought (erroneously, it seems) that I could use the `in-reply-to' header for that purpose. So what I need to do is look for some docs explaining how to write a `mail-setup-hook'. Thanks for pointing me in the right direction. -- Duke Normandin _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
