help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html browser preview help


From: Xah Lee
Subject: Re: html browser preview help
Date: Sun, 6 Sep 2009 02:56:51 -0700 (PDT)
User-agent: G2/1.0

On Sep 6, 2:22 am, rpd <rich...@dickinson350.freeserve.co.uk> wrote:
> Thanks for your reply.
> (I am trying to preview a local .html file in my Internet Explorer browser)

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 “start ”.

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]