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: mailclient-send-it usage of browse-url Date: Wed, 14 Apr 2010 12:02:51 -0400 Message-ID: <090B076C-712C-42BD-B1F6-3B48F0C0C61C@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271262427 5652 80.91.229.12 (14 Apr 2010 16:27:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 16:27:07 +0000 (UTC) Cc: "emacs-devel@gnu.org" , christian.lynbech@tieto.com To: Jeff Clough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 14 18:27:05 2010 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.69) (envelope-from ) id 1O25QN-0006dp-8G for ged-emacs-devel@m.gmane.org; Wed, 14 Apr 2010 18:27:02 +0200 Original-Received: from localhost ([127.0.0.1]:48630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O25Kx-0007Nd-9B for ged-emacs-devel@m.gmane.org; Wed, 14 Apr 2010 12:21:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O253L-0002Cf-Kp for emacs-devel@gnu.org; Wed, 14 Apr 2010 12:02:59 -0400 Original-Received: from [140.186.70.92] (port=51435 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O253J-0002CH-Vv for emacs-devel@gnu.org; Wed, 14 Apr 2010 12:02:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O253I-0006Yx-5v for emacs-devel@gnu.org; Wed, 14 Apr 2010 12:02:57 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:48690) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O253H-0006Yr-Tu for emacs-devel@gnu.org; Wed, 14 Apr 2010 12:02:56 -0400 Original-Received: by pwi2 with SMTP id 2so331306pwi.0 for ; Wed, 14 Apr 2010 09:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=o2q3Gfo9GTHn5rKFcellLwiceupmiO9eOmglqKvF6Ks=; b=tw9wXJqqTBEkV9YwMz9MgFipt6WjuOZZp+6LFCALb1AoOi75T2iwXbPNcYec/J9eXe XUt6ngVby6DvczoeWURatt6Cu26s51dXuq0riS+UwYOdyHro6R6HAdKLd+aZ3JOZEiO5 2KYK1P5kAhMnCeAisiCJdgUeKlDSIDxy3fR8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=paPSgPAdGxSvDfN9+vK22kG3MDtEkdkzBCaLMRjkcWmV8CHE4T732eFylurKvkq75e O2M2Sa8Io0IW4hGjKfFk6mwdX00r0CmbihVbrb/afP4std5asHrwt8khO81scOf8A/GE kKAy2gYmw0Xwh/cxyPr/TFPJzMgfJliWV3Feo= Original-Received: by 10.141.105.19 with SMTP id h19mr7025446rvm.281.1271260974756; Wed, 14 Apr 2010 09:02:54 -0700 (PDT) Original-Received: from [192.168.1.42] (pool-96-236-188-251.pitbpa.east.verizon.net [96.236.188.251]) by mx.google.com with ESMTPS id 22sm268567qyk.10.2010.04.14.09.02.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 09:02:53 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:123647 Archived-At: On Apr 14, 2010, at 9:36 AM, Jeff Clough wrote: >=20 > It does seem lame that it's not looking for Safari, but then I don't > know if it looks for IE on Windows. This may be a philosophical point > and not a technical one, so for better or worse it just might not > happen. You are misinformed. It will use Safari if that's what the system = default is. It is not looking for any specific browser on OS X. It is = doing the right thing and using the browser that the user has configured = on their system. This is actually Safari on the Mac by default. > I think a case can be made that tampering with a browser-oriented = thing > shouldn't break an email-oriented thing when it is not obvious to the > end user that that's what's going to happen. =20 The command is `browse-url', and it is URL as much as it is BROWSE. =20 But you absolutely have a point there - I can see how users may get = confused. >=20 > The overall issue of having Emacs get the right answer to "What is = your > mail client?" might still ought to be addressed in a way that doesn't > rely on browsers at all,=20 Once more: as it is now, Emacs does not rely on browsers at all on the = Mac in its default configuration. It uses a system mechanism to handle arbitrary URLs, specifically, = mailto: URLs. This does NOT invoke the browser. It invokes the = system's standard mail client. =20 If the user configures a specific browser for Emacs, then yes, we go = through the browser, and perhaps that is not the best thing to do in = that case. See my earlier e-mail: bind the browser-function variable to = its default before calling browse-url. =20 Are there any cases where this would cause problems?