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: Sat, 5 Sep 2009 17:13:24 -0700 (PDT) Message-ID: <25313460.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> 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 1252196044 14866 80.91.229.12 (6 Sep 2009 00:14:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2009 00:14:04 +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 02:13:57 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 1Mk5OH-0003wU-4v for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 02:13:57 +0200 Original-Received: from localhost ([127.0.0.1]:45052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk5OF-0006pY-Qb for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Sep 2009 20:13:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mk5Ns-0006pC-Md for help-gnu-emacs@gnu.org; Sat, 05 Sep 2009 20:13:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mk5Nn-0006oz-B9 for Help-gnu-emacs@gnu.org; Sat, 05 Sep 2009 20:13:31 -0400 Original-Received: from [199.232.76.173] (port=35969 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk5Nn-0006ow-5W for Help-gnu-emacs@gnu.org; Sat, 05 Sep 2009 20:13:27 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:57568) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mk5Nm-0007wJ-Qr for Help-gnu-emacs@gnu.org; Sat, 05 Sep 2009 20:13:27 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mk5Nk-0002Wy-RM for Help-gnu-emacs@gnu.org; Sat, 05 Sep 2009 17:13:24 -0700 In-Reply-To: <60980647A112445C948583D156804EA2@us.oracle.com> 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:67897 Archived-At: Hi Drew 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 This is the code I have for w32-browser.el: ;;;;==W32 BROWSER.el=============================================== ;;; ;;http://www.emacswiki.org/emacs/w32-browser.el (load "C:\\Users\\Dad\\Emacs\\emacsaddons\\w32-browser.el") (setq w32-browser (buffer-file-name)) ;=== The mouse2 part doesn't work either. 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 Drew Adams wrote: > > Sorry, I haven't followed this thread. > > If all you're looking for is a way to open your regular Web browser on an > HTML > file, from within Emacs, and if you are on Windows, see w32-browser.el. > http://www.emacswiki.org/emacs/w32-browser.el > > E.g. in Dired, mouse-2 on a file foo.html will open it in your normal Web > browser (not in Emacs). That assumes that your Windows file associations > associate your Web browser with the Open action for file type HTML. > > If you are visiting an HTML file in Emacs, and you want to open it in your > browser, then use (w32-browser (buffer-file-name)) or `M-x w32-browser'. > (You > will of course need to save the buffer first, since your browser uses the > disk > file.) > > If this is not related to what you're asking for, sorry for the noise - > hopefully someone else can help. > >> Thanks for your reply-but your advice doesn't work properly >> for me (it does open a browser window but this opens at my >> homepage & does not preview the html file/buffer I have open for >> editing). > > > > > -- View this message in context: http://www.nabble.com/html-browser-preview-help-tp25273542p25313460.html Sent from the Emacs - Help mailing list archive at Nabble.com.