From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65570 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Default of message-send-mail-function Date: Tue, 06 Nov 2007 23:31:08 +0100 Message-ID: References: <200710302106.l9UL6Fa1023166@oogie-boogie.ics.uci.edu> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194388384 16396 80.91.229.12 (6 Nov 2007 22:33:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 22:33:04 +0000 (UTC) Cc: Dan Nicolaescu , ding@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: ding-owner+M14069@lists.math.uh.edu Tue Nov 06 23:33:06 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IpWym-0006fR-3t for ding-account@gmane.org; Tue, 06 Nov 2007 23:33:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IpWyB-0005qH-7K; Tue, 06 Nov 2007 16:32:27 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IpWy8-0005pt-BE for ding@lists.math.uh.edu; Tue, 06 Nov 2007 16:32:24 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IpWy2-00063S-C0 for ding@lists.math.uh.edu; Tue, 06 Nov 2007 16:32:24 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IpWxx-0003wj-00 for ; Tue, 06 Nov 2007 23:32:13 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.1/8.14.1) with ESMTP id lA6MWDbu029529; Tue, 6 Nov 2007 23:32:13 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 16F3C12D56; Tue, 6 Nov 2007 23:32:13 +0100 (CET) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Stefan Monnier , Dan Nicolaescu , ding@gnus.org, emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Tue, 30 Oct 2007 21:07:20 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-DCC-Rhyolite-Metrics: poseidon 104; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65570 gmane.emacs.devel:82679 Archived-At: On Wed, Oct 31 2007, Stefan Monnier wrote: >> Below is a patch (with an earlier version of the function >> `message-send-mail-function'). I will look at the old messages >> tomorrow. Unless there's a better suggestion, I'll install something >> alone these lines. > > How 'bout initializing those vars to nil and then at the use-point > fallback to a heuristic that first tries mailclient, then sendmail, > then smtpmail (or some other order)? There's also `message-send-mail-real-function' used in several files (gnus-agent.el, gnus-soup.el, ...). Sounds like work. But if you'd like to implement it, please go ahead. :-) > Better yet: turn this var into a list of functions that are tried in turn. > This would make it possible to deal with the problem of window-system which > is not a constant any more. IIRC `window-system' was dropped later in the thread. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/