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

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

Re: render *html - via lynx ?


From: David Hansen
Subject: Re: render *html - via lynx ?
Date: Thu, 04 Sep 2008 17:46:19 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Wed, 03 Sep 2008 09:23:35 -0500 Unknown <unknown@unknown.invalid> 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 <filePathName>' 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





reply via email to

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