9 Dec 2008 05:30
Re: Setting the From: and Reply-to: Headers in Jed
John E. Davis <davis <at> space.mit.edu>
Re: Setting the From: and Reply-to: Headers in Jed
2008-12-09 04:30:29 GMT
Re: Setting the From: and Reply-to: Headers in Jed
2008-12-09 04:30:29 GMT
Duke <dukeofperl <at> ml1.net> wrote:
> define mail_hook ()
>{
> mailedit_mode ();
> local_setkey ("mail_send", "^C^C");
> local_setkey ("mail_kill_buffer", "^Xk");
> variable SendMail_Cmd = "/usr/sbin/sendmail -t -oem -odb -f
> duke0fperl <at> ml1.net";
>}
When you declare a variable inside a function, it becomes local to the
function. The SendMail_Cmd and MailEdit_Reply_To commands need to be
made global:
variable SendMail_Cmd =
"/usr/sbin/sendmail -t -oem -odb -f duke0fperl <at> ml1.net";
variable MailEdit_Reply_To = "dukeofperl <at> ml1.net";
define mail_hook ()
{
mailedit_mode ();
local_setkey ("mail_send", "^C^C");
local_setkey ("mail_kill_buffer", "^Xk");
}
> When using Jed from within Alpine, (jed %s -tmp --mailedit-mode),
> again the mode in the status line shows up as "Text" instead of
> "mailedit".
How is Alpine calling jed? Does it substitute "%s" by the name of the
(Continue reading)
RSS Feed