* zsh $mailpath + MH
@ 1997-10-20 9:19 Quinn Dunkan
1997-10-21 21:30 ` Timothy J Luoma
0 siblings, 1 reply; 2+ messages in thread
From: Quinn Dunkan @ 1997-10-20 9:19 UTC (permalink / raw)
To: zsh users mailing list
while we're on the subject of MUAs, some improvements could be made in zsh's
mail checking facility, especially where MH-style mail directories are
concerned. First of all, a quick glance at utils.c seems to indicate that the
algorithm for deciding if new mail has arrived is hard coded. Why not just
have a $MAILFUNC or something than contains the name (oops, here comes that
lambda buisness again :) ) of a function that returns, say, 1 for new mail and
0 for no new mail. Now that I think of it, why not eliminate mail checking
entirely, and replace it with something in precmd()? Then it's simple to do
stuff like change PS1 based on mail status, play sound files, etc. Any
particular reason not to do this? Back to the existing mail checking: if I
set $mailpath to my incoming MH directories (mail is sorted with procmail, then
delivered MH-style), I get one notification for every message recieved. Then I
get notified again whenever I look at any messages. My current fix is to have
procmail deliver to normail unix mail-files and then have MH extract them
automatically, but I may try mucking around with precmd()...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: zsh $mailpath + MH
1997-10-20 9:19 zsh $mailpath + MH Quinn Dunkan
@ 1997-10-21 21:30 ` Timothy J Luoma
0 siblings, 0 replies; 2+ messages in thread
From: Timothy J Luoma @ 1997-10-21 21:30 UTC (permalink / raw)
To: zsh users mailing list; +Cc: quinn
Author: Quinn Dunkan <quinn@envy.ugcs.caltech.edu>
Original-Date: Mon, 20 Oct 1997 02:19:30 -0700
Message-ID: <199710200919.CAA00252@tammananny.tiger>
> Recieved: from tammananny.tiger (quinn@tammananny.tiger [127.0.0.1]) by
> tammananny.tiger (8.8.7/petrouchka) with ESMTP id CAA00252 for
> <zsh-users@math.gatech.edu>; Mon, 20 Oct 1997 02:19:30 -0700
Ok... who has the typo in their mailing system?
Received... i before e except after c
TjL
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-10-21 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-20 9:19 zsh $mailpath + MH Quinn Dunkan
1997-10-21 21:30 ` Timothy J Luoma
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).