jed-extra more user friendly

Jörg Sommer joerg@alea.gnuu.de
Fri, 6 May 2005 19:55:45 +0200


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

how do you think about adding this lines to /etc/jed-init.d/55mail.sl?

#v+
define _debian_set_mail_mode_hook(ext)
{
   $1 =3D extract_filename( buffer_filename() );

   !if (andelse {strncmp($1, "mutt-", 5)} {strncmp($1, "SLRN", 4)} ) {
      mail_mode();
      return 1;
   }

   return 0;
}
add_to_hook("_jed_set_mode_hooks", &_debian_set_mutt_mode_hook);
#v-

BTW: Does anyone see why /aaa/ and _aaa_ not work?

J=F6rg.

--=20
"Politics is for the moment, equations are forever"
         -- Albert Einstein

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQEVAwUBQnuvoYZ13Cz2nwVYAQJmTwgAyMAab4A1JflWu1wRenwIFvxi2jPT32ln
pthlWVje9w7HxZWnaIMk4a6oheEvk1oIRSA8qukL2AzeEeV4EjgDAaFZiBKxUlCO
oGynR/5TITX1I1jkh1v07Qghz9paGOVVH5BVxs3Euwi7RCdDdKfXMDaqmOz4d6wc
OQx/RWLvBPC1ZjBuOwhzPFISROl3rrw5xaw1i7eq4iLPTzzrvbQ73A5li5HaYp75
EjREij5DeAFS02dlNdBDQLshCjM36RCWTYNWWh6YKOhJnUxYwsU2hAoXnZDf4Oiu
avQmWdUu3xz89//Oir96KaZPsMYpdrRvgi08CA2BCCe25tAnQpOSHw==
=2IVg
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--