From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: gnus / message-send-mail-with-mailclient [patch] Date: Wed, 22 Mar 2006 10:36:30 +0000 Message-ID: References: <059BF802-B4EB-433E-AF78-024107CD7E16@gmail.com> <553F677F-B2E1-42F3-8DBC-96734109EBA2@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143492806 9113 80.91.229.2 (27 Mar 2006 20:53:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 20:53:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 27 22:53:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNyhu-0005uT-43 for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 22:53:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNyht-00034M-Ov for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 15:52:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FM0i3-0008TQ-H0 for emacs-devel@gnu.org; Wed, 22 Mar 2006 05:36:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FM0i1-0008TD-Mt for emacs-devel@gnu.org; Wed, 22 Mar 2006 05:36:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FM0i1-0008T9-J8 for emacs-devel@gnu.org; Wed, 22 Mar 2006 05:36:57 -0500 Original-Received: from [64.233.184.201] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FM0i7-0004z6-S1 for emacs-devel@gnu.org; Wed, 22 Mar 2006 05:37:04 -0500 Original-Received: by wproxy.gmail.com with SMTP id i21so101208wra for ; Wed, 22 Mar 2006 02:36:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=sFavc+NM/7vD2sNFwG63i5g27Y//8gY01826vSPHGntBGUAAJKzMkkthGbP1oHBqHQMaiqrnzJWL6fBGh6griclZyEkpYxQ+lmQevpj/Ft4e26mKN+8ICz1zkoVjBsjOmDD5ig38VUZ3kwJZZngG/LszR+YmIcIFB7DIBHSrQDU= Original-Received: by 10.64.210.9 with SMTP id i9mr498802qbg; Wed, 22 Mar 2006 02:36:29 -0800 (PST) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.gmail.com with ESMTP id e15sm232663qba.2006.03.22.02.36.26; Wed, 22 Mar 2006 02:36:29 -0800 (PST) In-Reply-To: Original-To: Reiner Steib , Emacs-Devel ' X-Mailer: Apple Mail (2.746.3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52116 Archived-At: On 18 Mar 2006, at 11:44, Reiner Steib wrote: >> So I think mailclient should be used in preference to smtpmail. > > If the user (or site admin) has configured > `smtpmail-[default-]smtp-server' (or $SMTPSERVER) I think we can > assume that it works. Else the user can customize the variable > `message-send-mail-function'. > > I'd like to add `mailclient.el' to Gnus' contrib directory so that > Emacs 21 (or XEmacs) users can also use it. David, WDYT? I just tried out mailclient on emacs 21 on my FC3 (KDE) installation (where Firefox 1.06 is the standard web browser and reacts to browse- url). Turns out that there, browse-url does not work with mailto URLs. No feedback is given, and Emacs wrongly states that the e-mail is sent. browse-url-browser-function is set to `htmlview', which seems to be the default. On Darwin/OS X, Emacs 21 in the terminal works just fine with mailclient. In conclusion I'd say: yes, offer it to Emacs 21 users. However, do not use mailclient as a preference to zero-configuration methods (sendmail) on GNU/Linux systems. As for `smtpmail', I can't tell. But at least one would think that smtpmail shows an error message in case it hasn't been configured (with a server), right? That's better than showing nothing or misleading the user. Maybe we should caution users appropriately if mailclient is used on systems where we can't guarantee reliability?