| Re: render *html - via lynx ? |
|
 |
|
 |
|
 |
|
 |
Group: gnu.emacs.help · Group Profile
Author: David HansenDavid Hansen Date: Sep 4, 2008 08:46
On Wed, 03 Sep 2008 09:23:35 -0500 Unknown wrote:
> When I've got a dir-listing showing in an emacs window,
> I can 'mid-mouse-it' to open the text.
> [how] Can I open it in a window depending on its type ?
> Eg. for a *.html, can I indirectly use lynx, which via:
> 'lynx -dump ' will render it ?
dired-x.el (part of GNU Emacs) has a feature to "guess" the right shell
command, maybe that helps. From my ~/.emacs
(eval-after-load 'dired
'(progn
(require 'dired-x)
(setq dired-guess-shell-alist-user '(("\\.avi" "mplayer ? &")
("\\.mpg" "mplayer ? &")
("\\.wmv" "mplayer ? &")))))
But for simple .html i'd suggest emacs-w3m, a very nice browser.
David
|