From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Bug in Carbon port: browse-url-default-macosx-browser Date: Fri, 25 Nov 2005 00:44:41 +0100 Message-ID: <43865069.8090701@student.lu.se> References: <502E6611-3B38-4C39-9469-4E4902EE0586@gmail.com> <87u0e29d0v.fsf-monnier+emacs@gnu.org> <87d5kpahk2.fsf-monnier+emacs@gnu.org> <64A46339-4AAF-4394-9ED9-E9E25E8CE17E@gmail.com> <86mzjthd96.fsf@blue.stonehenge.com> <06C1531F-8BD1-4CAE-960F-BD0D63736668@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132876009 2996 80.91.229.2 (24 Nov 2005 23:46:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2005 23:46:49 +0000 (UTC) Cc: Emacs-Devel ' , Stefan Monnier , "Randal L. Schwartz" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 00:46:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EfQmY-0000V7-BH for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2005 00:45:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfQmX-0006pV-D0 for ged-emacs-devel@m.gmane.org; Thu, 24 Nov 2005 18:45:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EfQlw-0006ma-Vg for emacs-devel@gnu.org; Thu, 24 Nov 2005 18:45:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EfQlu-0006hi-P5 for emacs-devel@gnu.org; Thu, 24 Nov 2005 18:45:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfQlu-0006hF-JB for emacs-devel@gnu.org; Thu, 24 Nov 2005 18:44:58 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EfQlu-0005AY-KD for emacs-devel@gnu.org; Thu, 24 Nov 2005 18:44:58 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 4384D3AA00068B96; Fri, 25 Nov 2005 00:44:41 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: David Reitter In-Reply-To: <06C1531F-8BD1-4CAE-960F-BD0D63736668@gmail.com> 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:46550 Archived-At: David Reitter wrote: > > The problem is that browse-url doesn't do what it advertises: "Ask a > WWW browser to load url." > And that's the case for the very standard GNU Emacs -Q, easily > reproducible: > > Create an HTML file and save it under the name /tmp/test.tst > > then call > > (browse-url "file:///tmp/test.test") > > (which is what the html-mode "View Buffer" function does.) > > No browser will start. I think the implementation in Emacs for w32 is of the same type. I actually think it is quite practical most of the time. This way Emacs behaves as I expect it to on w32. Firefox installed itself so that it took care of this. It would not have been possible if Emacs explicitly specified the web browser. But maybe things works differently on Mac? Maybe the doc string should be changed? Perhaps something like: Asked OS to give url to associated application (normally a web browser) Or something better ;-)