[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] ModeWhen - News
In message <56a631c3aeLists@xxxxxxxxxxx>
"Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:
> I have filters on my server which save a lot of email - spam and stuff I
> don't want in Pluto, as well as some email backups - to a separate
> directory which I download regularly.
>
> But these files do not open in News Mode - why not?
If they have a "From:" line then I'd guess that they are not text files.
In that case you'd have to add the filetype to the ModeWhen file.
> They usually open in BaseMode.
>
> The News Modewhewn includes the lines
> -------------
> # Use newsmode if there is a line starting with "From:"
>
> Match
> _newstest ** ( < "From:")
> End
> -------------
>
> Long ago I put in an extra bit
>
> _newstest ** ( < "#! rmail")
I'm a little confused by this. Are you saying that you have 2 _newstest
expressions in the same ModeWhen file?
Each expression in the Match section has to have a unique name otherwise
things won't work correctly.
> which works for spooled email files from Hermes - but of course the files
> saved on the server don't include this RISC OS specific line.
If the files are in specific directories on the server then you can set
up rules that match to those exact directories.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://www.Torrens.org/RO/StrongED/index.html