- Subject: Re: Setting the From: and Reply-to: Headers in Jed
- From: Duke <dukeofperl@xxxxxxx>
- Date: Thu, 4 Dec 2008 20:58:05 -0700 (MST)
On Thu, 4 Dec 2008, John E. Davis wrote:
> Duke <dukeofperl@xxxxxxx> wrote:
> > This message is being written from the Pine MUA using Jed in
> > mail_mode. However I would like to sometimes email stuff while in a
> > Jed session. Is there a way to set the subject headers in the various
> > jed comfig files?
>
> If you use jed's mailedit_mode, then you can customize the headers in
> a mailedit_mode_hook. You can enable mailedit_mode via the mail_hook
> e.g.,
>
> define mail_hook()
> {
> mailedit_mode ();
> local_setkey ("mail_send", "^C^C");
> local_setkey ("mail_kill_buffer", "^Xk");
> }
>
> See mailedit.sl for details. Also mailutils.sl might be useful for
> manipulating headers.
>
> Good luck,
> --John
Luck _is_ what I'll be needing at the rate I'm going. I see where
mailedit.sl makes it possible to change the display colors of most of
the headers for display, as well as setting a few headers to a default
value, like Reply-To:. Thanks for that. I don't see that I can change
the From: header though, like I can with emacs. How can mailutils.sl
help in this regard?
Here's what I've added to my .jedrc file:
define mail_hook() $
{
mailedit_mode (); $
local_setkey ("mail_send", "^C^C"); $
local_setkey ("mail_kill_buffer", "^Xk"); $
}
define mailedit_mode_hook ()
{
variable MailEdit_Reply_to = "dukeofperl@xxxxxxx";
}
I must say that all these
mail_hook
mailedit_mode_hook
mark_paragraph_hook
etc, etc
seems a bit convoluted to me.
Can this not be simplified, at least a bit, in future incarnations?
--
Duke Normandin
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]