From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rpd Newsgroups: gmane.emacs.help Subject: RE: html browser preview help Date: Sun, 6 Sep 2009 02:22:45 -0700 (PDT) Message-ID: <25315933.post@talk.nabble.com> References: <25273542.post@talk.nabble.com> <4A9FC945.8070703@mousecar.com> <25283740.post@talk.nabble.com> <4AA031B3.1060908@mousecar.com> <25285280.post@talk.nabble.com> <25303306.post@talk.nabble.com> <4AA29BDC.3060304@eku.edu> <25312500.post@talk.nabble.com> <60980647A112445C948583D156804EA2@us.oracle.com> <25313460.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252229015 6057 80.91.229.12 (6 Sep 2009 09:23:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2009 09:23:35 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 06 11:23:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkDy4-0000RV-8a for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 11:23:28 +0200 Original-Received: from localhost ([127.0.0.1]:44939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkDy2-0005bV-OJ for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 05:23:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkDxV-0005bJ-2U for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 05:22:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkDxQ-0005b0-Hq for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 05:22:52 -0400 Original-Received: from [199.232.76.173] (port=40749 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkDxQ-0005at-Bx for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 05:22:48 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:59059) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkDxP-0006Ow-RS for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 05:22:48 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkDxN-0000Fb-Ku for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 02:22:45 -0700 In-Reply-To: X-Nabble-From: richard@dickinson350.freeserve.co.uk X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67902 Archived-At: Hi Drew Thanks for your reply. (I am trying to preview a local .html file in my Internet Explorer browser) I do not understand this > 'M-: < command you give? When I try this (& combinations of) in the minibuffer I get 'no-match' Is that really the command? (I did an internet search for it & couldn't find it). Anyway I have not been able to try this yet as I cannot enter the command: `M-: (w32-shell-execute nil "c:/my/file.htm")' Can you please explain/clarify this for me? Many thanks, regards Drew Adams wrote: > >> Thanks for your reply. >> I have tried so many ways to get to preview .html in Internet Explorer >> browser including w32-browser.el and unfortunately nothing >> has yet worked >> >> Vista works normally such as if I click >> a local directory .html file it opens in Internet Explorer >> but I cannot get >> this function to work in Emacs! (the closest I get is opening w3 >> browser-text browser only). >> >> Have you any idea what the problem with this is? Thanks > > As I said, I haven't followed this thread. I'm also no expert on this > stuff. > > Are you trying to open your browser on a Web page (URL) somewhere on the > Web, or > are you trying to preview a local (or remote, if you know the machine > etc.) HTML > file in your Web browser? I thought it was the latter. > > If the former, then you probably need to use a URL and a command such as > `browse-url'. But someone else will be able to help you more with that. > > If the latter, then w32-browser.el should do what you need. > > All it does is call function `w32-shell-execute' on the file name (or punt > to > `find-file' in case of error). That function is an Emacs built-in. Try it: > `M-: > (w32-shell-execute nil "c:/my/file.htm")', assuming your file is at > "c:/my/file.htm" and you have your Windows file associations set up so > that > *.htm files open with your Web browser. That should work. > > I don't use Vista, and I've about exhausted my knowledge of this area. ;-) > Hope > someone else can help you out. > > > > > -- View this message in context: http://www.nabble.com/html-browser-preview-help-tp25273542p25315933.html Sent from the Emacs - Help mailing list archive at Nabble.com.