From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Default of send-mail-function (was: 23.0.60; Feature request: Menu item "load init files" after -q/-Q) Date: Mon, 07 Apr 2008 23:05:49 +0200 Message-ID: References: <87tzig16o6.fsf@uwakimon.sk.tsukuba.ac.jp> <87od8ng92x.fsf@uwakimon.sk.tsukuba.ac.jp> <87y77recuj.fsf@uwakimon.sk.tsukuba.ac.jp> <87prt2droq.fsf@uwakimon.sk.tsukuba.ac.jp> <87fxtxeakj.fsf@uwakimon.sk.tsukuba.ac.jp> <47FA8145.3010906@gmail.com> 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 1207602508 28239 80.91.229.12 (7 Apr 2008 21:08:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 21:08:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 07 23:08:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JiyaH-0007aC-EM for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 23:08:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiyZe-0005hS-7i for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 17:08:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiyXu-0004bd-Sz for emacs-devel@gnu.org; Mon, 07 Apr 2008 17:06:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiyXt-0004aJ-1X for emacs-devel@gnu.org; Mon, 07 Apr 2008 17:06:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiyXs-0004aB-OZ for emacs-devel@gnu.org; Mon, 07 Apr 2008 17:06:28 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JiyXs-0006Lo-34 for emacs-devel@gnu.org; Mon, 07 Apr 2008 17:06:28 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m37L6P7f007834; Mon, 7 Apr 2008 23:06:26 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 9195D10034; Mon, 7 Apr 2008 23:06:22 +0200 (CEST) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Lennart Borgman , Emacs development In-Reply-To: <47FA8145.3010906@gmail.com> (Lennart Borgman's message of "Mon, 07 Apr 2008 22:17:09 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux) X-DCC-HP_X86_64_8CPU-Metrics: poseidon 1245; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94623 Archived-At: [ Shifting this to emacs-devel ] On Mon, Apr 07 2008, Lennart Borgman (gmail) wrote: > Just a question since I do not understand: > > I told earlier that on w32 this works because the bug reporter falls > back to using the system mail program (as an example this in my case > Thunderbird). Why can't this be done on other systems as well today? On GNU/Linux, send-mail-function typically defaults to send-mail-function. [1] I.e. the mail is feed to /usr/sbin/sendmail. /usr/sbin/sendmail typically exist on every GNU/Linux systems, however on today's end-user desktops, it's quite likely that it has not have been configured correctly. On system-type darwin and windows-nt, send-mail-function defaults to mailclient-send-it which passes the mail to "the system's mail client" via a mailto-URL. If we would use this on gnu/linux as well, it would pass the mail to browse-url-browser-function, which is the first one installed on the system out of: gnome-moz-remote, mozilla (this should be moved down the list and be replace by seamonkey, IMHO), firefox, galeon (is galeon still alive?), kfmclient (KDE), etc. Now it depends on whether this *browser* handles mailto-URLs in a sensible way. [I hope I understood the code correctly. If not, please correct me.] One might argue that this is better then relying on /usr/sbin/sendmail. I'd tend to agree. Bye, Reiner. [1] Gnus' message.el tries a bit harder to ensure /usr/sbin/sendmail exist. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/