unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: render *html -  via lynx ?
Date: Thu, 04 Sep 2008 17:46:19 +0200	[thread overview]
Message-ID: <87wshrj4ms.fsf@localhorst.mine.nu> (raw)
In-Reply-To: 1220451375.291032@vasbyt.isdsl.net

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





      parent reply	other threads:[~2008-09-04 15:46 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
2008-09-04 15:46 ` David Hansen [this message]

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=87wshrj4ms.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --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).