delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/18/19:04:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A3AC7EA.7020001@cornell.edu>
Date: Thu, 18 Jun 2009 19:04:10 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: browse-url in emacs
References: <fb34b27b0606051002y5ae8f1b4ydbbf71fa47c961ce AT mail DOT gmail DOT com> <24049941 DOT post AT talk DOT nabble DOT com> <4A3778AA DOT 6060206 AT cornell DOT edu> <83ljnsavmu DOT fsf AT gnu DOT org> <4A3801D0 DOT 6050803 AT cornell DOT edu> <4A391694 DOT 8010706 AT cornell DOT edu> <4A3A7219 DOT 8030104 AT cornell DOT edu> <24099617 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <24099617.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/18/2009 4:58 PM, Marc Girod wrote:
> I did it from within emacs, which was maybe not bright.

It just means that you were trying to replace some in-use files.  This 
should work in cygwin 1.7, though you might have to exit and restart 
emacs to see the effect in some situations.

> Anyway, I got a couple of glitches in the postinstall:
> 
> /etc/postinstall/emacs.sh: line 9: /usr/bin/update-desktop-database: No such
> file or directory
> /etc/postinstall/emacs.sh: line 10: /usr/bin/update-mime-database: No such
> file or directory

Harmless.

> (browse-url "file:///C:/cygwin/home/marc/public_html" nil)
> 
> opened me an Explorer window, instead of the html page in Firefox...

I implemented browse-url using cygstart.  I think this means that it 
should open whatever browser you would get by doing Start -> Run and 
typing the URL.

> Thanks, and congratulations!

Thanks for testing.

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019