From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: html browser preview help Date: Sun, 6 Sep 2009 02:56:51 -0700 (PDT) Organization: http://groups.google.com Message-ID: <71261f05-2d9e-422c-bc46-dea7867895ef@h40g2000prf.googlegroups.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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1252259692 13559 80.91.229.12 (6 Sep 2009 17:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2009 17:54:52 +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 19:54:45 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 1MkLwq-0007sP-9Q for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 19:54:44 +0200 Original-Received: from localhost ([127.0.0.1]:45719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkLwp-0004LS-SB for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 13:54:43 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!h40g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1252231011 32461 127.0.0.1 (6 Sep 2009 09:56:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 6 Sep 2009 09:56:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h40g2000prf.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.43 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172764 X-Mailman-Approved-At: Sun, 06 Sep 2009 13:53:25 -0400 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:67909 Archived-At: On Sep 6, 2:22 am, rpd wrote: > Thanks for your reply. > (I am trying to preview a local .html file in my Internet Explorer browse= r) don't know why you have so much problems with this. This elisp code will just work, in Windows or Mac or linux. (browse-url "http://example.com/") (browse-url "~/Documents/file.html") if you need, you can trivially get the file path by buffer-file- name ... and others to get full path. And if IE is not your default browser and you don't want to set it to default yet still want to use IE, you can start a shell command as others suggested and start it with =E2=80=9Cstart =E2=80=9D. Xah =E2=88=91 http://xahlee.org/ =E2=98=84