- Subject: Re: Cannot use email mode
 
- From: Ralf Hildebrandt <Ralf.Hildebrandt@xxxxxxxxxx>
 
- Date: Mon, 14 Feb 2005 11:23:42 +0100
 
* G. Milde <g.milde@xxxxxx>:
> autoload("mail_mode", "email");
> define set_modes_hook(ext)
> {
>    variable file = path_basename(buffer_filename());
>    % mutt temp files start with "mutt-"
>    if (is_substr(file, "mutt-") == 1)
>      {
> 	set_comment_info ("email"   , "> "   , ""    , 1|2|4);
> 	mail_mode();
> 	return(1);
>      }
> }
I tried that, but the mail-mode is not automatically activated.
And this although the name of the file I'm editing right now is
"mutt-postamt-7945-13559-111", which does indeed contain "mutt-"!
-- 
Ralf Hildebrandt (i.A. des IT-Zentrum)          Ralf.Hildebrandt@xxxxxxxxxx
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to spamtrap@xxxxxxxxxx
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2005 date index]
  [2005 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]