>> darcs send \ >> --mail-header "References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>" \ >> --mail-header "In-reply-to: <[EMAIL PROTECTED]>" \ >> --mail-header "Precedence: bulk"
> I like this. Another thing to consider is whether to add a new option or just note that this can be achieved with --sendmail-command. Unless someone has a strong opinion either way, that's up to you. >> darcs send \ >> --discard-mail-header "From:" \ >> --mail-header "From: <[EMAIL PROTECTED]>" > This looks useful as well. The only change I would make is excluding > the : from the mail header. The header name itself is From so I think > it makes more sense. Methinks you can easily grok both. >> sendEmailDoc :: >> [(String, String)] -> String -> String -> Doc -> Doc -> Doc -> IO () >> where the first value is an ordered list of (header, value) strings. > I'm sorry. You're saying that we should just pass the headers to > sendEmailDoc instead of having make_email assemble them? If so, I > don't have a problem with that. But what stays in make_email? > Perhaps everything should stay in make_email except "DarcsURL" and > "MIME-Version". Since make_email does the formatting, it makes sense that it should continue handling all formatting-related headers (MIME-Version, Content-Type, etc.) I also think that DarcsURL makes sense there. All other headers are already assembled in sendEmailDoc, all I'm suggesting is that they be passed in an a-list (a list of (key, value) pairs) rather than as discrete arguments >> > [1] http://www.jwz.org/doc/threading.html >> >> JWZ is always right. > > And modest :P Now why is it that people always confuse Polish names? (And don't you dare say that the spelling is not natural -- people with mother tongues that have spellings such as `through'' or ``eaux'' are not qualified to comment.) JWZ is the author of the web site you linked to (my initials are JCh, or JEC in the American convention). JWZ is a Lisp hacker (Symbolics, then Lucid Emacs) turned C++ programmer (Netscape Mail) turned wealthy retiree. If you haven't done so already, please read the rants under http://www.jwz.org/doc/ where you will learn why Darcs shouldn't have an SQL backend, why Java is pretty cool if you happen to be a functional programmer working for Netscape, and why Emacs 22 is late and doesn't have the features we're all waiting for. And since I'm in a chatty mood, here's my favourite JWZ quotation: -- The notion that everything is a stream of bytes is utterly braindead. The notion that regexps are the solution to all problems is equally braindead. Just like Perl. Some people, when confronted with a problem, think ``I know, I'll use regular expressions.'' Now they have two problems. -- Juliusz _______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
