From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62399 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: gnus / message-send-mail-with-mailclient [patch] Date: Fri, 24 Mar 2006 17:15:59 +0000 Message-ID: <0698DD0E-838C-4F43-B304-D44217205972@gmail.com> 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 1143220593 29991 80.91.229.2 (24 Mar 2006 17:16:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Mar 2006 17:16:33 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 24 18:16:32 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 1FMptn-0006Kv-Iy for ged-emacs-devel@m.gmane.org; Fri, 24 Mar 2006 18:16:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMptm-0003DM-Pt for ged-emacs-devel@m.gmane.org; Fri, 24 Mar 2006 12:16:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMptJ-0003BB-1o for emacs-devel@gnu.org; Fri, 24 Mar 2006 12:16:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMptF-00039l-VO for emacs-devel@gnu.org; Fri, 24 Mar 2006 12:15:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMptF-00039M-Ha for emacs-devel@gnu.org; Fri, 24 Mar 2006 12:15:57 -0500 Original-Received: from [64.233.184.234] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FMpu7-0001Xw-2L for emacs-devel@gnu.org; Fri, 24 Mar 2006 12:16:51 -0500 Original-Received: by wproxy.gmail.com with SMTP id 57so920328wri for ; Fri, 24 Mar 2006 09:15:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=R6S+ecUnkajMAdu+32vA39EUnyGYgBu369ZmQQha4+1XIr00/oLe6nbNmQQZLSP3evBMNMTAAoiD07hhJlY9oB2/JfewQGT9W1P3jAjBKMJ5vJGqDTk0QsSIzM80/7mkWKE0DqoLxKam+EHhy5u4a9nuY9TX6R803TZXL9jMPk4= Original-Received: by 10.65.74.19 with SMTP id b19mr900614qbl; Fri, 24 Mar 2006 09:15:56 -0800 (PST) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.gmail.com with ESMTP id e19sm1325150qbe.2006.03.24.09.15.55; Fri, 24 Mar 2006 09:15:56 -0800 (PST) In-Reply-To: Original-To: Reiner Steib 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:52035 gmane.emacs.gnus.general:62399 Archived-At: On 24 Mar 2006, at 14:29, Reiner Steib wrote: > On Wed, Mar 22 2006, David Reitter wrote: > > [ Apparently you message didn't make it to the list (yet) => Not > trimming the quotes. Please keep emacs-devel and ding@gnus in Cc. ] Strange thing, it's missing indeed. I did cc it to emacs-devel, but not to ding@gnus. Oh well. > ELISP> (setq sendmail-program "/foo/bar/baz") > "/foo/bar/baz" > ELISP> (setq message-send-mail-function 'message-send-mail-with- > sendmail) > message-send-mail-with-sendmail > > ==> Searching for program: no such file or directory, /foo/bar/baz > >> Maybe we should caution users appropriately if mailclient is used on >> systems where we can't guarantee reliability? > > I can't think of a reliable way to check if the application called by > `browse-url' handled the mailto link correctly. I can't either. I believe `message-send-mail-with-sendmail' is the best default for `message-send-mail-function', unless running on systems where sendmail is not implemented or swallows mail. (OS X 10.4 is supposed to automatically fire up sendmail, according to an Apple developer. I haven't seen this work reliably, so far.) > At least, `mailclient-send-it' could inform the user what it does. > > Something like "Delegating [shortened-mailto-stuff] to > `browse-url'...". Maybe including the value of > `browse-url-browser-function' in the message. Note that > `browse-url-browser-function' might be a (REGEXP . FUNCTION) list. These require developer-level knowledge and add to the general information overload. "Browse" never sounds like mailclient. How about (message "Delegated message to default mail client.") But most importantly, we should see if the "Message sent" message can be avoided, since it's plain and simply wrong from the user's perspective.