From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: render *html - via lynx ?
Date: Thu, 04 Sep 2008 18:12:54 +0200 [thread overview]
Message-ID: <877i9rga9l.fsf@tux.homenetwork> (raw)
In-Reply-To: <00e601c90e9f$4e7550f0$c2b22382@us.oracle.com> (Drew Adams's message of "Thu, 4 Sep 2008 08:02:53 -0700")
"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
next prev parent reply other threads:[~2008-09-04 16:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 14:23 render *html - via lynx ? Unknown
2008-09-04 9:08 ` Tim X
2008-09-04 15:02 ` Drew Adams
2008-09-04 16:12 ` Thierry Volpiatto [this message]
2008-09-04 15:46 ` David Hansen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877i9rga9l.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=drew.adams@oracle.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).