From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: render *html - via lynx ? Date: Thu, 04 Sep 2008 17:46:19 +0200 Organization: disorganized Message-ID: <87wshrj4ms.fsf@localhorst.mine.nu> References: <1220451375.291032@vasbyt.isdsl.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220543733 11670 80.91.229.12 (4 Sep 2008 15:55:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 15:55:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 17:56:28 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbHAd-0002vv-St for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 17:54:56 +0200 Original-Received: from localhost ([127.0.0.1]:60575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbH9e-00037P-Sh for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 11:53:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbH9P-000378-Kc for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:53:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbH9O-00036w-1O for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:53:39 -0400 Original-Received: from [199.232.76.173] (port=50653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbH9N-00036t-Ua for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:53:37 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:53147 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbH9N-00035t-CC for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:53:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KbH9G-0006Rb-Si for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 15:53:30 +0000 Original-Received: from e178063089.adsl.alicedsl.de ([85.178.63.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 15:53:30 +0000 Original-Received: from david.hansen by e178063089.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 15:53:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178063089.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:LLA1mT4zpzoSSM4jA5wwHJ6DQgA= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57266 Archived-At: 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