- Subject: Re: Cannot use email mode
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Mon, 14 Feb 2005 11:17:30 +0100
On 14.02.05, Ralf Hildebrandt wrote:
> I am trying to get email.sl to work with mutt, but even when I try:
>
> M-Shift-X () = evalfile("email.sl")
>
> I only see "Creating ... DFA ..." (or something like that) in the status
> line.
The evalfile command "runs" the file email.sl, thus making the email-mode
functions available to the editor.
(BTW: I'd recommend the more highlevel functions
require("email") % reads now, if not already done
or
autoload("mail_mode", "email") % reads email.sl when mail_mode is called
)
> The "Buffers" "Select Mode" Menu doesn't offer "email".
The "Select Mode" Menu only offers a hard-coded subset of standard-modes.
User-provided extensions are not included.
(Of course, you could change the menu definition when installing an
additional mode).
> SO how do I enable it?
M-x mail_mode
If you are using mutt as email client, you can write in your .jedrc (or
jed.rc) file
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);
}
}
Sincerely
Günter
--
G.Milde web.de
--------------------------
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]