From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: render *html - via lynx ? Date: Thu, 04 Sep 2008 18:12:54 +0200 Message-ID: <877i9rga9l.fsf@tux.homenetwork> References: <1220451375.291032@vasbyt.isdsl.net> <00e601c90e9f$4e7550f0$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220545021 17654 80.91.229.12 (4 Sep 2008 16:17:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 16:17:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 18:17:53 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 1KbHWX-00037x-1R for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 18:17:33 +0200 Original-Received: from localhost ([127.0.0.1]:60880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHVX-0003M5-LH for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 12:16:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbHVC-0003LY-JT for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 12:16:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbHVB-0003Kx-0L for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 12:16:10 -0400 Original-Received: from [199.232.76.173] (port=40402 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHVA-0003KK-IF for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 12:16:08 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.190]:65160) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbHV9-000899-9W for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 12:16:07 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 18so13133fkq.10 for ; Thu, 04 Sep 2008 09:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=hObnj6KW1yHnLaQXvcGnfopeLeNBfgZ0n/RqxcyHMj0=; b=xS8n4IgHKVAn12zN9cwEavw4HBG2ul3vdhu2ljI25xchpNYyb4i99Z6G+vWPiSy8by 94QbK+D4J0Fj8DJ0YIxVeqAZ0knt90URWt+a3dwgbEyLbx/YTVcssnP0dvq6XfCx8m5D e4nYEvBTdfwipDiTgFYfaNy6APKu5Dpz4IbxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=oTPoLGn0U4TZ5zK5vWQzmtof047iCu6VMsKZQ98aXp7qSkoFiisgM+cWmg8LHFrkWG 6IidnIcoK/TSKkjtnB+pS/Dkjz0uCdelAd70IMJdax3x+devOTPp3e1cGdUfd6I4f/6U fn8qJog65OgFXKcIsVbyDkEBubD2P1v/Wj0XY= Original-Received: by 10.180.239.7 with SMTP id m7mr8273972bkh.87.1220544965820; Thu, 04 Sep 2008 09:16:05 -0700 (PDT) Original-Received: from tux.homenetwork ( [79.85.211.113]) by mx.google.com with ESMTPS id 34sm9273389nfu.24.2008.09.04.09.16.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Sep 2008 09:16:04 -0700 (PDT) In-Reply-To: <00e601c90e9f$4e7550f0$c2b22382@us.oracle.com> (Drew Adams's message of "Thu, 4 Sep 2008 08:02:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:57269 Archived-At: "Drew Adams" 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 ' 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