all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: How to render html buffer in emacs?
Date: Sat, 24 Nov 2007 14:32:45 +1100	[thread overview]
Message-ID: <87y7coxqqq.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: hbf.20071123w3uz@bombur.uio.no

Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:

> How do I get Emacs to render a HTML buffer (as a web page, not as html
> source)?  I've been looking a bit at the w3m doc, but it has hopeless
> chapter names and only lists how to use it with some specific apps
> (gnus, mail readers, etc).
>

The easiest way to do this is to use the browse-url package. 

,----[ C-h f browse-url-of-file RET ]
| browse-url-of-file is an interactive compiled Lisp function in `browse-url.el'.
| (browse-url-of-file &optional FILE)
| 
| Ask a WWW browser to display FILE.
| Display the current buffer's file if FILE is nil or if called
| interactively.  Turn the filename into a URL with function
| `browse-url-file-url'.  Pass the URL to a browser using the
| `browse-url' function then run `browse-url-of-file-hook'.
| 
| [back]
`----

,----[ C-h f browse-url-of-dired-file RET ]
| browse-url-of-dired-file is an interactive compiled Lisp function in `browse-url.el'.
| (browse-url-of-dired-file)
| 
| In Dired, ask a WWW browser to display the file named on this line.
| 
| [back]
`----

etc.

tim

-- 
tcross (at) rapttech dot com dot au

  reply	other threads:[~2007-11-24  3:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 18:45 How to render html buffer in emacs? Hallvard B Furuseth
2007-11-24  3:32 ` Tim X [this message]
2007-11-24 13:14   ` William Xu
2007-11-24 17:50   ` reader
2007-11-25 22:48     ` Bastien
2007-11-25 23:35       ` Lennart Borgman (gmail)
     [not found]   ` <mailman.4034.1195926644.18990.help-gnu-emacs@gnu.org>
2007-11-25  5:22     ` Tim X

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=87y7coxqqq.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /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.