From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows) Date: Wed, 24 Nov 2010 00:29:32 +0100 Message-ID: References: <7C72A33785254FFCABC97991808229DD@us.oracle.com> <83ipzn95sd.fsf@gnu.org> <04EA26A6BF72450FA851B218BD26DB60@us.oracle.com> <83eiab92lw.fsf@gnu.org> <39F93AFD46694ABA97B1B2BA3DAC3EDC@us.oracle.com> <838w0j91m5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1290555909 10087 80.91.229.12 (23 Nov 2010 23:45:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 23:45:09 +0000 (UTC) Cc: 7469@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 24 00:45:05 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PL2Xo-0007cj-Gx for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Nov 2010 00:45:04 +0100 Original-Received: from localhost ([127.0.0.1]:52854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PL2Xo-0007sy-2e for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Nov 2010 18:45:04 -0500 Original-Received: from [140.186.70.92] (port=49157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PL2XS-0007kV-6L for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 18:44:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PL2XN-00012b-Vv for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 18:44:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PL2XN-00012Q-Sx for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 18:44:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PL2EP-0004U2-Ih; Tue, 23 Nov 2010 18:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Nov 2010 23:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7469 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7469-submit@debbugs.gnu.org id=B7469.129055466117224 (code B ref 7469); Tue, 23 Nov 2010 23:25:01 +0000 Original-Received: (at 7469) by debbugs.gnu.org; 23 Nov 2010 23:24:21 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PL2Dk-0004Tj-M8 for submit@debbugs.gnu.org; Tue, 23 Nov 2010 18:24:20 -0500 Original-Received: from smtp.getmail.no ([84.208.15.66]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PL2Dh-0004Tc-Kk for 7469@debbugs.gnu.org; Tue, 23 Nov 2010 18:24:18 -0500 Original-Received: from get-mta-scan01.get.basefarm.net ([10.5.16.4]) by get-mta-out02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LCD00HYY2LCP130@get-mta-out02.get.basefarm.net> for 7469@debbugs.gnu.org; Wed, 24 Nov 2010 00:29:36 +0100 (MET) Original-Received: from get-mta-scan01.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 37B90179A009_CEC4E60B for <7469@debbugs.gnu.org>; Tue, 23 Nov 2010 23:29:36 +0000 (GMT) Original-Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan01.get.basefarm.net (Sophos Email Appliance) with ESMTP id EB7D81797985_CEC4E5FF for <7469@debbugs.gnu.org>; Tue, 23 Nov 2010 23:29:35 +0000 (GMT) Original-Received: from quimbies.gnus.org ([84.215.34.171]) by get-mta-in01.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LCD009UH2LB7100@get-mta-in01.get.basefarm.net> for 7469@debbugs.gnu.org; Wed, 24 Nov 2010 00:29:35 +0100 (MET) Original-Received: from larsi by quimbies.gnus.org with local (Exim 4.72) (envelope-from ) id 1PL2Ip-00051L-N1; Wed, 24 Nov 2010 00:29:35 +0100 In-reply-to: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXSzdDo4uJ2cXfv6urt 6Oi1r7T07+4dGh1VvGsDAAACI0lEQVQ4jV2TTYvcMAyGlVLvXuOSvRdDyHUGmZwnOO3ZNZhet3jw Dwgs/vt9ZXtn0uoS0JNXX5ZIw0bdza3vDFv5slEMswkUm73k+5rttObhTnqH8e4sPi7nbElFTy+J pp27rQzwp4mrwjZ3yjmtWfWgA2lXf07rijj5Ej+NJtf+Z4b/riKJPQFnTtpBQM1iAGiSNY+UlUeO JjlVlfgaoynG06CMkT6aJiW+xTmG8p1oKRXYKkqZ3yIFA4VajlgVU8+vPPzml1bmMMiBibTKrp7g nweAlqOClfnmlSllHvax5+gK++ZDKeX4ynoppYFqVik4lnna9GsD3b9F9RuR/Ij2FoBJyJWG6+gp GrS8fCwf0QiQDLsWIMP4Uo5SYnyGAhgAlLRS5gdIrOtYVQzRmEVAC2U3UuLHPKCQVC0521HmPQoz aO9TAc02Rho0CEoupxxI0YAqB9o8HsAC+GHS9FrMgnpnmh7AAGzjYqLU215QGtw68DKwo42d2eG1 JRTaR4e9qirA8o5Y2Zo9ht5H3QXrbnhs3Zqvm9gb3N0leKIzkJdybPkaZnHrJ4DEyZGEObbB91lV IqYO+VOJv24JwIR5WbeNIaBOzLCUBmQZpeRN3qj6iyxDzYE1XNP0rTytVsW4ppST+7GcAdLWK0Os 9waODnjPFeBkzQlMezvLLFfbMnfAHYiFSnoox/kETuXu/wHzBJZbME7/AL1Lj/ZnTrs+gb8jgwjQ I31eAAAAAABJRU5ErkJggg== X-Now-Playing: Ultra =?UTF-8?Q?Nat=C3=A9's?= _Situation: Critical_: "Every Now and Then" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 23 Nov 2010 18:25:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41856 Archived-At: Glenn Morris writes: > Not really, more like by default it doesn't even try on Windows and Macs. > Check the conditions in which send-mail-function defaults to > mailclient-send-it. I suggest you copy those conditions to the default > setting of browse-url-browser-function. Hm... (defcustom send-mail-function (if (and window-system (memq system-type '(darwin windows-nt))) 'mailclient-send-it 'sendmail-send-it) Oh, so the thing is that `mailclient-send-it' itself uses browse-url to send the message that has already been composed? Clicking on a mailto: URL (with the current settings) will give you an Emacs mail buffer (of some sort; depends on your configuration), and this seems to be the right thing to do, instead of just calling an external program to compose your mail. But actually sending the message is a different matter. `mailclient-send-it' just calls `browse-url' with a mailto: URL with all the buffer contents and everything to actually send the message. So there seems to be two distinct usages for mailto: wrt browse-url: For composing, and for sending. Perhaps the right fix here is to alter `mailclient-send-it' to filter out any mailto: settings in `browse-url-browser-function' before calling `browse-url'. I can do that, if that sounds like the right solution. Otherwise we'll have to split up `browse-url-browser-function' somehow for the two different mailto: use cases. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen