bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] OT - RMAIL headers


From: Duke Normandin
Subject: Re: [bug-mailutils] OT - RMAIL headers
Date: Mon, 27 Sep 2010 13:40:03 -0600 (MDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Mon, 27 Sep 2010, Sergey Poznyakoff wrote:

> address@hidden 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




reply via email to

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