From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Mon, 27 Jun 2011 04:58:22 -0400 Message-ID: References: <4E078D62.8040301@harpegolden.net> <4E07B64C.8050407@harpegolden.net> <4E07C6EA.7040603@harpegolden.net> <4E081C57.3030908@swipnet.se> <4E082D74.7090608@harpegolden.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1309165268 32329 80.91.229.12 (27 Jun 2011 09:01:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2011 09:01:08 +0000 (UTC) Cc: jan.h.d@swipnet.se, emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 27 11:01:03 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qb7gg-0007pT-AG for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2011 11:00:58 +0200 Original-Received: from localhost ([::1]:56380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb7ge-0007r5-Tu for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2011 05:00:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb7eE-0007HW-EK for emacs-devel@gnu.org; Mon, 27 Jun 2011 04:58:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb7eB-0007Hz-Lc for emacs-devel@gnu.org; Mon, 27 Jun 2011 04:58:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:41921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb7eB-0007Hs-D6 for emacs-devel@gnu.org; Mon, 27 Jun 2011 04:58:23 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qb7eA-0001iH-FC; Mon, 27 Jun 2011 04:58:22 -0400 In-reply-to: <4E082D74.7090608@harpegolden.net> (message from David De La Harpe Golden on Mon, 27 Jun 2011 08:12:52 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141055 Archived-At: > Date: Mon, 27 Jun 2011 08:12:52 +0100 > From: David De La Harpe Golden > Cc: emacs-devel@gnu.org > > > We have that option in report-emacs-bug. C-c m starts you preferred > > mailer. It uses xdg-email where available. > > > > Oh. Er. And there's an implementation for macosx too. But not w32? > Taking Eli's point about separating bug reporting needs from > emacs-as-a-mail-client, can C-c m be made work on w32 (if I'm not > misreading the code and it doesn't already)? It should simply call mailclient-send-it, or do the same, that's all. > I don't have a w32 box to > test, but I had a vague notion just start.exe will open the default mail > client when given a mailto: url as its arg (might be misremembering), > similar to the macosx "open" case (gnustep equiv is "openapp", though I > don't know what it does when passed mailto: urls) No need to invent the wheel, it is already there in mailclient-send-it. But if we want to solve the issue with report-emacs-bug this way (which is fine with me), then I think C-c C-c should do this automatically, if we detect that smtpmail is not configured.