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: Thierry Volpiatto
Subject: Re: render *html - via lynx ?
Date: Thu, 04 Sep 2008 18:12:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

>> 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 ?
>
> I don't have a general answer for you, but on Windows, yes, you can, using
> w32-browser.el:
>
> http://www.emacswiki.org/cgi-bin/wiki/MsShellExecute#w32-browser
>
> http://www.emacswiki.org/cgi-bin/wiki/DiredPlus#w32-browser

I use extview.el 
http://www.emacswiki.org/cgi-bin/emacs/extview.el
I also use this simple code to open an html file in dired with w3m:

,----
| ;; Browse html file with w3m in dired
| (defun tv-find-file-as-url ()
|   (interactive)
|   (w3m-find-file (expand-file-name (thing-at-point 'filename))))
|   
| (define-key dired-mode-map (kbd "F") 'tv-find-file-as-url)
`----

but there is other tools may be better:
http://www.emacswiki.org/cgi-bin/wiki/CategoryExternalUtilities

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




reply via email to

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