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 09:25:51 -0400 Message-ID: <455E2F09-93A7-4CD1-BFC8-E5E6DCF73E65@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 1271251573 23667 80.91.229.12 (14 Apr 2010 13:26:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 13:26:13 +0000 (UTC) Cc: Jeff Clough , "emacs-devel@gnu.org" To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 14 15:26:04 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 1O22bU-0002QO-Cv for ged-emacs-devel@m.gmane.org; Wed, 14 Apr 2010 15:26:04 +0200 Original-Received: from localhost ([127.0.0.1]:45412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O22bT-0000E8-NJ for ged-emacs-devel@m.gmane.org; Wed, 14 Apr 2010 09:26:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O22bP-0000Ds-M8 for emacs-devel@gnu.org; Wed, 14 Apr 2010 09:25:59 -0400 Original-Received: from [140.186.70.92] (port=59598 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O22bO-0000Dk-1a for emacs-devel@gnu.org; Wed, 14 Apr 2010 09:25:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O22bL-0002Ob-Sm for emacs-devel@gnu.org; Wed, 14 Apr 2010 09:25:57 -0400 Original-Received: from mail-qy0-f185.google.com ([209.85.221.185]:35299) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O22bL-0002OX-QM for emacs-devel@gnu.org; Wed, 14 Apr 2010 09:25:55 -0400 Original-Received: by qyk15 with SMTP id 15so153205qyk.10 for ; Wed, 14 Apr 2010 06:25:55 -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=UUfGtuoc8/Amc2TjROtpbIi/RlbwxA+1GMN5ZiD7HSY=; b=by3CFaI7SoWSKaqr84UB6rBJcYbzHdBsXgCmKTgg61wdeSNSdmwJcV5Iy6TgqMzr6k 0jg141C3Z8refLQmu0SXduDf6G47LQ3mR3bi6IXjJk4uyZgvhyaPUiAoR8m8r3W1YSPH 9GI5+/ZBfFmyHJ6obRCuULC2XXsyEm9FHyby0= 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=HBkisQuhDguq/efcWYC3SrX3yvUMzEifUfGmDy/TBperzXi+54ZVDS8uoHAZLgp4o1 wphyM/Ho5FqiFbNG2J6kPzVi2U6MJ9y4bEXyq9WS1EcdePohexjCePKqxvpvnfTNMpgB aUxYP7kBhSFZjC8PVFdljaJxj82o1v6fhGFHg= Original-Received: by 10.224.97.137 with SMTP id l9mr2647002qan.222.1271251554764; Wed, 14 Apr 2010 06:25: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 23sm180067qyk.11.2010.04.14.06.25.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 06:25: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:123633 Archived-At: On Apr 14, 2010, at 9:07 AM, wrote: >=20 > I do not about Windows, but on Mac you can (I believe) rely on the > *presence* of sendmail just as much as on other UNIX like systems. Yes, you can rely on the presence, but not on its function. Mail will = be swallowed in many cases, as I have pointed out, and that is true = independently of the system. (I only expect GNU/Linux users to be more = savvy about their system / Emacs configuration.) >=20 > If it works out of > the box, it only does so because somebody took the time to figure what > the default should be on a Mac. The default is flexible. > In fact, looking at the default setup > for browse-url on emacs23 , it does not seem to be working out of the > box on a Mac. "browse-url.el" will search for a number of programs = such > as firefox or konqueror but not Safari (which is all you can rely on = on > a Mac) and if you do not have any of the browsers in your path = (perhaps > because you use some desktop environment menu rather than setting up > path), it fails. Can you point to the code that does that? `browse-url-browser-function' is initialized (defcustom) and set to = `browse-url-default-macosx-browser' on a Mac, which is a function that = calls "open". That will do the right thing in all relevant cases of a = http:// or mailto: URLs. The system keeps track of the user-preferred mail client and web = browser. Could you investigate why that doesn't work for you? > If you are using emacs-w3m which I think is a quite > reasonable thing to do, the mailto: hack fails. Why is it a hack again? It relies on accepted and standardized URLs. I have previously pointed = out the standard to you. Brittle, maybe. But less brittle than most other solutions...