From: "Drew Adams" <drew.adams@oracle.com>
To: "'rpd'" <richard@dickinson350.freeserve.co.uk>, <Help-gnu-emacs@gnu.org>
Subject: RE: html browser preview help
Date: Sat, 5 Sep 2009 18:39:07 -0700 [thread overview]
Message-ID: <F5D8A6EEE851495A80AEB624933C9308@us.oracle.com> (raw)
In-Reply-To: <25313460.post@talk.nabble.com>
> 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.
next prev parent reply other threads:[~2009-09-06 1:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-03 10:47 html browser preview help rpd
2009-09-03 13:48 ` ken
2009-09-03 20:42 ` rpd
2009-09-03 21:14 ` ken
2009-09-03 22:32 ` rpd
2009-09-04 23:10 ` rpd
2009-09-05 17:11 ` Tyler Smith
2009-09-05 21:27 ` rpd
2009-09-05 21:44 ` Drew Adams
2009-09-06 0:13 ` rpd
2009-09-06 1:19 ` Tyler Smith
2009-09-06 9:15 ` rpd
2009-09-06 1:39 ` Drew Adams [this message]
2009-09-06 9:22 ` rpd
2009-09-06 11:49 ` html browser preview help-SORTED (at last!) rpd
2009-09-06 14:17 ` html browser preview help Drew Adams
[not found] ` <mailman.6097.1252228975.2239.help-gnu-emacs@gnu.org>
2009-09-06 9:50 ` Xah Lee
2009-09-06 9:56 ` Xah Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F5D8A6EEE851495A80AEB624933C9308@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=richard@dickinson350.freeserve.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.